Commit 47b5abb5 authored by qipeng's avatar qipeng

deductPrice 修改为 savedMoney

parent 0428354a
...@@ -339,11 +339,11 @@ export default { ...@@ -339,11 +339,11 @@ export default {
if(res.code=='00'){ if(res.code=='00'){
if(res.data.masterSlaveCouponList.length>0){ if(res.data.masterSlaveCouponList.length>0){
res.data.masterSlaveCouponList.forEach(item=>{ res.data.masterSlaveCouponList.forEach(item=>{
item['couponPrice']=item.deductPrice item['couponPrice']=item.savedMoney
}) })
this.masterSlaveCouponList = res.data.masterSlaveCouponList this.masterSlaveCouponList = res.data.masterSlaveCouponList
this.favorablePrice = this.masterSlaveCouponList[0].deductPrice this.favorablePrice = this.masterSlaveCouponList[0].savedMoney
this.sellingPrices = this.sellingPrices-this.masterSlaveCouponList[0].deductPrice this.sellingPrices = this.sellingPrices-this.masterSlaveCouponList[0].savedMoney
} }
if(this.sellingPrices<0){ if(this.sellingPrices<0){
this.sellingPrices=0 this.sellingPrices=0
......
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