|
@@ -571,7 +571,7 @@ $(function () {
|
|
"area": flag ? JSON.stringify(area) : '',
|
|
"area": flag ? JSON.stringify(area) : '',
|
|
'area_count': flag ? 0 : areaCount,
|
|
'area_count': flag ? 0 : areaCount,
|
|
// "industry": industry.join(","),
|
|
// "industry": industry.join(","),
|
|
- 'price': Number((coupon.initPrice*100).toFixed(2)),
|
|
|
|
|
|
+ 'price': parseInt(coupon.initPrice*100),
|
|
"time": purchase.timeValue.trim(),
|
|
"time": purchase.timeValue.trim(),
|
|
// "orderType": 5,
|
|
// "orderType": 5,
|
|
"disWord": GetQueryString("disWord"),
|
|
"disWord": GetQueryString("disWord"),
|
|
@@ -678,7 +678,7 @@ var coupon = new Vue({
|
|
// 更新价格相关
|
|
// 更新价格相关
|
|
updatePrice: function (before) {
|
|
updatePrice: function (before) {
|
|
console.log('原价:' + before)
|
|
console.log('原价:' + before)
|
|
- this.initPrice = parseInt(before);
|
|
|
|
|
|
+ this.initPrice = before;
|
|
// 调用子组件查询最优卡券
|
|
// 调用子组件查询最优卡券
|
|
this.$refs.couponRef.getCoupon();
|
|
this.$refs.couponRef.getCoupon();
|
|
},
|
|
},
|