|
|
|
@ -431,33 +431,6 @@
|
|
|
|
width="110"
|
|
|
|
width="110"
|
|
|
|
></el-table-column>
|
|
|
|
></el-table-column>
|
|
|
|
<!-- cardConsumeMoney cardOver -->
|
|
|
|
<!-- cardConsumeMoney cardOver -->
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
|
|
prop="cardConsumeMoney"
|
|
|
|
|
|
|
|
label="可用金额"
|
|
|
|
|
|
|
|
width="70"
|
|
|
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
|
|
prop="CardCurrentUse"
|
|
|
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
|
|
|
label="当前行可用"
|
|
|
|
|
|
|
|
width="110"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
{{ scope.row.CardCurrentUse?scope.row.CardCurrentUse:scope.row.cardOvers }}
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
|
|
prop="cardSum"
|
|
|
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
|
|
|
label="本单使用"
|
|
|
|
|
|
|
|
width="110"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
{{ scope.row.cardSum?scope.row.cardSum:0 }}
|
|
|
|
|
|
|
|
</template></el-table-column>
|
|
|
|
|
|
|
|
<!-- --- -->
|
|
|
|
<!-- --- -->
|
|
|
|
<el-table-column align="center" label="类别" width="60">
|
|
|
|
<el-table-column align="center" label="类别" width="60">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
@ -539,6 +512,33 @@
|
|
|
|
label="赠送剩余"
|
|
|
|
label="赠送剩余"
|
|
|
|
width="70"
|
|
|
|
width="70"
|
|
|
|
></el-table-column>
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
|
|
prop="cardConsumeMoney"
|
|
|
|
|
|
|
|
label="可用金额"
|
|
|
|
|
|
|
|
width="70"
|
|
|
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
|
|
prop="CardCurrentUse"
|
|
|
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
|
|
|
label="当前行可用"
|
|
|
|
|
|
|
|
width="110"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
{{ scope.row.CardCurrentUse?scope.row.CardCurrentUse:scope.row.cardOvers }}
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
align="center"
|
|
|
|
|
|
|
|
prop="cardSum"
|
|
|
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
|
|
|
label="本单使用"
|
|
|
|
|
|
|
|
width="110"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
{{ scope.row.cardSum?scope.row.cardSum:0 }}
|
|
|
|
|
|
|
|
</template></el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
align="center"
|
|
|
|
align="center"
|
|
|
|
prop="storeName"
|
|
|
|
prop="storeName"
|
|
|
|
@ -1019,7 +1019,7 @@ export default {
|
|
|
|
row.spendMoney = (appearPrice*balanceProportion).toFixed(2)*1
|
|
|
|
row.spendMoney = (appearPrice*balanceProportion).toFixed(2)*1
|
|
|
|
row.giftSpendMoney = (appearPrice*giveProportion).toFixed(2)*1
|
|
|
|
row.giftSpendMoney = (appearPrice*giveProportion).toFixed(2)*1
|
|
|
|
row.cardGiftOvers = row.cardGiftOvers - row.giftSpendMoney
|
|
|
|
row.cardGiftOvers = row.cardGiftOvers - row.giftSpendMoney
|
|
|
|
}else{ //
|
|
|
|
}else{
|
|
|
|
row.spendMoney = row.cardOvers
|
|
|
|
row.spendMoney = row.cardOvers
|
|
|
|
row.giftSpendMoney = row.cardGiftOvers
|
|
|
|
row.giftSpendMoney = row.cardGiftOvers
|
|
|
|
row.cardGiftOvers = 0
|
|
|
|
row.cardGiftOvers = 0
|
|
|
|
|