代课下单修改折扣传参位数
This commit is contained in:
parent
36b307fbbe
commit
06e4292de8
|
|
@ -1252,10 +1252,10 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
masterId: function (val) {
|
"masterId": function (val) {
|
||||||
console.log(val);
|
console.log(val);
|
||||||
},
|
},
|
||||||
isCreateOrder: function (val) {
|
"isCreateOrder": function (val) {
|
||||||
if (!val) {
|
if (!val) {
|
||||||
this.createOrder.discount = 1;
|
this.createOrder.discount = 1;
|
||||||
}
|
}
|
||||||
|
|
@ -1513,7 +1513,7 @@ export default {
|
||||||
orderId: this.createOrder.data.id,
|
orderId: this.createOrder.data.id,
|
||||||
payType: this.order.payType,
|
payType: this.order.payType,
|
||||||
vipUserId: this.vipUser.id,
|
vipUserId: this.vipUser.id,
|
||||||
discount: this.createOrder.discount.toFixed(2),
|
discount: this.createOrder.discount,
|
||||||
});
|
});
|
||||||
this.payOrderSuccess();
|
this.payOrderSuccess();
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue