This commit is contained in:
linfso 2024-12-31 07:53:42 +08:00
parent 4372ae69ca
commit 0d180a5484
3 changed files with 13 additions and 3 deletions

View File

@ -502,6 +502,8 @@ export default {
// blMessage: element['寄件/签收短信'],
realValue: element['货值'],
extInfo: element['附加信息'],
pickStartDate: element['预约发货时间'],
uploadStatus: 0,
errorInfo:'',

View File

@ -1199,8 +1199,15 @@ methods: {
onSelectProduct(item){
this.form.productType=item.productType;
this.form.freight=item.estFee;
},
handleReCalcFee(){
this.productFeeList.forEach(item=>{
if(item.productType==this.form.productType){
this.form.freight=item.estFee;
}
});
},
onComplete(){
if(this.action!='add'){
@ -1259,7 +1266,6 @@ methods: {
this.preCalcFee();
},
onTransLineChange(item){
console.log("==xxx==>",item);
this.transType=item.transType;
this.preCalcFee()
},
@ -1660,8 +1666,10 @@ methods: {
this.productFeeList = response.data;
if(!this.productFeeList || this.productFeeList.length==0){
this.$message.error(`无报价`);
}else{
// 费用发生变更后重新赋值总运费
this.handleReCalcFee();
}
// loadingInstance.close();
});
}
},