| | |
| | | 'map.settings.config.param': 'Config Parameters', |
| | | '': '', |
| | | '': '', |
| | | 'map.settings.shelf.no': 'Shelf No', |
| | | 'map.settings.shelf.row': 'Row', |
| | | 'map.settings.shelf.bay': 'Bay', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | 'map.settings.sub.copy.undo.last.copies': 'Undo Last Copies', |
| | | 'map.settings.sub.copy.rule': 'Copy Rule', |
| | |
| | | }; |
| | | |
| | | const handleFinish = async (values) => { |
| | | console.log(values); return |
| | | props.onSubmit({ ...values }); |
| | | } |
| | | |
| | |
| | | </Row> |
| | | </Col> |
| | | |
| | | {curSprite?.data?.type === Utils.SENSOR_TYPE.AGV && ( |
| | | <> |
| | | |
| | | </> |
| | | )} |
| | | |
| | | {curSprite?.data?.type === Utils.SENSOR_TYPE.SHELF && ( |
| | | <> |
| | | <Col span={24}> |
| | | <Form.Item |
| | | name='shelfNo' |
| | | label={intl.formatMessage({ id: 'map.settings.shelf.no', defaultMessage: '货架号' })} |
| | | > |
| | | <Input |
| | | style={{ |
| | | width: '50%', |
| | | }} |
| | | /> |
| | | </Form.Item> |
| | | </Col> |
| | | <Col span={24}> |
| | | <Form.Item |
| | | name='row' |
| | | label={intl.formatMessage({ id: 'map.settings.shelf.row', defaultMessage: '排' })} |
| | | > |
| | | <InputNumber |
| | | style={{ |
| | | width: '50%', |
| | | }} |
| | | /> |
| | | </Form.Item> |
| | | </Col> |
| | | <Col span={24}> |
| | | <Form.Item |
| | | name='bay' |
| | | label={intl.formatMessage({ id: 'map.settings.shelf.bay', defaultMessage: '列' })} |
| | | > |
| | | <InputNumber |
| | | style={{ |
| | | width: '50%', |
| | | }} |
| | | /> |
| | | </Form.Item> |
| | | </Col> |
| | | </> |
| | | )} |
| | | |
| | | </Row> |
| | | </Form> |
| | | </> |
| | |
| | | <Col span={18}> |
| | | <Form.Item |
| | | label={intl.formatMessage({ id: 'map.settings.component', defaultMessage: '组件' })} |
| | | labelCol={{ span: 4 }} |
| | | > |
| | | <span>{curSprite?.data?.type}-{curSprite?.data?.uuid}</span> |
| | | </Form.Item> |