|
|
@@ -299,7 +299,8 @@ export default {
|
|
|
},
|
|
|
wlList:[],
|
|
|
wlSelData: {id:0,name:''},
|
|
|
- needAddPackCost:false
|
|
|
+ needAddPackCost:false,
|
|
|
+ transCost:[]
|
|
|
};
|
|
|
},
|
|
|
onLoad() {
|
|
|
@@ -387,10 +388,10 @@ export default {
|
|
|
if(this.ghsInfo.needAddPackFreight == 0){
|
|
|
this.form.sendCost = 0
|
|
|
}else{
|
|
|
- if(this.getDictionariesInfo.transCost && !this.$util.isEmpty(this.getDictionariesInfo.transCost)){
|
|
|
+ if(this.transCost && !this.$util.isEmpty(this.transCost)){
|
|
|
let weight = this.allCountFun.weight ? Number(this.allCountFun.weight) : 0
|
|
|
let totalNum = this.allCountFun.bigLength ? Number(this.allCountFun.bigLength) : 0
|
|
|
- for (const ele of this.getDictionariesInfo.transCost) {
|
|
|
+ for (const ele of this.transCost) {
|
|
|
if(ele.sign == num){
|
|
|
if(num == 2){
|
|
|
//冷链物流
|
|
|
@@ -615,6 +616,7 @@ export default {
|
|
|
let that = this
|
|
|
getGhsDataApi({id:id}).then(res => {
|
|
|
that.ghsInfo = res.data
|
|
|
+ that.transCost = that.ghsInfo.transCost ? that.ghsInfo.transCost : []
|
|
|
if(that.ghsInfo.pfLevel && that.ghsInfo.pfLevel == 1){
|
|
|
//昆明发货到全国
|
|
|
let packCost = 0
|