售后信息展示,单价展示问题处理

This commit is contained in:
Chopper
2021-08-25 14:18:35 +08:00
parent b59da2c101
commit 589b7fc7c5
2 changed files with 75 additions and 50 deletions

View File

@@ -111,7 +111,7 @@
<div class="div-item-right">
{{ orderInfo.receipt.receiptStatus == 0 ? "未开" : "已开" }}
</div>
</div>
</div>
</template>
</Col>
<Col span="12">
@@ -619,13 +619,13 @@ export default {
key: "unitPrice",
minWidth: 100,
render: (h, params) => {
if (!params.row.priceDetailDTO.unitPrice) {
if (!params.row.unitPrice) {
return h("div", this.$options.filters.unitPrice(0, "¥"));
}
return h(
"div",
this.$options.filters.unitPrice(
params.row.priceDetailDTO.unitPrice,
params.row.unitPrice,
"¥"
)
);