Commit 293c3965 authored by 陈万宝's avatar 陈万宝

feat: 更新最小购买数

parent 1457a13f
......@@ -644,7 +644,12 @@ const TakeawayGoodsInfo = forwardRef((props, ref) => {
<Form.Item
name="minPurchaseNum"
label="最少购买"
// rules={[{ required: true, message: '每日最低接待量' }]}
rules={[{ required: true, message: '请输入最少购买数' },
{
validator: isIntegerNotZero,
type: 'number',
message: '请输入大于0的整数',
},]}
>
<InputNumber min={1} max={999999999} style={{ width: 200 }} placeholder="请输入购买量" />
</Form.Item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment