[fix 87359] 解读流程发起节点,来源选择不带入,条款可为空
This commit is contained in:
@@ -167,20 +167,6 @@ export default {
|
||||
// 校验失败就标记true
|
||||
obj._flag = true
|
||||
}
|
||||
// 如果来源选择不带入,至少选择一条条款信息
|
||||
const isNoInput = this.dataSource.length && (this.dataSource[0].decompositionSource === DecompositionSource.NO_INPUT.value)
|
||||
// 是否没有条款数据
|
||||
const isClauseNotData = !this.showClauseTable || !this.$refs.interpretationClauseTable.getData().length
|
||||
if (isNoInput && isClauseNotData) {
|
||||
this.$message.warn(this.$t('workCenter.standardInterpretationProcess.pleaseSelectClause'))
|
||||
obj._flag = true
|
||||
}
|
||||
// 选择条款后来源选择其他,没有条款数据提示至少一条数据
|
||||
if (this.showClauseTable && !isNoInput && isClauseNotData) {
|
||||
this.$message.warn(this.$t('addAtLeastOneRowOfData'))
|
||||
// 校验失败就标记true
|
||||
obj._flag = true
|
||||
}
|
||||
}
|
||||
// 选择的标准列表
|
||||
obj.standardData = this.dataSource
|
||||
|
||||
Reference in New Issue
Block a user