From 8671b5fd157127fc332efe0e5f687a575a5cfebd Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Wed, 23 Apr 2025 16:09:20 +0800 Subject: [PATCH] 2025-04-23 --- .../modules/quote/detail/primary/quoteDetailCost.vue | 5 ++++- src/views/modules/test/testSoBom/testTable.vue | 10 ++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/views/modules/quote/detail/primary/quoteDetailCost.vue b/src/views/modules/quote/detail/primary/quoteDetailCost.vue index 229e906..b77ce74 100644 --- a/src/views/modules/quote/detail/primary/quoteDetailCost.vue +++ b/src/views/modules/quote/detail/primary/quoteDetailCost.vue @@ -383,6 +383,9 @@ export default { } this.computeTaxCost(); }, + 'quoteDetail.currency1'(newValue, oldValue){ + this.quoteDetail.currency2 = newValue; + }, selectionChecked(newVal,oldVal){ if (newVal.length === this.allCheckedLabel.length){ this.checkAll = true; @@ -625,7 +628,7 @@ export default { - diff --git a/src/views/modules/test/testSoBom/testTable.vue b/src/views/modules/test/testSoBom/testTable.vue index bc780e5..4c7bfed 100644 --- a/src/views/modules/test/testSoBom/testTable.vue +++ b/src/views/modules/test/testSoBom/testTable.vue @@ -437,6 +437,7 @@ export default { partNo:row.partNo, configurationId:row.configurationId, } + this.queryLoading = true queryPartUnitCostList(params).then(({data}) => { if (data && data.code === 0) { this.testSoBom.componentPartNo = row.partNo; @@ -448,8 +449,10 @@ export default { }else { this.$message.warning(data.msg); } + this.queryLoading = false }).catch((error)=>{ this.$message.error(error) + this.queryLoading = false }) }else { this.testSoBom.componentPartNo = row.partNo; @@ -673,6 +676,13 @@ export default { this.total = 0; this.closePartDialog(); } + }, + queryLoading(newVal,oldVal){ + if (newVal){ + setTimeout(()=>{ + this.queryLoading = false + },5000) + } } }