From d0f6630cd5b9f4271231d61950019d371c1fd015 Mon Sep 17 00:00:00 2001
From: mayf <m13160102112@163.com>
Date: 星期五, 20 九月 2024 17:54:56 +0800
Subject: [PATCH] 活动优惠券使用时间和领取时间两者校验

---
 utils/form-item-config.js |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/utils/form-item-config.js b/utils/form-item-config.js
index b25980b..aca653c 100644
--- a/utils/form-item-config.js
+++ b/utils/form-item-config.js
@@ -76,6 +76,7 @@
         current: 1,
         size: 2000,
         status: 'P',
+        isEnabled: 1,
       },
       props: {
         label: 'name',
@@ -93,7 +94,10 @@
   }
 }
 
-export const getGoodsCategoryListConfig = (checkStrictly = false) => {
+export const getGoodsCategoryListConfig = (
+  checkStrictly = false,
+  multiple = false
+) => {
   return {
     label: '商品分类:',
     id: 'categoryId',
@@ -105,7 +109,9 @@
         value: 'id',
         emitPath: false,
         checkStrictly,
+        multiple,
       },
+      filterable: true,
       clearable: true,
       style: 'width:100%',
     },

--
Gitblit v1.9.3