修改禅道已知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',
regulatoryTaskConfirmation: 'Regulation Task Confirmation',
certificationStart: 'Homo Test Completion',
preHomoCompletion: 'Pre-Homo Completion',
certificationEnd: 'Type Approval',
certificationStart: 'Homo Completion',
preHomoCompletion: 'Pre-Homo Confirmation',
certificationEnd: 'Homo KO',
directoryName: 'Catalogue Name',
batch: 'Batch',
uploadTime: 'Upload Time',
@@ -1274,4 +1274,5 @@ module.exports = {
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',
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:'所选的数据责任领域不一致请选择相同的责任领域',
taskConfirmedPersonnelCannotBeSetBatch:'任务确认状态为待确认时无法批量设置人员',
theSelectedDataResponsibilityFieldCannotEmpty:'所选数据责任领域不能为空',
theTaskConfirmationStatusCannot:'只能变更清单确认状态为拒绝或接受及任务确认状态不能为待确认的数据',
}
@@ -97,9 +97,12 @@
},
{
title: this.$t('targetMarket'),
value: 'subtitle'
},
{
title: this.$t('subtitle'),
value: 'targetMarket_dictText'
},
{},
{
title: this.$t('standard'),
value: 'serialNumber',
@@ -808,7 +808,10 @@
</a-spin>
<div class="drawer-bootom-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>
<uploadFile ref="uploadFile" @uploadSuccess="uploadSuccess"/>
</a-drawer>
@@ -1263,11 +1263,15 @@
if (this.dataSource[i].id == selectedRowKeys[j]) {
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 == '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
} else {
isTrue = false
this.$message.warning(this.$t('onlyTheDataWhoseStatusNotInitiatedAcceptedChanged'))
this.$message.warning(this.$t('theTaskConfirmationStatusCannot'))
return
}
}