Browse Source

2026-02-26

打样下达做放重复提交
master
fengyuan_yang 24 hours ago
parent
commit
6ad6ab0bbf
  1. 9
      src/views/modules/proofing/requestForProofing.vue

9
src/views/modules/proofing/requestForProofing.vue

@ -177,7 +177,7 @@
<el-link style="cursor: pointer" @click="updateModal(scope.row)" v-if="scope.row.proofingStatus !== '已完成'">编辑</el-link> <el-link style="cursor: pointer" @click="updateModal(scope.row)" v-if="scope.row.proofingStatus !== '已完成'">编辑</el-link>
</template> </template>
<template v-if="isAuth('103001:issued')"> <template v-if="isAuth('103001:issued')">
<el-link style="cursor: pointer" v-if="scope.row.proofingStatus === '草稿'" @click="updateModalStatus(scope.row,'C')">下达</el-link>
<el-link style="cursor: pointer" v-if="scope.row.proofingStatus === '草稿'" :disabled="!!issuingSet[scope.row.proofingNo]" @click="updateModalStatus(scope.row,'C')">下达</el-link>
</template> </template>
<template v-if="isAuth('103001:detail')"> <template v-if="isAuth('103001:detail')">
<el-link style="cursor: pointer" v-if="scope.row.proofingStatus === '已完成'" @click="getDetailData(scope.row)">详情</el-link> <el-link style="cursor: pointer" v-if="scope.row.proofingStatus === '已完成'" @click="getDetailData(scope.row)">详情</el-link>
@ -1024,6 +1024,7 @@ export default {
}, },
data() { data() {
return { return {
issuingSet: {},
approvalList: [], approvalList: [],
selectionDelegateAccess: [], selectionDelegateAccess: [],
selectionDelegateAccess2: [], selectionDelegateAccess2: [],
@ -3652,6 +3653,8 @@ export default {
} }
}, },
updateModalStatus(row, status) { updateModalStatus(row, status) {
if (this.issuingSet[row.proofingNo]) return
this.$set(this.issuingSet, row.proofingNo, true)
this.$confirm(`是否确认下达?`, '提示', { this.$confirm(`是否确认下达?`, '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
@ -3702,7 +3705,11 @@ export default {
confirmButtonText: '确定' confirmButtonText: '确定'
}) })
} }
}).finally(() => {
this.$set(this.issuingSet, row.proofingNo, false)
}) })
}).catch(() => {
this.$set(this.issuingSet, row.proofingNo, false)
}) })
}, },
searchDelegateAccessByUser() { searchDelegateAccessByUser() {

Loading…
Cancel
Save