From 0b05d8c883770f521b3434c18497c5ab212ecd71 Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期二, 16 一月 2024 15:50:07 +0800
Subject: [PATCH] 检验项目新增默认结论字段,过滤方案

---
 WebTM/views/基础资料/公用基础资料/Add_Edit_Gy_CheckItem.html                |    9 +++++++--
 WebTM/views/生产管理/报工台工序/产量汇报/Sc_ProductReportStepBillList_Web.html |   12 ++++++++++--
 WebTM/views/系统管理/过滤方案设置/Xt_FastICSchemeList.html                  |    2 +-
 WebTM/views/生产管理/生产任务单/Sc_ICMOBillList.html                       |    2 +-
 4 files changed, 19 insertions(+), 6 deletions(-)

diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_CheckItem.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_CheckItem.html"
index 794b341..41f97b5 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_CheckItem.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Add_Edit_Gy_CheckItem.html"
@@ -68,6 +68,12 @@
                                                 </div>
                                             </div>
                                             <div class="layui-inline">
+                                                <label class="layui-form-label">榛樿缁撹</label>
+                                                <div class="layui-input-inline">
+                                                    <input class="layui-input" name="HDefaultResult" lay-verify="HDefaultResult" id="HDefaultResult">
+                                                </div>
+                                            </div>
+                                            <div class="layui-inline">
                                                 <label class="layui-form-label">澶囨敞</label>
                                                 <div class="layui-input-inline">
                                                     <textarea placeholder="璇疯緭鍏ョ淮澶囨敞" class="layui-textarea" name="HRemark" id="HRemark"></textarea>
@@ -106,8 +112,6 @@
             }
             return vars;
         }
-
-
 
         var params = getUrlVars();
         var hID = params[params[0]];//缂栬緫鏌ョ湅
@@ -248,6 +252,7 @@
                         $("#HQCCheckClassID").val(d.data[0].HQCCheckClassID);
                         $("#HQCCheckClassName").val(d.data[0].HQCCheckClassName);
                         $("#HRemark").val(d.data[0].HRemark);
+                        $("#HDefaultResult").val(d.data[0].HDefaultResult);
                         $("input[name='HStopflag']").prop("checked", d.data[0].HStopflag);//true:閫変腑 false:涓嶉�変腑
                         layui.form.render();//瀹炴椂娓叉煋閫変腑鍜屼笉閫変腑鐨勬牱寮�,鏈�濂芥坊鍔犺繖鍙ヨ瘽
                         $("#HUpDater").val(sessionStorage["HUserName"]);//淇敼浜�
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\344\272\247\351\207\217\346\261\207\346\212\245/Sc_ProductReportStepBillList_Web.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\344\272\247\351\207\217\346\261\207\346\212\245/Sc_ProductReportStepBillList_Web.html"
index 6b37fc2..5338ba1 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\344\272\247\351\207\217\346\261\207\346\212\245/Sc_ProductReportStepBillList_Web.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\212\245\345\267\245\345\217\260\345\267\245\345\272\217/\344\272\247\351\207\217\346\261\207\346\212\245/Sc_ProductReportStepBillList_Web.html"
@@ -847,6 +847,14 @@
                 HValue = HValue.substring(0, HValue.length - 1);
                 HElement_type = HElement_type.substring(0, HElement_type.length - 1);
 
+                var contentUrl = "";
+                var urlStr = window.document.location.pathname;//鑾峰彇鏂囦欢璺緞
+                var urlLen = urlStr.split('/');
+                for (var i = 0; i < urlLen.length - 4; i++) {
+                    contentUrl += "../";
+                }
+                contentUrl += '绯荤粺绠$悊/杩囨护鏂规璁剧疆/Xt_FastICScheme.html?OperationType=1&HModuleName=' + HModuleName + '&HFilterIdLists=' + HFilterIdLists + '&HValue=' + HValue + '&HElement_type=' + HElement_type;
+
                 //褰撳墠椤甸潰涓婃病鏈夐�夋嫨杩囨护鏂规锛岃繘鍏ユ柊澧炴柟娉�
                 if (HDefaultFilter == "") {
                     layer.open({
@@ -854,7 +862,7 @@
                         , area: ['40%', '80%']
                         , title: '杩囨护鏂规'
                         , shift: 0//寮瑰嚭鍔ㄧ敾
-                        , content: '../../../绯荤粺绠$悊/杩囨护鏂规璁剧疆/Xt_FastICScheme.html?OperationType=1&HModuleName=' + HModuleName + '&HFilterIdLists=' + HFilterIdLists + '&HValue=' + HValue + '&HElement_type=' + HElement_type
+                        , content: contentUrl
                         , cancel: function () {
                             // 鍙充笂瑙掑叧闂簨浠剁殑閫昏緫
                             HIsClose_Manual = true;
@@ -909,7 +917,7 @@
                         HValue = HValue.substring(0, HValue.length - 1);
                         HElement_type = HElement_type.substring(0, HElement_type.length - 1);
 
-                        var sMainSub = HInterID_Choose + ';' + HFilterIdLists + ';' + HValue + ';' + HElement_type + ';' + sessionStorage["HUserName"] + ';' + 3;
+                        var sMainSub = HInterID_Choose + ';' + HFilterIdLists + ';' + HValue + ';' + HElement_type + ';' + sessionStorage["Czybm"] + ';' + 3;
 
                         //淇敼
                         $.ajax({
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html"
index e74ea96..00a31dc 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html"
@@ -1780,7 +1780,7 @@
                         HValue = HValue.substring(0, HValue.length - 1);
                         HElement_type = HElement_type.substring(0, HElement_type.length - 1);
 
-                        var sMainSub = HInterID_Choose + ';' + HFilterIdLists + ';' + HValue + ';' + HElement_type + ';' + sessionStorage["HUserName"] + ';' + 3;
+                        var sMainSub = HInterID_Choose + ';' + HFilterIdLists + ';' + HValue + ';' + HElement_type + ';' + sessionStorage["Czybm"] + ';' + 3;
 
                         //淇敼
                         $.ajax({
diff --git "a/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\350\277\207\346\273\244\346\226\271\346\241\210\350\256\276\347\275\256/Xt_FastICSchemeList.html" "b/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\350\277\207\346\273\244\346\226\271\346\241\210\350\256\276\347\275\256/Xt_FastICSchemeList.html"
index f910404..8b446af 100644
--- "a/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\350\277\207\346\273\244\346\226\271\346\241\210\350\256\276\347\275\256/Xt_FastICSchemeList.html"
+++ "b/WebTM/views/\347\263\273\347\273\237\347\256\241\347\220\206/\350\277\207\346\273\244\346\226\271\346\241\210\350\256\276\347\275\256/Xt_FastICSchemeList.html"
@@ -389,7 +389,7 @@
                         $.ajax({
                             url: GetWEBURL() + '/Xt_FastICScheme/SetDefaultScheme',
                             type: "GET",
-                            data: { "HInterID": data[0].hmainid, "user": sessionStorage["HUserName"] },
+                            data: { "HInterID": data[0].hmainid, "user": sessionStorage["Czybm"], "HModuleName": HModuleName },
                             success: function (result) {
                                 if (result.count == 1) {
                                     layer.msg(result.Message, { icon: 1 }, function () {

--
Gitblit v1.9.1