zzr99
2021-11-24 4781404b29e3b106e987c046d91a08a99250c3b0
WebTM/views/É豸¹ÜÀí/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); //它获取的始终是最新弹出的某个层,值是由layer内部动态递增计算的
                    }
                    , 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