红包金额修改

This commit is contained in:
yulixing 2019-07-16 15:37:03 +08:00
parent 85f1efd5c2
commit 36ce6caf67

View File

@ -49,7 +49,7 @@
:key="index"
>
<template slot="title">
{{ `[${index+1}]红包:${item.cash}`}}
{{ `[${index+1}]红包:${item.cash}`}}
</template>
<el-form
:ref="`redEnvelopeForm${index}`"
@ -225,8 +225,8 @@ export default {
const percentKey = `Percent_${index + 1}`
result.push({
id: idx + 1,
[cashKey]: parseFloat(item.cash),
[percentKey]: parseFloat(p.pr)
[cashKey]: parseFloat(item.cash).toFixed(2),
[percentKey]: parseFloat(p.pr)
})
})
})