|
|
@@ -143,7 +143,7 @@ export default {
|
|
|
let p = this.Data.type == 2 ? this.goodsInfo.trade_price : this.goodsInfo.cost_price; //商品单价
|
|
|
let y = this.Data.is_sell == 1 ? 0 : this.freight; // 运费 寄售的话退运费为0
|
|
|
let a = (p * this.Data.num + y * this.Data.num) * 100; //商品总价
|
|
|
- let b = (a - this.userinfo.user_money * 100) / 100;
|
|
|
+ let b = (a - this.userinfo.user_money * 100) / 100; //待支付金额
|
|
|
this.obligation = b > 0 ? b : 0
|
|
|
})
|
|
|
}
|
|
|
@@ -161,7 +161,7 @@ export default {
|
|
|
} else this.DefaultAddress = da[0]
|
|
|
}
|
|
|
// #ifdef MP-WEIXIN
|
|
|
- if(!da.length) this.getwexinAddress()
|
|
|
+ if(!da.length && this.Data.is_sell != 1) this.getwexinAddress()
|
|
|
// #endif
|
|
|
}
|
|
|
})
|