数据验空

This commit is contained in:
zhangyichen
2022-04-11 14:19:04 +08:00
parent f7c4e5422b
commit 156e176975
@@ -1174,6 +1174,10 @@ export default {
});
},
handleSubmit() {
if (this.ruleForm.multipleTableData.length === 0) {
this.$message.warning('请至少填写一条数据')
return
}
if (this.validateTableData() && this.feedbackDept === '2') {
return
}