设备管理全部模块,选择基础资料的界面,全部增加 双击返回 的功能; (设备保养规程,设备点检规程,设备保养记录单,设备点检记录单,设备故障登记单,设备维修派工单,设备维修记录单,设备维修验收单)
15个文件已修改
676 ■■■■ 已修改文件
WebTM/views/基础资料/基础资料/Gy_ConkReasonList.html 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/基础资料/Gy_DotCheckList.html 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/基础资料/Gy_MaintainList.html 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/基础资料/Gy_RepairCheckList.html 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/基础资料/Gy_RepairList.html 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/Sb_Add_EqpConkBookBillList.html 152 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/Sb_Add_EqpMaintenanceBillList.html 106 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/Sb_Add_EqpRepairCheckBillList.html 56 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/Sb_EquipDotCheckBillEdit.html 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/Sb_EquipMaintainBillEdit.html 85 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/设备维修派工单/Sb_EquipRepairSendWorkBillEdit.html 67 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/设备规程单/Sb_EquipDotCheckRuleEdit.html 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/设备规程单/Sb_EquipDotCheckRuleList.html 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/设备规程单/Sb_EquipMaintainRuleEdit.html 59 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/设备管理/设备规程单/Sb_EquipMaintainRuleList.html 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/»ù´¡×ÊÁÏ/»ù´¡×ÊÁÏ/Gy_ConkReasonList.html
@@ -168,6 +168,16 @@
            form.on('submit(btnReSearch)', function (data) {
                set_ClearQuery();
            });
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetGy_ConkReasonListValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#endregion
WebTM/views/»ù´¡×ÊÁÏ/»ù´¡×ÊÁÏ/Gy_DotCheckList.html
@@ -196,6 +196,15 @@
            });
            //#endregion
            //双击表格事件
            table.on('rowDouble(mainTable)', function (obj) {
                var index = parent.layer.getFrameIndex(window.name);
                var data = obj.data;
                //返回方法
                parent.GetDotCheckListValue(data);
                parent.layer.close(index);
            })
            //#region æŸ¥è¯¢æŒ‰é’®
            form.on('submit(btnSearch)', function (data) {
                get_FastQuery();
WebTM/views/»ù´¡×ÊÁÏ/»ù´¡×ÊÁÏ/Gy_MaintainList.html
@@ -183,6 +183,15 @@
            });
            //#endregion
            //双击表格事件
            table.on('rowDouble(mainTable)', function (obj) {
                var index = parent.layer.getFrameIndex(window.name);
                var data = obj.data;
                //返回方法
                parent.GetMaintainListValue(data);
                parent.layer.close(index);
            })
            //代码回车方法
            $('#HNumber').on('keydown', function (event) {
                if (event.keyCode == 13) {
WebTM/views/»ù´¡×ÊÁÏ/»ù´¡×ÊÁÏ/Gy_RepairCheckList.html
@@ -177,6 +177,16 @@
            });
            //#endregion
            //#region åŒå‡»è¿”回数据
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetGy_RepairCheckListValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            //#endregion
            //#region æŸ¥è¯¢æŒ‰é’®
            form.on('submit(btnSearch)', function (data) {
                get_FastQuery();
WebTM/views/»ù´¡×ÊÁÏ/»ù´¡×ÊÁÏ/Gy_RepairList.html
@@ -130,6 +130,9 @@
            //#region è¿›å…¥é¡µé¢å³åŠ è½½
            var params = getUrlVars();
            var Type = params[params[0]];
            //初始化表格
            set_ClearBill();
            //#endregion
@@ -201,7 +204,14 @@
            table.on('rowDouble(mainTable)', function (obj) {
                var data = [];
                data.push(obj.data);
                parent.GetRepairValue(data);
                switch (Type) {
                    case "service":  //返回职员
                        parent.GetRepairServiceValue(data);
                        break;
                    default:
                        parent.GetRepairValue(data);
                        break;
                }
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
@@ -707,6 +717,19 @@
            }
            //#endregion
            //#region èŽ·å–å‚æ•°
            function getUrlVars() {
                var vars = [], hash;
                var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
                for (var i = 0; i < hashes.length; i++) {
                    hash = hashes[i].split('=');
                    vars.push(hash[0]);
                    vars[hash[0]] = hash[1];
                }
                return vars;
            }
            //#endregion
            //以上是layui模块
        });
    </script>
WebTM/views/É豸¹ÜÀí/Sb_Add_EqpConkBookBillList.html
@@ -167,6 +167,7 @@
    <script src="../../layuiadmin/Scripts/webConfig.js"></script>
    <script src="../../layuiadmin/PubCustom.js"></script>
    <script>
        var OptionData = [];
        //获取参数
        function getUrlVars() {
            var vars = [], hash;
@@ -379,7 +380,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HConkReasonID: OptionData[0].hitemid,
                                            HConkReasonCode: OptionData[0].故障原因代码,
                                            HConkReasonName: OptionData[0].故障原因
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -395,7 +404,7 @@
                                shift: 2,
                                area: ['80%', '80%'],
                                maxmin: true
                                , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                                , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html?type=HSecManager', 'yes']
                                , btn: ['确定', '取消']
                                , btn1: function (index, layero) {
@@ -420,7 +429,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HManagerID: OptionData[0].HItemID,
                                            HManagerCode: OptionData[0].职员代码,
                                            HManagerName: OptionData[0].职员名称,
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -555,7 +572,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true
                    , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -593,7 +610,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true
                    , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html?type=HManager', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -790,61 +807,82 @@
        });
        //定义全局变量
        var HReasonName, ReasonID, EmpName, SQProcName,
            ProcID, ZRProcName, QRName
            ;
        function GetHReasonValue(obj)  //返回不良原因
        {
            HReasonName = obj[0].HName;
            ReasonID = obj[0].HItemID;
        }
        //返回物料
        function GetHMaterNameValue(obj) {  //返回物料
            $("#HMater").val(obj[0].HName);
            $("#HMaterID").val(obj[0].HItemID);
            $("#HMaterNumber").val(obj[0].HNumber);
        }
        //返回工序
        function GetHProcValue(obj) {  //返回工序
            $("#HProcName").val(obj[0].工序);
            $("#HProcID").val(obj[0].HItemID);
            $("#HProcNumber").val(obj[0].工序代码);
        }
        function GetHDeptNameValue(obj) {  //返回部门
            $("#HDepName").val(obj[0].HName);
        //返回部门
        function GetHDeptNameValue(obj) {
            $("#HDeptName").val(obj[0].部门名称);
            $("#HDeptID").val(obj[0].HItemID);
            $("#HDeptNumber").val(obj[0].HNumber);
        }
        //返回单位
        function GetHUnitNameValue(obj) {
            $("#HUName").val(obj[0].HName);
            $("#HUnitID").val(obj[0].HItemID);
            $("#HUnitNumber").val(obj[0].HNumber);
        //返回发现人
        function GetHEmpValue(obj) {
            $("#HEmpName").val(obj[0].职员名称);
            $("#HEmpID").val(obj[0].HItemID);
        }
        function GetHKeeperValue(obj) {  //返回责任人
            EmpName = obj[0].HName;
            // $("#HEmpName").val(obj[0].HName);
            //$("#HItemID").val(obj[0].HItemID);
        //返回责任人
        function GetHManagerValue(obj) {  //返回责任人
            $("#HManagerName").val(obj[0].职员名称);
            $("#HManagerID").val(obj[0].HItemID);
        }
        //function GetHProcValue(obj) {  //返回申请工序
        //    SQProcName = obj[0].工序;
        //    ProcID = obj[0].HItemID;
        //    //$("#HSQProcName").val(obj[0].工序);
        //    //$("#HProcID").val(obj[0].HItemID);
        //返回设备
        function GetEquipFileValue(obj) {
            $("#HEquipName").val(obj[0].设备名称);
            $("#HEquipID").val(obj[0].hmainid);
        }
        //返回故障类别
        function GetConkTypeValue(obj) {
            $("#HConkTypeName").val(obj[0].故障类别);
            $("#HConkTypeID").val(obj[0].hitemid);
        }
        //故障原因
        function GetGy_ConkReasonListValue(obj) {
            OptionData = obj;
        }
        //验收员
        function GetHSecManagerValue(obj) {
            OptionData = obj;
        }
        //function GetHReasonValue(obj)  //返回不良原因
        //{
        //    HReasonName = obj[0].HName;
        //    ReasonID = obj[0].HItemID;
        //}
        function GetHZRValue(obj) {   //返回责任工序
            ZRProcName = obj[0].工序;
            //$("#HZRProcName").val(obj[0].工序);
            //$("#HItemID").val(obj[0].HItemID);
        }
        //HWorker
        function GetHWorkerValue(obj) {  //返回不良确认人
            QRName = obj[0].HName;
            //$("#HQRName").val(obj[0].HName);
            //$("#HItemID").val(obj[0].HItemID);
        }
        ////返回物料
        //function GetHMaterNameValue(obj) {  //返回物料
        //    $("#HMater").val(obj[0].HName);
        //    $("#HMaterID").val(obj[0].HItemID);
        //    $("#HMaterNumber").val(obj[0].HNumber);
        //}
        ////返回工序
        //function GetHProcValue(obj) {  //返回工序
        //    $("#HProcName").val(obj[0].工序);
        //    $("#HProcID").val(obj[0].HItemID);
        //    $("#HProcNumber").val(obj[0].工序代码);
        //}
        ////返回单位
        //function GetHUnitNameValue(obj) {
        //    $("#HUName").val(obj[0].计量单位名称);
        //    $("#HUnitID").val(obj[0].HItemID);
        //    $("#HUnitNumber").val(obj[0].计量单位代码);
        //}
        ////function GetHProcValue(obj) {  //返回申请工序
        ////    SQProcName = obj[0].工序;
        ////    ProcID = obj[0].HItemID;
        ////    //$("#HSQProcName").val(obj[0].工序);
        ////    //$("#HProcID").val(obj[0].HItemID);
        ////}
        //function GetHZRValue(obj) {   //返回责任工序
        //    ZRProcName = obj[0].工序;
        //    //$("#HZRProcName").val(obj[0].工序);
        //    //$("#HItemID").val(obj[0].HItemID);
        //}
        ////HWorker
        //function GetHWorkerValue(obj) {  //返回不良确认人
        //    QRName = obj[0].HName;
        //    //$("#HQRName").val(obj[0].HName);
        //    //$("#HItemID").val(obj[0].HItemID);
        //}
        //非空验证
        function AllowLoadData(sSubStr) {
            if ($("#HDeptName").val() == '') {
@@ -894,6 +932,8 @@
            else {
                return true;
            }
        }</script>
        }
    </script>
</body>
</html>
WebTM/views/É豸¹ÜÀí/Sb_Add_EqpMaintenanceBillList.html
@@ -252,6 +252,7 @@
    <script src="../../layuiadmin/Scripts/webConfig.js"></script>
    <script src="../../layuiadmin/PubCustom.js"></script>
    <script>
        var OptionData = [];
        //获取参数
        var params = get_UrlVars();
        if (typeof (params[params[0]]) == "undefined") {
@@ -393,7 +394,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true
                    , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -469,7 +470,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true
                    , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html?type=HManager', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -998,7 +999,7 @@
                                shift: 2,
                                area: ['80%', '80%'],
                                maxmin: true
                                , content: ['../基础资料/基础资料/Gy_RepairList.html', 'yes']
                                , content: ['../基础资料/基础资料/Gy_RepairList.html?type=service', 'yes']
                                , btn: ['确定', '取消']
                                , btn1: function (index, layero) {
@@ -1022,7 +1023,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HRepairID: OptionData[0].hitemid,
                                            HRepairCode: OptionData[0].维修项目代码,
                                            HRepairName: OptionData[0].维修项目,
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -1038,7 +1047,7 @@
                                shift: 2,
                                area: ['80%', '80%'],
                                maxmin: true
                                , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                                , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html?type=HSecManager', 'yes']
                                , btn: ['确定', '取消']
                                , btn1: function (index, layero) {
@@ -1063,7 +1072,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HManagerID: OptionData[0].HItemID,
                                            HManagerCode: OptionData[0].职员代码,
                                            HManagerName: OptionData[0].职员名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -1133,6 +1150,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HUnitID: OptionData[0].HItemID,
                                            HUnitNumber: OptionData[0].计量单位代码,
                                            HUnitName: OptionData[0].计量单位名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -1169,6 +1195,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HMaterID: OptionData[0].HItemID,
                                            HMaterNumber: OptionData[0].物料代码,
                                            HMaterName: OptionData[0].物料名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -1183,7 +1218,7 @@
                                shift: 2,
                                area: ['90%', '90%'],
                                maxmin: true
                                , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                                , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html?type=HKeeper', 'yes']
                                , btn: ['确定', '取消']
                                , btn1: function (index, layero) {
@@ -1208,7 +1243,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HManagerID: OptionData[0].HItemID,
                                            HManagerNumber: OptionData[0].职员代码,
                                            HManagerName: OptionData[0].职员名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -1360,7 +1403,52 @@
            //#endregion
        });
        //返回维修人
        function GetHEmpValue(obj) {
            $("#HEmpName").val(obj[0].职员名称);
            $("#HEmpID").val(obj[0].HItemID);
        }
        //返回设备
        function GetEquipFileValue(obj) {
            $("#HEquipName").val(obj[0].设备名称);
            $("#HEquipID").val(obj[0].hmainid);
        }
        //返回责任人
        function GetHManagerValue(obj) {  //返回责任人
            $("#HManagerName").val(obj[0].职员名称);
            $("#HManagerID").val(obj[0].HItemID);
        }
        //返回维修项目
        function GetRepairValue(obj) {
            $("#HRepairName").val(obj[0].维修项目); //维修项目名称
            $("#HRepairID").val(obj[0].hitemid); //维修项目ID
        }
        //返回部门
        function GetHDeptNameValue(obj) {
            $("#HDeptName").val(obj[0].部门名称);
            $("#HDeptID").val(obj[0].HItemID);
        }
        //返回责任人
        function GetHSecManagerValue(obj) {  //返回责任人
            OptionData = obj;
        }
        //返回维修项目
        function GetRepairServiceValue(obj) {
            OptionData = obj;
        }
        //物料
        function GetMaterValue(obj) {
            OptionData = obj;
        }
        //计量单位
        function GetUnitValue(obj) {
            OptionData = obj;
        }
        //负责人
        function GetHKeeperValue(obj) {
            OptionData = obj;
        }
    </script>
</body>
</html>
WebTM/views/É豸¹ÜÀí/Sb_Add_EqpRepairCheckBillList.html
@@ -180,6 +180,7 @@
    <script src="../../layuiadmin/PubCustom.js"></script>
    <script src="../../layuiadmin/zgqCustom/zgqCustom.js"></script>
    <script>
        var OptionData = [];
        //获取页面跳转参数
        var params = get_UrlVars();
        if (typeof (params[params[0]]) == "undefined") {
@@ -300,7 +301,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true
                    , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -338,7 +339,7 @@
                    shift: 2,
                    area: ['80%', '80%'],
                    maxmin: true
                    , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html?type=HManager', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {
@@ -763,7 +764,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HRepairCheckID: OptionData[0].HItemID,
                                            HRepairCheckCode: OptionData[0].维修验收项目代码,
                                            HRepairCheckName: OptionData[0].维修验收项目,
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -779,7 +788,7 @@
                                shift: 2,
                                area: ['80%', '80%'],
                                maxmin: true
                                , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                                , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html?type=HSecManager', 'yes']
                                , btn: ['确定', '取消']
                                , btn1: function (index, layero) {
@@ -804,7 +813,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HManagerID: OptionData[0].HItemID,
                                            HManagerCode: OptionData[0].职员代码,
                                            HManagerName: OptionData[0].职员名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -868,6 +885,35 @@
            //#endregion
        });
        //返回部门
        function GetHDeptNameValue(obj) {
            $("#HDeptName").val(obj[0].部门名称);
            $("#HDeptID").val(obj[0].HItemID);
        }
        //返回验收人
        function GetHEmpValue(obj) {
            $("#HEmpName").val(obj[0].职员名称);
            $("#HEmpID").val(obj[0].HItemID);
        }
        //返回责任人
        function GetHManagerValue(obj) {  //返回责任人
            $("#HManagerName").val(obj[0].职员名称);
            $("#HManagerID").val(obj[0].HItemID);
        }
        //返回设备
        function GetEquipFileValue(obj) {
            $("#HEquipName").val(obj[0].设备名称);
            $("#HEquipID").val(obj[0].hmainid);
        }
        //返回责任人
        function GetHSecManagerValue(obj) {  //返回责任人
            OptionData = obj;
        }
        //返回验收项目
        function GetGy_RepairCheckListValue(obj) {
            OptionData = obj;
        }
    </script>
</body>
</html>
WebTM/views/É豸¹ÜÀí/Sb_EquipDotCheckBillEdit.html
@@ -156,6 +156,7 @@
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
    </script>
    <script>
        var OptionData = [];
        //获取参数
        var params = get_UrlVars();
        if (typeof (params[params[0]]) == "undefined") {
@@ -347,7 +348,7 @@
                    }
                });
            });
            function get_DocCheckItem2() {
            window.get_DocCheckItem2 = function () {
                $.ajax({
                    url: GetWEBURL() + "/Web/GetDotCheckRuleItemByDotCheckRuleID",
                    type: "GET",
@@ -673,6 +674,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HDotCheckItemID: OptionData[0].HItemID,
                                            HDotCheckCode: OptionData[0].点检项目代码,
                                            HDotCheckItem: OptionData[0].点检项目名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -687,7 +697,7 @@
                                shift: 2,
                                area: ['90%', '90%'],
                                maxmin: true
                                , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                                , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html?type=HManager', 'yes']
                                , btn: ['确定', '取消']
                                , btn1: function (index, layero) {
                                    //按钮【按钮一】的回调
@@ -709,6 +719,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HManagerID: OptionData[0].HItemID,
                                            HManagerCode: OptionData[0].职员代码,
                                            HManagerName: OptionData[0].职员名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -867,6 +886,26 @@
            //#endregion
        });
        //设备
        function GetEquipFileValue(obj) {
            $("#HEquipName").val(obj[0].设备名称);
            $("#HEquipID").val(obj[0].hmainid);
        }
        //点检规程
        function GetSb_EquipDotCheckRuleListValue(obj) {
            $("#HEquipDotCheckRuleInterNo").val(obj.单据号);
            $("#HEquipDotCheckRuleInterID").val(obj.hmainid);
            get_DocCheckItem2();
        }
        //点检项目
        function GetDotCheckListValue(obj) {
            OptionData[0] = obj;
        }
        //责任人
        function GetHManagerValue(obj) {
            OptionData = obj;
        }
    </script>
</body>
</html>
WebTM/views/É豸¹ÜÀí/Sb_EquipMaintainBillEdit.html
@@ -181,6 +181,7 @@
    <script src="../../layuiadmin/Scripts/webConfig.js"></script>
    <script src="../../layuiadmin/PubCustom.js"></script>
    <script>
        var OptionData = [];
        //获取参数
        var params = get_UrlVars();
        if (typeof (params[params[0]]) == "undefined") {
@@ -418,7 +419,7 @@
                });
            });
            //选择保养规程的时候带出数据
            function get_MaintainItem2() {
            window.get_MaintainItem2 = function () {
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMaintainItemtemByMaintainRuleID",
                    type: "GET",
@@ -1020,6 +1021,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HMaintainItemID: OptionData[0].HItemID,
                                            HMaintainItemNumber: OptionData[0].保养项目代码,
                                            HMaintainItem: OptionData[0].保养项目名称,
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -1034,7 +1044,7 @@
                                shift: 2,
                                area: ['90%', '90%'],
                                maxmin: true
                                , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                                , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes']
                                , btn: ['确定', '取消']
                                , btn1: function (index, layero) {
@@ -1059,7 +1069,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HManagerID: OptionData[0].HItemID,
                                            HManagerNumber: OptionData[0].职员代码,
                                            HManagerName: OptionData[0].职员名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -1106,6 +1124,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HUnitID: OptionData[0].HItemID,
                                            HUnitNumber: OptionData[0].计量单位代码,
                                            HUnitName: OptionData[0].计量单位名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -1142,6 +1169,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HMaterID: OptionData[0].HItemID,
                                            HMaterNumber: OptionData[0].物料代码,
                                            HMaterName: OptionData[0].物料名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -1156,7 +1192,7 @@
                                shift: 2,
                                area: ['90%', '90%'],
                                maxmin: true
                                , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                                , content: ['../基础资料/公用基础资料/Gy_EmployeeList.html?type=HManager', 'yes']
                                , btn: ['确定', '取消']
                                , btn1: function (index, layero) {
@@ -1181,7 +1217,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HManagerID: OptionData[0].HItemID,
                                            HManagerNumber: OptionData[0].职员代码,
                                            HManagerName: OptionData[0].职员名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -1249,6 +1293,37 @@
            }
            //#endregion
        });
        //设备
        function GetEquipFileValue(obj) {
            $("#HEquipName").val(obj[0].设备名称);
            $("#HEquipID").val(obj[0].hmainid);
        }
        //保养规程
        function GetEquipMaintainRuleListValue(obj) {
            $("#HEquipMaintainRuleInterNo").val(obj.单据号);
            $("#HEquipMaintainRuleInterID").val(obj.hmainid);
            get_MaintainItem2();
        }
        //保养项目
        function GetMaintainListValue(obj) {
            OptionData[0] = obj;
        }
        //责任人
        function GetHManagerValue(obj) {
            OptionData = obj;
        }
        function GetHEmpValue(obj) {
            OptionData = obj;
        }
        //计量单位
        function GetUnitValue(obj) {
            OptionData = obj;
        }
        //配件
        function GetMaterValue(obj) {
            OptionData = obj;
        }
    </script>
</body>
</html>
WebTM/views/É豸¹ÜÀí/É豸άÐÞÅɹ¤µ¥/Sb_EquipRepairSendWorkBillEdit.html
@@ -194,7 +194,7 @@
        </script>
        <script>
            var OptionData = [];
            layui.config({
                base: '../../../layuiadmin/' //静态资源所在路径
            }).extend({
@@ -446,7 +446,7 @@
                        , area: ["90%", "90%"] //窗体大小
                        , title: "人员表"  //标题
                        , shift: 2 //弹出动画
                        , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                        , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HEmp', 'yes']
                        , btn: ["确定", "取消"]
                        , btn1: function (index) { //按钮一回调
                            var iframeWindow = window["layui-layer-iframe" + index]; //获取弹窗页面
@@ -475,7 +475,7 @@
                        , area: ["90%", "90%"] //窗体大小
                        , title: "人员表"  //标题
                        , shift: 2 //弹出动画
                        , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                        , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HManager', 'yes']
                        , btn: ["确定", "取消"]
                        , btn1: function (index) { //按钮一回调
                            var iframeWindow = window["layui-layer-iframe" + index]; //获取弹窗页面
@@ -669,7 +669,7 @@
                                    , shift: 2 //弹出动画
                                    , area: ["90%", "90%"] //窗体大小
                                    , maxmin: true //设置最大最小按钮是否显示
                                    , content: ["../../基础资料/基础资料/Gy_RepairList.html", "yes"]
                                    , content: ["../../基础资料/基础资料/Gy_RepairList.html?type=service", "yes"]
                                    , btn: ["确定", "取消"]
                                    , btn1: function (index, laero) {
                                        //按钮一  çš„回调
@@ -687,6 +687,17 @@
                                        })
                                        layer.close(index);//关闭弹窗
                                    }
                                    , end: function () {
                                        if (OptionData.length > 0) {
                                            //更新表格缓存的数据
                                            obj.update({
                                                "子维修项目": OptionData[0].维修项目
                                                , "HRepairID": OptionData[0].hitemid
                                                , "子维修项目代码": OptionData[0].维修项目代码
                                            });
                                            OptionData = [];
                                        }
                                    }
                                })
                            }
                            //维修人
@@ -700,7 +711,7 @@
                                    , shift: 2 //弹出动画
                                    , area: ["90%", "90%"] //窗体大小
                                    , maxmin: true //设置最大最小按钮是否显示
                                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HSecManager', 'yes']
                                    , btn: ["确定", "取消"]
                                    , btn1: function (index, laero) {
                                        //按钮一  çš„回调
@@ -717,6 +728,17 @@
                                            , "子负责人代码": checkStatus.data[0].职员代码
                                        })
                                        layer.close(index);//关闭弹窗
                                    }
                                    , end: function () {
                                        if (OptionData.length > 0) {
                                            //更新表格缓存的数据
                                            obj.update({
                                                "子负责人": OptionData[0].职员名称
                                                , "HManagerID": OptionData[0].HItemID
                                                , "子负责人代码": OptionData[0].职员代码
                                            });
                                            OptionData = [];
                                        }
                                    }
                                })
                            }
@@ -785,6 +807,41 @@
                //#endregion
            });
            //返回部门
            function GetHDeptNameValue(obj) {
                $("#HDeptIDName").val(obj[0].部门名称);
                $("#HDeptID").val(obj[0].HItemID);
            }
            //返回维修人
            function GetHEmpValue(obj) {
                $("#HEmpIDName").val(obj[0].职员名称);
                $("#HEmpID").val(obj[0].HItemID);
            }
            //返回责任人
            function GetHManagerValue(obj) {  //返回责任人
                $("#HManagerIDName").val(obj[0].职员名称);
                $("#HManagerID").val(obj[0].HItemID);
            }
            //返回设备
            function GetEquipFileValue(obj) {
                $("#HEquipIDName").val(obj[0].设备名称);
                $("#HEquipID").val(obj[0].hmainid);
            }
            //返回维修项目
            function GetRepairValue(obj) {
                $("#HRepairIDName").val(obj[0].维修项目); //维修项目名称
                $("#HRepairID").val(obj[0].hitemid); //维修项目ID
            }
            //返回责任人
            function GetHSecManagerValue(obj) {  //返回责任人
                OptionData = obj;
            }
            //返回维修项目
            function GetRepairServiceValue(obj) {
                OptionData = obj;
            }
        </script>
</body>
</html>
WebTM/views/É豸¹ÜÀí/É豸¹æ³Ìµ¥/Sb_EquipDotCheckRuleEdit.html
@@ -138,6 +138,7 @@
    <script src="../../../layuiadmin/layui/lay/modules/util.js"></script>
    <script src="../../../layuiadmin/PubCustom.js"></script>
    <script>
        var OptionData = [];
        var Stverf = "";
        //获取参数
        var params = get_UrlVars();
@@ -298,6 +299,14 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HDotCheckItemID: OptionData[0].HItemID,
                                            HDotCheckItem: OptionData[0].点检项目名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -312,7 +321,7 @@
                                shift: 2,
                                area: ['90%', '90%'],
                                maxmin: true
                                , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                                , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HManager', 'yes']
                                , btn: ['确定', '取消']
                                , btn1: function (index, layero) {
                                    //按钮【按钮一】的回调
@@ -334,6 +343,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HManagerID: OptionData[0].HItemID,
                                            HManagerNumber: OptionData[0].职员代码,
                                            HManagerName: OptionData[0].职员名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -571,6 +589,14 @@
            return Result;
        }
        //点检项目
        function GetDotCheckListValue(obj) {
            OptionData[0] = obj;
        }
        //责任人
        function GetHManagerValue(obj) {
            OptionData = obj;
        }
    </script>
</body>
</html>
WebTM/views/É豸¹ÜÀí/É豸¹æ³Ìµ¥/Sb_EquipDotCheckRuleList.html
@@ -234,6 +234,14 @@
                });
            })
            //双击表格事件
            table.on('rowDouble(mainTable)', function (obj) {
                var index = parent.layer.getFrameIndex(window.name);
                var data = obj.data;
                //返回方法
                parent.GetSb_EquipDotCheckRuleListValue(data);
                parent.layer.close(index);
            })
            //查询按钮
            form.on('submit(btnSearch)', function (data) {
WebTM/views/É豸¹ÜÀí/É豸¹æ³Ìµ¥/Sb_EquipMaintainRuleEdit.html
@@ -145,6 +145,7 @@
    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
    <script src="../../../layuiadmin/PubCustom.js"></script>
    <script>
        var OptionData = [];
        //获取参数
        var params = get_UrlVars();
        if (typeof (params[params[0]]) == "undefined") {
@@ -675,6 +676,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HMaintainItemID: OptionData[0].HItemID,
                                            HMaintainItemNumber: OptionData[0].保养项目代码,
                                            HMaintainItem: OptionData[0].保养项目名称,
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -690,7 +700,7 @@
                                shift: 2,
                                area: ['90%', '90%'],
                                maxmin: true
                                , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                                , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?type=HManager', 'yes']
                                , btn: ['确定', '取消']
                                , btn1: function (index, layero) {
@@ -715,7 +725,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HManagerID: OptionData[0].HItemID,
                                            HManagerNumber: OptionData[0].职员代码,
                                            HManagerName: OptionData[0].职员名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -762,6 +780,15 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HUnitID: OptionData[0].HItemID,
                                            HUnitNumber: OptionData[0].计量单位代码,
                                            HUnitName: OptionData[0].计量单位名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -801,6 +828,18 @@
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                    if (OptionData.length > 0) {
                                        //更新表格缓存的数据
                                        obj.update({
                                            HMaterID: OptionData[0].HItemID,
                                            HMaterNumber: OptionData[0].物料代码,
                                            HMaterName: OptionData[0].物料名称,
                                            HUnitID: OptionData[0].HUnitID,
                                            HUnitNumber: OptionData[0].计量单位代码,
                                            HUnitName: OptionData[0].计量单位名称
                                        });
                                        OptionData = [];
                                    }
                                }
                            });
                        }
@@ -850,6 +889,22 @@
            //#endregion
        });
        //保养项目
        function GetMaintainListValue(obj) {
            OptionData[0] = obj;
        }
        //责任人
        function GetHManagerValue(obj) {
            OptionData = obj;
        }
        //计量单位
        function GetUnitValue(obj) {
            OptionData = obj;
        }
        //配件
        function GetMaterValue(obj) {
            OptionData = obj;
        }
    </script>
</body>
</html>
WebTM/views/É豸¹ÜÀí/É豸¹æ³Ìµ¥/Sb_EquipMaintainRuleList.html
@@ -308,6 +308,15 @@
                });
            })
            //双击表格事件
            table.on('rowDouble(mainTable)', function (obj) {
                var index = parent.layer.getFrameIndex(window.name);
                var data = obj.data;
                //返回方法
                parent.GetEquipMaintainRuleListValue(data);
                parent.layer.close(index);
            })
            //重置按钮
            form.on('submit(btnReSearch)', function (data) {
                set_ClearQuery();