#
vincentlu
2026-01-27 335a3dc8a65e78456df02bbca696bf5e8d9b025a
#
4个文件已修改
6 ■■■■ 已修改文件
zy-acs-flow/src/i18n/en.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/i18n/zh.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/sta/StaCreate.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/sta/StaEdit.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/i18n/en.js
@@ -671,6 +671,7 @@
            bottomOffset: 'bottom offset',
        },
        sta: {
            depthHint: 'Set depth to 0 to keep the default value.',
            enums: {
                type: {
                    in: 'UNLOAD',
zy-acs-flow/src/i18n/zh.js
@@ -671,6 +671,7 @@
            bottomOffset: '底部偏移量',
        },
        sta: {
            depthHint: '深度设置为 0 表示沿用默认值。',
            enums: {
                type: {
                    in: '放货',
zy-acs-flow/src/page/sta/StaCreate.jsx
@@ -177,6 +177,7 @@
                                    <NumberInput
                                        label="table.field.sta.depth"
                                        source="depth"
                                        helperText={translate('page.sta.depthHint')}
                                        validate={[required(), greaterThanZero]}
                                    />
                                </Grid>
zy-acs-flow/src/page/sta/StaEdit.jsx
@@ -46,7 +46,7 @@
        if (value === undefined || value === null || value === '') {
            return undefined;
        }
        return Number(value) >= 0 ? undefined : translate('validate.gtZero', { _: '请输入大于0的数值' });
        return Number(value) >= 0 ? undefined : translate('validate.gtZero');
    }, [translate]);
    return (
@@ -155,6 +155,7 @@
                            <NumberInput
                                label="table.field.sta.depth"
                                source="depth"
                                helperText={translate('page.sta.depthHint')}
                                validate={[required(), greaterThanZero]}
                            />
                        </Stack>