#
luxiaotao1123
2024-03-25 9d4f7226888a9daa9a8967045f91ed4926a96309
#
2个文件已修改
25 ■■■■ 已修改文件
zy-asrs-flow/src/locales/en-US.ts 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/batch/modify.jsx 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/locales/en-US.ts
@@ -16,6 +16,7 @@
  'common.undefined':'Undefined',
  'common.phone':'Phone',
  'common.email':'Email',
  'common.select.cancel':'Cancel Selection',
  'common.realname':'Real Name',
  'common.idcard':'ID Number',
  'common.introduction':'Introduction',
zy-asrs-flow/src/pages/map/batch/modify.jsx
@@ -24,13 +24,22 @@
    }, [batchSprites]);
    const handleOk = (values) => {
        console.log(values); return true;
        console.log(values);
        if (batchSprites?.length > 0) {
            // loading
            batchSprites.forEach(sprite => {
                if (sprite.data?.type === Utils.SENSOR_TYPE.SHELF) {
                    if (values.shelfType) {
                    if (values.shelfType !== null) {
                    }
                    if (values.top !== null) {
                    }
                    if (values.right !== null) {
                    }
                    if (values.bottom !== null) {
                    }
                    if (values.left !== null) {
                    }
                    if (values.value !== null) {
                    }
                    Utils.showSheflType(sprite);
                }
@@ -95,13 +104,17 @@
                        label={intl.formatMessage({ id: 'map.settings.shelf.type', defaultMessage: '类型' })}
                        rules={[
                            {
                                required: true,
                                required: false,
                            },
                        ]}
                    >
                        <Select
                            style={{ width: 120 }}
                            style={{ width: 160 }}
                            options={[
                                {
                                    label: intl.formatMessage({ id: 'common.select.cancel', defaultMessage: '取消选择' }),
                                    value: null
                                },
                                {
                                    label: intl.formatMessage({ id: 'map.settings.shelf.store', defaultMessage: '库位' }),
                                    value: Utils.SHELF_TYPE.STORE
@@ -115,7 +128,6 @@
                                    value: Utils.SHELF_TYPE.DISABLE
                                },
                            ]}
                            defaultValue={0}
                        />
                    </ProForm.Item>
                    <ProForm.Item