WebTM/views/É豸¹ÜÀí/Sb_EquipMaintainBillEdit.html
@@ -265,13 +265,14 @@
            //行内事件
            table.on('tool(mainTable)', function (obj) {
                set_GridDelete(obj);   //行内删除
                set_GridCellCheck(obj); //行内快捷键筛选
                set_GridCellCheckMain(obj); //行内快捷键筛选
            });
            //行内事件
            table.on('tool(mainTable1)', function (obj) {
                set_GridDelete1(obj);   //行内删除
                set_GridCellCheck1(obj); //行内快捷键筛选
            });
            //表头信息设备弹窗
            form.on('submit(ProductModulList)', function () {
                //页面层-自定义
@@ -323,7 +324,8 @@
                                option1.data = [{ "HMaterID": 0, "HMaterNumber": "", "HMaterName": "", "HUnitID": 0, "HUnitNumber": "", "HUnitName": "", "HManagerID": "0 ", "HManagerNumber": " ", "HManagerName": " ", "HQty": "0", "HRemark": "" }];
                                table.render(option);
                                table.render(option1);
                                $("#HEquipMaintainRuleInterID").val(BYData[0].HInterID);
                                $("#HEquipMaintainRuleInterNo").val(BYData[0].HBillNo)
                                if (BYData.length != 0)  //表体数据为空时
                                {
                                    buttonArr = [];//清空数组
@@ -612,8 +614,8 @@
                    { type: 'checkbox', fixed: 'left' }
                    , { templet: '#xuhao', title: '序号', sort: true, fixed: 'left', event: "qwe" }
                    , { field: 'HMaintainItemID', title: '保养项目ID', edit: 'text', hide: true }
                    , { field: 'HMaintainItemNumber', title: '保养项目代码', hide: true ,edit: 'text', event: 'HMaintainItemNumber' }
                    , { field: 'HMaintainItem', title: '保养项目', edit: 'text' }
                    , { field: 'HMaintainItemNumber', title: '保养项目代码', hide: true ,edit: 'text' }
                    , { field: 'HMaintainItem', title: '保养项目', edit: 'text', event: 'HMaintainItemNumber' }
                    , { field: 'HMaintainPart', title: '保养部位', edit: 'text' }
                    , { field: 'HClaim', title: '具体要求', edit: 'text' }
                    , { field: 'HManagerID', title: '负责人ID', edit: 'text', hide: true }
@@ -878,7 +880,7 @@
                }
            }
            //表格行内事件快捷键筛选
            function set_GridCellCheck(obj) {
            function set_GridCellCheckMain(obj) {
                $(document).off('keydown', ".layui-table-edit").on('keydown', '.layui-table-edit', function (e) {
                    if (event.key == "F7") {
                        if (obj.event === 'HMaintainItemNumber')  //保养项目信息