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/outsourcereceipt/data.ts |   59 +----------------------------------------------------------
 1 files changed, 1 insertions(+), 58 deletions(-)

diff --git a/src/views/wls/outsourcereceipt/data.ts b/src/views/wls/outsourcereceipt/data.ts
index 0efa1db..881194d 100644
--- a/src/views/wls/outsourcereceipt/data.ts
+++ b/src/views/wls/outsourcereceipt/data.ts
@@ -22,11 +22,7 @@
 import { MdItemSelect } from '#/views/mes/md/item/components';
 import { MdVendorSelect } from '#/views/mes/md/vendor/components';
 import { ProWorkOrderSelect } from '#/views/mes/pro/workorder/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';
@@ -413,16 +409,6 @@
       minWidth: 100,
     },
     {
-      field: 'locationName',
-      title: '搴撳尯鍚嶇О',
-      minWidth: 100,
-    },
-    {
-      field: 'areaName',
-      title: '搴撲綅鍚嶇О',
-      minWidth: 100,
-    },
-    {
       field: 'quantity',
       title: '鏁伴噺',
       width: 100,
@@ -465,52 +451,9 @@
       label: '鍏ュ簱浠撳簱',
       component: markRaw(WmWarehouseSelect),
       componentProps: {
-        // 鍒囨崲浠撳簱鍚庢竻绌哄簱鍖哄拰搴撲綅
-        onChange: async () => {
-          await formApi?.setValues({
-            areaId: undefined,
-            locationId: undefined,
-          });
-        },
         placeholder: '璇烽�夋嫨浠撳簱',
       },
       rules: 'selectRequired',
-    },
-    {
-      fieldName: 'locationId',
-      label: '搴撳尯',
-      component: markRaw(WmWarehouseLocationSelect),
-      componentProps: {
-        placeholder: '璇烽�夋嫨搴撳尯',
-      },
-      rules: 'selectRequired',
-      dependencies: {
-        triggerFields: ['warehouseId'],
-        componentProps: (values) => ({
-          // 鍒囨崲搴撳尯鍚庢竻绌哄簱浣�
-          onChange: async () => {
-            await formApi?.setFieldValue('areaId', undefined);
-          },
-          placeholder: '璇烽�夋嫨搴撳尯',
-          warehouseId: values.warehouseId,
-        }),
-      },
-    },
-    {
-      fieldName: 'areaId',
-      label: '搴撲綅',
-      component: markRaw(WmWarehouseAreaSelect),
-      componentProps: {
-        placeholder: '璇烽�夋嫨搴撲綅',
-      },
-      rules: 'selectRequired',
-      dependencies: {
-        triggerFields: ['locationId'],
-        componentProps: (values) => ({
-          locationId: values.locationId,
-          placeholder: '璇烽�夋嫨搴撲綅',
-        }),
-      },
     },
     {
       fieldName: 'quantity',

--
Gitblit v1.9.3