From 6faa1db636bab64e3723da671122d87c8887fd52 Mon Sep 17 00:00:00 2001 From: mayf <m13160102112@163.com> Date: 星期六, 21 九月 2024 23:53:03 +0800 Subject: [PATCH] 积分优惠券数量显示问题 --- pages/marketing/point-mall/coupon/index.vue | 10 ++++++---- pages/marketing/point-mall/coupon/_id.vue | 4 +++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/pages/marketing/point-mall/coupon/_id.vue b/pages/marketing/point-mall/coupon/_id.vue index 9b63a71..6d0e8a1 100644 --- a/pages/marketing/point-mall/coupon/_id.vue +++ b/pages/marketing/point-mall/coupon/_id.vue @@ -41,7 +41,9 @@ return `${row.usageTimeNum}${row.usageTimeTypeName}` }, }, - { label: '库存:', id: 'couponAmount' }, + { label: '发放数量:', id: 'couponAmount' }, + { label: '已兑换:', id: 'getNum' }, + { label: '库存:', id: 'unGetNum' }, { label: '积分数量:', id: 'point' }, ], }, diff --git a/pages/marketing/point-mall/coupon/index.vue b/pages/marketing/point-mall/coupon/index.vue index 28008a5..ffaf7d2 100644 --- a/pages/marketing/point-mall/coupon/index.vue +++ b/pages/marketing/point-mall/coupon/index.vue @@ -38,7 +38,9 @@ }, ...couponColumn(), { label: '状态', prop: 'statusName', minWidth: 120 }, - { label: '库存', prop: 'couponAmount', minWidth: 120 }, + { label: '发放数量', prop: 'couponAmount', minWidth: 120 }, + { label: '已兑换', prop: 'getNum', minWidth: 120 }, + { label: '库存', prop: 'unGetNum', minWidth: 120 }, { label: '所需积分', prop: 'point', minWidth: 120 }, ], searchForm: [ @@ -69,7 +71,7 @@ }, }, { - label: '库存:', + label: '发放数量:', id: 'couponAmount', type: 'input-number', el: { @@ -79,11 +81,11 @@ controls: false, }, rules: [ - { required: true, message: '请输入库存', trigger: 'blur' }, + { required: true, message: '请输入发放数量', trigger: 'blur' }, { type: 'number', min: 1, - message: '库存必须大于0', + message: '发放数量必须大于0', trigger: 'blur', }, ], -- Gitblit v1.9.3