Browse Source

修复bug

master
chenfang 10 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 { 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'

11
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,

Loading…
Cancel
Save