Commit 18ad03d4 authored by 靳野's avatar 靳野

feat:修复库存最大值为0-500

parent 3ce18603
...@@ -65,7 +65,7 @@ export function column(specArr = []) { ...@@ -65,7 +65,7 @@ export function column(specArr = []) {
initialValue={row.stock || 0} initialValue={row.stock || 0}
rules={[{ required: true, message: '请输入库存!' }, { validator: isIntegerNotMust }]} rules={[{ required: true, message: '请输入库存!' }, { validator: isIntegerNotMust }]}
> >
<InputNumber min={1} max={999999} /> <InputNumber min={0} max={500} />
</Form.Item> </Form.Item>
</div> </div>
), ),
......
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