wangyi
2026-03-03 fbe87c8d043cb038d384df7721bc071676a0c24c
pages/EmployeeRecords/EmployeeRecordsBill.vue
@@ -530,7 +530,8 @@
               url: this.serverUrl + '/Web/GetEmployeeList_Json',
               data: {
                  Employee: '',
                  HGroupID: 0
                  HGroupID: 0,
                        HDeptID: uni.getStorageSync("HDeptID")
               },
               success: (res) => {
                  if (res.data.count == 1) {
@@ -860,7 +861,37 @@
               },
            });
         },
            validCheck() {
                if(this.hform.HEquipID == 0) {
                    return {
                        message: "设备数据为空,不允许提交。",
                        type: false
                    }
                }
                if(this.hform.HShiftsName == '') {
                    return {
                        message: "生产班次为空,不允许提交。",
                        type: false
                    }
                }
                return {
                    message: "",
                    type: true
                }
            },
         submit() {
                let {message, type} = this.validCheck()
                if(!type){
                    CommonUtils.showTips({
                        title: '',
                        message: message
                    })
                    return
                }
            this.hform.HInterID = 0
            for (let i = 0; i < this.hform.HRoles.length; i++) {
               this.hform.HSignRemark = this.hform.HSignRemark + this.hform.HRoles[i] + ","