feat: 商家端新增格式化价格文件插件并在代码中引入,更新代码需要install插件

This commit is contained in:
Yer
2023-07-03 16:28:58 +08:00
parent 26a539662e
commit bf70527c58
26 changed files with 61 additions and 87 deletions

View File

@@ -235,11 +235,9 @@ export default {
key: "finalPrice",
width: 120,
render: (h, params) => {
return h(
"div",
this.$options.filters.unitPrice(params.row.finalPrice, "¥")
);
return h("priceColorScheme", {props:{value:params.row.finalPrice,color:this.$mainColor}} );
},
},
{
title: "平台分佣",

View File

@@ -602,8 +602,9 @@
key: "flowPrice",
width: 140,
render: (h, params) => {
return h("div", this.$options.filters.unitPrice(params.row.flowPrice, '¥'));
}
return h("priceColorScheme", {props:{value:params.row.flowPrice,color:this.$mainColor}} );
},
},
{
title: "订单类型",