代课下单修改折扣传参位数

This commit is contained in:
YeMingfei666 2024-08-29 18:22:29 +08:00
parent 36b307fbbe
commit 06e4292de8
1 changed files with 3 additions and 3 deletions

View File

@ -1252,10 +1252,10 @@ export default {
},
},
watch: {
masterId: function (val) {
"masterId": function (val) {
console.log(val);
},
isCreateOrder: function (val) {
"isCreateOrder": function (val) {
if (!val) {
this.createOrder.discount = 1;
}
@ -1513,7 +1513,7 @@ export default {
orderId: this.createOrder.data.id,
payType: this.order.payType,
vipUserId: this.vipUser.id,
discount: this.createOrder.discount.toFixed(2),
discount: this.createOrder.discount,
});
this.payOrderSuccess();
},