You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
2.9 KiB
65 lines
2.9 KiB
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
|
|
<form id="theFrm">
|
|
<input type="hidden" name="id" value="<?=$caiwu_info->id?>">
|
|
<tr>
|
|
|
|
<td width="100" height="25" class="td_bg">保单号</td>
|
|
<td height="25" class="td_bg">
|
|
<input name="ems_no" type="text" id="ems_no" value="<?=$caiwu_info->ems_no?>"/>
|
|
</td>
|
|
<td width="100" height="25" class="td_bg">收件人地址</td>
|
|
<td height="25" class="td_bg">
|
|
<input name="link_address" type="text" id="link_address" value="<?=$caiwu_info->link_address?>"/>
|
|
</td>
|
|
<td width="100" height="25" class="td_bg">快递费</td>
|
|
<td height="25" class="td_bg">
|
|
<input name="ems_price" type="text" id="ems_price" value="<?=$caiwu_info->ems_price?>" style="width:100px;"/>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="100" height="25" class="td_bg">结算差额</td>
|
|
<td height="25" class="td_bg">
|
|
<input name="r_total" type="text" id="r_total" value="<?=$caiwu_info->r_price?>" style="width:100px;"/>
|
|
</td>
|
|
<td width="100" height="25" class="td_bg">结算日期</td>
|
|
<td height="25" class="td_bg">
|
|
<input name="r_date" type="text" id="r_date" class="Wdate" value="<?=$caiwu_info->r_date?>" style="width:100px;" onclick="WdatePicker()"/>
|
|
</td><td width="100" height="25" class="td_bg"></td>
|
|
<td height="25" class="td_bg">
|
|
</td>
|
|
</tr>
|
|
</form>
|
|
<tr>
|
|
<td height="22" colspan="6" align="center" class="td_bg">
|
|
<input id="submit-btn" type=button class="ACT_btn" name=Submit1 value=" 提交 "/>
|
|
|
|
<input id="back-btn" type="button" class="ACT_btn" name="Submit2" value=" 返回 ">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<script type="text/javascript" language="javascript" src="/js/jquery-1.8.3.js"></script>
|
|
<script type="text/javascript" language="javascript" src="/js/datepicker/WdatePicker.js"></script>
|
|
<script type="text/javascript" language="javascript" src="/js/ajax.js"></script>
|
|
<script type="text/javascript" language="javascript" src="/js/func.js"></script>
|
|
<script type="text/javascript" language="javascript">
|
|
$(function () {
|
|
//提交按钮
|
|
$("#submit-btn").click(function(){
|
|
if(confirm('是否确认提交?')) {
|
|
var params = $("#theFrm").serialize();
|
|
$.post('/finance/ems-receipt-save',params,function(obj){
|
|
alert(obj.msg);
|
|
if(obj.success) {
|
|
$('#back-btn').click();
|
|
}
|
|
},'json');
|
|
}
|
|
});
|
|
|
|
//返回按钮
|
|
$('#back-btn').click(function(){
|
|
window.location.href='/finance/ems-receipt?<?=$back_params?>';
|
|
});
|
|
})
|
|
</script>
|
|
|