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