<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AcceptWayEdit.aspx.cs"
|
Inherits="CY.WebForm.Pages.business.AcceptWayEdit" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head id="Head1" runat="server">
|
<title>特价业务编辑</title>
|
<uc:CMSHead ID="CMSHead1" runat="server" />
|
<!--前台页面start-->
|
<link rel="stylesheet" type="text/css" href="../../Styles/base.css" />
|
<link href="../../Styles/changes.css" rel="stylesheet" type="text/css" />
|
<!--前台页面end-->
|
<style type="text/css">
|
#tb_awb
|
{
|
display: none;
|
}
|
</style>
|
<script type="text/javascript">
|
var keyDownHook = new KeyBehaviorHook('keydown');
|
if ('<%=Request["isnontb"]%>' == '') {
|
keyDownHook.Regist(window.Keys.S, "document.getElementById('btnSubmit').click()", window.WithKey.Ctrl); //Ctrl+S 提交
|
keyDownHook.Regist(window.Keys.Enter, "document.getElementById('btnSubmit').click()", window.WithKey.Ctrl); //Ctrl+Enter 提交
|
keyDownHook.Regist(window.Keys.R, "document.getElementById('btnReset').click()", window.WithKey.Ctrl); //Ctrl+R 重置
|
keyDownHook.Regist(window.Keys.Q, "document.getElementById('btnCannel').click()", window.WithKey.Ctrl); //Ctrl+Q 退出(Quit)
|
} else;
|
$(function () {
|
keyDownHook.Binding();
|
|
if (document.getElementById('txtResult').value == '1') {
|
setTimeout(function () { top.Dialog.close(); }, 500);
|
document.body.innerHTML = '';
|
} else {
|
ReceiptT('<%=Request["type"] %>', '<%=Request["keyid"] %>',6,100);
|
}
|
});
|
function submitbefore() {
|
try {
|
|
document.getElementById('txtBillMode').value = GetInvoice();
|
|
} catch (e) {
|
return false;
|
}
|
return true;
|
}
|
function onClickSubmit() {
|
|
submitbefore();
|
return true;
|
}
|
</script>
|
</head>
|
<body style='padding: 0; margin: 0;'>
|
<form id="form1" runat="server" style='padding: 0; margin: 0;' onsubmit="if(!submitbefore())return;">
|
<div style='color: White; background-color: #79BEDD; text-indent: 5px; line-height: 30px;
|
height: 30px; vertical-align: middle; display<%="1".Equals(Request["isnontb"])?"": "1" %>:none;'>
|
<strong> <%="order".Equals(Request["type"])?"订单":"" %><%="custormer".Equals(Request["type"])?"客户":"" %><%="member".Equals(Request["type"])?"会员":"" %>:</strong>
|
<strong>
|
<%=Request["targetname"] %></strong>
|
</div>
|
<table class="formTable" style=" width:100%;">
|
<tr id='ReceiptT_Html' style=" display:none;">
|
<td colspan="6"></td>
|
</tr>
|
</table>
|
<div style='display<%="order".Equals(Request["type"])?"1": "" %>:none;'>
|
<table id='tb_awb' class='ReceiptTable rt_HomeDelivery rt_OfficialFreightForwarder' cellspacing="0" cellpadding="0">
|
<tr>
|
<td class="ali03 alignR w100px">
|
  运单号:
|
</td>
|
<td>
|
<input id='txtTheAwb' name='txtTheAwb' maxlength='30' />
|
</td>
|
</tr>
|
</table>
|
</div>
|
<div style='display<%="1".Equals(Request["isnontb"])?"": "1" %>:none;'>
|
<table>
|
<thead>
|
<tr>
|
<td style=" width:100px;">
|
</td>
|
<td>
|
<input type="hidden" id='txtBillMode' name='txtBillMode' />
|
<input type="hidden" name='txtKeyid' value='<%=Request["keyid"]%>' />
|
<input type="hidden" name='txtType' value='<%=Request["type"]%>' />
|
<input type="hidden" id='txtResult' value='0' runat="server" />
|
<input type="submit" value=" 保 存 " id='btnSubmit' onclick="return onClickSubmit()" />
|
<input type="button" value=" 重 置 " onclick="ReLoad()" id='btnReset' />
|
|
<input type="button" value=" 取 消 " onclick="top.Dialog.close()" id='btnCannel' />
|
</td>
|
</tr>
|
</thead>
|
</table>
|
</div>
|
</form>
|
</body>
|
</html>
|