| | |
| | | <td style="display:none;"> |
| | | 版材类型 |
| | | </td> |
| | | <td colspan="2"> |
| | | <td colspan="2" class="lb lbCTPCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' > |
| | | 规格 |
| | | </td> |
| | | <td id="lbCTPCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' class="lb lbCTPCount" colspan="3"> |
| | |
| | | <label class="Btnb CangKubtn_o" style="margin-left: 10px;"> |
| | | <input type="button" value_waerid="<%#Container.ItemIndex + 1%>" class="Btn FromWarehouseByBanCai" value="连接仓库" id="BtnStorePlate" /></label><input type="hidden" value_ppwaerid="<%#Container.ItemIndex + 1%>" name="PSF_PaperId2" /> |
| | | </td> |
| | | <td colspan="2" > |
| | | <td colspan="2" class="lb lbCTPCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' > |
| | | <div class="xialapp" style="margin-left:32%;"> |
| | | <input type="text" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="txt CTPSpecName " name="CTPSpecName" id="PlateSpec" value="<%#Eval("PSF_CTPSpecType")%>" /> |
| | | <div class="xialapbp" > |
| | |
| | | $("select[name='PSF_OpenSpecifications']").last().val("8开"); |
| | | $("select[name='PSF_OpenSpecifications']").last().change(); |
| | | $("input[name='CTPSpecName']").last().val("395*460"); |
| | | $("select[name='PSF_PressesDesk']").last().change(); |
| | | |
| | | |
| | | if ($("select[name='PSF_Component']").first().val() == "封面") { |
| | | $("select[name='PSF_Component']").last().val("内页"); |
| | |
| | | $("input[name='PSF_LastNum']").last().last().val(""); |
| | | // $("input[name='CTPSpecName']").last().val(""); |
| | | $("input[name='CTPCount']").last().last().val(""); |
| | | $("select[name='PSF_PressesDesk']").last().change(); |
| | | |
| | | }); |
| | | |
| | |
| | | } |
| | | }); |
| | | |
| | | |
| | | $("select[name='PSF_Typesetting']").live("change", function () { |
| | | var value_SelWaerId = $(this).attr("value_ppwaerid"); |
| | | if ($("select[name='PSF_PressesDesk'][value_selspec='" + value_SelWaerId + "']").val().indexOf('六开') >= 0 || $("select[name='PSF_PressesDesk'][value_selspec='" + value_SelWaerId + "']").val().indexOf('黑白') >= 0) { |
| | | if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "扣板") { |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("2"); |
| | | } else { |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("1"); |
| | | } |
| | | } |
| | | |
| | | |
| | | }); |
| | | |
| | | $("select[name='PSF_PressesDesk']").live("change", function () { |
| | | var value_SelWaerId = $(this).attr("value_selspec"); |
| | | if ($(this).val().indexOf('六开') >= 0) { |
| | |
| | | |
| | | $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "扣板") { |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("2"); |
| | | } else { |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("1"); |
| | | } |
| | | |
| | | |
| | | } |
| | | else if ($(this).val().indexOf('四色') >= 0) { |
| | |
| | | $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("4"); |
| | | } |
| | | else if ($(this).val().indexOf('八色') >= 0) { |
| | | $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("四色"); |
| | |
| | | $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("4"); |
| | | } |
| | | else if ($(this).val().indexOf('黑白') >= 0) { |
| | | $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("单色"); |
| | |
| | | $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $("input[name='PSF_OpenWidthName'][value_ppwaerid='" + value_SelWaerId + "']").val("870"); |
| | | if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "扣板") { |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("2"); |
| | | } else { |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("1"); |
| | | } |
| | | } |
| | | else if ($(this).val().indexOf('轮转') >= 0) { |
| | | $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("单色"); |
| | |
| | | $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("2"); |
| | | } |
| | | // else if () { |
| | | // //$("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show(); |
| | |
| | | if (ssssaaa.indexOf('×') >= 0) { |
| | | |
| | | var dfdfdf = ssssaaa.split('×'); |
| | | $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0]); |
| | | $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1]); |
| | | $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0].replace("mm","")); |
| | | $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "")); |
| | | } else if (ssssaaa.indexOf('*') >= 0) { |
| | | |
| | | var dfdfdf = ssssaaa.split('*'); |
| | | $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0]); |
| | | $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1]); |
| | | $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0].replace("mm", "")); |
| | | $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "")); |
| | | } |
| | | |
| | | |
| | |
| | | var sfdsdfdf = sss[i].split(','); |
| | | |
| | | var dfdfdf = sfdsdfdf[0].split('×'); |
| | | $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0]); |
| | | $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1]); |
| | | $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0].replace("mm", "")); |
| | | $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "")); |
| | | } else if (sss[i].indexOf('*') >= 0) { |
| | | |
| | | var sfdsdfdf = sss[i].split(','); |
| | | |
| | | var dfdfdf = sfdsdfdf[0].split('*'); |
| | | $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0]); |
| | | $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1]); |
| | | $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0].replace("mm", "")); |
| | | $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "")); |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val(""); |
| | | $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | |
| | | $("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").hide(); |
| | |
| | | $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | |
| | | } |
| | | |
| | | else if ($(this).val().indexOf('与其他订单合版') >= 0) { |
| | | |
| | | $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val("单色"); |
| | | $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").val("单色"); |
| | | $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("395*460"); |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").val(""); |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").change(); |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show(); |
| | | |
| | | |
| | | |
| | | $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show(); |
| | | $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show(); |
| | | $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | |
| | | $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val(""); |
| | | $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | |
| | | $("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").hide(); |
| | | $("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").hide(); |
| | | $("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").hide(); |
| | | $("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").hide(); |
| | | |
| | | $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").hide(); |
| | | |
| | | |
| | | $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").hide(); |
| | | |
| | | $("tr[name='PSF_PrintedPaperTd'][value_selspec='" + value_SelWaerId + "']").hide(); |
| | | $("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").hide(); |
| | | $("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").hide(); |
| | | $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | |
| | | } |
| | | |
| | | }); |
| | | |
| | |
| | | |
| | | } |
| | | |
| | | |
| | | else if ($(vv).val().indexOf('与其他订单合版') >= 0 ) { |
| | | |
| | | |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show(); |
| | | $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show(); |
| | | $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show(); |
| | | $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | |
| | | $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | |
| | | $("p[name='PSF_yinse'][value_openwidthspan='" + value_SelWaerId + "']").hide(); |
| | | $("p[name='PSF_yinsezheng'][value_openwidthspan='" + value_SelWaerId + "']").hide(); |
| | | $("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").hide(); |
| | | $("p[name='PSF_yinsebei'][value_openwidthspan='" + value_SelWaerId + "']").hide(); |
| | | |
| | | $("p[name='PSF_yinshufangshi'][value_openwidthspan='" + value_SelWaerId + "']").hide(); |
| | | |
| | | |
| | | $("select[name='PSF_PrintedColorRear'][value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").hide(); |
| | | |
| | | $("tr[name='PSF_PrintedPaperTd'][value_selspec='" + value_SelWaerId + "']").hide(); |
| | | $("tr[name='PSF_PrintedPaperTdtr'][value_selspec='" + value_SelWaerId + "']").hide(); |
| | | $("tr[name='PSF_PrintedPaperTdtrtr'][value_selspec='" + value_SelWaerId + "']").hide(); |
| | | $("select[name='PSF_Typesettinghide'][value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | |
| | | } |
| | | } |
| | | }); |
| | | |
| | |
| | | //纸张采购 |
| | | function zhizhangcaigou() { |
| | | |
| | | top.Dialog.open({ URL: "/Pages/procurement/ProcurementADD.aspx", Title: "纸张采购", Width: 1100, Height: 700 }); |
| | | top.Dialog.open({ URL: "/Pages/procurement/ProcurementADD.aspx?orderIdstrrrr=<%=orderIdstrrrr %>", Title: "纸张采购", Width: 1100, Height: 700 }); |
| | | |
| | | } |
| | | </script> |