From 2dae7a77781f4ef123a673893a9a7ffb34285f8f Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期二, 03 二月 2026 14:34:13 +0800
Subject: [PATCH] #列浮动和路径流程页

---
 rsf-admin/src/page/basicInfo/loc/LocCreate.jsx |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/rsf-admin/src/page/basicInfo/loc/LocCreate.jsx b/rsf-admin/src/page/basicInfo/loc/LocCreate.jsx
index 3f63d03..daf1326 100644
--- a/rsf-admin/src/page/basicInfo/loc/LocCreate.jsx
+++ b/rsf-admin/src/page/basicInfo/loc/LocCreate.jsx
@@ -112,6 +112,7 @@
                                     <ReferenceInput
                                         source="areaId"
                                         reference="warehouseAreas"
+                                        sort={{ field: 'sort', order: 'ASC' }}
                                         filter={{ warehouseId }}
                                     >
                                         <AutocompleteInput
@@ -154,7 +155,7 @@
                                         validate={[required()]}
                                     /> */}
                                     <ReferenceArrayInput source="typeIds" reference="locType" >
-                                        <SelectArrayInput label="table.field.loc.type" />
+                                        <SelectArrayInput label="table.field.loc.type" validate={[required()]} />
                                     </ReferenceArrayInput>
                                 </Grid>
                                 {/* <Grid item xs={6} display="flex" gap={1}>
@@ -270,6 +271,7 @@
                                         label={translate("table.field.loc.useStatus")}
                                         name="useStatus"
                                         size="small"
+                                        validate={[required()]}
                                         dictTypeCode="sys_loc_use_stas"
                                     />
                                     {/* <ReferenceInput

--
Gitblit v1.9.1