修改优惠券展示问题

master
mahe 2023-06-09 17:39:59 +08:00
parent 1c765f37cf
commit 49dfd644a2
1 changed files with 4 additions and 4 deletions

View File

@ -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( return h(
@ -215,7 +215,7 @@ export default {
}, },
{ {
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") {
@ -234,7 +234,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") {
@ -249,7 +249,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);
}, },