From 679c5b64e0dcbee2ea29c38c9c55c3ff1d4b6258 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 02 十一月 2026 10:51:36 +0800
Subject: [PATCH] 诚发五金:入库/调整/移库/调拨/盘点表单去掉库区库位选择,改由后端默认库区库位兜底

---
 src/views/wls/returnissue/data.ts |   40 +---------------------------------------
 1 files changed, 1 insertions(+), 39 deletions(-)

diff --git a/src/views/wls/returnissue/data.ts b/src/views/wls/returnissue/data.ts
index 5410af1..fb0022f 100644
--- a/src/views/wls/returnissue/data.ts
+++ b/src/views/wls/returnissue/data.ts
@@ -22,11 +22,7 @@
 import { ProWorkOrderSelect } from '#/views/mes/pro/workorder/components';
 import { WmProductIssueLineSelect } from '#/views/wls/productissue/components';
 import { WmMaterialStockSelect } from '#/views/wls/materialstock/components';
-import {
-  WmWarehouseAreaSelect,
-  WmWarehouseLocationSelect,
-  WmWarehouseSelect,
-} from '#/views/wls/warehouse/components';
+import { WmWarehouseSelect } from '#/views/wls/warehouse/components';
 
 /** 琛ㄥ崟绫诲瀷 */
 export type FormType = 'create' | 'detail' | 'finish' | 'stock' | 'update';
@@ -452,16 +448,6 @@
       minWidth: 100,
     },
     {
-      field: 'locationName',
-      title: '搴撳尯鍚嶇О',
-      minWidth: 100,
-    },
-    {
-      field: 'areaName',
-      title: '搴撲綅鍚嶇О',
-      minWidth: 100,
-    },
-    {
       field: 'quantity',
       title: '鏁伴噺',
       width: 100,
@@ -565,30 +551,6 @@
       // componentProps: {
       //   excludeCodes: ['WIP_VIRTUAL_WAREHOUSE'],
       // },
-    },
-    {
-      fieldName: 'locationId',
-      label: '涓婃灦鐩爣搴撳尯',
-      component: markRaw(WmWarehouseLocationSelect),
-      dependencies: {
-        triggerFields: ['warehouseId'],
-        componentProps: (values) => ({
-          disabled: !values.warehouseId,
-          warehouseId: values.warehouseId,
-        }),
-      },
-    },
-    {
-      fieldName: 'areaId',
-      label: '涓婃灦鐩爣搴撲綅',
-      component: markRaw(WmWarehouseAreaSelect),
-      dependencies: {
-        triggerFields: ['locationId'],
-        componentProps: (values) => ({
-          disabled: !values.locationId,
-          locationId: values.locationId,
-        }),
-      },
     },
     {
       fieldName: 'batchCode',

--
Gitblit v1.9.3