[update 标准解读流程] 完善
This commit is contained in:
+5
-1
@@ -119,6 +119,10 @@ export default {
|
||||
async getData (isValidate) {
|
||||
const obj = {}
|
||||
if (isValidate) {
|
||||
if (!this.$refs.interpretationClauseTable.getData().length) {
|
||||
this.$message.warn('addAtLeastOneRowOfData')
|
||||
obj._flag = true
|
||||
}
|
||||
// 汇总节点,处理表单
|
||||
if (this.isStandardInterpreterSummary) {
|
||||
obj.formData = await new Promise((resolve) => {
|
||||
@@ -132,7 +136,7 @@ export default {
|
||||
} else {
|
||||
obj.formData = this.form.getFieldsValue()
|
||||
}
|
||||
obj.clauseInterpretData = this.dataSource
|
||||
obj.clauseInterpretData = this.$refs.interpretationClauseTable.getData()
|
||||
return obj
|
||||
},
|
||||
// 更新组件内的数据
|
||||
|
||||
Reference in New Issue
Block a user