|
@@ -725,7 +725,7 @@ var coupon = new Vue({
|
|
// 更新价格相关
|
|
// 更新价格相关
|
|
updatePrice: function (before) {
|
|
updatePrice: function (before) {
|
|
console.log( '原价:' + before)
|
|
console.log( '原价:' + before)
|
|
- this.initPrice = before;
|
|
|
|
|
|
+ this.initPrice = parseInt(before);
|
|
// 调用子组件查询最优卡券
|
|
// 调用子组件查询最优卡券
|
|
this.$refs.couponRef.getCoupon();
|
|
this.$refs.couponRef.getCoupon();
|
|
},
|
|
},
|