chen.lin
2 天以前 79edfec1f6e6789d3f6cc57db3cb0cfdffd64c32
rsf-admin/src/page/stockItem/StockItemEdit.jsx
@@ -28,6 +28,7 @@
import CustomerTopToolBar from "../components/EditTopToolBar";
import MemoInput from "../components/MemoInput";
import StatusSelectInput from "../components/StatusSelectInput";
import QuantityInput from "../components/QuantityInput";
const FormToolbar = () => {
    const { getValues } = useFormContext();
@@ -104,10 +105,10 @@
                            />
                        </Stack>
                        <Stack direction='row' gap={2}>
                            <NumberInput
                            <QuantityInput
                                label="table.field.stockItem.anfme"
                                source="anfme"
                                validate={required()}
                                validate={[required()]}
                            />
                        </Stack>
                        <Stack direction='row' gap={2}>
@@ -118,10 +119,10 @@
                            />
                        </Stack>
                        <Stack direction='row' gap={2}>
                            <NumberInput
                            <QuantityInput
                                label="table.field.stockItem.workQty"
                                source="workQty"
                                validate={required()}
                                validate={[required()]}
                            />
                        </Stack>
                        <Stack direction='row' gap={2}>
@@ -139,7 +140,7 @@
                            />
                        </Stack>
                        <Stack direction='row' gap={2}>
                            <NumberInput
                            <QuantityInput
                                label="table.field.stockItem.qty"
                                source="qty"
                            />