| | |
| | | <thead> |
| | | <tr class="ForumName" style="display:none"> |
| | | <th colspan="12"> |
| | | <b>第<span class=" AddCount red"><%#Container.ItemIndex + 1%></span>版<input name="PSF_Forumsid" value="<%#Container.ItemIndex + 1%>" type="hidden" value_hide_psf_component="<%#Eval("PSF_Component")%>" value_hide_psf_pressesdesk="<%#Eval("PSF_PressesDesk")%>" value_hide_psf_printedcolorpositive="<%#Eval("PSF_PrintedColorPositive")%>" value_hide_psf_printedcolorrear="<%#Eval("PSF_PrintedColorRear")%>" value_hide_psf_typesetting="<%#Eval("PSF_Typesetting")%>" value_hide_psf_papersource="<%#Eval("PSF_PaperSource")%>" value_hide_psf_openspecifications="<%#Eval("PSF_OpenSpecifications")%>" value_hide_psf_selpapername="<%#Eval("PSF_PaperName")%>" value_hide_psf_selpaperspec="<%#Eval("PSF_MaterialSpecifications")%>" value_hide_psf_selplatetype="<%#Eval("PSF_PlateSource")%>" value_hide_psf_selctpspec="<%#Eval("PSF_CTPSpecType")%>" value_hide_psf_selfilmspec="<%#Eval("PSF_FilmType")%>" /></b> |
| | | <b>第<span class=" AddCount red"><%#Container.ItemIndex + 1%></span>版<input name="PSF_Forumsid" value="<%#Container.ItemIndex + 1%>" type="hidden" value_hide_psf_component="<%#Eval("PSF_Component")%>" value_hide_psf_pressesdesk="<%#Eval("PSF_PressesDesk")%>" value_hide_psf_printedcolorpositive="<%#Eval("PSF_PrintedColorPositive")%>" value_hide_psf_printedcolorrear="<%#Eval("PSF_PrintedColorRear")%>" value_hide_psf_typesetting="<%#Eval("PSF_Typesetting")%>" value_hide_psf_fabantaoshu="<%#Eval("PSF_Fabantaoshu")%>" value_hide_psf_papersource="<%#Eval("PSF_PaperSource")%>" value_hide_psf_openspecifications="<%#Eval("PSF_OpenSpecifications")%>" value_hide_psf_selpapername="<%#Eval("PSF_PaperName")%>" value_hide_psf_selpaperspec="<%#Eval("PSF_MaterialSpecifications")%>" value_hide_psf_selplatetype="<%#Eval("PSF_PlateSource")%>" value_hide_psf_selctpspec="<%#Eval("PSF_CTPSpecType")%>" value_hide_psf_selfilmspec="<%#Eval("PSF_FilmType")%>" /></b> |
| | | </th> |
| | | </tr> |
| | | </thead> |
| | |
| | | <td rowspan="2" style="width: 195px;"> |
| | | 构件 |
| | | </td> |
| | | <td rowspan="2" colspan="2" > |
| | | P数 |
| | | <td rowspan="2" > |
| | | 页数 |
| | | </td> |
| | | <td rowspan="2" colspan="2"> |
| | | <td rowspan="2" > |
| | | 印刷机台 |
| | | </td> |
| | | <td colspan="2" > |
| | | <p name="PSF_yinse" value_openwidthspan="<%#Container.ItemIndex + 1%>">印色</p> |
| | | <td colspan="3" > |
| | | <p name="PSF_yinse" value_openwidthspan="<%#Container.ItemIndex + 1%>">印刷要求</p> |
| | | </td> |
| | | <td rowspan="2" colspan="2"> |
| | | <%-- <td rowspan="2" colspan="2"> |
| | | <p name="PSF_yinshufangshi" value_openwidthspan="<%#Container.ItemIndex + 1%>">印刷方式</p> |
| | | </td>--%> |
| | | <td rowspan="2" > |
| | | <p class="lb lbCTPCount lbCTPCountc" value_ppwaerid="<%#Container.ItemIndex + 1%>">板材规格</p> |
| | | </td> |
| | | |
| | | <td rowspan="2" > |
| | | <p class="lb lbCTPCount lbCTPCounta" value_ppwaerid="<%#Container.ItemIndex + 1%>">数量(张)</p> |
| | | </td> |
| | | <td rowspan="2" > |
| | | 发版套数 |
| | | </td> |
| | | </tr> |
| | | <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6;" > |
| | | |
| | | <td> |
| | | <p name="PSF_yinsezheng" value_openwidthspan="<%#Container.ItemIndex + 1%>">正</p> |
| | | <p name="PSF_yinsezheng" value_openwidthspan="<%#Container.ItemIndex + 1%>">正面色数</p> |
| | | </td> |
| | | <td> |
| | | <p name="PSF_yinsebei" value_openwidthspan="<%#Container.ItemIndex + 1%>">背</p> |
| | | <p name="PSF_yinsebei" value_openwidthspan="<%#Container.ItemIndex + 1%>">背面色数</p> |
| | | </td> |
| | | <td> |
| | | <p name="PSF_yinshufangshi" value_openwidthspan="<%#Container.ItemIndex + 1%>">印刷方式</p> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td> |
| | | <select keepdefaultstyle="true" class="" name="PSF_Component" value_ppwaerid="<%#Container.ItemIndex + 1%>" > |
| | | <option value="" selected="selected">-无-</option> |
| | | <option value="封面">封面</option> |
| | | <option value="" selected="selected">-无-</option> |
| | | <option value="封面" >封面</option> |
| | | <option value="封内合拼">封内合拼</option> |
| | | <option value="多单合拼">多单合拼</option> |
| | | <option value="内页">内页</option> |
| | | </select> |
| | | |
| | | |
| | | </td> |
| | | <td colspan="2"> |
| | | <td > |
| | | <input type="text" class=" w80px int " msg="请填写数字" name="PSF_PNum" value="<%#Eval("PSF_PNum")%>" value_ppwaerid="<%#Container.ItemIndex + 1%>" /> |
| | | </td> |
| | | <td colspan="2"> |
| | | <td > |
| | | <select keepdefaultstyle="true" class=" w120px" name="PSF_PressesDesk" value_selspec="<%#Container.ItemIndex + 1%>"> |
| | | <%--<option value="">请选择</option>--%> |
| | | <%=PressesDeskHtml %> |
| | |
| | | <option value="四+专">四+专</option> |
| | | </select> |
| | | </td> |
| | | <td colspan="2"> |
| | | <td> |
| | | <select keepdefaultstyle="true" class="" name="PSF_Typesetting" value_ppwaerid="<%#Container.ItemIndex + 1%>"> |
| | | <option value="自翻">自翻</option> |
| | | <option value="滚翻">滚翻</option> |
| | |
| | | |
| | | </select> |
| | | </td> |
| | | |
| | | <td> |
| | | <div class="xialapp"> |
| | | <input type="text" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="txt CTPSpecName lbCTPCount lbCTPCountb" name="CTPSpecName" value="<%#Eval("PSF_CTPSpecType")%>" style=" width: 80px" /> |
| | | <div class="xialapbp" > |
| | | <%=xialapr %> |
| | | </div> |
| | | </div> |
| | | </td> |
| | | <td> |
| | | <input type="text" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="txt CTPCount lbCTPCount int" name="CTPCount" value="<%#Eval("PSF_CTPCount")%>" style=" width: 80px" /> |
| | | |
| | | </td> |
| | | <td> |
| | | <div class="xialap" > |
| | | <input type="text" class=" w40px int " name="PSF_Fabantaoshu" value_ppwaerid="<%#Container.ItemIndex + 1%>" value="<%#Eval("PSF_Fabantaoshu")%>" /> |
| | | <div class="xialapb" > |
| | | |
| | | <div class="xialapr">2</div> |
| | | <div class="xialapr">3</div> |
| | | <div class="xialapr">4</div> |
| | | <div class="xialapr">5</div> |
| | | </div> |
| | | </div> |
| | | |
| | | </td> |
| | | </tr> |
| | | <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6; width: 100%" name="PSF_PrintedPaperTd" value_selspec="<%#Container.ItemIndex + 1%>"> |
| | | <td rowspan="2"> |
| | |
| | | <p name="PSF_Zhizhangshuliang" value_selspecspan="<%#Container.ItemIndex + 1%>">纸张数量(张)</p> |
| | | </td> |
| | | <td colspan="4"> |
| | | <p name="PSF_Kailiaoguige" value_selspecspan="<%#Container.ItemIndex + 1%>">开料规格</p> |
| | | <p name="PSF_Kailiaoguige" value_selspecspan="<%#Container.ItemIndex + 1%>">开料规格(mm)</p> |
| | | </td> |
| | | </tr> |
| | | <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6;" name="PSF_PrintedPaperTdtr" value_selspec="<%#Container.ItemIndex + 1%>"> |
| | |
| | | <p name="PSF_OpenSpecificationsspan" value_selspecspan="<%#Container.ItemIndex + 1%>">开数</p> |
| | | </td> |
| | | <td> |
| | | <p name="PSF_Kuandu" value_selspecspan="<%#Container.ItemIndex + 1%>">宽度(mm) </p> |
| | | <p name="PSF_Kuandu" value_selspecspan="<%#Container.ItemIndex + 1%>">宽度</p> |
| | | </td> |
| | | <td> |
| | | <p name="PSF_OpenWidthspan" value_openwidthspan="<%#Container.ItemIndex + 1%>">长度(mm)</p> |
| | | <p name="PSF_OpenWidthspan" value_openwidthspan="<%#Container.ItemIndex + 1%>">长度</p> |
| | | </td> |
| | | </tr> |
| | | <tr name="PSF_PrintedPaperTdtrtr" value_selspec="<%#Container.ItemIndex + 1%>"> |
| | |
| | | <input type="text" class=" w80px int " msg="请填写数字" name="PSF_PrintedPositive" value="<%#Eval("PSF_PrintedPositive")%>" value_positiveid="<%#Container.ItemIndex + 1%>" /> |
| | | </td> |
| | | <td colspan="1"> |
| | | <input type="text" class=" w80px int " msg="请填写数字" name="PSF_LastNum" value="<%#Eval("PSF_LastNum")%>" value_lastnumid="<%#Container.ItemIndex + 1%>" /> |
| | | <input type="text" class=" w60px int " msg="请填写数字" name="PSF_LastNum" value="<%#Eval("PSF_LastNum")%>" value_lastnumid="<%#Container.ItemIndex + 1%>" /> |
| | | </td> |
| | | <td colspan="1"> |
| | | <select keepdefaultstyle="true" class=" w80px" name="PSF_OpenSpecifications" value_selspec="<%#Container.ItemIndex + 1%>"> |
| | |
| | | <input type="text" class=" w80px int " msg="请填写数字" name="PSF_OpenLength" value="<%#(Eval("PSF_OpenLength") == null || Eval("PSF_OpenLength").ToString()=="0")?"":Eval("PSF_OpenLength").ToString()%>" value_ppwaerid='<%#Container.ItemIndex + 1%>' /> |
| | | </td> |
| | | </tr> |
| | | <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6; width: 100%"> |
| | | <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6; width: 100%;display: none;"> |
| | | <td style="display:none;"> |
| | | 版材类型 |
| | | </td> |
| | | <td colspan="2" class="lb lbCTPCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' > |
| | | <%-- <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"> |
| | | CTP数量(张) |
| | | </td> |
| | | </td>--%> |
| | | <td id="lbPSSpec" value_ppwaerid='<%#Container.ItemIndex + 1%>' class="lb lbPSSpec" colspan="2" style="display: none"> |
| | | PS版规格 |
| | | </td> |
| | |
| | | <td colspan="7"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td style="display:none;"> |
| | | <tr style="display:none;" > |
| | | <td > |
| | | <select keepdefaultstyle="true" value_selwaerid="<%#Container.ItemIndex + 1%>" name="selPlateType" id="selPlateType"> |
| | | <option value="本厂CTP">本厂CTP</option> |
| | | <option value="自带CTP">自带CTP</option> |
| | | <option value="自带菲林">自带菲林</option> |
| | | <option value="本厂菲林">本厂菲林</option> |
| | | <%-- <option value="自带菲林">自带菲林</option> |
| | | <option value="本厂菲林">本厂菲林</option>--%> |
| | | </select> |
| | | <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" class="lb lbCTPCount" value_ppwaerid='<%#Container.ItemIndex + 1%>' > |
| | | <%-- <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" > |
| | | <%=xialapr %> |
| | | <%-- <div class="xialapr">500</div> |
| | | <div class="xialapr">1000</div> |
| | | <div class="xialapr">2000</div> |
| | | <div class="xialapr">3000</div> |
| | | <div class="xialapr">5000</div> |
| | | <div class="xialapr">10000</div>--%> |
| | | |
| | | </div> |
| | | </div> |
| | | <select keepdefaultstyle="true" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="sel selCTPSpec" name="selCTPSpec" style="display: none; width: 80px" id="selCTPSpec"> |
| | |
| | | </td> |
| | | <td id="tdCTPCount" runat="server" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="td tdCTPCount" colspan="3"> |
| | | <input type="text" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="txt CTPCount" name="CTPCount" id="CTPCount" value="<%#Eval("PSF_CTPCount")%>" /> |
| | | </td> |
| | | </td>--%> |
| | | <td id="tdPSSpec" style="display: none" runat="server" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="td tdPSSpec" colspan="2"> |
| | | <input type="text" value_ppwaerid="<%#Container.ItemIndex + 1%>" class="txt PSF_PSBan" name="PSF_PSBan" style="width: 80px;" id="PSF_PSBan" value="<%#Eval("PSF_PSSpec")%>" /> |
| | | <label class="Btnb CangKubtn_o" style="margin-left: 10px;"> |
| | |
| | | <input type="text" name="PSF_Qitadingdanhao" style="width: 50%;" value_ppwaerid="<%#Container.ItemIndex + 1%>"value="<%#Eval("PSF_PaperName")%>" maxlength="50" /> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <tr style=" display:none;"> |
| | | <td style="font-weight: bold; background-color: #E6E6E6;"> |
| | | 注意事项: |
| | | 生产要求: |
| | | </td> |
| | | <td colspan="12"> |
| | | <textarea style="width: 96%; height: 40px; float: left;" name="PSF_Note"><%#Eval("PSF_Note")%></textarea> |
| | |
| | | <input type="button" class="Btn CutForums" value="减少版面" /> |
| | | </td> |
| | | </tr> |
| | | <tr > |
| | | <td colspan="2"> |
| | | <table class="tableStyle" style="width: 98%; margin: 5px auto;"> |
| | | <tbody> |
| | | <tr> |
| | | <td class="ali03 w70px " > |
| | | 后道工序: |
| | | </td> |
| | | <td> |
| | | <table class="tableStyle" style="width: 98%; margin: 5px auto;"> |
| | | <tbody> |
| | | <asp:Repeater ID="RepeaterHoudaoList" runat="server"> |
| | | <ItemTemplate> |
| | | <tr class="AddHoudao" value_id="<%#Container.ItemIndex + 1%>" > |
| | | <td> |
| | | <select keepdefaultstyle="true" class=" w70px" name="selHoudaogongxu" > |
| | | <%#Eval("PSF_Houdaogongxu")%> |
| | | </select> |
| | | </td> |
| | | |
| | | <td> |
| | | 数量:<input type="text" name="txtShuliang" class=" w40px int" min="0" maxlength="50" value="<%#Eval("PSF_Shuliang")%>"/> |
| | | </td> |
| | | <td> |
| | | 倍数:<input type="text" name="txtBeishu" class=" w40px int" min="0" maxlength="50" value="<%#Eval("PSF_Beishu")%>"/> |
| | | </td> |
| | | <td> |
| | | 机长:<input type="text" name="txtJichang" class=" w80px" maxlength="50" value="<%#Eval("PSF_Jichang")%>"/> |
| | | </td> |
| | | <td> |
| | | |
| | | 要求: <input type="text" name="txtYaoqiu" class=" noJ" maxlength="500" style="width: 405px;" value="<%#Eval("PSF_Yaoqiu")%>" /> |
| | | |
| | | </td> |
| | | <td class="w70px " > |
| | | <a class="Btn AddHoudaos" value_id="<%#Container.ItemIndex + 1%>" style="font-size:20px;" >+</a> <a class="Btn CutHoudaos" value_id="<%#Container.ItemIndex + 1%>" style="font-size:20px;" >-</a> |
| | | </td> |
| | | </tr> |
| | | </ItemTemplate> |
| | | </asp:Repeater> |
| | | </tbody> |
| | | </table> |
| | | </td> |
| | | |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td class="ali03 w70px " > |
| | | 备注: |
| | | 生产要求: |
| | | </td> |
| | | <td colspan="9"> |
| | | <textarea style="width: 940px; height: 62px;" name="PMS_Remarks" runat = "server" id="PMS_Remarks"></textarea> |
| | | <textarea style="width: 940px; height: 12px;" name="PMS_Remarks" runat = "server" id="PMS_Remarks"></textarea> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | |
| | | $("select[name='PSF_PressesDesk']").last().attr("value_selspec", value_id + 1); |
| | | $("select[name='PSF_PrintedColorPositive']").last().attr("value_selspec", value_id + 1); |
| | | $("select[name='PSF_Typesetting']").last().attr("value_ppwaerid", value_id + 1); |
| | | $("input[name='PSF_Fabantaoshu']").last().attr("value_ppwaerid", value_id + 1); |
| | | $("input[name='PSF_OpenWidth']").last().attr("value_ppwaerid", value_id + 1); |
| | | $("input[name='PSF_OpenWidthName']").last().attr("value_ppwaerid", value_id + 1); |
| | | $("input[name='PSF_OpenLength']").last().attr("value_ppwaerid", value_id + 1); |
| | |
| | | $(".CTPSpecName").last().attr("value_ppwaerid", value_id + 1); |
| | | $(".CTPCount").last().attr("value_ppwaerid", value_id + 1); |
| | | $(".lbCTPCount").last().attr("value_ppwaerid", value_id + 1); |
| | | $(".lbCTPCounta").last().attr("value_ppwaerid", value_id + 1); |
| | | $(".lbCTPCountb").last().attr("value_ppwaerid", value_id + 1); |
| | | $(".lbCTPCountc").last().attr("value_ppwaerid", value_id + 1); |
| | | $(".PSF_Qitadingdanhao").last().attr("value_ppwaerid", value_id + 1); |
| | | $("input[name='PSF_Qitadingdanhao']").last().attr("value_ppwaerid", value_id + 1); |
| | | $("select[name='PSF_Component']").last().attr("value_ppwaerid", value_id + 1); |
| | |
| | | |
| | | $("select[name='PSF_OpenSpecifications']").last().val("8开"); |
| | | $("select[name='PSF_OpenSpecifications']").last().change(); |
| | | $("input[name='CTPSpecName']").last().val("395*460"); |
| | | $("input[name='CTPSpecName']").last().val("460*395"); |
| | | $("input[name='PSF_PNum']").last().val(""); |
| | | |
| | | if ($("select[name='PSF_Component']").first().val() == "封面") { |
| | | const newOptions = [ |
| | | { value: '多单合拼', text: '多单合拼' }, |
| | | { value: '内页', text: '内页' } |
| | | |
| | | ]; |
| | | |
| | | // 3. 批量新增option到select中 |
| | | let optionHtml = ''; |
| | | newOptions.forEach(item => { |
| | | // 拼接option标签,直接赋值即可 |
| | | optionHtml += `<option value="${item.value}">${item.text}</option>`; |
| | | }); |
| | | $("select[name='PSF_Component']").last().html(optionHtml); // 赋值到select,完成新增 |
| | | $("select[name='PSF_Component']").last().val("内页"); |
| | | |
| | | |
| | |
| | | $(".AddTab").last().remove(); |
| | | } |
| | | }); |
| | | |
| | | |
| | | $(".AddHoudaos").click(function () { |
| | | var value_id = parseInt($(".AddHoudao").last().attr("value_id")); |
| | | $(".AddHoudao").last().after($(".AddHoudao").last().clone(true)); |
| | | $(".AddHoudao").last().attr("value_id", value_id + 1); |
| | | $(".AddHoudaos").last().attr("value_id", value_id + 1); |
| | | $(".CutHoudaos").last().attr("value_id", value_id + 1); |
| | | |
| | | }); |
| | | |
| | | |
| | | $(".CutHoudaos").click(function () { |
| | | var value_id = parseInt($(this).attr("value_id")); |
| | | var count = $('.AddHoudao').length; |
| | | if (count == 1) { |
| | | } else { |
| | | $(".AddHoudao[value_id='" + value_id + "']").remove(); |
| | | } |
| | | }); |
| | | |
| | | $("select[name='PSF_PaperSource']").live("change", function () { |
| | | var value_SelWaerId = $(this).attr("value_SelWaerId"); |
| | |
| | | } else if ($(this).val() == "自带CTP") { |
| | | |
| | | $(".FromWarehouseByBanCai[value_WaerId='" + value_SelWaerId + "']").hide(); |
| | | $(".CTPSpecName[value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $(".tdCTPCount[value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $(".CTPSpecName[value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $(".tdCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $(".selCTPSpec[value_ppwaerid='" + value_SelWaerId + "']").show(); |
| | | $(".selFilmSpec[value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | |
| | |
| | | $(".tdPSSpec[value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $(".lbPSCount[value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $(".tdPsCount[value_ppwaerid='" + value_SelWaerId + "']").hide(); |
| | | $("input[name='PSF_PaperId2'][value_ppwaerid='" + value_WaerId + "']").val(""); |
| | | } |
| | | 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"); |
| | | $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("460*395"); |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").val("8开"); |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").change(); |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show(); |
| | |
| | | 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("770*1030"); |
| | | $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("1030*770"); |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").val("2开"); |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").change(); |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show(); |
| | |
| | | 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("790*1030"); |
| | | $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("1030*790"); |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").val("2开"); |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").change(); |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show(); |
| | |
| | | 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("760*920"); |
| | | $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("920*760"); |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").val("2开"); |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").change(); |
| | | $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").show(); |
| | |
| | | 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("578*810"); |
| | | $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("810*579"); |
| | | $("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 + "']").hide(); |
| | |
| | | |
| | | $("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"); |
| | | $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("460*395"); |
| | | $("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(); |
| | | |
| | | if ($("#spanOrderPrintDemand").html() != "" && $("#spanOrderPrintDemand").html().indexOf("table") < 0) { |
| | | var sss = $("#spanOrderPrintDemand").html().split(';'); |
| | | if (sss != null) { |
| | | |
| | | for (var i = 0; i < sss.length; i++) { |
| | | var sfdsdfdf = sss[i].split(','); |
| | | |
| | | |
| | | |
| | | |
| | | if (sfdsdfdf[0].indexOf('(') >= 0 && sfdsdfdf[0].indexOf(')') >= 0) { |
| | | |
| | | |
| | | // 假设要截取的字符串为str,开始字符串为start,结束字符串为end |
| | | var startIndex = sfdsdfdf[0].indexOf('(') + 1; |
| | | var endIndex = sfdsdfdf[0].indexOf(')'); |
| | | var substr = sfdsdfdf[0].slice(startIndex, endIndex); |
| | | |
| | | |
| | | var ssssaaa = substr; |
| | | |
| | | if (ssssaaa.indexOf('×') >= 0) { |
| | | |
| | | var dfdfdf = ssssaaa.split('×'); |
| | | $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0].replace("mm", "").trim()); |
| | | $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "").trim()); |
| | | } else if (ssssaaa.indexOf('*') >= 0) { |
| | | |
| | | var dfdfdf = ssssaaa.split('*'); |
| | | $("input[name='PSF_OpenWidth'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[0].replace("mm", "").trim()); |
| | | $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "").trim()); |
| | | } |
| | | |
| | | |
| | | |
| | | } 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].replace("mm", "").trim()); |
| | | $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "").trim()); |
| | | } 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].replace("mm", "").trim()); |
| | | $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", "").trim()); |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").show(); |
| | | $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").show(); |
| | |
| | | |
| | | $("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"); |
| | | $("input[name='CTPSpecName'][value_ppwaerid='" + value_SelWaerId + "']").val("460*395"); |
| | | $("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(); |
| | |
| | | $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_PrintedColorRear']").val($(vv).attr("value_hide_psf_printedcolorrear")); |
| | | $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_Typesetting']").val($(vv).attr("value_hide_psf_typesetting")); |
| | | $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_Typesettinghide']").val($(vv).attr("value_hide_psf_typesetting")); |
| | | // $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_Fabantaoshu']").val($(vv).attr("value_hide_psf_fabantaoshu")); |
| | | $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_PaperSource']").val($(vv).attr("value_hide_psf_papersource")); |
| | | $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_OpenSpecifications']").val($(vv).attr("value_hide_psf_openspecifications")); |
| | | $(vv).parent().parent().parent().parent().parent().find("select[name='selPaperName']").val($(vv).attr("value_hide_psf_selPaperName")); |
| | |
| | | if (keyid != "") { |
| | | |
| | | } else { |
| | | $(vv).val("395*460"); |
| | | $(vv).val("460*395"); |
| | | |
| | | } |
| | | }); |