Browse Source

2025-04-23

master
qiezi 9 months ago
parent
commit
8671b5fd15
  1. 5
      src/views/modules/quote/detail/primary/quoteDetailCost.vue
  2. 10
      src/views/modules/test/testSoBom/testTable.vue

5
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 {
</el-col>
<el-col :span="4">
<el-form-item label="币种:">
<dict-data-select v-model="quoteDetail.currency2"
<dict-data-select v-model="quoteDetail.currency2" disabled
clearable dict-type="plm_customer_information_customer_customer_currency" :use-default-value="true"></dict-data-select>
</el-form-item>
</el-col>

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

Loading…
Cancel
Save