[update 89156] 标准比对,两侧都要选择条款才能保存
This commit is contained in:
@@ -200,7 +200,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
// 文档对比的一致按钮点击
|
// 文档对比的一致按钮点击
|
||||||
consistentAssessmentClick () {
|
consistentAssessmentClick () {
|
||||||
if (!this.dataLeft.id && !this.dataRight.id) {
|
if (!this.dataLeft.id || !this.dataRight.id) {
|
||||||
this.$message.warning(this.$t('docTool.comparison.pleaseSelectTheDataCompared'))
|
this.$message.warning(this.$t('docTool.comparison.pleaseSelectTheDataCompared'))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -244,7 +244,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 文档对比的保存按钮点击
|
// 文档对比的保存按钮点击
|
||||||
submit () {
|
submit () {
|
||||||
if (!this.dataLeft.id && !this.dataRight.id) {
|
if (!this.dataLeft.id || !this.dataRight.id) {
|
||||||
this.$message.warning(this.$t('docTool.comparison.pleaseSelectTheDataCompared'))
|
this.$message.warning(this.$t('docTool.comparison.pleaseSelectTheDataCompared'))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user