| | |
| | | </tr> |
| | | <tr> |
| | | <td class="ali03"> |
| | | 印刷数量: |
| | | </td> |
| | | <td colspan="5"> |
| | | <input type="text" id="txtOrderNum" class=" w120px int" min="0" runat="server" /> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td class="ali03"> |
| | | 备注: |
| | | </td> |
| | | <td colspan="5"> |
| | |
| | | </thead> |
| | | <tr class=" price_tabbg" style="font-weight: bold; background-color: #E6E6E6; width: 100%"> |
| | | <td rowspan="2" style="width: 195px;"> |
| | | 构件 |
| | | <%=PrintTypeId=="7"?"成品尺寸":"构件" %> |
| | | </td> |
| | | <td rowspan="2" colspan="2" > |
| | | P数 |
| | | <%=PrintTypeId=="7"?"版数":"P数" %> |
| | | </td> |
| | | <td rowspan="2" colspan="2"> |
| | | 印刷机台 |
| | |
| | | </tr> |
| | | <tr> |
| | | <td> |
| | | <select keepdefaultstyle="true" class="" name="PSF_Component" value_ppwaerid="<%#Container.ItemIndex + 1%>"> |
| | | <option value="" selected="selected">-无-</option> |
| | | <option value="封面">封面</option> |
| | | <select keepdefaultstyle="true" class="" name="PSF_Component" value_ppwaerid="<%#Container.ItemIndex + 1%>" <%=PrintTypeId=="7"?"style=\"display:none;\"":"" %> > |
| | | <%-- <option value="" selected="selected">-无-</option>--%> |
| | | <option value="封面" selected="selected" >封面</option> |
| | | <option value="封内合拼">封内合拼</option> |
| | | <option value="多单合拼">多单合拼</option> |
| | | <option value="内页">内页</option> |
| | | </select> |
| | | |
| | | <input type="text" class=" w120px " maxlength="50" name="PSF_Chengpinchicun" value_ppwaerid="<%#Container.ItemIndex + 1%>" value="<%#Eval("PSF_Component")%>" <%=PrintTypeId=="7"?"":"style=\"display:none;\"" %> /> |
| | | </td> |
| | | <td colspan="2"> |
| | | <input type="text" class=" w80px int " msg="请填写数字" name="PSF_PNum" value="<%#Eval("PSF_PNum")%>" value_ppwaerid="<%#Container.ItemIndex + 1%>" /> |
| | |
| | | $("input[name='PSF_Qitadingdanhao']").last().attr("value_ppwaerid", value_id + 1); |
| | | $("select[name='PSF_Component']").last().attr("value_ppwaerid", value_id + 1); |
| | | $("input[name='PSF_PNum']").last().attr("value_ppwaerid", value_id + 1); |
| | | $("input[name='PSF_Chengpinchicun']").last().attr("value_ppwaerid", value_id + 1); |
| | | $(".tdCTPCount").last().attr("value_ppwaerid", value_id + 1); |
| | | $(".selCTPSpec").last().attr("value_ppwaerid", value_id + 1); |
| | | $(".selFilmSpec").last().attr("value_ppwaerid", value_id + 1); |
| | |
| | | $("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("内页"); |
| | | |
| | | if ("<%=shukuanhuace %>" == "true") { |
| | |
| | | { value: '单色', text: '单色' }, |
| | | { value: '双色', text: '双色' }, |
| | | { value: '三色', text: '三色' }, |
| | | { value: '四色', text: '四色' }, |
| | | { value: '四+专', text: '四+专' }, |
| | | ]; |
| | | |
| | |
| | | } |
| | | if (keyid != "") { |
| | | $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_Component']").val($(vv).attr("value_hide_psf_component")); |
| | | //$(vv).parent().parent().parent().parent().parent().find("input[name='PSF_Chengpinchicun']").val($(vv).attr("value_hide_psf_component")); |
| | | $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_PressesDesk']").val($(vv).attr("value_hide_psf_pressesdesk")); |
| | | $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_PrintedColorPositive']").val($(vv).attr("value_hide_psf_printedcolorpositive")); |
| | | $(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='selCTPSpec']").val($(vv).attr("value_hide_psf_selCTPSpec")); |
| | | $(vv).parent().parent().parent().parent().parent().find("select[name='selFilmSpec']").val($(vv).attr("value_hide_psf_selFilmSpec")); |
| | | |
| | | } else { |
| | | $(vv).parent().parent().parent().parent().parent().find("select[name='PSF_Component']").change(); |
| | | } |
| | | }); |
| | | |
| | |
| | | { value: '单色', text: '单色' }, |
| | | { value: '双色', text: '双色' }, |
| | | { value: '三色', text: '三色' }, |
| | | { value: '四色', text: '四色' }, |
| | | { value: '四+专', text: '四+专' }, |
| | | ]; |
| | | |