Skip to content

Commit 2e207dd

Browse files
author
puhui999
committed
【代码优化】商城: spu 详情价格回显错误 fix
1 parent dcc1a3e commit 2e207dd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/views/mall/product/spu/components/SkuList.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,17 +180,17 @@
180180
</el-table-column>
181181
<el-table-column align="center" label="销售价(元)" min-width="80">
182182
<template #default="{ row }">
183-
{{ formatToFraction(row.price) }}
183+
{{ row.price }}
184184
</template>
185185
</el-table-column>
186186
<el-table-column align="center" label="市场价(元)" min-width="80">
187187
<template #default="{ row }">
188-
{{ formatToFraction(row.marketPrice) }}
188+
{{ row.marketPrice }}
189189
</template>
190190
</el-table-column>
191191
<el-table-column align="center" label="成本价(元)" min-width="80">
192192
<template #default="{ row }">
193-
{{ formatToFraction(row.costPrice) }}
193+
{{ row.costPrice }}
194194
</template>
195195
</el-table-column>
196196
<el-table-column align="center" label="库存" min-width="80">
@@ -211,12 +211,12 @@
211211
<template v-if="formData!.subCommissionType">
212212
<el-table-column align="center" label="一级返佣(元)" min-width="80">
213213
<template #default="{ row }">
214-
{{ formatToFraction(row.firstBrokeragePrice) }}
214+
{{ row.firstBrokeragePrice }}
215215
</template>
216216
</el-table-column>
217217
<el-table-column align="center" label="二级返佣(元)" min-width="80">
218218
<template #default="{ row }">
219-
{{ formatToFraction(row.secondBrokeragePrice) }}
219+
{{ row.secondBrokeragePrice }}
220220
</template>
221221
</el-table-column>
222222
</template>

0 commit comments

Comments
 (0)