username@email.com
2025-10-24 c21e1950b659a61667f42c22c1eea28bc8e72055
CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx
@@ -75,7 +75,7 @@
                            </td>
                            <td>
                                <%-- <span id="spanOrderDeliveryTime" runat="server"></span>--%>
                                <input id='txtDeliveryTime' class='date req' runat="server" />
                                <input id='txtDeliveryTime' class='date' runat="server" />
                            </td>
                        </tr>
                        <tr style=" display:none;">
@@ -784,7 +784,16 @@
            $("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_PressesDesk'][value_selspec='" + value_SelWaerId + "']").val().indexOf('六开') >= 0 ) {
                    if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "扣版" || $("select[name='PSF_PrintedColorPositive'][value_selspec='" + value_SelWaerId + "']").val() == "双色") {
                        $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("2");
                    } else {
                        $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("1");
                    }
                }
                if ( $("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 {
@@ -802,6 +811,24 @@
            
            });
            $("select[name='PSF_PrintedColorPositive']").live("change", function () {
                var value_SelWaerId = $(this).attr("value_selspec");
                if ($("select[name='PSF_PressesDesk'][value_selspec='" + value_SelWaerId + "']").val().indexOf('六开') >= 0) {
                    if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "扣版" || $("select[name='PSF_PrintedColorPositive'][value_selspec='" + 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");
@@ -1064,13 +1091,13 @@
                                    if (ssssaaa.indexOf('×') >= 0) {
                                        var dfdfdf = ssssaaa.split('×');
                                        $("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", ""));
                                        $("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", ""));
                                        $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", ""));
                                        $("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());
                                    }
@@ -1080,15 +1107,15 @@
                                        var sfdsdfdf = sss[i].split(',');
                                        var dfdfdf = sfdsdfdf[0].split('×');
                                        $("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", ""));
                                        $("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", ""));
                                        $("input[name='PSF_OpenLength'][value_ppwaerid='" + value_SelWaerId + "']").val(dfdfdf[1].replace("mm", ""));
                                        $("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());
                                    } 
                                }