超市修复
This commit is contained in:
1 parent
2937f29168
commit
6e2dc50f40
5 files changed
+45
-18
No files matched your search
@@ -28,9 +28,7 @@
|
||||
<dict-tag :options="wallet_biz_recharge" :value="detail.bizType" />
|
||||
</el-table-column>
|
||||
<el-table-column prop="currentImport_price" label="操作金额" align="center" min-width="250">
|
||||
<template #default="{ row }">
|
||||
<div class="color-success">{{ displayPrice(row.currentImport_price) }}</div>
|
||||
</template>
|
||||
<template #default="{ row }">{{ displayPrice(row.currentImport_price) }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column v-if="detail.bizType == 2 && false" prop="afterBalance" label="记账扣款后余额" align="center" min-width="180">
|
||||
<template #default="{ row }">
|
||||
@@ -186,7 +184,7 @@ const getSummaries = (param: SummaryMethodProps) => {
|
||||
if (column.property === "currentImport_price") {
|
||||
const values = data1.map((item) => Number(item[column.property]))
|
||||
if (!values.every((value) => Number.isNaN(value))) {
|
||||
sums[index] = h("span", { style: { color: "#67C260" } }, [
|
||||
sums[index] = h("span", { style: {} }, [
|
||||
displayPrice(
|
||||
values.reduce((prev, curr) => {
|
||||
const value = Number(curr)
|
||||
@@ -204,7 +202,7 @@ const getSummaries = (param: SummaryMethodProps) => {
|
||||
} else if (column.property === "afterBalance") {
|
||||
const values = data1.map((item) => Number(item[column.property]))
|
||||
if (!values.every((value) => Number.isNaN(value))) {
|
||||
sums[index] = h("span", { style: { color: "#f56c6c" } }, [
|
||||
sums[index] = h("span", { style: {} }, [
|
||||
displayPrice(
|
||||
values.reduce((prev, curr) => {
|
||||
const value = Number(curr)
|
||||
|
||||
Reference in new issue
Block a user