[update 标准解读流程] 主解读人分发完善
This commit is contained in:
+5
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user