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) + } } }