|
@@ -34,10 +34,12 @@
|
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
|
<template v-if="model.preferentialType === 3"
|
|
<template v-if="model.preferentialType === 3"
|
|
|
>打<a-input-number
|
|
>打<a-input-number
|
|
|
- style="width: 50px"
|
|
|
|
|
|
|
+ style="width: 80px"
|
|
|
v-model="model.discount"
|
|
v-model="model.discount"
|
|
|
:min="1"
|
|
:min="1"
|
|
|
:max="9"
|
|
:max="9"
|
|
|
|
|
+ decimalSeparator="."
|
|
|
|
|
+ :precision="1"
|
|
|
></a-input-number
|
|
></a-input-number
|
|
|
>折
|
|
>折
|
|
|
</template>
|
|
</template>
|
|
@@ -332,8 +334,9 @@ export default {
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
puls() {
|
|
puls() {
|
|
|
|
|
+ var m = this.realityAmount - this.sumAmount;
|
|
|
this.payList.push({
|
|
this.payList.push({
|
|
|
- money: 0,
|
|
|
|
|
|
|
+ money: parseFloat(m.toFixed(2)),
|
|
|
payType: this.payTypeList[0].id,
|
|
payType: this.payTypeList[0].id,
|
|
|
isVipMemmber: false,
|
|
isVipMemmber: false,
|
|
|
});
|
|
});
|