From bfc43ca0e4683c1c0322a6cad5d5be2bc07decc3 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 24 七月 2025 15:00:44 +0800
Subject: [PATCH] 新增调拔单功能 盘点功能优化

---
 rsf-admin/src/page/orders/delivery/DeliveryEdit.jsx |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/rsf-admin/src/page/orders/delivery/DeliveryEdit.jsx b/rsf-admin/src/page/orders/delivery/DeliveryEdit.jsx
index 49867b9..6113334 100644
--- a/rsf-admin/src/page/orders/delivery/DeliveryEdit.jsx
+++ b/rsf-admin/src/page/orders/delivery/DeliveryEdit.jsx
@@ -44,7 +44,7 @@
 const DeliveryEdit = () => {
     const translate = useTranslate();
     const dicts = JSON.parse(localStorage.getItem('sys_dicts'))?.filter(dict => (dict.dictTypeCode == 'sys_order_type')) || [];
-    const business = JSON.parse(localStorage.getItem('sys_dicts'))?.filter(dict => (dict.dictTypeCode == 'sys_business_type')) || [];
+    const business = JSON.parse(localStorage.getItem('sys_dicts'))?.filter(dict => (dict.dictTypeCode == 'sys_business_type' && dict.group == 2)) || [];
 
     return (
         <>
@@ -73,11 +73,6 @@
                                     parse={v => v}
                                     autoFocus
                                 />
-                                <TextInput
-                                    label="table.field.delivery.platId"
-                                    source="platId"
-                                    parse={v => v}
-                                />
                                 <AutocompleteInput
                                     choices={dicts}
                                     optionText="label"
@@ -95,14 +90,14 @@
                                     optionValue="value"
                                     parse={v => v}
                                 />
-                            </Stack>
-                            <Stack direction='row' gap={2}>
                                 <TextInput
                                     label="table.field.delivery.source"
                                     source="source"
                                     parse={v => v}
                                     validate={required()}
                                 />
+                            </Stack>
+                            <Stack direction='row' gap={2}>
                                 <NumberInput
                                     label="table.field.delivery.anfme"
                                     source="anfme"
@@ -115,6 +110,11 @@
                                 <NumberInput
                                     label="table.field.delivery.workQty"
                                     source="workQty"
+                                />
+                                <TextInput
+                                    label="table.field.delivery.platId"
+                                    source="platId"
+                                    parse={v => v}
                                 />
                                 <TextInput
                                     label="table.field.delivery.platCode"
@@ -133,14 +133,14 @@
                                 />
                             </Stack>
                         </Grid>
-                        <Grid item xs={8} md={2}>
+                        {/* <Grid item xs={8} md={2}>
                             <Typography variant="h6" gutterBottom>
                                 {translate('common.edit.title.common')}
                             </Typography>
                             <StatusSelectInput />
                             <Box mt="2em" />
                             <MemoInput />
-                        </Grid>
+                        </Grid> */}
                     </Grid>
                 </SimpleForm>
             </Edit >

--
Gitblit v1.9.1