From 45ba73ebae3c46292c5f787e412f6e588fdb5a35 Mon Sep 17 00:00:00 2001 From: lzhizhao <790086754@qq.com> Date: Sun, 17 Aug 2025 00:28:46 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=AF=E5=88=86=E5=95=86=E5=93=81?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=AD=97=E6=AE=B5=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/marketing/points-mall/index.vue | 56 +++++++++---------- 1 file changed, 27 insertions(+), 29 deletions(-) diff --git a/src/views/modules/marketing/points-mall/index.vue b/src/views/modules/marketing/points-mall/index.vue index fee82fc..7e047a5 100644 --- a/src/views/modules/marketing/points-mall/index.vue +++ b/src/views/modules/marketing/points-mall/index.vue @@ -220,14 +220,35 @@ export default { field: "shopName" }, { - title: "兑换所需积分", + title: "商品原价", align: "center", - field: "exchangeRequiredPoints" + field: "marketPrice", + type: "jsx", + render: ({ row }) => { + return ¥{row.marketPrice}; + } }, { - title: "兑换库存", + title: "原有商品状态", align: "center", - field: "exchangeInventory" + field: "productStatus", + type: "jsx", + render: ({ row }) => { + return {row.productStatus === "UP" ? "上架" : "下架"}; + } + }, + { + title: "积分使用模式", + align: "center", + field: "exchangePointsType", + type: "jsx", + render: ({ row }) => { + return ( + + {row.exchangePointsType === 1 ? "积分换购" : "积分优惠购"} + + ); + } }, { title: "剩余库存", @@ -235,32 +256,9 @@ export default { field: "surplusInventory" }, { - title: "已兑换数量", + title: "启用状态", align: "center", - field: "totalExchangeQuantity" - }, - { - title: "兑换限制", - align: "center", - field: "exchangeRestrictions" - }, - { - title: "限制类型", - align: "center", - field: "exchangeRestrictionsType", - type: "jsx", - render: ({ row }) => { - return ( - - {row.exchangeRestrictionsType === 1 ? "每日" : "永久"} - - ); - } - }, - { - title: "创建时间", - align: "center", - field: "createTime" + field: "enable" }, { title: "操作",