From 93b130b87d2302f216c8bdc77e95e47eae0ba331 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 30 九月 2024 09:39:54 +0800
Subject: [PATCH] 订单默认送货

---
 CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js b/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js
index 7851002..86264a2 100644
--- a/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js
+++ b/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js
@@ -1226,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 {
@@ -1324,6 +1324,8 @@
                 }
                 if (afterWorkArry[i] == "13") {
                     $("#divJT0").show();
+                } if (afterWorkArry[i] == "99") {
+                    $("#divJTT0").show();
                 }
             }
         }
@@ -2138,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