From c8fa1df50f42b0b91bec2d3b813ebfb003e6e579 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 30 九月 2024 17:24:55 +0800 Subject: [PATCH] 特殊符号 --- CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js | 37 ++++++++++++++++++++++++++++++++++++- 1 files changed, 36 insertions(+), 1 deletions(-) diff --git a/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js b/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js index a4ffe73..86264a2 100644 --- a/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js +++ b/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js @@ -292,6 +292,32 @@ function ExcuteCallBack() { var printTypeId = $("#hidPrintTypeId").val(); + + setTimeout(function () { + + var element = document.getElementById('txtKeyid'); + + if (element) { + var OldOrderId = document.getElementById('txtKeyid').value; + if (OldOrderId == "" || OldOrderId == "0") { + + if ($("[name='printMode']").length > 1) { + $("[name='printMode']").each( + function () { + if ($(this).val() == "0") { + $(this).click(); + } + } + ); + } + + + } + } + + }, 1000); + + $("#selDigitalPrintType").live("change", function () { var value = $(this).val(); @@ -1200,7 +1226,7 @@ $("[name='pNameMP']").val(dataJson.PaperMP); $("[name='paper0']").val(dataJson.PaperId); if (dataJson.PrintMode == 0) { - if (dataJson.PaperMP && dataJson.PaperMP != "") { + if (dataJson.PaperMP && dataJson.PaperMP != "" && $("#hidPrintTypeId").val() !="29") { PaperSelect($("[name='pNameMP']").val(), $("#hidPrintTypeId").val(), 0); } else { @@ -1298,6 +1324,8 @@ } if (afterWorkArry[i] == "13") { $("#divJT0").show(); + } if (afterWorkArry[i] == "99") { + $("#divJTT0").show(); } } } @@ -2112,6 +2140,13 @@ else { $("#divJT" + index + "").hide(); } + } else if ($(obj).val() == "99") { + if ($("#divJTT" + index + "").is(":hidden")) { + $("#divJTT" + index + "").show(); + } + else { + $("#divJTT" + index + "").hide(); + } } else if ($(obj).val() == "47") { if ($("#divLY" + index + "").is(":hidden")) { $("#divLY" + index + "").show(); -- Gitblit v1.9.1