王 垚
2021-05-25 66144089fc037ee502ad4f9f7a251b13d7ea9122
WebTM/views/Ä£Öξ߹ÜÀí/Ä£Öξ߹ÜÀí/Sb_Add_MouldRepairWorkBillList.html
@@ -288,10 +288,10 @@
                    { type: 'checkbox', fixed: 'left' }
                    , { templet: '#xuhao', title: '序号', sort: true, fixed: 'left', event: "qwe" }
                    , { field: 'HRepairID', title: '维修项目代码', edit: 'text', event: "" }
                    , { field: 'HRepaItemName', title: '维修项目', edit: 'text', event: "" }
                    , { field: 'HRepairName', title: '维修项目', edit: 'text', event: "" }
                    , { field: 'HRepairExplanation', title: '维修要求', edit: 'text' }
                    , { field: 'HManagerID', title: '负责人代码', edit: 'text' }
                    , { field: 'HDutyPeopleName', title: '负责人', edit: 'text' }
                    , { field: 'HManagerName', title: '负责人', edit: 'text' }
                    , { field: 'HMoney', title: '维修费用', event: "", edit: 'text' }
                    , { field: 'HRemark', title: '备注', event: "", edit: 'text' }
                    , { fixed: 'right', title: '操作', toolbar: '#barDemo', width: 150 }
@@ -301,7 +301,7 @@
            //判断是否新增
            if (hID == null || hID == 0) {
                //初始加载表格{ "ID": 0, "HWasterReasonName": " ","HBadReasonID":0,"HEmpName": "  ", "HSQProcName": "   ","HProcID":0, "HZRProcName": "  ", "HMRBChecker": "  ", "HRemark": "  ", "HPSProcName": "  ", "HCloseMan": "   " }
                option.data = [{ "HRepairID": 0, "HRepaItemName": "  ", "HRepairExplanation": "   ", "HManagerID": 0, "HDutyPeopleName": "  ", "HMoney": 0, "HRemark": "  " }];
                option.data = [{ "HRepairID": 0, "HRepairName": "  ", "HRepairExplanation": "   ", "HManagerID": 0, "HManagerName": "  ", "HMoney": 0, "HRemark": "  " }];
                table.render(option);
            }
            else {
@@ -310,7 +310,7 @@
                $.ajax({
                    url: GetWEBURL() + 'Sb_MouldRepairWorkBill/Sb_MouldRepairWorkBillListProjectDetai',
                    type: "GET",
                    data: { "sqlWhere": "and HInterID=" + hID },
                    data: { "sqlWhere": "and hmainid=" + hID },
                    success: function (result) {
                        //console.log('gouba' + result);
                        if (result.count == 1) {
@@ -336,7 +336,7 @@
                var checkStatus = table.checkStatus('mainTable')
                    , data = checkStatus.data;;
                var AddRow = table.cache['mainTable'];
                var NewRow = { "HRepairID": 0, "HRepaItemName": "  ", "HRepairExplanation": "   ", "HManagerID": 0, "HDutyPeopleName": "  ", "HMoney": 0, "HRemark": "  " };
                var NewRow = { "HRepairID": 0, "HRepairName": "  ", "HRepairExplanation": "   ", "HManagerID": 0, "HManagerName": "  ", "HMoney": 0, "HRemark": "  " };
                switch (obj.event) {
                    case 'btn-AddLine':
                        //table.cache["mainTable"].push(AddRow[rows]);