From 4a6853c0fb5a746ac1226c133681c752a1928178 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期二, 03 六月 2025 15:18:38 +0800
Subject: [PATCH] 器具主档:编辑页面 供应商 改为 只能选择 已审核且未禁用的 数据。

---
 WebTM/Properties/PublishProfiles/LAYUI.pubxml.user |    4 ++--
 WebTM/views/模治具管理/模治具管理/Gy_MouldFile.html          |    4 +++-
 WebTM/views/基础资料/采购基础资料/Gy_Supplier.html           |    2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user b/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user
index 8c2e79d..28ebe3b 100644
--- a/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user
+++ b/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user
@@ -4473,7 +4473,7 @@
     <File Include="views/鍩虹璧勬枡/閲囪喘鍩虹璧勬枡/Gy_Supplier.html">
       <publishTime>04/12/2021 11:31:26</publishTime>
       <publishTime>04/12/2021 11:31:26</publishTime>
-      <publishTime>05/15/2025 14:44:59</publishTime>
+      <publishTime>06/03/2025 15:14:06</publishTime>
     </File>
     <File Include="views/鍩虹璧勬枡/閲囪喘鍩虹璧勬枡/Gy_Supplier_Edit.html">
       <publishTime>03/18/2025 09:41:31</publishTime>
@@ -5149,7 +5149,7 @@
       <publishTime>07/19/2021 10:10:46</publishTime>
     </File>
     <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Gy_MouldFile.html">
-      <publishTime>06/03/2025 15:11:10</publishTime>
+      <publishTime>06/03/2025 15:15:05</publishTime>
     </File>
     <File Include="views/妯℃不鍏风鐞�/妯℃不鍏风鐞�/Gy_MouldFileList.html">
       <publishTime>06/03/2025 14:03:10</publishTime>
diff --git "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\207\207\350\264\255\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Supplier.html" "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\207\207\350\264\255\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Supplier.html"
index b03540c..10b1ae3 100644
--- "a/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\207\207\350\264\255\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Supplier.html"
+++ "b/WebTM/views/\345\237\272\347\241\200\350\265\204\346\226\231/\351\207\207\350\264\255\345\237\272\347\241\200\350\265\204\346\226\231/Gy_Supplier.html"
@@ -1403,7 +1403,7 @@
             var addSWhere = "";
 
             if (openType != undefined && HOrgName != "undefined") {
-                addSWhere = " and 绂佺敤鏍囪 = '' and 瀹℃牳浜� !='' ";
+                addSWhere = " and 绂佺敤鏍囪 = '' and 瀹℃牳浜� <> '' ";
                 Organization = HOrgName.toString();
             }
             return addSWhere;
diff --git "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFile.html" "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFile.html"
index ac3a4ec..3fe1749 100644
--- "a/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFile.html"
+++ "b/WebTM/views/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/\346\250\241\346\262\273\345\205\267\347\256\241\347\220\206/Gy_MouldFile.html"
@@ -851,6 +851,8 @@
 
             //渚涘簲鍟�
             form.on('submit(btnHSupList)', function () {
+                var HOrgName = sessionStorage["Organization"];
+
                 //椤甸潰灞�-鑷畾涔�
                 layer.open({
                     type: 2,
@@ -860,7 +862,7 @@
                     shift: 2,
                     area: ['80%', '80%'],
                     maxmin: true,
-                    content: ['../../鍩虹璧勬枡/閲囪喘鍩虹璧勬枡/Gy_Supplier.html?Type=HSup', 'yes'],
+                    content: ['../../鍩虹璧勬枡/閲囪喘鍩虹璧勬枡/Gy_Supplier.html?Type=HSup&HOrgName=' + HOrgName, 'yes'],
                     btn: ['纭畾', '鍙栨秷']
                     , btn1: function (index, layero) {
                         //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟

--
Gitblit v1.9.1