From df0d6900ef9a3826ddd5ce8eaa9be36ff67eebf1 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期三, 13 三月 2024 13:50:08 +0800 Subject: [PATCH] # --- zy-asrs-flow/src/pages/map/components/configSettings.jsx | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/zy-asrs-flow/src/pages/map/components/configSettings.jsx b/zy-asrs-flow/src/pages/map/components/configSettings.jsx index 142cac9..83f2b3a 100644 --- a/zy-asrs-flow/src/pages/map/components/configSettings.jsx +++ b/zy-asrs-flow/src/pages/map/components/configSettings.jsx @@ -38,6 +38,7 @@ }; const handleFinish = async (values) => { + console.log(values); return props.onSubmit({ ...values }); } @@ -84,6 +85,53 @@ </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> </> -- Gitblit v1.9.1