This commit is contained in:
zds
2022-11-25 21:12:35 +08:00
parent ab020f0356
commit 7d5d7d7ce2
22 changed files with 221 additions and 131 deletions

View File

@@ -231,9 +231,11 @@ export default {
if (!numRe.test(val)) {
this.crud.notify('请输入不小于0的数字', CRUD.NOTIFICATION_TYPE.INFO)
row.workload = 0
return false
} else {
if (row.workload_audit === '') {
row.workload = 0
return false
}
}
row.workload_audit = val

View File

@@ -228,9 +228,11 @@ export default {
if (!numRe.test(val)) {
this.crud.notify('请输入不小于0的数字', CRUD.NOTIFICATION_TYPE.INFO)
row.workload_audit = 0
return false
} else {
if (row.workload_audit === '') {
row.workload_audit = 0
return false
}
}
this.form.tableData.splice(index, 1, row)