Files
OMS/app/wms/view/admin/delivery/delivery_detail.html
2026-01-04 19:08:31 +08:00

205 lines
8.7 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 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.
-->
<{capture name="header"}>
<link href="../app/wms/statics/wms.css" rel="stylesheet" type="text/css">
<{/capture}>
<{if $write != '1' || $write_memo!='1'}><form name="form1" method="POST" action="index.php?app=wms&ctl=admin_receipts_print&act=doDetail&finder_id=<{$finder_id}>"><{/if}>
<div class="tableform">
<style>
.logi-no-input{width:150px;height:20px;}
</style>
<h4><{if $dly.is_encrypt}><a class="delivery-sensitive-btn data-hide" href="javascript:void(0);"></a><{/if}>发货单信息:</h4>
<input type="hidden" name="status" value="<{$status}>" />
<div class="division">
<table border="0" cellspacing="0" cellpadding="0" id="deliveryinfo">
<tr>
<th>发货单号:</th>
<td ><{$dly.delivery_bn}></td>
<th>订单号:</th>
<td ><{foreach from=$order_bn item=item}><{$item}><br><{/foreach}></td>
<th >配送方式:</th>
<td ><{$dly.delivery}></td>
<th ><{if $dly.is_encrypt && $dly.shop_type == 'pinduoduo'}><a data-type = 'uname' class="delivery-sensitive-btn-detail data-hide" style="background-size: 13px 10px;" href="javascript:void(0);"></a><{/if}>会员:</th>
<td ><span sensitive-field="uname"><{$dly.member_name|ciphertext:'delivery','uname',$dly.shop_type}></span></td>
</tr>
<tr>
<th><{if $dly.is_encrypt && $dly.shop_type == 'pinduoduo'}><a data-type = 'uname' class="delivery-sensitive-btn-detail data-hide" style="background-size: 13px 10px;" href="javascript:void(0);"></a><{/if}>收货人:</th>
<td ><span sensitive-field="ship_name"><{$dly.consignee.name|ciphertext:'delivery','ship_name',$dly.shop_type}></span></td>
<th ><{if $dly.is_encrypt && $dly.shop_type == 'pinduoduo'}><a data-type = 'tel' class="delivery-sensitive-btn-detail data-hide" style="background-size: 13px 10px;" href="javascript:void(0);"></a><{/if}>电话:</th>
<td ><span sensitive-field="ship_tel"><{$dly.consignee.telephone|ciphertext:'delivery','ship_tel',$dly.shop_type}></span></td>
<th ><{if $dly.is_encrypt && $dly.shop_type == 'pinduoduo'}><a data-type = 'mobile' class="delivery-sensitive-btn-detail data-hide" style="background-size: 13px 10px;" href="javascript:void(0);"></a><{/if}>手机:</th>
<td ><span sensitive-field="ship_mobile"><{$dly.consignee.mobile|ciphertext:'delivery','ship_mobile',$dly.shop_type}></span></td>
<th>Email</th>
<td><{$dly.consignee.email}></td>
</tr>
<tr>
<th >邮编:</th>
<td ><{$dly.consignee.zip}></td>
<th >物流公司:</th>
<td ><{if $write != '1'}><{input type="select" name="dly[logi_id]" rows=$dly_corp valueColumn="corp_id" labelColumn="name" value=$dly.logi_id}><{else}><input type="hidden" name="dly[logi_id]" value="<{$dly.logi_id}>"><{$dly.logi_name}><{/if}></td>
<th >物流费用:</th>
<td ><{$dly.delivery_cost_actual|cur}></td>
<th >预计物流费用:</th>
<td ><{$dly.delivery_cost_expect|cur}></td>
</tr>
<tr>
<th >重量:</th>
<td >
<{if $dly.status == 3}>
<{input type="text" name="weight" value=$dly.weight vtype="number"}><{else}>
<{$dly.weight}>
<{/if}>
</td>
<th >商品重量:</th>
<td ><{$dly.net_weight}></td>
<th >生成时间:</th>
<td ><{$dly.create_time}></td>
<th >物流运单号:</th>
<td ><{if $write != '1'}><input type="text" name="dly[logi_no]" size="10" value="<{$dly.logi_no}>" class="logi-no-input" /><{else}><{$dly.logi_no}><{/if}></td>
</tr>
<tr>
<th >订单支付方式:</th>
<td ><b><font color="orange"><{if $dly.is_cod=='true'}>货到付款<{else}>款到发货<{/if}></font></b></td>
<th >发货区域:</th>
<td ><{$dly.consignee.area|region}></td>
<th >配送地址:&nbsp;</th>
<td ><span sensitive-field="ship_addr"><{$dly.consignee.addr|ciphertext:'delivery','ship_addr',$dly.shop_type}></span></td>
<th >&nbsp;</th>
<td >&nbsp;</td>
</tr>
<{if $dly.deliveryman_mobile}>
<tr>
<th style="height:28px; line-height:28px;">配送员姓名:</th>
<td style="color:red; height:28px; line-height:28px;"><{$dly.deliveryman}></td>
<th style="height:28px; line-height:28px;">配送员手机号:</th>
<td style="color:red; height:28px; line-height:28px;"><{$dly.deliveryman_mobile}></td>
<th>核销状态:</th>
<td style="color:red; height:28px; line-height:28px;"><{$dly.writeoff_status_name}></td>
<th>收货码:</th>
<td style="color:red; height:28px; line-height:28px;"><{$dly.receive_code}></td>
</tr>
<{/if}>
<tr>
<th>
订单附言:
</th>
<th colspan="7">
<{$dly.memo}>
</th>
</tr>
</table>
</div>
<div class="tableform">
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="finderInform">
<tbody>
<tr><th><strong>会员备注:</strong></th>
<{if $custom_mark}>
<{foreach from=$custom_mark key=key item=v}>
<td>
<{foreach from=$v item=items}>
<div id="memo_show">
<b><{$items.op_content|escape:"HTML"}></b> <{$key}>&nbsp;<{$items.op_time}> by <{$items.op_name}>
</div>
<{/foreach}>
</td>
<{/foreach}>
<{/if}>
</tr>
<tr>
<th><strong>订单备注:</strong></th>
<{if $mark_text}>
<{foreach from=$mark_text key=key item=val}>
<td>
<{foreach from=$val item=items}>
<div id="memo_show">
<b><{$items.op_content|escape:"HTML"}></b> <{$key}> &nbsp;<{$items.op_time}> by <{$items.op_name}>
</div>
<{/foreach}>
</td>
<{/foreach}>
<{/if}>
</tr>
</tbody>
</table>
</div>
<h4>操作日志:</h4>
<div class="division">
<table border="0" cellspacing="0" class="gridlist" cellpadding="0">
<thead>
<tr>
<th >操作时间</th>
<th >操作员</th>
<th >操作类型</th>
<th >操作内容</th>
</tr>
</thead>
<tbody>
<{foreach from=$log item=item}>
<tr>
<td ><{$item.operate_time}></td>
<td ><{$item.op_name}></td>
<td ><{$item.operation}></td>
<td ><{$item.memo}></td>
</tr>
<{/foreach}>
</tbody>
</table>
</div>
<br /><{if $write != '1'}>
<h4>备注:</h4>
<div class="division">
<textarea name="dly[memo]" rows="6" cols="60"><{$dly.memo}></textarea>
<input type="hidden" name="dly[delivery_id]" value="<{$dly.delivery_id}>" />
<input type="hidden" name="ctl" value="<{$url}>" />
<input type="hidden" name="dly_count" value="<{$dly_count}>" />
</div>
</div>
<div style="text-align:center;"><{button type="submit" label="提交" }><{/if}></div>
<{if $write != '1'}></form><{/if}>
<script type="text/javascript">
// 敏感数据处理
if ($defined($E('.delivery-sensitive-btn')))
$E('.delivery-sensitive-btn').addEvent('click',function(e){
Ex_Loader('security',function(){new Security({url:'index.php?app=wms&ctl=admin_delivery&act=showSensitiveData&p[0]=<{$dly.delivery_id}>',clickElement:$(e.target)}).desHtml($('deliveryinfo')); });
});
//敏感数据处理 拼多多
if ($defined($E('.delivery-sensitive-btn-detail')))
$ES('.delivery-sensitive-btn-detail').addEvent('click',function(e){
var type = this.get('data-type');
var tr = this.getParent('tr');
Ex_Loader('security',function(){
new Security({url:'index.php?app=wms&ctl=admin_delivery&act=showSensitiveData&p[0]=<{$dly.delivery_id}>&p[1]='+type,clickElement:$(e.target)}).desHtml(tr);
});
});
</script>