From 27c8277d717b34b55f3ea967027b53b067f77df3 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期四, 20 八月 2026 16:58:49 +0800
Subject: [PATCH] feat 功能变更
---
src/views/wls/warehouse/data.ts | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/src/views/wls/warehouse/data.ts b/src/views/wls/warehouse/data.ts
index aead660..e99d439 100644
--- a/src/views/wls/warehouse/data.ts
+++ b/src/views/wls/warehouse/data.ts
@@ -5,7 +5,8 @@
import { h } from 'vue';
-import { DICT_TYPE, MesAutoCodeRuleCode } from '../../../packages/constants/src';
+import { DICT_TYPE, MesAutoCodeRuleCode } from '@vben/constants';
+import { getDictOptions } from '@vben/hooks';
import { Button } from 'ant-design-vue';
@@ -68,6 +69,15 @@
placeholder: '璇疯緭鍏ヤ粨搴撳悕绉�',
},
rules: 'required',
+ },
+ {
+ fieldName: 'type',
+ label: '浠撳簱绫诲瀷',
+ component: 'Select',
+ componentProps: {
+ options: getDictOptions(DICT_TYPE.MES_WM_WAREHOUSE_TYPE, 'number'),
+ placeholder: '璇烽�夋嫨浠撳簱绫诲瀷',
+ },
},
{
fieldName: 'chargeUserId',
@@ -175,6 +185,15 @@
minWidth: 160,
},
{
+ field: 'type',
+ title: '浠撳簱绫诲瀷',
+ width: 110,
+ cellRender: {
+ name: 'CellDict',
+ props: { type: DICT_TYPE.MES_WM_WAREHOUSE_TYPE },
+ },
+ },
+ {
field: 'address',
title: '浠撳簱鍦板潃',
minWidth: 180,
--
Gitblit v1.9.3