mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-29 20:15:38 +08:00
129 lines
4.4 KiB
HTML
129 lines
4.4 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.
|
|
-->
|
|
|
|
<h3><{t}>批量记账<{/t}></h3>
|
|
<div class="tableform">
|
|
<div class="division">
|
|
<form id='actual_form' method='post' action='index.php?app=logisticsaccounts&ctl=admin_actual&act=do_save_actual'>
|
|
<table border="0" cellpadding="0" cellspacing="0" class="girdlist">
|
|
<tbody>
|
|
<tr >
|
|
<th align="left" ><h3>出货信息</h3></th>
|
|
<th align="left" > </th>
|
|
<th align="left" > </th>
|
|
<th align="left" > </th>
|
|
</tr>
|
|
<tr >
|
|
<th ><t>出货仓库:</t></th>
|
|
<td><{$actual.branch_name}></td>
|
|
<td>快递公司</td>
|
|
<td><{$actual.logi_name}></td>
|
|
</tr>
|
|
|
|
<tr >
|
|
<th ><t>发货时间:</t></th>
|
|
<td><{$actual.delivery_time}></td>
|
|
<td>订单号:</td>
|
|
<td><{$actual.order_bn}></td>
|
|
</tr>
|
|
<tr >
|
|
<th align="left"><h3>收件人信息</h3></th>
|
|
<th align="left"> </th>
|
|
<th align="left"> </th>
|
|
<th align="left"> </th>
|
|
</tr>
|
|
<tr >
|
|
<th><t>收件人:</t></th>
|
|
<td ><{$actual.ship_name}></td>
|
|
<td >收货地区</td>
|
|
<td ><{$actual.ship_area}></td>
|
|
</tr>
|
|
<tr >
|
|
<th><t>收件地址:</t></th>
|
|
<td colspan="3" ><{$actual.ship_addr}></td>
|
|
</tr>
|
|
<tr >
|
|
<th align="left"><h3>对账信息确认</h3></th>
|
|
<th align="left"> </th>
|
|
<th align="left"> </th>
|
|
<th align="left"> </th>
|
|
</tr>
|
|
<tr >
|
|
<th><t>出库称重:</t></th>
|
|
<td><{$actual.weight}></td>
|
|
<td>预估运费:</td>
|
|
<td><{$actual.delivery_cost_expect|cur}></td>
|
|
</tr>
|
|
<tr >
|
|
<th>物流称重:</th>
|
|
<td><{$actual.logi_weight}></td>
|
|
<td>账单金额:</td>
|
|
<td><{$actual.delivery_cost_actual|cur}></td>
|
|
</tr>
|
|
<tr >
|
|
<th>记账费用:</th>
|
|
<td><{$actual.actual_amount|cur}></td>
|
|
<td>记账状态:</td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr >
|
|
<th>备注:</th>
|
|
<td><textarea name="textarea"></textarea></td>
|
|
<td> </td>
|
|
<td> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<input type='hidden' id='aid' name='aid' value='<{$actual.aid}>'>
|
|
<div id="cc" class="noprint table-action">
|
|
<{button type="button" class="btn" id="actual-save-btn" label="保存"}> <{button type="button" class="btn" id="actual-confirm-btn" label="保存并确认"}></div>
|
|
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
(function(){
|
|
$('actual-save-btn').addEvent('click',function(e){
|
|
var _this=this;
|
|
var form=this.getParent('form');
|
|
var querystring = $('actual_form').toQueryString();
|
|
new Request({url:'index.php?app=logisticsaccounts&ctl=admin_actual&act=do_save_actual',
|
|
data:querystring,
|
|
onComplete:function(rs){
|
|
rs=JSON.decode(rs);
|
|
if (typeof(rs.error) != 'undefined'){
|
|
|
|
return MessageBox.error(rs.error);
|
|
}else{
|
|
|
|
_this.getParent('.dialog').retrieve('instance').close();
|
|
window.finderGroup['<{$env.get.finder_id}>'].refresh(true);
|
|
|
|
|
|
}
|
|
}}).send();
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})();
|
|
|
|
|
|
</script> |