From 3ddeb79b7e8da8971236609ab85d9a9328665e0b Mon Sep 17 00:00:00 2001
From: 杨乐 <yang.le.192@qq.com>
Date: 星期一, 07 二月 2022 14:09:52 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MESWMS-LayUI

---
 WebTM/views/IpadStepIndex.html |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/WebTM/views/IpadStepIndex.html b/WebTM/views/IpadStepIndex.html
index e950550..38c0809 100644
--- a/WebTM/views/IpadStepIndex.html
+++ b/WebTM/views/IpadStepIndex.html
@@ -715,6 +715,8 @@
 
                 },
                 success: function (dom, index) {
+                    //閫氳繃绱㈠紩鑾峰彇鍒板綋鍓峣frame寮瑰嚭灞�
+                    var iframe = window['layui-layer-iframe' + index];
                     var data = [];
                     data.push({
                         "workcode": workcode,
@@ -729,9 +731,6 @@
                         "HSourceBillType": HSourceBillType,
                         "HProcID": HProcID
                     });
-
-                    //閫氳繃绱㈠紩鑾峰彇鍒板綋鍓峣frame寮瑰嚭灞�
-                    var iframe = window['layui-layer-iframe' + index];
                     //璋冪敤iframe寮瑰嚭灞傚唴鐨勬柟娉�
                     iframe.edit(data);
                 },
@@ -761,6 +760,8 @@
 
                 },
                 success: function (dom, index) {
+                    //閫氳繃绱㈠紩鑾峰彇鍒板綋鍓峣frame寮瑰嚭灞�
+                    var iframe = window['layui-layer-iframe' + index];
                     var data = [];
                     data.push({
                         "HBillType": HBillType,
@@ -769,9 +770,6 @@
                         "HSourceBillNo": HSourceBillNo,
                         "HSourceBillType": HSourceBillType
                     });
-
-                    //閫氳繃绱㈠紩鑾峰彇鍒板綋鍓峣frame寮瑰嚭灞�
-                    var iframe = window['layui-layer-iframe' + index];
                     //璋冪敤iframe寮瑰嚭灞傚唴鐨勬柟娉�
                     iframe.edit(data);
                 },
@@ -886,7 +884,7 @@
         //鍗曟嵁鐘舵�侀獙璇�
         function WorkStaus(HSourceID1, workcode, HSourceInterID, btn) {
             var flag = false;
-            var sWhere = "";
+            var sWhere = ""; //浠诲姟鍗曠姸鎬�(0寰呯敓浜э紝1鐢熶骇涓紝2鎸傝捣锛�3宸插畬宸�)
             switch (btn) {
                 case "寮�宸�":
                     sWhere = " where HSourceID='" + HSourceID1 + "' and HICMOBillNo='" + workcode + "' and HInterID='" + HSourceInterID + "' and hicmostatus not in('0','2')";   //鏄惁鏈変笉涓哄紑宸ュ紑宸ョ姸鎬併�佸仠宸ョ姸鎬�

--
Gitblit v1.9.1