From 78caa769e452f63288743b8997f7b4c21bb06ce5 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期五, 06 十一月 2026 19:00:38 +0800
Subject: [PATCH] feat(crm,mes): 扩展客户字段与重构批次号生成逻辑

---
 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 4ca6336..38f5556 100644
--- a/src/views/wls/returnissue/data.ts
+++ b/src/views/wls/returnissue/data.ts
@@ -21,11 +21,7 @@
 import { MdWorkstationSelect } from '#/views/mes/md/workstation/components';
 import { ProWorkOrderSelect } from '#/views/mes/pro/workorder/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';
@@ -431,16 +427,6 @@
       minWidth: 100,
     },
     {
-      field: 'locationName',
-      title: '搴撳尯鍚嶇О',
-      minWidth: 100,
-    },
-    {
-      field: 'areaName',
-      title: '搴撲綅鍚嶇О',
-      minWidth: 100,
-    },
-    {
       field: 'quantity',
       title: '鏁伴噺',
       width: 100,
@@ -544,30 +530,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