From 5ed07fd44a31d59dcb5b59b6b48e19ea292bece1 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期五, 12 九月 2025 09:49:20 +0800
Subject: [PATCH] 优化 销售管理 菜单下 单据出现重复请求

---
 WebTM/views/IpadIndex.html |   29 +++++++++++++++++++++++++----
 1 files changed, 25 insertions(+), 4 deletions(-)

diff --git a/WebTM/views/IpadIndex.html b/WebTM/views/IpadIndex.html
index f64bba6..61a81d5 100644
--- a/WebTM/views/IpadIndex.html
+++ b/WebTM/views/IpadIndex.html
@@ -926,10 +926,31 @@
                 end: function () {
 
                 },
-            });
-
-            /* window.open("../../../views/鐢熶骇绠$悊/浣滀笟鎸囧涔�/Gy_SOPBill_Video.html?OperationType=5&HMaterID=" + HMaterID + "&HSourceNo=" + workcode + "&HSourceEntryID=" + HSourceEntryID);*/
+            });           
         }
+
+        //SIP 浣滀笟鎸囧涔�
+        function SIP(event, obj) {
+            if (wktag == 0) {
+                layer.alert("璇烽�夋嫨宸ュ崟鍒楄〃", { icon: 5 });
+                return false;
+            }
+            var HTypes = "SIP";
+            layer.open({
+                type: 2,
+                skin: 'layui-layer-rim', //鍔犱笂杈规
+                title: '浣滀笟鎸囧涔�',
+                closeBtn: 1,
+                shift: 2,
+                area: ['95%', '95%'],
+                maxmin: true,
+                content: '鐢熶骇绠$悊/浣滀笟鎸囧涔�/Gy_SOPBill_Video.html?OperationType=5&HMaterID=' + HMaterID + '&HSourceNo=' + workcode + '&HSourceEntryID=' + HSourceEntryID + '&HProcID=' + HProcID + '&HTypes=' + HTypes,
+                end: function () {
+
+                }
+            });
+        }
+
 
         //姹囨姤鎸夐挳鐐瑰嚮浜嬩欢
         function OpenReport(event, obj) {
@@ -1171,7 +1192,7 @@
                 shift: 2,
                 area: ['100%', '100%'],
                 maxmin: true,
-                content: '鐢熶骇绠$悊/鍋滃伐鎭㈠鍗�/Sc_MESStopRestoreWorkBill.html?OperationType=2&linterid=&HSouceBillType=',
+                content: '鐢熶骇绠$悊/鎶ュ伐鍙板伐搴�/鍋滃伐鎭㈠鍗�/Sc_MESStopRestoreWorkBill.html?OperationType=2&linterid=&HSouceBillType=',
                 end: function () {
 
                 },

--
Gitblit v1.9.1