From 6159a5216fc8e9e789b4640c29e0a416008e7e4f Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期日, 22 十二月 2024 21:46:27 +0800
Subject: [PATCH] 1.行政区划对接-高德 2.行政区划对接-腾讯
---
pages/marketing/point-mall/coupon/index.vue | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/pages/marketing/point-mall/coupon/index.vue b/pages/marketing/point-mall/coupon/index.vue
index f9c55c8..28008a5 100644
--- a/pages/marketing/point-mall/coupon/index.vue
+++ b/pages/marketing/point-mall/coupon/index.vue
@@ -78,7 +78,15 @@
max: 99999999,
controls: false,
},
- rules: { required: true, message: '请输入库存', trigger: 'blur' },
+ rules: [
+ { required: true, message: '请输入库存', trigger: 'blur' },
+ {
+ type: 'number',
+ min: 1,
+ message: '库存必须大于0',
+ trigger: 'blur',
+ },
+ ],
},
{
label: '积分数量:',
--
Gitblit v1.9.3