From f9b6865fafcad274edb9f89a43e0535a9b4eff40 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期三, 08 一月 2025 14:46:40 +0800 Subject: [PATCH] add:物流发货针对散户更改微信发货方式,保存物流单号,未发送之前可更改 --- 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