From eea9ea3094e223d531ec058a1ef6e1656b0a5216 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 10 三月 2025 09:05:22 +0800
Subject: [PATCH] 送货单逾期不要  就是要订单没有送货的逾期    完成    送货管理下   未送货订单        /Pages/business/OrderSonghuoanchiList.aspx    01

---
 CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 52 insertions(+), 2 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js b/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js
index 17fd469..ed857b8 100644
--- a/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js
+++ b/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js
@@ -1038,6 +1038,15 @@
                             $("#paperSize").val(100);
                         }
                        
+                        if (printTypeId == "29") {
+                            var optionText = "澶�16寮�(210脳285)";
+                            $("#paperSize").val($("#paperSize option:contains('" + optionText + "')").val());
+                            $("#paper0").val("21");
+                            $("#paper0").change();
+                            $("#gramWeight0").val("70");
+                            $("#printCount").val("50");
+                        }
+                        
                     }
          );
 
@@ -1136,10 +1145,16 @@
         if (paperId == "0") {
             $(".Brand" + index).hide();
             $(".gramWeight" + index).hide();
+            $(".Qitazhi" + index).hide();
+        } else if(paperId == "-1") {
+            $(".Brand" + index).hide();
+            $(".gramWeight" + index).hide();
+            $(".Qitazhi" + index).show();
         }
         else {
             $(".Brand" + index).show();
             $(".gramWeight" + index).show();
+            $(".Qitazhi" + index).hide();
 
             if (printTypeId == 15 || printTypeId == 6) {
                 var isSuccess = true;
@@ -1353,9 +1368,9 @@
     $("#selCovered").val(dataJson.CoveredTypeId);
     $("[name='printBoxNumber']").val(dataJson.PrintBoxNumber);
     $("[name='printCountByBox']").val(dataJson.PrintCount);
-    $("[name='singleOrdouble']").val(dataJson.SingleOrdouble);
     $("[name='pNameMP']").val(dataJson.PaperMP);
     $("[name='paper0']").val(dataJson.PaperId);
+    $("[name='Qitazhi0']").val(dataJson.Qitazhi);
     if (dataJson.PrintMode == 0) {
         if (dataJson.PaperMP && dataJson.PaperMP != "" && $("#hidPrintTypeId").val() != "29") {
             PaperSelect($("[name='pNameMP']").val(), $("#hidPrintTypeId").val(), 0);
@@ -1371,6 +1386,7 @@
     if (dataJson.PrintMode == 0) {
         $("[name='brand0']").change();
     }
+    $("[name='singleOrdouble0']").val(dataJson.SingleOrdouble);
     $("[name='gramWeight0']").val(dataJson.GramWeight);
     $("#printCount").val(dataJson.PrintCount);
     $("[name='ysUnit']").val(dataJson.Unit);
@@ -1393,6 +1409,7 @@
     $("[name='thStart']").val(dataJson.ThStart);
     $("[name='thEnd']").val(dataJson.ThEnd);
     $("[name='jtWZ']").val(dataJson.JTWZ);
+    $("[name='jtWZFM']").val(dataJson.jtWZFM);
     $("[name='frontType']").val(dataJson.FrontType);
     if (dataJson.FrontType != "鏃犲皝闈�") {
         $("#spPrintDemand").show();
@@ -1409,6 +1426,10 @@
                 $(this).attr("checked", false);
             }
         );
+    }
+
+    if (printTypeId == 27 || printTypeId == 29) {
+        SelectjtWZ();
     }
    
     if (afterWorkArry.length > 0) {
@@ -1535,6 +1556,7 @@
                 }
                 $("[name='gramWeight" + index + "']").val(insideArry[j].GramWeight);
                 $("[name='printColor" + index + "']").val(insideArry[j].PrintColor);
+                $("[name='Qitazhi" + index + "']").val(insideArry[j].Qitazhi);
                 $("[name='pageNum" + index + "']").val(insideArry[j].PageNum);
                 $("[name='gildingType" + index + "']").val(insideArry[j].GildingType);
                 var insideAfterWorkArry = insideArry[j].AfterWorkList;
@@ -2421,7 +2443,22 @@
     }
     return true;
 }
-
+function SelectjtWZ() {
+   
+    var dddd = $("[name='jtWZ']").val();
+    if (dddd != "鑳跺ご" && dddd != "鑳跺乏" && dddd != "鍏朵粬" && dddd != "鏁i〉") {
+            $("#jtWZFMyaoqiu").show();
+        } else {
+            $("#jtWZFMyaoqiu").hide();
+    }
+    if (dddd != "鏁i〉") {
+        $("#jtWZFMmeibenzhangshu").show();
+    } else {
+        $("#jtWZFMmeibenzhangshu").hide();
+    }
+    
+   
+}
 function SelectFuc(obj) {
     var index = $(obj).attr("index");
     if ($(obj).val() == "8") {
@@ -2462,13 +2499,26 @@
         else {
             $("#divJT" + index + "").hide();
         }
+
+
+        if ($('#worksjiaozuo').length > 0) {
+            $("#worksjiaozuo").prop('checked', false);
+            $("#divJTT" + index + "").hide();
+        }  
+
     } else if ($(obj).val() == "99") {
+       
         if ($("#divJTT" + index + "").is(":hidden")) {
             $("#divJTT" + index + "").show();
         }
         else {
             $("#divJTT" + index + "").hide();
         }
+
+        if ($('#worksjiaotou').length > 0) {
+            $("#worksjiaotou").prop('checked', false);
+            $("#divJT" + index + "").hide();
+        }
     } else if ($(obj).val() == "47") {
         if ($("#divLY" + index + "").is(":hidden")) {
             $("#divLY" + index + "").show();

--
Gitblit v1.9.1