From 1a2b690a9144488df4f780643e8fd3a64ae4db0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Mon, 27 Mar 2023 11:56:27 +0800 Subject: [PATCH] =?UTF-8?q?=E2=80=9D=E7=BB=93=E6=9E=9C=E5=BE=85=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E2=80=9C=E7=9A=84=E6=97=B6=E5=80=99=E6=89=8D=E8=83=BD?= =?UTF-8?q?=E5=BC=95=E7=94=A8=E4=BA=A4=E4=BB=98=E7=89=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 1 + jero-web/src/common/lang/zh-cn.js | 1 + .../components/certificationList/index.vue | 14 +++++++++++++- 3 files changed, 15 insertions(+), 1 deletion(-) 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')) }