[update 标准解读流程] 主解读人分发完善

This commit is contained in:
danshihao
2024-07-15 09:26:54 +08:00
parent 465326be5e
commit 50f6e345f3
2 changed files with 10 additions and 2 deletions
@@ -73,6 +73,11 @@ export default {
async getData (isValidate) {
const obj = {}
if (isValidate) {
// 至少一条数据
if (!this.$refs.interpretationClauseTable.getData().length) {
this.$message.warn(this.$t('addAtLeastOneRowOfData'))
this._flag = true
}
obj.formData = await new Promise((resolve) => {
this.form.validateFields((err, values) => {
if (err) { obj._flag = true }