From e2f5d7f8e9818977b0eb3b163447c10f8caca2b5 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 30 七月 2025 12:58:31 +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