优惠券列表样式修改
This commit is contained in:
parent
cf193f4eab
commit
5227e0ae13
@ -178,7 +178,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: "面额/折扣",
|
title: "面额/折扣",
|
||||||
key: "price",
|
key: "price",
|
||||||
// width: 150,
|
width: 150,
|
||||||
render: (h, params) => {
|
render: (h, params) => {
|
||||||
if (params.row.price) {
|
if (params.row.price) {
|
||||||
return h("priceColorScheme", {props:{value:params.row.price,color:this.$mainColor}} );
|
return h("priceColorScheme", {props:{value:params.row.price,color:this.$mainColor}} );
|
||||||
@ -206,14 +206,14 @@ export default {
|
|||||||
{
|
{
|
||||||
title: "已被使用的数量/已领取数量",
|
title: "已被使用的数量/已领取数量",
|
||||||
key: "publishNum",
|
key: "publishNum",
|
||||||
width: 200,
|
width: 100,
|
||||||
render: (h, params) => {
|
render: (h, params) => {
|
||||||
return h("div", params.row.usedNum + "/" + params.row.receivedNum);
|
return h("div", params.row.usedNum + "/" + params.row.receivedNum);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "获取方式",
|
title: "获取方式",
|
||||||
// width: 120,
|
width: 120,
|
||||||
key: "getType",
|
key: "getType",
|
||||||
render: (h, params) => {
|
render: (h, params) => {
|
||||||
if (params.row.getType === "FREE") {
|
if (params.row.getType === "FREE") {
|
||||||
@ -232,7 +232,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: "优惠券类型",
|
title: "优惠券类型",
|
||||||
key: "couponType",
|
key: "couponType",
|
||||||
// width: 150,
|
width: 150,
|
||||||
render: (h, params) => {
|
render: (h, params) => {
|
||||||
let text = "";
|
let text = "";
|
||||||
if (params.row.couponType === "DISCOUNT") {
|
if (params.row.couponType === "DISCOUNT") {
|
||||||
@ -247,7 +247,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: "品类描述",
|
title: "品类描述",
|
||||||
key: "scopeType",
|
key: "scopeType",
|
||||||
// width: 120,
|
width: 120,
|
||||||
render: (h, params) => {
|
render: (h, params) => {
|
||||||
return promotionsScopeTypeRender(h, params);
|
return promotionsScopeTypeRender(h, params);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user