From 4781404b29e3b106e987c046d91a08a99250c3b0 Mon Sep 17 00:00:00 2001
From: zzr99 <1940172413@qq.com>
Date: 星期三, 24 十一月 2021 19:48:40 +0800
Subject: [PATCH] 11.24凯贝奈特项目测试BUG修复

---
 WebTM/views/设备管理/Sb_Add_EqpRepairCheckBillList.html |   18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)

diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpRepairCheckBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpRepairCheckBillList.html"
index 48d18f0..e3a79b4 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpRepairCheckBillList.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_Add_EqpRepairCheckBillList.html"
@@ -360,7 +360,7 @@
                             return layer.msg('璇烽�夋嫨鏁版嵁');
                         }
                         $("#HEquipName").val(checkStatus.data[0].HName);
-                        $("#HEquipID").val(checkStatus.data[0].HItemID);
+                        $("#HEquipID").val(checkStatus.data[0].HInterID);
                         layer.close(layer.index); //瀹冭幏鍙栫殑濮嬬粓鏄渶鏂板脊鍑虹殑鏌愪釜灞傦紝鍊兼槸鐢眑ayer鍐呴儴鍔ㄦ�侀�掑璁$畻鐨�
                     }
                     , btn2: function (index, layero) {
@@ -439,17 +439,13 @@
 
             //閫�鍑�
             form.on('submit(Exit)', function (data) {
-                if (closeType == 0) {
+                if (linterid == undefined) {
                     //鍏抽棴椤电
-                    parent.layui.admin.events.closeThisTabs();
+                    Pub_Close(2);
                 }
-                if (closeType == 1) {
-                    //鍏抽棴寮圭獥
-                    var index = parent.layer.getFrameIndex(window.name);
-                    parent.layer.close(index);
-                } else if (closeType == 2) {
+                else {
                     //鍏抽棴椤电
-                    parent.layui.admin.events.closeThisTabs();
+                    Pub_Close(1);
                 }
             });
 
@@ -805,9 +801,7 @@
                         }
                     }
                 }
-                else {
-                    return true;
-                }
+                return true;
             }
 
             //#endregion

--
Gitblit v1.9.1