mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-20 18:05:53 +08:00
feat: ✨ 管理端新增格式化价格文件插件并在代码中引入,更新代码需要install插件
This commit is contained in:
@@ -81,11 +81,9 @@ export default {
|
||||
key: "billPrice",
|
||||
width: 130,
|
||||
render: (h, params) => {
|
||||
return h(
|
||||
"div",
|
||||
this.$options.filters.unitPrice(params.row.billPrice, "¥")
|
||||
);
|
||||
return h("priceColorScheme", {props:{value:params.row.billPrice,color:this.$mainColor}} );
|
||||
},
|
||||
|
||||
},
|
||||
{
|
||||
title: "状态",
|
||||
|
||||
@@ -292,13 +292,7 @@ export default {
|
||||
if (params.row.distributionRebate == null) {
|
||||
return h("div", "-");
|
||||
} else {
|
||||
return h(
|
||||
"div",
|
||||
this.$options.filters.unitPrice(
|
||||
params.row.distributionRebate,
|
||||
"¥"
|
||||
)
|
||||
);
|
||||
return h("priceColorScheme", {props:{value:params.row.distributionRebate,color:this.$mainColor}} );
|
||||
}
|
||||
},
|
||||
},
|
||||
@@ -307,10 +301,7 @@ export default {
|
||||
key: "billPrice",
|
||||
width: 120,
|
||||
render: (h, params) => {
|
||||
return h(
|
||||
"div",
|
||||
this.$options.filters.unitPrice(params.row.billPrice, "¥")
|
||||
);
|
||||
return h("priceColorScheme", {props:{value:params.row.billPrice,color:this.$mainColor}} );
|
||||
},
|
||||
},
|
||||
],
|
||||
@@ -357,11 +348,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.flowPfinalPricerice,color:this.$mainColor}} );
|
||||
},
|
||||
|
||||
},
|
||||
{
|
||||
title: "退还佣金",
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
||||
</Form>
|
||||
<Row class="operation padding-row">
|
||||
|
||||
|
||||
</Row>
|
||||
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-selection-change="changeSelect">
|
||||
</Table>
|
||||
@@ -92,11 +92,9 @@ export default {
|
||||
key: "billPrice",
|
||||
width: 130,
|
||||
render: (h, params) => {
|
||||
return h(
|
||||
"div",
|
||||
this.$options.filters.unitPrice(params.row.billPrice, "¥")
|
||||
);
|
||||
return h("priceColorScheme", {props:{value:params.row.billPrice,color:this.$mainColor}} );
|
||||
},
|
||||
|
||||
},
|
||||
{
|
||||
title: "状态",
|
||||
|
||||
Reference in New Issue
Block a user