From 2b00f34eb0d290fb3215b31c121260afb73ff9a0 Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Fri, 6 Mar 2026 17:43:10 +0800
Subject: [PATCH] =?UTF-8?q?2026-03-06=20OA=E6=B5=81=E7=A8=8B=E3=80=90?=
=?UTF-8?q?=E4=B8=8B=E8=BE=BE=E3=80=91=E9=98=B2=E9=87=8D=E5=A4=8D=E6=8F=90?=
=?UTF-8?q?=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../modules/changeManagement/changeRecord.vue | 10 +++++++++-
src/views/modules/proofing/requestForProofing.vue | 4 +++-
src/views/modules/quotation/requestForQuote.vue | 10 +++++++++-
src/views/modules/quote/index.vue | 3 ++-
src/views/modules/quote/primary/quoteTable.vue | 10 +++++++++-
.../technicalSpecificationList.vue | 15 +++++++++------
src/views/modules/test/requestForTest.vue | 11 +++++++++--
src/views/modules/tooling/searchToolApply.vue | 12 +++++++++---
8 files changed, 59 insertions(+), 16 deletions(-)
diff --git a/src/views/modules/changeManagement/changeRecord.vue b/src/views/modules/changeManagement/changeRecord.vue
index 5ef9325..6f4a633 100644
--- a/src/views/modules/changeManagement/changeRecord.vue
+++ b/src/views/modules/changeManagement/changeRecord.vue
@@ -90,7 +90,11 @@
编辑
详情
- 下达
+
+ 下达
+
删除
@@ -3175,6 +3179,7 @@
addDetailModal: false,
saveLoading: false,
submitLoading: false,
+ issueLoadingSet: {},
menuId: this.$route.meta.menuId,
authSearch: false,
authUpdate: false,
@@ -4097,6 +4102,7 @@
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
+ this.$set(this.issueLoadingSet, row.changeNo, true)
let tempData = {
site: row.site,
userName: this.$store.state.user.name,
@@ -4112,6 +4118,8 @@
confirmButtonText: '确定'
})
}
+ }).finally(() => {
+ this.$set(this.issueLoadingSet, row.changeNo, false)
})
})
},
diff --git a/src/views/modules/proofing/requestForProofing.vue b/src/views/modules/proofing/requestForProofing.vue
index f0b95d2..8ffd1f3 100644
--- a/src/views/modules/proofing/requestForProofing.vue
+++ b/src/views/modules/proofing/requestForProofing.vue
@@ -177,7 +177,9 @@
编辑
- 下达
+
+ 下达
+
详情
diff --git a/src/views/modules/quotation/requestForQuote.vue b/src/views/modules/quotation/requestForQuote.vue
index aa0ead1..6e6a7c5 100644
--- a/src/views/modules/quotation/requestForQuote.vue
+++ b/src/views/modules/quotation/requestForQuote.vue
@@ -171,7 +171,11 @@
编辑
- 下达
+
+ 下达
+
详情
@@ -2102,6 +2106,7 @@ export default {
rejectVisible: false,
rejectOpinion: '',
submitLoading: false,
+ issueLoadingSet: {},
detailVisible: false,
no: 1,
size: 20,
@@ -3443,6 +3448,7 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
+ this.$set(this.issueLoadingSet, row.quotationBatchNo, true)
let params = JSON.parse(JSON.stringify(row))
params.quotationResultStatus = status;
params.quotationStatus = '下达';
@@ -3457,6 +3463,8 @@ export default {
}
}).catch((error) => {
this.$message.error(error)
+ }).finally(() => {
+ this.$set(this.issueLoadingSet, row.quotationBatchNo, false)
})
})
},
diff --git a/src/views/modules/quote/index.vue b/src/views/modules/quote/index.vue
index 8eeb3ca..bacacd0 100644
--- a/src/views/modules/quote/index.vue
+++ b/src/views/modules/quote/index.vue
@@ -1377,9 +1377,9 @@ export default {
confirmButtonText: '确定'
})
}
- this.submitLoading = false
}).catch((error) => {
this.$message.error(error)
+ }).finally(() => {
this.submitLoading = false
})
})
@@ -1529,6 +1529,7 @@ export default {
@againQuote="handleAgainQuote"
@editStatus="handleEditStatus"
:data-list="dataList"
+ :issue-loading="submitLoading"
:height="height">
diff --git a/src/views/modules/quote/primary/quoteTable.vue b/src/views/modules/quote/primary/quoteTable.vue
index 73bcf5e..1444b36 100644
--- a/src/views/modules/quote/primary/quoteTable.vue
+++ b/src/views/modules/quote/primary/quoteTable.vue
@@ -22,6 +22,10 @@ export default {
isMenu:{
type:Boolean,
default:true
+ },
+ issueLoading:{
+ type:Boolean,
+ default:false
}
},
methods:{
@@ -145,7 +149,11 @@ export default {
取消下达
- 下达
+
+ 下达
+
重新报价
diff --git a/src/views/modules/sampleManagement/technicalSpecificationList.vue b/src/views/modules/sampleManagement/technicalSpecificationList.vue
index 7ab2092..6a15263 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationList.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationList.vue
@@ -127,7 +127,11 @@
删除
- 下达
+
+ 下达
+
@@ -630,6 +634,7 @@
pageSize2: 20,
totalPage2: 0,
dataListLoading: false,
+ issueLoadingSet: {},
currentRow:'',
exportList:[],
columnList1:[
@@ -1138,20 +1143,18 @@
codeNo: row.codeNo,
menuId: this.$route.meta.menuId
}
- this.dataListLoading = true
+ this.$set(this.issueLoadingSet, row.codeNo, true)
issueChange(tempData).then(({data}) => {
if (data && data.code === 0) {
this.search()
this.$message({message: '操作成功', type: 'success'})
- this.dataListLoading = false
} else {
- this.dataListLoading = false
this.$alert(data.msg, '错误', {
confirmButtonText: '确定'
})
}
- }).catch(() => {
- this.dataListLoading = false
+ }).finally(() => {
+ this.$set(this.issueLoadingSet, row.codeNo, false)
})
})
},
diff --git a/src/views/modules/test/requestForTest.vue b/src/views/modules/test/requestForTest.vue
index f073b3a..838e53e 100644
--- a/src/views/modules/test/requestForTest.vue
+++ b/src/views/modules/test/requestForTest.vue
@@ -168,8 +168,11 @@
@click="updateModal(scope.row)">编辑
- 下达
+
+ 下达
+
{
+ this.$set(this.issueLoadingSet, row.testNo, true)
let params = JSON.parse(JSON.stringify(row))
params.testResultStatus = status
params.testStatus = '下达'
@@ -3805,6 +3810,8 @@ export default {
confirmButtonText: '确定'
})
}
+ }).finally(() => {
+ this.$set(this.issueLoadingSet, row.testNo, false)
})
})
},
diff --git a/src/views/modules/tooling/searchToolApply.vue b/src/views/modules/tooling/searchToolApply.vue
index 4a1c064..30d1e08 100644
--- a/src/views/modules/tooling/searchToolApply.vue
+++ b/src/views/modules/tooling/searchToolApply.vue
@@ -90,7 +90,11 @@
label="操作">
- 下达
+
+ 下达
+
修改
@@ -2076,6 +2080,7 @@ export default {
approvalList: [],
rejectOpinion: '',
submitLoading: false,
+ issueLoadingSet: {},
submitModalFlag: false,
processField: '',
sp: this.$store.state.user.name,
@@ -2616,6 +2621,7 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
+ this.$set(this.issueLoadingSet, row.applyNo, true)
let tempData = {
site: row.site,
userName: this.$store.state.user.name,
@@ -2625,8 +2631,6 @@ export default {
comfirmProjectToolApply(tempData).then(({data}) => {
if (data && data.code === 0) {
this.search()
- // row.statusCode = '10'
- // row.status = '下达'
this.$message({
message: '操作成功',
type: 'success',
@@ -2639,6 +2643,8 @@ export default {
confirmButtonText: '确定'
})
}
+ }).finally(() => {
+ this.$set(this.issueLoadingSet, row.applyNo, false)
})
})
},