Browse Source

修复bug

master
chenfang 11 months ago
parent
commit
a81c7ff0a5
  1. 3
      src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts
  2. 11
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue

3
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 * as BalanceApi from '@/api/wms/balance'
import { Balance } from '@/views/wms/inventoryManage/balance/balance.data' 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 * as OwnerApi from '@/api/wms/owner'
import { Owner } from '@/views/wms/basicDataManage/orderManage/owner/owner.data' import { Owner } from '@/views/wms/basicDataManage/orderManage/owner/owner.data'

11
src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue

@ -147,13 +147,15 @@ const { tableObject, tableMethods } = useTable({
fromInventoryStatus.value = 'SCRAP' fromInventoryStatus.value = 'SCRAP'
toInventoryStatus.value = "HOLD" toInventoryStatus.value = "HOLD"
businessType.value = 'ScrapToHoldRequest' businessType.value = 'ScrapToHoldRequest'
} else { } else if( routeName.value == 'InventorymoveRequestMain'){
console.log(146 , fromInventoryStatus.value)
fromInventoryStatus.value = null fromInventoryStatus.value = null
businessType.value = 'InventoryMoveRequest' businessType.value = 'Move'
console.log(146 , businessType.value)
} }
// tableform // tableform
console.log('11111',InventorymoveRequestDetail.allSchemas.tableFormColumns);
InventorymoveRequestDetail.allSchemas.tableFormColumns.map(item => { InventorymoveRequestDetail.allSchemas.tableFormColumns.map(item => {
if(item.field == 'fromPackingNumber') { if(item.field == 'fromPackingNumber') {
if (fromInventoryStatus.value) { if (fromInventoryStatus.value) {
@ -162,7 +164,8 @@ InventorymoveRequestDetail.allSchemas.tableFormColumns.map(item => {
key: 'businessType', key: 'businessType',
value: businessType.value , value: businessType.value ,
isMainValue: false isMainValue: false
},],item.form.componentProps.searchCondition = [ }]
item.form.componentProps.searchCondition = [
{ {
key: 'businessType', key: 'businessType',
value: businessType.value, value: businessType.value,

Loading…
Cancel
Save