| | |
| | | <link rel="stylesheet" type="text/css" href="../../Styles/base.css" /> |
| | | <link href="../../Styles/changes.css" rel="stylesheet" type="text/css" /> |
| | | <link href="../../Styles/ParticularWQJ.css" rel="stylesheet" type="text/css" /> |
| | | <script src="../../js/Inquiry/Inquiry.js" type="text/javascript"></script> |
| | | <script src="../../js/business/Order.js?v=25" type="text/javascript"></script> |
| | | <script src="../../js/Inquiry/Inquiry.js?v=154" type="text/javascript"></script> |
| | | <script src="../../js/business/Order.js?v=43" type="text/javascript"></script> |
| | | <!--前台页面end--> |
| | | <script type="text/javascript" language="javascript"> |
| | | |
| | |
| | | |
| | | ///新增客户 |
| | | function showCustomer() { |
| | | top.Dialog.open({ URL: "/Pages/business/CorporateClientsEdit.aspx?src=order", Title: "新增客户", Width: 900, Height: 680 }); |
| | | top.Dialog.open({ URL: "/Pages/business/CorporateClientsEdit.aspx?src=order", Title: "新增客户", Width: 1200, Height: 780 }); |
| | | } |
| | | |
| | | function Saveyaoqiu() { |
| | | if (document.getElementById('txtSumPrice').value == "" || parseFloat(document.getElementById('txtSumPrice').value) <=0 ) { |
| | | if (!confirm("订单总价为0,是否继续保存?")) |
| | | return false; |
| | | } |
| | | |
| | | |
| | | if (document.getElementById('selPrintTypes').value != "6") { |
| | | alertMsg("目前只保存书刊要求!"); |
| | | return; |
| | | return false; |
| | | } |
| | | return ValidateForm(); |
| | | } |
| | |
| | | try { |
| | | document.getElementById('spnCustormerControl').style.display = document.getElementById('txtCustormerName') ? 'none' : ''; |
| | | if ('0' == document.getElementById('txtKeyid').value) { |
| | | document.getElementById('txtDeliveryTime').value = new Date().ToFuture({ day: 1 }).ToString('yyyy-MM-dd'); |
| | | document.getElementById('txtDeliveryTime').value = new Date().ToFuture({ day: 2 }).ToString('yyyy-MM-dd'); |
| | | document.getElementById('selPrintTypes').value = "29"; |
| | | printTypeChange(document.getElementById('selPrintTypes')); |
| | | ReceiptT('customer', '', 6, 120); return; |
| | | } else { |
| | | ReceiptT('order', '<%=Orderid %>', 6, 120); |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | //维护 |
| | | function onViewuplod() { |
| | | |
| | | var keyid = $("#selCustormer").val(); |
| | | if (keyid == "") { |
| | | alertMsg("请选择客户!"); |
| | | return; |
| | | } |
| | | var l = (screen.availWidth - 500) / 2; |
| | | var t = (screen.availHeight - 300) / 2; |
| | | // window.open({ URL: "/Pages/business/CorporateClientsUpLoadContract.aspx?Keyid=" + keyid, Title: "查看合同", Width: 900, Height: 750 }); |
| | | window.open('/Pages/business/CorporateClientsContractShow.aspx?Keyid=' + keyid, '_blank', 'height=750,width=900,top=' + t + ',left=' + l + ',toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no'); |
| | | } |
| | | |
| | | |
| | | </script> |
| | | <style type="text/css"> |
| | |
| | | </script> |
| | | </ItemTemplate> |
| | | </asp:Repeater>--%> |
| | | <table class="table2" id="tbBasic"> |
| | | <table class="table2" id="tbBasic" align="left" style=" width:1000px;"> |
| | | <thead> |
| | | <tr> |
| | | <th colspan="8"> |
| | | <th colspan="1"> |
| | | <input type="button" id="btnPrint" value="查看合同" onclick="onViewuplod()"> |
| | | </th> |
| | | <th colspan="7"> |
| | | 基本信息 |
| | | </th> |
| | | </tr> |
| | |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td align="right"> |
| | | <td align="right"> |
| | | 订单类型: |
| | | </td> |
| | | <td align="left"> |
| | |
| | | <select id='selPrintTypes' runat="server" datatextfield="PrintName" datavaluefield="Keyid" keepdefaultstyle='true' onchange='printTypeChange(this)' class=' Sreq'> |
| | | </select> |
| | | </td> |
| | | <td align="right"> |
| | | <td align="right"> |
| | | 客户单位: |
| | | </td> |
| | | <td colspan="3" align="left"> |
| | | <input type="hidden" id='txtCustormer' runat="server" /> |
| | | <input id='txtCustormerName' runat="server" readonly="readonly" /><span id='spnCustormerControl'><select id='selCustormer' runat="server" keepdefaultstyle='true' datavaluefield='MemberId' datatextfield='CompanyName' onchange='custormerChange(this)' class='Sreq' selinputhtml="True" sign="" style=" width:123px;"></select> |
| | | <%--<input type="button" value='新增' keepdefaultstyle='true' onclick="top.Dialog.open({ URL: '/Pages/business/CorporateClientsEdit.aspx', Title: '新增客户', Width: 900, Height: 680});" />--%> |
| | | </span> |
| | | <input type='hidden' runat="server" id='txtCompanyName' /> |
| | | </td> |
| | | <td align="right"> |
| | | 客户级别: |
| | | </td> |
| | | <td align="left"> |
| | | <select id='selCustormerLevel' class='Sreq' runat="server" datatextfield="Name" datavaluefield="Keyid" keepdefaultstyle='true'> |
| | | </select> |
| | | <!--datavaluefield="MeanValue"--> |
| | | </td> |
| | | |
| | | |
| | | </tr> |
| | | <tr> |
| | | <td align="right"> |
| | | 订单编号: |
| | | </td> |
| | | <td align="left"> |
| | |
| | | <select id='selExigencyDegree' runat="server" datatextfield="Name" datavaluefield="MeanValue" keepdefaultstyle='true'> |
| | | </select> |
| | | </td> |
| | | <td align="right"> |
| | | <td align="right" id="selVerifyWay123"> |
| | | 交货时间: |
| | | </td> |
| | | <td align="left" id="selVerifyWay321"> |
| | | <input id='txtDeliveryTime' class='date' runat="server" /> |
| | | </td> |
| | | <td align="right"> |
| | | 已有印件: |
| | | </td> |
| | | <td align="left"> |
| | | <input id='txtDeliveryTime' class='date req' runat="server" /> |
| | | <select id='selprintask' runat="server" keepdefaultstyle='true' datavaluefield="Keyid" datatextfield='Name' style="width:150px;" onchange='printTypeChange1(this)' > |
| | | <option value="" >请选择</option> |
| | | </select> |
| | | </td> |
| | | </tr> |
| | | |
| | | <tr> |
| | | <td align="right"> |
| | | <td align="right"> |
| | | 印件名称: |
| | | </td> |
| | | <td align="left"> |
| | | <input id='txtDocumentName' runat="server" maxlength='200' class='req' /> |
| | | <input id='txtDocumentName' runat="server" maxlength='200' class='req' style="width:200px;" /> |
| | | <input type='hidden' id='txtDocumentNameHide' /> |
| | | </td> |
| | | <td align="right"> |
| | | <td align="right" id="selVerifyWay1234"> |
| | | 订单单价: |
| | | </td> |
| | | <td align="left"> |
| | | <td align="left" id="selVerifyWay4321"> |
| | | <input id='txtUnitPrice' runat="server" maxlength='9' class='float' onchange="jsPrice(this.value)" /> |
| | | </td> |
| | | <td align="right"> |
| | | 订单总价: |
| | | </td> |
| | | <td align="left"> |
| | | <input id='txtSumPrice' runat="server" maxlength='9' value='0' class="req float" min="0" onchange="jsdjPrice(this.value)" /> |
| | | <input id='txtSumPrice' runat="server" maxlength='16' value='0' class="req float" min="0" onchange="jsdjPrice(this.value)" /> |
| | | </td> |
| | | <td align="right"> |
| | | <td align="right" id="selVerifyWay12"> |
| | | 校稿方式: |
| | | </td> |
| | | <td align="left"> |
| | | <td align="left" id="selVerifyWay21"> |
| | | <select id='selVerifyWay' class=' Sreq' runat="server" datatextfield="Name" datavaluefield="MeanValue" keepdefaultstyle='true'> |
| | | </select> |
| | | </td> |
| | | |
| | | </tr> |
| | | <tr> |
| | | <td align="right"> |
| | | 已有印件: |
| | | </td> |
| | | <td align="left"> |
| | | <select id='selprintask' runat="server" keepdefaultstyle='true' datavaluefield="Keyid" datatextfield='Name' onchange='printTypeChange1(this)' > |
| | | <option value="" >请选择</option> |
| | | </select> |
| | | </td> |
| | | <td align="right"> |
| | | |
| | | </td> |
| | | <td align="left"> |
| | | |
| | | </td> |
| | | <td align="right"> |
| | | |
| | | </td> |
| | | <td align="left"> |
| | | |
| | | </td> |
| | | <td align="right"> |
| | | |
| | | </td> |
| | | <td align="left"> |
| | | |
| | | </td> |
| | | <td align="right"> |
| | | |
| | | </td> |
| | | <td align="left"> |
| | | |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td align="right"> |
| | | 客户单位: |
| | | </td> |
| | | <td colspan="3" align="left"> |
| | | <input type="hidden" id='txtCustormer' runat="server" /> |
| | | <input id='txtCustormerName' runat="server" readonly="readonly" /><span id='spnCustormerControl'><select id='selCustormer' runat="server" keepdefaultstyle='true' datavaluefield='MemberId' datatextfield='CompanyName' onchange='custormerChange(this)' class='Sreq' selinputhtml="True" sign="" style=" width:123px;"></select> |
| | | <%--<input type="button" value='新增' keepdefaultstyle='true' onclick="top.Dialog.open({ URL: '/Pages/business/CorporateClientsEdit.aspx', Title: '新增客户', Width: 900, Height: 680});" />--%> |
| | | </span> |
| | | <input type='hidden' runat="server" id='txtCompanyName' /> |
| | | </td> |
| | | <td align="right"> |
| | | 业务经理: |
| | | </td> |
| | |
| | | <select id='selCustormerManagers' runat="server" keepdefaultstyle='true' datavaluefield="Keyid" datatextfield='Name'> |
| | | </select> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td align="right"> |
| | | 客户级别: |
| | | </td> |
| | | <td align="left"> |
| | | <select id='selCustormerLevel' class='Sreq' runat="server" datatextfield="Name" datavaluefield="Keyid" keepdefaultstyle='true'> |
| | | </select> |
| | | <!--datavaluefield="MeanValue"--> |
| | | </td> |
| | | <td align="right"> |
| | | 联 系 人: |
| | | </td> |
| | |
| | | <td align="left"> |
| | | <input id='txtPhone' runat="server" class='' /> |
| | | </td> |
| | | <td align="right"> |
| | | |
| | | </tr> |
| | | |
| | | <tr> |
| | | <td align="right"> |
| | | 联系Q Q: |
| | | </td> |
| | | <td align="left"> |
| | | <input id='txtQQ' runat="server" maxlength="50" /> |
| | | </td> |
| | | </tr> |
| | | <td align="right"> |
| | | |
| | | </td> |
| | | <td align="left"> |
| | | |
| | | </td> |
| | | <td align="right"> |
| | | |
| | | </td> |
| | | <td align="left"> |
| | | |
| | | </td> |
| | | <td align="right"> |
| | | |
| | | </td> |
| | | <td align="left"> |
| | | |
| | | </td> |
| | | </tr> |
| | | </table> |
| | | |
| | | <div id='div_InquiryEdit' style='display: block;'> |
| | | <div id="divInquiry" style='display: block;'> |
| | | <div id="divInquiry" style=' display: block;width:1010px;' > |
| | | </div> |
| | | <table class="table2 table2Left"> |
| | | <br /> |
| | | <table class="table2 table2Left" id="Duiyinghetongbianhao" align="left" style=" width:1000px;"> |
| | | <tr style=" height:11px;"> |
| | | <td style="width:100px;text-align:right;"> |
| | | 对应合同序号: |
| | | </td> |
| | | <td style="text-align:left;" > |
| | | <input id='txtDuiyinghetongbianhao' runat="server" maxlength="100" /> |
| | | </td> |
| | | </tr> |
| | | </table> |
| | | <br /> |
| | | <table class="table2 table2Left" align="left" style=" width:1000px;"> |
| | | <thead> |
| | | <tr> |
| | | <th colspan="6"> |
| | |
| | | </tr> |
| | | </table> |
| | | </div> |
| | | <table class="table2" id="tbFacing"> |
| | | <br /> |
| | | <table class="table2" id="tbFacing" align="left" style=" width:1000px;"> |
| | | <thead> |
| | | <tr> |
| | | <th colspan="4"> |
| | |
| | | <input id='txtBookPrice' runat="server" maxlength='9' class='float' /> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <tr id="trPerBag"> |
| | | <td align="right"> |
| | | 每包数量: |
| | | </td> |
| | |
| | | </td> |
| | | </tr> |
| | | </table> |
| | | <table class="table2"> |
| | | <br /> |
| | | <table class="table2" align="left" style=" width:1000px;"> |
| | | <tbody> |
| | | |
| | | <tr> |
| | |
| | | else { |
| | | document.getElementById('trbook').style.display = 'none'; |
| | | } |
| | | |
| | | if (ssselPrintTypes == 37) { |
| | | document.getElementById('tbFacing').style.display = 'none'; |
| | | document.getElementById('selVerifyWay12').style.display = 'none'; |
| | | document.getElementById('selVerifyWay21').style.display = 'none'; |
| | | //document.getElementById('selVerifyWay123').style.display = 'none'; |
| | | //document.getElementById('selVerifyWay321').style.display = 'none'; |
| | | |
| | | document.getElementById('txtDeliveryTime').value = ""; |
| | | |
| | | |
| | | } |
| | | else { |
| | | document.getElementById('tbFacing').style.display = ''; |
| | | document.getElementById('selVerifyWay12').style.display = ''; |
| | | document.getElementById('selVerifyWay21').style.display = ''; |
| | | } |
| | | } |
| | | |
| | | |