From 8d5c50656d81dc3eb04a841ecd259adebf99424a Mon Sep 17 00:00:00 2001
From: chen.lin <1442464845@qq.com>
Date: 星期三, 11 二月 2026 15:49:26 +0800
Subject: [PATCH] 搜索库存明细调整不查询删除物料

---
 rsf-admin/src/page/locItem/LocItemList.jsx |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/rsf-admin/src/page/locItem/LocItemList.jsx b/rsf-admin/src/page/locItem/LocItemList.jsx
index dda2fd0..008c672 100644
--- a/rsf-admin/src/page/locItem/LocItemList.jsx
+++ b/rsf-admin/src/page/locItem/LocItemList.jsx
@@ -56,8 +56,20 @@
     },
 }));
 
+const locUseStatusChoices = typeof localStorage !== 'undefined'
+    ? (JSON.parse(localStorage.getItem('sys_dicts') || '[]')).filter((d) => d.dictTypeCode === 'sys_loc_use_stas')
+    : [];
+
 const filters = [
     <SearchInput source="condition" alwaysOn />,
+    <AutocompleteInput
+        source="useStatus"
+        label="table.field.loc.useStatus"
+        choices={locUseStatusChoices}
+        optionText="label"
+        optionValue="value"
+        resettable
+    />,
     <NumberInput source="locId" label="table.field.locItem.locId" />,
     <TextInput source="locCode" label="table.field.locItem.locCode" />,
     <NumberInput source="matnrId" label="table.field.locItem.matnrId" />,

--
Gitblit v1.9.1