|
|
@@ -16,7 +16,8 @@
|
|
|
prop="billAmount"
|
|
|
>
|
|
|
{{ model.billAmount.toFixed(2) }}元
|
|
|
- <a-switch v-model="model.coupon" />优惠
|
|
|
+ <!--部分结账这里 优惠功能暂时不要了-->
|
|
|
+ <!-- <a-switch v-model="model.coupon" />优惠-->
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
<template v-if="model.coupon">
|
|
|
@@ -515,7 +516,7 @@ export default {
|
|
|
fees.push({
|
|
|
feeType: this.model.feeType,
|
|
|
preferentialType: this.model.preferentialType,
|
|
|
- money: this.couponAmount.toFixed(2),
|
|
|
+ money: this.couponAmount.toFixed(2) - this.model.billAmount.toFixed(2),
|
|
|
custorerOrderRemark: "优惠金额",
|
|
|
isPreferential: true,
|
|
|
});
|