@@ -321,6 +321,8 @@
this.getReportCount();
});
+ } else {
+ this.$message.error('请输入必填项!');
}
@@ -355,6 +355,8 @@
@@ -445,7 +445,7 @@
this.countMsg = res;
},
report (fun) {
- this.$refs.formRef.validate((value) => {
+ this.$refs.formRef.validate((value, error) => {
if (value) {
this.$confirm('是否确定要报工?', '提示').then(() => {
const workReportDeviceList = [];
@@ -468,6 +468,8 @@
@@ -197,6 +197,8 @@
@@ -362,6 +362,8 @@
@@ -371,6 +371,8 @@
@@ -21,7 +21,7 @@
<div class="right">
<el-form-item
label="执行人工号"
- prop="workReport.executorJobNum"
+ prop="workReport.executorId"
required
label-width="100px"
><personSelectRemote
@@ -201,6 +201,8 @@