From 79edfec1f6e6789d3f6cc57db3cb0cfdffd64c32 Mon Sep 17 00:00:00 2001
From: chen.lin <1442464845@qq.com>
Date: 星期二, 24 二月 2026 15:50:32 +0800
Subject: [PATCH] 库位拣料出库数量调整
---
rsf-admin/src/page/stockItem/StockItemCreate.jsx | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/rsf-admin/src/page/stockItem/StockItemCreate.jsx b/rsf-admin/src/page/stockItem/StockItemCreate.jsx
index 925f54a..90bb02d 100644
--- a/rsf-admin/src/page/stockItem/StockItemCreate.jsx
+++ b/rsf-admin/src/page/stockItem/StockItemCreate.jsx
@@ -28,6 +28,7 @@
Box,
} from '@mui/material';
import DialogCloseButton from "../components/DialogCloseButton";
+import QuantityInput from "../components/QuantityInput";
import StatusSelectInput from "../components/StatusSelectInput";
import MemoInput from "../components/MemoInput";
@@ -125,10 +126,10 @@
/>
</Grid>
<Grid item xs={6} display="flex" gap={1}>
- <NumberInput
+ <QuantityInput
label="table.field.stockItem.anfme"
source="anfme"
- validate={required()}
+ validate={[required()]}
/>
</Grid>
<Grid item xs={6} display="flex" gap={1}>
@@ -139,10 +140,10 @@
/>
</Grid>
<Grid item xs={6} display="flex" gap={1}>
- <NumberInput
+ <QuantityInput
label="table.field.stockItem.workQty"
source="workQty"
- validate={required()}
+ validate={[required()]}
/>
</Grid>
<Grid item xs={6} display="flex" gap={1}>
@@ -160,7 +161,7 @@
/>
</Grid>
<Grid item xs={6} display="flex" gap={1}>
- <NumberInput
+ <QuantityInput
label="table.field.stockItem.qty"
source="qty"
/>
--
Gitblit v1.9.1