md
This commit is contained in:
parent
4372ae69ca
commit
0d180a5484
Binary file not shown.
@ -502,6 +502,8 @@ export default {
|
|||||||
// blMessage: element['寄件/签收短信'],
|
// blMessage: element['寄件/签收短信'],
|
||||||
realValue: element['货值'],
|
realValue: element['货值'],
|
||||||
extInfo: element['附加信息'],
|
extInfo: element['附加信息'],
|
||||||
|
pickStartDate: element['预约发货时间'],
|
||||||
|
|
||||||
|
|
||||||
uploadStatus: 0,
|
uploadStatus: 0,
|
||||||
errorInfo:'',
|
errorInfo:'',
|
||||||
|
|||||||
@ -1199,8 +1199,15 @@ methods: {
|
|||||||
onSelectProduct(item){
|
onSelectProduct(item){
|
||||||
this.form.productType=item.productType;
|
this.form.productType=item.productType;
|
||||||
this.form.freight=item.estFee;
|
this.form.freight=item.estFee;
|
||||||
|
|
||||||
},
|
},
|
||||||
|
handleReCalcFee(){
|
||||||
|
this.productFeeList.forEach(item=>{
|
||||||
|
if(item.productType==this.form.productType){
|
||||||
|
this.form.freight=item.estFee;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
onComplete(){
|
onComplete(){
|
||||||
|
|
||||||
if(this.action!='add'){
|
if(this.action!='add'){
|
||||||
@ -1259,7 +1266,6 @@ methods: {
|
|||||||
this.preCalcFee();
|
this.preCalcFee();
|
||||||
},
|
},
|
||||||
onTransLineChange(item){
|
onTransLineChange(item){
|
||||||
console.log("==xxx==>",item);
|
|
||||||
this.transType=item.transType;
|
this.transType=item.transType;
|
||||||
this.preCalcFee()
|
this.preCalcFee()
|
||||||
},
|
},
|
||||||
@ -1660,8 +1666,10 @@ methods: {
|
|||||||
this.productFeeList = response.data;
|
this.productFeeList = response.data;
|
||||||
if(!this.productFeeList || this.productFeeList.length==0){
|
if(!this.productFeeList || this.productFeeList.length==0){
|
||||||
this.$message.error(`无报价`);
|
this.$message.error(`无报价`);
|
||||||
|
}else{
|
||||||
|
// 费用发生变更后重新赋值总运费
|
||||||
|
this.handleReCalcFee();
|
||||||
}
|
}
|
||||||
// loadingInstance.close();
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user