From 17718750d5456e352787ccd6c8dddb6b506dea06 Mon Sep 17 00:00:00 2001 From: hongchao <3228015117@qq.com> Date: Mon, 8 Dec 2025 18:18:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/material/cost/component/applyDetail.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/material/cost/component/applyDetail.vue b/src/views/material/cost/component/applyDetail.vue index 21657fcb..092d1703 100644 --- a/src/views/material/cost/component/applyDetail.vue +++ b/src/views/material/cost/component/applyDetail.vue @@ -487,6 +487,7 @@ export default { }, data() { return { + loading: false, // 往来单位数据 unitList: [], // 工程数据 @@ -674,6 +675,7 @@ export default { this.$modal .confirm('是否确认提交?') .then(() => { + this.loading = true let params = { agreementIds: Array.isArray(this.rowData) ? this.rowData.map(item => item.agreementId) : [], totalCostAll: this.costAll, @@ -685,7 +687,7 @@ export default { settlementType: this.rowData[0].settlementType || '' } console.log('2222222222222', params) - this.loading = true + submitCosts(params).then(response => { this.loading = false this.$message({