From 44709668c91a392dd0c346d6a15b07144ebf41ea Mon Sep 17 00:00:00 2001
From: zs <zhousong@weben-smart.com>
Date: 周三, 30 4月 2025 19:55:29 +0800
Subject: [PATCH] 库位条件查询
---
HIAWms/web/src/widgets/HIAWms/Views/Pages/WmsMaterial/Config.ts | 31 ++++---------------------------
1 files changed, 4 insertions(+), 27 deletions(-)
diff --git a/HIAWms/web/src/widgets/HIAWms/Views/Pages/WmsMaterial/Config.ts b/HIAWms/web/src/widgets/HIAWms/Views/Pages/WmsMaterial/Config.ts
index 7b9e98c..2b0e6f5 100644
--- a/HIAWms/web/src/widgets/HIAWms/Views/Pages/WmsMaterial/Config.ts
+++ b/HIAWms/web/src/widgets/HIAWms/Views/Pages/WmsMaterial/Config.ts
@@ -13,30 +13,12 @@
title: '鐗╂枡鍚嶇О',
},
{
- field: 'purchaseType',
+ field: 'purchaseTypeDesc',
title: '閲囪喘绫诲瀷',
- formatter: ({ cellValue }) => {
- // You'll need to map the enum values to display text
- const purchaseTypeMap = {
- 0: '绫诲瀷1',
- 1: '绫诲瀷2',
- // Add all enum values
- }
- return purchaseTypeMap[cellValue] || cellValue
- },
},
{
- field: 'materialType',
+ field: 'materialTypeDesc',
title: '鐗╂枡绫诲瀷',
- formatter: ({ cellValue }) => {
- // Map material type enum to display text
- const materialTypeMap = {
- 0: '绫诲瀷A',
- 1: '绫诲瀷B',
- // Add all enum values
- }
- return materialTypeMap[cellValue] || cellValue
- },
},
{
field: 'primaryUnit',
@@ -63,9 +45,8 @@
title: '闀垮害(m)',
},
{
- field: 'isMainBranch',
- title: '涓绘敮绠�',
- formatter: ({ cellValue }) => (cellValue ? '鏄�' : '鍚�'),
+ field: 'isMainBranchDesc',
+ title: '鏄惁涓绘敮绠�',
},
{
field: 'factory',
@@ -74,10 +55,6 @@
{
field: 'certification',
title: '璇佷功缂栧彿',
- },
- {
- field: 'sort',
- title: '鎺掑簭',
},
{
field: 'remark',
--
Gitblit v1.9.3