修改禅道已知bug

This commit is contained in:
qq787203167
2022-08-23 10:16:45 +08:00
parent ff23302f07
commit d3e041041a
5 changed files with 19 additions and 7 deletions
+4 -3
View File
@@ -715,9 +715,9 @@ module.exports = {
confirmationOfRegulationsList: 'Regulation List Confirmation', confirmationOfRegulationsList: 'Regulation List Confirmation',
regulatoryTaskConfirmation: 'Regulation Task Confirmation', regulatoryTaskConfirmation: 'Regulation Task Confirmation',
certificationStart: 'Homo Test Completion', certificationStart: 'Homo Completion',
preHomoCompletion: 'Pre-Homo Completion', preHomoCompletion: 'Pre-Homo Confirmation',
certificationEnd: 'Type Approval', certificationEnd: 'Homo KO',
directoryName: 'Catalogue Name', directoryName: 'Catalogue Name',
batch: 'Batch', batch: 'Batch',
uploadTime: 'Upload Time', uploadTime: 'Upload Time',
@@ -1274,4 +1274,5 @@ module.exports = {
theInconsistentSameResponsibility:'The selected data responsibility fields are inconsistent; Please select the same responsibility', theInconsistentSameResponsibility:'The selected data responsibility fields are inconsistent; Please select the same responsibility',
taskConfirmedPersonnelCannotBeSetBatch:'When the task confirmation status is to be confirmed, personnel cannot be set in batch', taskConfirmedPersonnelCannotBeSetBatch:'When the task confirmation status is to be confirmed, personnel cannot be set in batch',
theSelectedDataResponsibilityFieldCannotEmpty:'The selected data responsibility field cannot be empty', theSelectedDataResponsibilityFieldCannotEmpty:'The selected data responsibility field cannot be empty',
theTaskConfirmationStatusCannot:'Only the list confirmation status is "reject" or "accept" and the task confirmation status cannot be "data to be confirmed"',
} }
+1
View File
@@ -1376,4 +1376,5 @@ module.exports = {
theInconsistentSameResponsibility:'所选的数据责任领域不一致;请选择相同的责任领域', theInconsistentSameResponsibility:'所选的数据责任领域不一致;请选择相同的责任领域',
taskConfirmedPersonnelCannotBeSetBatch:'任务确认状态为待确认时无法批量设置人员', taskConfirmedPersonnelCannotBeSetBatch:'任务确认状态为待确认时无法批量设置人员',
theSelectedDataResponsibilityFieldCannotEmpty:'所选数据责任领域不能为空', theSelectedDataResponsibilityFieldCannotEmpty:'所选数据责任领域不能为空',
theTaskConfirmationStatusCannot:'只能变更清单确认状态为拒绝或接受、及任务确认状态不能为待确认的数据',
} }
@@ -97,9 +97,12 @@
}, },
{ {
title: this.$t('targetMarket'), title: this.$t('targetMarket'),
value: 'subtitle'
},
{
title: this.$t('subtitle'),
value: 'targetMarket_dictText' value: 'targetMarket_dictText'
}, },
{},
{ {
title: this.$t('standard'), title: this.$t('standard'),
value: 'serialNumber', value: 'serialNumber',
@@ -808,7 +808,10 @@
</a-spin> </a-spin>
<div class="drawer-bootom-button"> <div class="drawer-bootom-button">
<a-button style="margin-right: .8rem" @click="handleCancel">{{$t('cancel')}}</a-button> <a-button style="margin-right: .8rem" @click="handleCancel">{{$t('cancel')}}</a-button>
<a-button @click="handleSubmit" type="primary" :loading="confirmLoading">{{$t('submit')}}</a-button> <a-button @click="handleSubmit" v-if="formInline.roleCodeIndex == 0" type="primary" :loading="confirmLoading">
{{$t('submit')}}
</a-button>
<a-button @click="handleSubmit" v-else type="primary" :loading="confirmLoading">{{$t('confirm')}}</a-button>
</div> </div>
<uploadFile ref="uploadFile" @uploadSuccess="uploadSuccess"/> <uploadFile ref="uploadFile" @uploadSuccess="uploadSuccess"/>
</a-drawer> </a-drawer>
@@ -1263,11 +1263,15 @@
if (this.dataSource[i].id == selectedRowKeys[j]) { if (this.dataSource[i].id == selectedRowKeys[j]) {
if (this.dataSource[i].taskAffirmStatus == 'Accepted' || if (this.dataSource[i].taskAffirmStatus == 'Accepted' ||
(this.dataSource[i].inventoryAffirmStatus == 'Accepted' && this.dataSource[i].taskAffirmStatus == 'Accepted') || (this.dataSource[i].inventoryAffirmStatus == 'Accepted' && this.dataSource[i].taskAffirmStatus == 'Accepted') ||
(this.dataSource[i].inventoryAffirmStatus == 'Accepted' && this.dataSource[i].taskAffirmStatus == 'Not started')) { (this.dataSource[i].inventoryAffirmStatus == 'Rejected' && this.dataSource[i].taskAffirmStatus == 'Accepted') ||
(this.dataSource[i].inventoryAffirmStatus == 'Accepted' && this.dataSource[i].taskAffirmStatus == 'Rejected') ||
(this.dataSource[i].inventoryAffirmStatus == 'Rejected' && this.dataSource[i].taskAffirmStatus == 'Rejected') ||
(this.dataSource[i].inventoryAffirmStatus == 'Accepted' && this.dataSource[i].taskAffirmStatus == 'Not started') ||
(this.dataSource[i].inventoryAffirmStatus == 'Rejected' && this.dataSource[i].taskAffirmStatus == 'Not started')) {
isTrue = true isTrue = true
} else { } else {
isTrue = false isTrue = false
this.$message.warning(this.$t('onlyTheDataWhoseStatusNotInitiatedAcceptedChanged')) this.$message.warning(this.$t('theTaskConfirmationStatusCannot'))
return return
} }
} }