From ee87c4ceb1a22800f8151db590bc732ca21158c6 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 23 一月 2025 08:59:20 +0800 Subject: [PATCH] 黑白印件的“后道工序”修改为: --- CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js | 27 +++++++++++++++++++++++++-- 1 files changed, 25 insertions(+), 2 deletions(-) diff --git a/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js b/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js index 2f92ff0..db63672 100644 --- a/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js +++ b/CY_ECommercePlatform/CY.WebForm/js/Inquiry/Inquiry.js @@ -1142,10 +1142,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; @@ -1359,9 +1365,9 @@ $("#selCovered").val(dataJson.CoveredTypeId); $("[name='printBoxNumber']").val(dataJson.PrintBoxNumber); $("[name='printCountByBox']").val(dataJson.PrintCount); - $("[name='singleOrdouble0']").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); @@ -1377,6 +1383,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); @@ -1399,6 +1406,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(); @@ -1415,6 +1423,10 @@ $(this).attr("checked", false); } ); + } + + if (printTypeId == 27 || printTypeId == 29) { + SelectjtWZ(); } if (afterWorkArry.length > 0) { @@ -1541,6 +1553,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; @@ -2427,7 +2440,17 @@ } return true; } - +function SelectjtWZ() { + + var dddd = $("[name='jtWZ']").val(); + if (dddd != "鑳跺ご" && dddd != "鑳跺乏" && dddd != "鍏朵粬" && dddd != "鏁i〉") { + $("#jtWZFMyaoqiu").show(); + } else { + $("#jtWZFMyaoqiu").hide(); + } + + +} function SelectFuc(obj) { var index = $(obj).attr("index"); if ($(obj).val() == "8") { -- Gitblit v1.9.1