Files
OMS/app/wms/view/admin/delivery/delivery_checkout2.html
2025-12-28 23:13:25 +08:00

114 lines
7.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--
Copyright © ShopeX http://www.shopex.cn. All rights reserved.
See LICENSE file for license details.
-->
<style>
.goods_lists th {font-size: 1.8em; text-align: left;padding-left: 15px; border-bottom-width: 2px;border-bottom-color: #CCCCCC;border-bottom-style: solid;}
.goods_lists td {font-size: 1.5em; text-align: left;padding-left: 15px; border-bottom-width: 1px;border-bottom-color: #CCCCCC;border-bottom-style:dashed;}
</style>
<script>
function checkmemo(){
var dly_id = $('dly_id').value;
var refresh_url = 'index.php?app=wms&ctl=admin_check&act=index&type=all';
new Dialog('index.php?ctl=admin_pick&act=setCheckFail&app=tgkpi&id='+dly_id+'&rurl='+encodeURIComponent(refresh_url),{width:450,height:240,title:'校验失败备注'});
}
</script>
<div id ="chkContent" class="spage-main-box">
<!--
<span style="padding-left: 10px; font-size: 2.5em;font-weight: 700;">在包裹<{$logi_no}>中共有
<em class="count" style="font-weight:700;font-size:2.5em;color: green;"><{$goodsNum}></em> 种
<em class="count" style="font-weight:700;font-size:2.5em;color: red;"><{$count}></em> 件货品:</span>
-->
<br>
<form name="form1" id="form1" method="POST" action="index.php?app=wms&ctl=admin_check&act=doCheck" style="padding-top: 10px;">
<table border="0" cellspacing="0" cellpadding="0" class="goods_lists">
<!--GOODSINOF_BEGIN-->
<tr style="height:40px;">
<th width="150px" ><span>基础物料编码</span></th>
<th ><span>基础物料名称</span></th>
<th ><span>规格</span></th>
<th width="150px"><span>数量</span></th>
</tr>
<tbody>
<{foreach from=$items item=item}>
<tr id="_<{$item.barcode}>" style="height:35px;">
<td><{$item.bn}></td>
<td><{$item.product_name}></td>
<td><{if $item.spec_info}> <{$item.spec_info}> <{else}> - <{/if}></td>
<td><span style=" font-weight: 900; color: red;"><{$item.number}></span></td>
</tr>
<{/foreach}>
</tbody>
<tr id="_<{$item.barcode}>" style="height:35px;">
<td colspan="4" style="text-align: right;border-bottom-width: 0px;"><div style="margin-top:27px; position: relative; float: left">校验人:<{$userName}> <{if $picktName}>&nbsp;&nbsp;捡货人:<{$picktName}><{/if}> 日期:<{$date}></div>合计共有货品 (<em class="count" style="font-weight:700;font-size:2.5em;color: green;"><{$goodsNum}></em>) 种 (<em class="count" style="font-weight:700;font-size:2.5em;color: red;"><{$count}></em>) 件&nbsp;&nbsp;</td>
</tr>
<!--GOODSINOF_END-->
</table>
<input type="hidden" id="dly_id" name="delivery_id" value="<{$dly.delivery_id}>" />
<input type="hidden" id="count" name="count" value="<{$count}>" />
<input type="hidden" id="number" name="number" value="<{$count}>" />
<input type="hidden" id="return" name="return" value="OK" />
<input type="hidden" id="checkType" name="checkType" value="<{$checkType}>" />
<input type="hidden" name="logi_no" value="<{$dly.logi_no}>"/>
<!-- <button type="button" onclick="new Dialog('index.php?app=wms&ctl=admin_check&act=showmemo&p[0]=<{$dly.delivery_id}>',{title:'打回发货单备注',width:600,height:500})" style="margin-top: 20px;margin-left: 50px;font-size:3.0em;font-weight: 700; height: 50px; width:200px;cursor: pointer;display: -moz-inline-stack;line-height: 40px;overflow: visible;text-decoration: none;vertical-align: middle;"><span><span>终止发货</span></span></button> -->
<!--BUTTON_start-->
<div style="height:75px;">
<input type="text" value='' id="codeSubmit" style="width:0px;height:0px; border: 0px;"/>
<button type="submit" id="sendProduct" style="margin-top: 20px; margin-left: 30px;font-size:3.0em;font-weight: 700; height: 50px; width:150px;cursor: pointer;display: -moz-inline-stack;line-height: 40px;overflow: visible;text-decoration: none;vertical-align: middle;" ><span><span>通 过</span></span></button>
&nbsp;&nbsp;&nbsp;
<button type="button" id="sendProduct" style="margin-top: 20px; margin-left: 30px;font-size:3.0em;font-weight: 700; height: 50px; width:150px;cursor: pointer;display: -moz-inline-stack;line-height: 40px;overflow: visible;text-decoration: none;vertical-align: middle;" onclick="window.location='index.php?app=wms&ctl=admin_check&act=index&type=all';"><span><span>取 消</span></span></button>
&nbsp;&nbsp;&nbsp;
<{ if $tgkpi_status == 'true'}>
<button type="button" id="sendProduct" style="margin-top: 20px; margin-left: 30px;font-size:3.0em;font-weight: 700; height: 50px; width:250px;cursor: pointer;display: -moz-inline-stack;line-height: 40px;overflow: visible;text-decoration: none;vertical-align: middle;" onclick="checkmemo();"><span><span>校验失败备注</span></span></button>
&nbsp;&nbsp;&nbsp;
<{/if}>
<div style="margin-top:27px; font-size:1.2em; float: left;">你可以在这里直接按回车或扫描任意内容完成校验<br/>或占击取消按钮放弃止次检验</div>
</div>
<!--BUTTON_end-->
</form>
<br/>
<h3 style="margin-left: 12px;font-size: 1.5em;font-weight: bold;" valign="bottom">订单信息&nbsp;&nbsp;<span style="font-size:1em;font-weight:normal;">收货人:<font color="red"><{$ship_name}></font></span></h3>
<table border="1" cellspacing="0" cellpadding="0" class="gridlist">
<thead>
<tr>
<th>订单号</th>
<th>订单附言</th>
<th>订单备注</th>
</tr>
</thead>
<tbody>
<{foreach from=$markandtext item=item}>
<tr>
<td><{$item.order_bn}></td>
<td>
<{if count($item._mark)>0 }>
<{foreach from=$item._mark item=it}>
<b><{$it.op_content}></b> <{$it.op_time}> by <{$it.op_name}><br/>
<{/foreach}>
<{else}>
<{/if}>
</td>
<td>
<{if count($item._mark_text)>0 }>
<{foreach from=$item._mark_text item=it}>
<b><{$it.op_content}></b> <{$it.op_time}> by <{$it.op_name}><br/>
<{/foreach}>
<{else}>
<{/if}>
</td>
</tr>
<{/foreach}>
</tbody>
</table>
</div><!--PAGE_END-->
<script>
$('codeSubmit').focus();
$('chkContent').onclick = function() {
$('codeSubmit').focus();
};
</script>