mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-22 18:35:35 +08:00
102 lines
3.5 KiB
HTML
102 lines
3.5 KiB
HTML
<!--
|
|
Copyright 2012-2026 ShopeX (https://www.shopex.cn)
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<form name="form1" id="form-memo" method="POST" action="index.php?app=console&ctl=admin_delivery&act=doReback">
|
|
<div class="division">
|
|
|
|
<div class='notice'>
|
|
说明:<br/>
|
|
1.撤销当前发货单后,订单的确认状态将随之改变<br>
|
|
<{if !empty($ids)}>2.选择全部或者只留一个子发货单,本张大发货单将消失,并撤销所有已选择的子发货单<{/if}>
|
|
</div>
|
|
<h4><{if !empty($ids)}>大<{/if}><{t}>发货单单号:<{/t}><span style='color:#069CBC'><{$delivery_bn}></span></h4><hr>
|
|
|
|
<{if !empty($ids)}>
|
|
<input type='hidden' name='returnids' value='<{$returnids}>'>
|
|
<input type='hidden' name='flag' value='OK'>
|
|
<h4 style='margin-bottom:6px;'><{t}>子发货单信息:<{/t}><{help}>每个订单都会生成一个发货单,如果符合合单规则,会再成一张发货单,该发货单被称作“大发货单”,每个订单生成的发货单被称为“子发货单”<{/help}></h4>
|
|
<table border="0" cellspacing="0" cellpadding="0" class="gridlist" >
|
|
<thead>
|
|
<tr>
|
|
<th>选择</th>
|
|
<th>子发货单单号</th>
|
|
<th>对应订单号</th>
|
|
</tr>
|
|
</thead>
|
|
<{foreach from=$idd item=order}>
|
|
<tr>
|
|
<td align="left"><input type="checkbox" name="id[]" value="<{$order.delivery_id}>"/></td>
|
|
<td align="left"><{$order.delivery_bn}></td>
|
|
<td align="left"><{$order.order_bn}></td>
|
|
</tr>
|
|
<{/foreach}>
|
|
</table>
|
|
<hr>
|
|
<{/if}>
|
|
|
|
<h4 style='margin-bottom:6px;'>撤销发货单备注:</h4>
|
|
<table width="100%">
|
|
<tr>
|
|
<td>
|
|
<textarea name="memo" id="memo" cols="60" rows="5" value='' vtype="required"></textarea><br>
|
|
<span></span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<input type='hidden' name='delivery_id' value='<{$delivery_id}>'>
|
|
</form>
|
|
<{area inject=".mainFoot"}>
|
|
<div class="table-action">
|
|
<table width="100%" cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<button class="btn btn-primary" id="" onclick='dosubmit()'>
|
|
<span><span><{t}>确定<{/t}></span></span>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<{/area}>
|
|
|
|
<script>
|
|
function dosubmit(){
|
|
$("form-memo").fireEvent('submit',{stop:function(){}});
|
|
}
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
$('form-memo').store('target',{
|
|
|
|
onComplete:function(data){
|
|
var rs =JSON.decode(data);
|
|
if( rs && rs.success ){
|
|
if($('form-memo').getParent('.dialog'))
|
|
$('form-memo').getParent('.dialog').retrieve('instance').close();
|
|
}
|
|
}
|
|
});
|
|
|
|
</script>
|
|
|