diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index af8955b5e..ed3137454 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -1715,4 +1715,5 @@ module.exports = { reasonForReturn:'Reason For Return', pleaseFillInTheInformationTaskProcess:'Please fill in the information of the project interface person and responsible person before initiating the task process', complianceReporting:'Compliance Reporting', + youCanOnlySelectStatusClearSubmit:'You can only select data with a process status of Clear to Submit', } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index 9126f3501..4aac259d7 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -1815,4 +1815,5 @@ module.exports = { reasonForReturn:'退回原因', pleaseFillInTheInformationTaskProcess:'请填写工程接口人和责任人信息后再发起任务流程', complianceReporting:'合规报告', + youCanOnlySelectStatusClearSubmit:'只能选择流程状态为清单待提交的数据', } \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/components/certificationList/index.vue b/jero-web/src/views/projectManagement/components/certificationList/index.vue index 463a8fa54..67c00adfe 100644 --- a/jero-web/src/views/projectManagement/components/certificationList/index.vue +++ b/jero-web/src/views/projectManagement/components/certificationList/index.vue @@ -1379,7 +1379,19 @@ //引用交付物 referenceDeliverablesClick() { if (this.selectedRowKeys && this.selectedRowKeys.length > 0) { - this.$refs.referenceDeliverablesListRef.transferModel(JSON.parse(JSON.stringify(this.selectedRowKeys))) + let isTrue + for (let i = 0; i < this.selectedRowKeysList.length; i++) { + if (this.selectedRowKeysList[i].flowStatus == 'Results to be submitted') { + isTrue = true + }else{ + isTrue = false + this.$message.warning(this.$t('youCanOnlySelectStatusClearSubmit')) + return + } + } + if (isTrue){ + this.$refs.referenceDeliverablesListRef.transferModel(JSON.parse(JSON.stringify(this.selectedRowKeys))) + } } else { this.$message.warning(this.$t('selectLeastOne')) }