搜索热词,pc端注释,管理端结算单订单号字段错误

This commit is contained in:
mabo
2021-07-30 15:59:14 +08:00
parent 96beccad82
commit ca3cf71c6d
35 changed files with 197 additions and 476 deletions

View File

@@ -168,7 +168,7 @@ export default {
},
{
title: "订单编号",
key: "sn",
key: "orderSn",
},
{
title: "订单金额",
@@ -184,20 +184,28 @@ export default {
title: "砍价商品结算价格",
key: "kanjiaSettlementPrice",
render: (h, params) => {
return h(
"div",
this.$options.filters.unitPrice(params.row.kanjiaSettlementPrice, "¥")
);
if (params.row.kanjiaSettlementPrice) {
return h(
"div",
this.$options.filters.unitPrice(params.row.kanjiaSettlementPrice, "¥")
);
} else {
return h('div','¥0.00')
}
},
},
{
title: "积分商品结算价格",
key: "pointSettlementPrice",
render: (h, params) => {
return h(
"div",
this.$options.filters.unitPrice(params.row.pointSettlementPrice, "¥")
);
if (params.row.pointSettlementPrice){
return h(
"div",
this.$options.filters.unitPrice(params.row.pointSettlementPrice, "¥")
);
} else {
return h('div','¥0.00')
}
},
},
{