yusijie
2024-04-12 7f7179d00825d06ec064f8bbbccdf406424a4609
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>