From dde31d678c8440a79f753a3488a5e0300a12ed6c Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期二, 09 四月 2024 13:33:43 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/map/components/configSettings.jsx |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/zy-asrs-flow/src/pages/map/components/configSettings.jsx b/zy-asrs-flow/src/pages/map/components/configSettings.jsx
index 14417e9..02a1727 100644
--- a/zy-asrs-flow/src/pages/map/components/configSettings.jsx
+++ b/zy-asrs-flow/src/pages/map/components/configSettings.jsx
@@ -18,6 +18,7 @@
         form.resetFields();
         if (curSprite) {
             form.setFieldsValue({
+                shelfType: Utils.SHELF_TYPE.STORE,
                 ...curSprite.data
             })
         }
@@ -147,6 +148,12 @@
                     </>
                 )}
 
+                {curSprite?.data?.type === Utils.SENSOR_TYPE.SHUTTLE && (
+                    <>
+
+                    </>
+                )}
+
                 {curSprite?.data?.type === Utils.SENSOR_TYPE.SHELF && (
                     <>
                         <Form.Item
@@ -208,11 +215,18 @@
                                         value: Utils.SHELF_TYPE.TRACK
                                     },
                                     {
+                                        label: intl.formatMessage({ id: 'map.settings.shelf.lift', defaultMessage: '鎻愬崌鏈�' }),
+                                        value: Utils.SHELF_TYPE.LIFT
+                                    },
+                                    {
+                                        label: intl.formatMessage({ id: 'map.settings.shelf.charge', defaultMessage: '鍏呯數绔�' }),
+                                        value: Utils.SHELF_TYPE.CHARGE
+                                    },
+                                    {
                                         label: intl.formatMessage({ id: 'map.settings.shelf.diable', defaultMessage: '绂佺敤' }),
                                         value: Utils.SHELF_TYPE.DISABLE
                                     },
                                 ]}
-                                defaultValue={0}
                             />
                         </Form.Item>
                         <Form.Item

--
Gitblit v1.9.1