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

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

diff --git a/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user b/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user
index f0956df..492dc65 100644
--- a/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user
+++ b/WebTM/Properties/PublishProfiles/LAYUI.pubxml.user
@@ -3621,7 +3621,7 @@
       <publishTime>03/21/2024 10:41:25</publishTime>
     </File>
     <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_StockPlace_List.html">
-      <publishTime>03/27/2025 13:53:18</publishTime>
+      <publishTime>06/03/2025 15:42:56</publishTime>
     </File>
     <File Include="views/鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_SupType.html">
       <publishTime>05/15/2025 14:44:58</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:40:09</publishTime>
+      <publishTime>06/03/2025 15:48:15</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/\345\205\254\347\224\250\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockPlace_List.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/Gy_StockPlace_List.html"
index ca214eb..bf86fb8 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/Gy_StockPlace_List.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/Gy_StockPlace_List.html"
@@ -511,7 +511,7 @@
                 var openType = params[params[0]]; //浠庡弬鏁颁腑鑾峰彇 鎵撳紑鏂瑰紡  1鐩存帴鎵撳紑 2鍏跺畠椤甸潰閫氳繃閫夋嫨鎸夐挳鎵撳紑
                 var addSWhere = "";
                 if (typeof (openType) != "undefined") {
-                    addSWhere = " and 鍏抽棴浜� = '' and 瀹℃牳浜� != ''";
+                    addSWhere = " and 鍏抽棴浜� = '' and 瀹℃牳浜� <> ''";
                 }
                 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 328ead3..4991c46 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"
@@ -1121,7 +1121,7 @@
                     shift: 2,
                     area: ['80%', '80%'],
                     maxmin: true,
-                    content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_StockPlace_List.html', 'yes'],
+                    content: ['../../鍩虹璧勬枡/鍏敤鍩虹璧勬枡/Gy_StockPlace_List.html?openType=2', 'yes'],
                     btn: ['纭畾', '鍙栨秷']
                     , btn1: function (index, layero) {
                         //鎸夐挳銆愭寜閽竴銆戠殑鍥炶皟
@@ -2341,8 +2341,8 @@
         }
 
         function GetGyStockPlace(obj) {   //浠撲綅
-            $("#HSPName").val(obj[0].浠撲綅鍚嶇О);
-            $("#HSPID").val(obj[0].HMainID);
+            $("#HSPName").val(obj.浠撲綅鍚嶇О);
+            $("#HSPID").val(obj.HMainID);
         }
 
         function GetMouldMaintainRuleValue(obj) {   //淇濆吇瑙勭▼

--
Gitblit v1.9.1