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(); this.computeTaxCost();
}, },
'quoteDetail.currency1'(newValue, oldValue){
this.quoteDetail.currency2 = newValue;
},
selectionChecked(newVal,oldVal){ selectionChecked(newVal,oldVal){
if (newVal.length === this.allCheckedLabel.length){ if (newVal.length === this.allCheckedLabel.length){
this.checkAll = true; this.checkAll = true;
@ -625,7 +628,7 @@ export default {
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item label="币种:"> <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> clearable dict-type="plm_customer_information_customer_customer_currency" :use-default-value="true"></dict-data-select>
</el-form-item> </el-form-item>
</el-col> </el-col>

10
src/views/modules/test/testSoBom/testTable.vue

@ -437,6 +437,7 @@ export default {
partNo:row.partNo, partNo:row.partNo,
configurationId:row.configurationId, configurationId:row.configurationId,
} }
this.queryLoading = true
queryPartUnitCostList(params).then(({data}) => { queryPartUnitCostList(params).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
this.testSoBom.componentPartNo = row.partNo; this.testSoBom.componentPartNo = row.partNo;
@ -448,8 +449,10 @@ export default {
}else { }else {
this.$message.warning(data.msg); this.$message.warning(data.msg);
} }
this.queryLoading = false
}).catch((error)=>{ }).catch((error)=>{
this.$message.error(error) this.$message.error(error)
this.queryLoading = false
}) })
}else { }else {
this.testSoBom.componentPartNo = row.partNo; this.testSoBom.componentPartNo = row.partNo;
@ -673,6 +676,13 @@ export default {
this.total = 0; this.total = 0;
this.closePartDialog(); this.closePartDialog();
} }
},
queryLoading(newVal,oldVal){
if (newVal){
setTimeout(()=>{
this.queryLoading = false
},5000)
}
} }
} }

Loading…
Cancel
Save