Commit 1b55f039 authored by 我在何方's avatar 我在何方

不可出渠道修复

parent 998ec3bd
...@@ -1354,6 +1354,7 @@ ...@@ -1354,6 +1354,7 @@
}, },
// 计算商品运费(根据货值计算保费) // 计算商品运费(根据货值计算保费)
calculationPrice(){ calculationPrice(){
this.$forceUpdate()
let calcable = true let calcable = true
if(!this.orderData.orderItemVOList.length) return false if(!this.orderData.orderItemVOList.length) return false
this.orderData.orderItemVOList.forEach(item => { this.orderData.orderItemVOList.forEach(item => {
...@@ -1361,7 +1362,7 @@ ...@@ -1361,7 +1362,7 @@
calcable = false calcable = false
} }
}) })
console.log('calculationPrice', this.calculating) console.log('calculationPrice', this.handlerParams.channelId)
if(this.calculating || !calcable) return false if(this.calculating || !calcable) return false
this.calculating = true this.calculating = true
console.log('calculating ---> ') console.log('calculating ---> ')
...@@ -1372,9 +1373,10 @@ ...@@ -1372,9 +1373,10 @@
prodConditionParamList: this.getProductListWithDefaultValue(), prodConditionParamList: this.getProductListWithDefaultValue(),
orderType: this.orderData.orderType orderType: this.orderData.orderType
} }
if(this.handlerParams.channelId){ // if(this.handlerParams.channelId){
params.channelId = this.handlerParams.channelId // params.channelId = this.handlerParams.channelId
} // }
this.$set(this.handlerParams,'channelId', this.handlerParams.channelId)
calculationPrice(params).then(res => { calculationPrice(params).then(res => {
this.orderData.orderItemVOList.map((item, index) => { this.orderData.orderItemVOList.map((item, index) => {
item.oneClearanceFreight = res.data.prodCostDtoList[index].oneClearanceFee item.oneClearanceFreight = res.data.prodCostDtoList[index].oneClearanceFee
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment