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