From a81c7ff0a5a9b7e4e34c262364fd371e314907d0 Mon Sep 17 00:00:00 2001 From: chenfang Date: Wed, 3 Jan 2024 09:27:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventorychangeRequestMain.data.ts | 3 --- .../inventorymove/inventorymoveRequestMain/index.vue | 11 +++++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts b/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts index 9fb835b57..6aedd4873 100644 --- a/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts +++ b/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts @@ -5,9 +5,6 @@ import * as getRequestsettingApi from '@/api/wms/requestsetting/index' import * as BalanceApi from '@/api/wms/balance' import { Balance } from '@/views/wms/inventoryManage/balance/balance.data' -import * as ItembasicApi from '@/api/wms/itembasic' -import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data' - import * as OwnerApi from '@/api/wms/owner' import { Owner } from '@/views/wms/basicDataManage/orderManage/owner/owner.data' diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue index c4300abe6..5dd82da08 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue @@ -147,13 +147,15 @@ const { tableObject, tableMethods } = useTable({ fromInventoryStatus.value = 'SCRAP' toInventoryStatus.value = "HOLD" businessType.value = 'ScrapToHoldRequest' -} else { - console.log(146 , fromInventoryStatus.value) +} else if( routeName.value == 'InventorymoveRequestMain'){ fromInventoryStatus.value = null - businessType.value = 'InventoryMoveRequest' + businessType.value = 'Move' + console.log(146 , businessType.value) } // 修改 tableform 属性 +console.log('11111',InventorymoveRequestDetail.allSchemas.tableFormColumns); + InventorymoveRequestDetail.allSchemas.tableFormColumns.map(item => { if(item.field == 'fromPackingNumber') { if (fromInventoryStatus.value) { @@ -162,7 +164,8 @@ InventorymoveRequestDetail.allSchemas.tableFormColumns.map(item => { key: 'businessType', value: businessType.value , isMainValue: false - },],item.form.componentProps.searchCondition = [ + }] + item.form.componentProps.searchCondition = [ { key: 'businessType', value: businessType.value,