mayf
2024-09-21 d66d833556ef54b06f6df33b6a29a1252590a39a
库存必须大于0
已修改2个文件
20 ■■■■■ 文件已修改
pages/marketing/point-mall/coupon/index.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/marketing/point-mall/goods.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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: '积分数量:',
pages/marketing/point-mall/goods.vue
@@ -86,7 +86,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: '商品图片:',