From 92b62eae6ee68bd693457a16f3bdfb1d684a8fec Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 20 三月 2025 14:37:17 +0800
Subject: [PATCH] #修复 库位修改保存失败修复
---
rsf-admin/src/page/basicInfo/loc/LocEdit.jsx | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/rsf-admin/src/page/basicInfo/loc/LocEdit.jsx b/rsf-admin/src/page/basicInfo/loc/LocEdit.jsx
index f4f7f61..1505a82 100644
--- a/rsf-admin/src/page/basicInfo/loc/LocEdit.jsx
+++ b/rsf-admin/src/page/basicInfo/loc/LocEdit.jsx
@@ -20,6 +20,7 @@
required,
useRecordContext,
DeleteButton,
+ useNotify,
} from 'react-admin';
import { useWatch, useFormContext } from "react-hook-form";
import { Stack, Grid, Box, Typography } from '@mui/material';
@@ -29,6 +30,7 @@
import CustomerTopToolBar from "../../components/EditTopToolBar";
import MemoInput from "../../components/MemoInput";
import StatusSelectInput from "../../components/StatusSelectInput";
+import request from '@/utils/request';
const FormToolbar = () => {
const { getValues } = useFormContext();
@@ -44,6 +46,8 @@
const LocEdit = () => {
const translate = useTranslate();
const dicts = JSON.parse(localStorage.getItem('sys_dicts'))?.filter(dict => (dict.dictTypeCode == 'sys_loc_type')) || [];
+
+
return (
<Edit
redirect="list"
@@ -162,6 +166,8 @@
validate={required()}
/>
</Grid>
+
+
</Grid>
</Grid>
<Grid item xs={12} md={2}>
--
Gitblit v1.9.1