| | |
| | | document.getElementById('PrintSizeName').value = ""; |
| | | } |
| | | } |
| | | |
| | | |
| | | $("#PSF_Typesetting").live("change", function () { |
| | | |
| | | if ($("#selPMS_Machine").val().indexOf('六开') >= 0 || $("#selPMS_Machine").val().indexOf('黑白') >= 0) { |
| | | if ($("#PSF_Typesetting").val() == "扣版") { |
| | | $("#CTPCount").val("2"); |
| | | } else { |
| | | $("#CTPCount").val("1"); |
| | | } |
| | | } |
| | | |
| | | if ($("#selPMS_Machine").val().indexOf('四色') >= 0 || $("#selPMS_Machine").val().indexOf('八色') >= 0) { |
| | | if ($("#PSF_Typesetting").val() == "扣版") { |
| | | $("#CTPCount").val("8"); |
| | | } else { |
| | | $("#CTPCount").val("4"); |
| | | } |
| | | } |
| | | |
| | | |
| | | }); |
| | | |
| | | /* |
| | | 交易客户选中值发生改变 |
| | | */ |
| | |
| | | if (sel.value.indexOf('六开') >= 0) { |
| | | document.getElementById('PlateSpec').value = '395*460'; |
| | | document.getElementById('PMS_ChromaticNumber').value = '1'; |
| | | /*document.getElementById('CTPCount').value = '8';*/ |
| | | if ($("#PSF_Typesetting").val() == "扣版") { |
| | | $("#CTPCount").val("2"); |
| | | } else { |
| | | $("#CTPCount").val("1"); |
| | | } |
| | | |
| | | } else if (sel.value.indexOf('四色') >= 0 ) { |
| | | } else if (sel.value.indexOf('四色') >= 0) { |
| | | document.getElementById('PlateSpec').value = '770*1030'; |
| | | document.getElementById('PMS_ChromaticNumber').value = '4'; |
| | | /* document.getElementById('CTPCount').value = '2';*/ |
| | | if ($("#PSF_Typesetting").val() == "扣版") { |
| | | $("#CTPCount").val("8"); |
| | | } else { |
| | | $("#CTPCount").val("4"); |
| | | } |
| | | } else if (sel.value.indexOf('八色') >= 0) { |
| | | document.getElementById('PlateSpec').value = '790*1030'; |
| | | document.getElementById('PMS_ChromaticNumber').value = '4'; |
| | | /* document.getElementById('CTPCount').value = '2';*/ |
| | | } else if (sel.value.indexOf('黑白') >= 0 ) { |
| | | if ($("#PSF_Typesetting").val() == "扣版") { |
| | | $("#CTPCount").val("8"); |
| | | } else { |
| | | $("#CTPCount").val("4"); |
| | | } |
| | | } else if (sel.value.indexOf('黑白') >= 0) { |
| | | document.getElementById('PlateSpec').value = '760*920'; |
| | | document.getElementById('PMS_ChromaticNumber').value = '1'; |
| | | /* document.getElementById('CTPCount').value = '2';*/ |
| | | if ($("#PSF_Typesetting").val() == "扣版") { |
| | | $("#CTPCount").val("2"); |
| | | } else { |
| | | $("#CTPCount").val("1"); |
| | | } |
| | | } else if (sel.value.indexOf('轮转') >= 0) { |
| | | document.getElementById('PlateSpec').value = '579*810'; |
| | | document.getElementById('PMS_ChromaticNumber').value = '1'; |
| | | /* document.getElementById('CTPCount').value = '';*/ |
| | | document.getElementById('CTPCount').value = '2'; |
| | | } else { |
| | | document.getElementById('CTPCount').value = ''; |
| | | } |
| | | |
| | | |
| | |
| | | </td> |
| | | <td> |
| | | <%--<input type="text" name="PO_Requirement" class=" noJ" style="width: 300px;" value="<%#Eval("PrintDemandAfterWorksDemand") %>" />--%> |
| | | <input type="text" name="PO_Requirement" class=" noJ" style="width: 405px;" /> |
| | | <input type="text" name="PO_Requirement" class=" noJ" maxlength="500" style="width: 405px;" value="<%#Eval("PrintDemandAfterWorksDemand")%>" /> |
| | | <%--<%#Eval("m_InquiryCommonModel.PrintDemand")%><%#Eval("m_InquiryCommonModel.AfterWorksDemand")%>--%> |
| | | </td> |
| | | </tr> |
| | |
| | | <select keepDefaultStyle="true" name="PSF_Typesetting" id="PSF_Typesetting" runat = "server" style="width:80px"> |
| | | <option value="自翻">自翻</option> |
| | | <option value="滚翻">滚翻</option> |
| | | <option value="扣板">扣板</option> |
| | | <option value="扣版">扣版</option> |
| | | <option value="单面">单面</option> |
| | | </select> |
| | | </td> |
| | |
| | | <tr> |
| | | <td style="text-align: center;" colspan="10"> |
| | | <asp:Button ID="btn_submit" runat="server" Text="提交" OnClick="btn_Submit_form" OnClientClick="CorrectText();" /> |
| | | |
| | | <input type="button" class="Btn" value="纸张采购" onclick="zhizhangcaigou();" /> |
| | | </td> |
| | | </tr> |
| | | </tbody> |
| | |
| | | top.Dialog.open({ URL: "/Pages/business/AgConWarehouse.aspx?CommidityType=版材&&value_pparid=" + value_pparid, Width: 1000, Height: 650, Title: "选择货品参数" }); |
| | | }); |
| | | }); |
| | | |
| | | |
| | | //纸张采购 |
| | | function zhizhangcaigou() { |
| | | |
| | | top.Dialog.open({ URL: "/Pages/procurement/ProcurementADD.aspx", Title: "纸张采购", Width: 1100, Height: 700 }); |
| | | |
| | | } |
| | | </script> |
| | | </body> |
| | | </html> |