数据验空
This commit is contained in:
@@ -1174,6 +1174,10 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
if (this.ruleForm.multipleTableData.length === 0) {
|
||||||
|
this.$message.warning('请至少填写一条数据')
|
||||||
|
return
|
||||||
|
}
|
||||||
if (this.validateTableData() && this.feedbackDept === '2') {
|
if (this.validateTableData() && this.feedbackDept === '2') {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user