mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-05 06:45:32 +08:00
164 lines
5.1 KiB
HTML
164 lines
5.1 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.
|
||
-->
|
||
|
||
<style>
|
||
.tginput{
|
||
margin-top:10px;
|
||
margin-bottom:10px;
|
||
padding-left:19px;
|
||
background:none repeat scroll 0 0 #FAFAFA;
|
||
border:1px solid #cccccc;
|
||
color:#069CBC;
|
||
font-size:20px;
|
||
line-height:30px;
|
||
height:35px;
|
||
width: 400px;
|
||
}
|
||
.tgbutton{
|
||
margin-top: -10px;
|
||
margin-left: 25px;
|
||
font-size:1.5em;
|
||
|
||
height: 39px;
|
||
width:100px;
|
||
cursor:pointer;
|
||
display:-moz-inline-stack;
|
||
line-height: 35px;
|
||
overflow: visible;
|
||
text-decoration: none;
|
||
vertical-align: middle;
|
||
}
|
||
.tableLeft{
|
||
text-align:right;
|
||
}
|
||
</style>
|
||
|
||
<div class="location">
|
||
<div class="tabs-wrap">
|
||
<ul>
|
||
<li class="tab current " onclick="" id="1">
|
||
<span>撤销发货单</span>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
|
||
<div class="tableform">
|
||
<div id="main" class="division">
|
||
|
||
|
||
<form id="deliveryform">
|
||
<input type="hidden" name="find_id" value='<{$find_id}>'>
|
||
<h3 style="">发货单信息<font color='red'>(此只显示未发货发货单)</font></h3>
|
||
<{foreach from=$detail item=detail}>
|
||
|
||
<div class="gray_form">
|
||
<table border="0" cellspacing="0" cellpadding="0" class='delivery-info'>
|
||
|
||
<tbody>
|
||
<tr>
|
||
<th>发货单号:</th>
|
||
<td><{$detail.delivery_bn}></td>
|
||
<th>收货人:</th>
|
||
<td><{$detail.consignee.name}></td>
|
||
<th></th>
|
||
<td></td>
|
||
<th></th>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<th>配送方式:</th>
|
||
<td><{$detail.delivery}></td>
|
||
<th>收获地址:</th>
|
||
<td><{$detail.consignee.province}>-<{$detail.consignee.city}>-<{$detail.consignee.district}>-<{$detail.consignee.addr}></td>
|
||
<th></th>
|
||
<td></td>
|
||
<th></th>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<th>物流公司:</th>
|
||
<td><{$detail.logi_name}></td>
|
||
<th>邮编:</th>
|
||
<td><{$detail.consignee.zip}></td>
|
||
<th></th>
|
||
<td></td>
|
||
<th></th>
|
||
<td></td>
|
||
</tr>
|
||
<tr>
|
||
<th>物流单号:</th>
|
||
<td><{$detail.logi_no}></td>
|
||
<th>手机:</th>
|
||
<td><{$detail.consignee.mobile}></td>
|
||
<th></th>
|
||
<td></td>
|
||
<th> </th>
|
||
<td> </td>
|
||
</tr>
|
||
<tr>
|
||
<th>重量:</th>
|
||
<td><{$detail.weight}></td>
|
||
<th>电话:</th>
|
||
<td><{$detail.consignee.telephone}></td>
|
||
<th> </th>
|
||
<td> </td>
|
||
<th> </th>
|
||
<td> </td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<br/>
|
||
<input type="hidden" class="delivery_id" name="delivery_id[]" value="<{$detail.delivery_id}>" />
|
||
<input type="hidden" vtype="required" name="logi_no" value="<{$dly.logi_no}>"/>
|
||
<h3 style="">商品信息</h3>
|
||
<div class="gridlist">
|
||
<table border="0" cellspacing="0" cellpadding="0">
|
||
<thead>
|
||
<tr>
|
||
<th style='text-align:left;padding-left:10px;'>基础物料编码</th>
|
||
<th style='text-align:left;padding-left:10px;'>条形码</th>
|
||
<th style='text-align:left;padding-left:10px;'>基础物料名称</th>
|
||
<th style='text-align:left;padding-left:10px;'>数量</th>
|
||
<th style='text-align:left;padding-left:10px;'>已校验数</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<{foreach from=$detail.items item=item}>
|
||
<tr>
|
||
<td style='text-align:left;padding-left:10px;'><{$item.bn}></td>
|
||
<td style='text-align:left;padding-left:10px;'><{$item.barcode}></td>
|
||
<td style='text-align:left;padding-left:10px;'><{$item.product_name}></td>
|
||
<td style='text-align:left;padding-left:10px;'><{$item.number}></td>
|
||
<td style='text-align:left;padding-left:10px;'><{$item.verify_num}></td>
|
||
</tr>
|
||
<{/foreach}>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<{/foreach}>
|
||
<br/>
|
||
<div align="center">
|
||
<button class="btn" type="button" id="backbtn" onclick="<{if $is_confirm}>if(confirm('此发货单已有单据打印,撤销发货单可能造成多次发货\n\n是否确定撤销?\n\n(打印和校验都是一种状态,如果发货单还没有打印,可以直接撤销。如果已打印,还需要通知库房撤销!)'))<{/if}> new Dialog('index.php?app=ome&ctl=admin_delivery&act=showmemo&'+$('deliveryform').toQueryString(),{title:'撤销发货单',<{if $detail.is_bind=='true'}>width:400,height:<{$height}><{else}>width:400,height:278<{/if}>})">
|
||
<span><span>撤销</span></span>
|
||
</button>
|
||
</div>
|
||
</form>
|
||
|
||
</div>
|
||
</div>
|
||
|