From 77ac6b72ed82d51d0d45bf156ac1b5bb3cb15782 Mon Sep 17 00:00:00 2001
From: Junjie <xjj@123>
Date: 星期二, 19 三月 2024 14:01:43 +0800
Subject: [PATCH] #
---
zy-asrs-flow/src/pages/map/components/configSettings.jsx | 51 ++++++++++++++++++++++++++++++---------------------
1 files changed, 30 insertions(+), 21 deletions(-)
diff --git a/zy-asrs-flow/src/pages/map/components/configSettings.jsx b/zy-asrs-flow/src/pages/map/components/configSettings.jsx
index 14b35d4..7a6a67a 100644
--- a/zy-asrs-flow/src/pages/map/components/configSettings.jsx
+++ b/zy-asrs-flow/src/pages/map/components/configSettings.jsx
@@ -77,19 +77,20 @@
style={{
maxWidth: 600,
}}
- size='defalargeult' // small | default | large
- variant='filled' // outlined | borderless | filled
- labelWrap // label 鎹㈣
+ size='defalargeult'
+ variant='filled'
+ labelWrap
disabled={false}
layout='horizontal'
labelCol={{
span: 4,
}}
wrapperCol={{
- span: 14,
+ span: 20,
}}
>
-
+ <br />
+
<Form.Item
label={intl.formatMessage({ id: 'map.settings.type', defaultMessage: '绫诲瀷' })}
>
@@ -109,22 +110,6 @@
{curSprite?.data?.type === Utils.SENSOR_TYPE.SHELF && (
<>
- <Form.Item
- name='shelfNo'
- label={intl.formatMessage({ id: 'map.settings.shelf.no', defaultMessage: '璐ф灦鍙�' })}
- rules={[
- {
- required: true,
- },
- ]}
- >
- <Input
- style={{
- width: '50%',
- }}
- disabled
- />
- </Form.Item>
<Form.Item
name='row'
label={intl.formatMessage({ id: 'map.settings.shelf.row', defaultMessage: '鎺�' })}
@@ -155,9 +140,33 @@
}}
/>
</Form.Item>
+ <Form.Item
+ name='shelfNo'
+ label={intl.formatMessage({ id: 'map.settings.shelf.no', defaultMessage: '璐ф灦鍙�' })}
+ rules={[
+ {
+ required: true,
+ },
+ ]}
+ >
+ <Input
+ style={{
+ width: '50%',
+ }}
+ />
+ </Form.Item>
</>
)}
+ <Form.Item
+ wrapperCol={{
+ offset: 4,
+ span: 16,
+ }}>
+ <Button type="primary" onClick={handleFinish}>
+ <FormattedMessage id='common.submit' defaultMessage='淇濆瓨' />
+ </Button>
+ </Form.Item>
</Form >
</>
)
--
Gitblit v1.9.1