From d923690997dab98e4f09cbf1ce4b22439617cc5c Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期四, 12 九月 2024 13:57:29 +0800
Subject: [PATCH] add:优惠券列表增加领取渠道列表和筛选

---
 pages/marketing/coupon/activity/index.vue |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/pages/marketing/coupon/activity/index.vue b/pages/marketing/coupon/activity/index.vue
index 1dd3278..a8dd591 100644
--- a/pages/marketing/coupon/activity/index.vue
+++ b/pages/marketing/coupon/activity/index.vue
@@ -53,6 +53,7 @@
             formatter: getActivityEffectiveTime,
             minWidth: 320,
           },
+          { label: '领取渠道', prop: 'getTypeName', minWidth: 120 },
           { label: '已领取总数', prop: 'getNum', minWidth: 150 },
           { label: '剩余未领取总数', prop: 'unGetNum', minWidth: 150 },
           { label: '状态', prop: 'statusName', minWidth: 120 },
@@ -88,8 +89,19 @@
         searchForm: [
           {
             type: 'row',
-            items: [...couponSearchForm()],
+            items: [...couponSearchForm(),
+              {
+                label: '领取渠道:',
+                id: 'getType',
+                type: 'bus-select-dict',
+                el: {
+                  code: 'COUPON_GET_TYPE',
+                  style: 'width:100%',
+                },
+              },
+            ],
           },
+
         ],
         form: [
           ...couponForm(),
@@ -165,6 +177,7 @@
             el: {
               inputAttrs: {
                 min: 1,
+                max: 99999999,
                 precision: 0,
                 controls: false,
               },
@@ -182,6 +195,7 @@
             el: {
               precision: 0,
               min: 1,
+              max: 99999999,
               controls: false,
             },
             unit: '张',
@@ -198,6 +212,7 @@
             el: {
               precision: 0,
               min: 1,
+              max: 99999999,
               controls: false,
             },
             unit: '张',

--
Gitblit v1.9.3