From eb07d0be014b11568d4263b470d46b5cd427fe9b Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 17 七月 2025 08:49:45 +0800 Subject: [PATCH] 送货费用 --- CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx | 34 +++++++++++++++++++++++++++++----- 1 files changed, 29 insertions(+), 5 deletions(-) diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx index b1c5a10..cb0728e 100644 --- a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx +++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgSpecialOrderEdit.aspx @@ -626,7 +626,7 @@ $("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("鍐呴〉"); @@ -640,6 +640,7 @@ $("input[name='PSF_LastNum']").last().last().val(""); // $("input[name='CTPSpecName']").last().val(""); $("input[name='CTPCount']").last().last().val(""); + $("select[name='PSF_PressesDesk']").last().change(); }); @@ -770,6 +771,20 @@ } }); + + $("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() == "鎵f澘") { + $("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) { @@ -805,7 +820,12 @@ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show(); $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show(); - $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("1"); + if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "鎵f澘") { + $("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) { @@ -905,7 +925,11 @@ $(".lbCTPCount[value_ppwaerid='" + value_SelWaerId + "']").show(); $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").show(); $("input[name='PSF_OpenWidthName'][value_ppwaerid='" + value_SelWaerId + "']").val("870"); - $("input[name='CTPCount'][value_ppwaerid='" + value_SelWaerId + "']").val("2"); + if ($("select[name='PSF_Typesetting'][value_ppwaerid='" + value_SelWaerId + "']").val() == "鎵f澘") { + $("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("鍗曡壊"); @@ -1287,13 +1311,13 @@ $("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='PSF_OpenWidthName'][value_ppwaerid='" + value_SelWaerId + "']").val("870"); + // $("input[name='PSF_OpenWidthName'][value_ppwaerid='" + value_SelWaerId + "']").val("870"); } else if ($(vv).val().indexOf('杞浆') >= 0) { $("select[name='PSF_OpenSpecifications'][value_selspec='" + value_SelWaerId + "']").hide(); $(".xialap[value_ppwaerid='" + value_SelWaerId + "']").show(); - $("input[name='PSF_OpenWidthName'][value_ppwaerid='" + value_SelWaerId + "']").val("755"); + // $("input[name='PSF_OpenWidthName'][value_ppwaerid='" + value_SelWaerId + "']").val("755"); $("p[name='PSF_OpenSpecificationsspan'][value_selspecspan='" + value_SelWaerId + "']").hide(); $("p[name='PSF_OpenWidthspan'][value_openwidthspan='" + value_SelWaerId + "']").hide(); -- Gitblit v1.9.1