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