|
|
@ -174,12 +174,24 @@ InventorymoveRequestDetail.allSchemas.tableFormColumns.map(item => { |
|
|
|
key: 'businessType', |
|
|
|
value: businessType.value , |
|
|
|
isMainValue: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: 'fromWarehouseCode', |
|
|
|
value: 'fromWarehouseCode', |
|
|
|
message: '请选择从仓库代码!', |
|
|
|
isMainValue: true |
|
|
|
}] |
|
|
|
item.form.componentProps.searchCondition = [ |
|
|
|
{ |
|
|
|
key: 'businessType', |
|
|
|
value: businessType.value, |
|
|
|
isMainValue: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: 'fromWarehouseCode', |
|
|
|
value: 'fromWarehouseCode', |
|
|
|
message: '请选择从仓库代码!', |
|
|
|
isMainValue: true |
|
|
|
}] |
|
|
|
} else if (fromInventoryStatus.value == null) { |
|
|
|
item.tableForm.searchCondition = [ |
|
|
@ -187,12 +199,24 @@ InventorymoveRequestDetail.allSchemas.tableFormColumns.map(item => { |
|
|
|
key: 'businessType', |
|
|
|
value: businessType.value , |
|
|
|
isMainValue: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: 'fromWarehouseCode', |
|
|
|
value: 'fromWarehouseCode', |
|
|
|
message: '请选择从仓库代码!', |
|
|
|
isMainValue: true |
|
|
|
}] |
|
|
|
item.form.componentProps.searchCondition = [ |
|
|
|
{ |
|
|
|
key: 'businessType', |
|
|
|
value: businessType.value, |
|
|
|
isMainValue: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
key: 'fromWarehouseCode', |
|
|
|
value: 'fromWarehouseCode', |
|
|
|
message: '请选择从仓库代码!', |
|
|
|
isMainValue: true |
|
|
|
}] |
|
|
|
} else { |
|
|
|
delete item.tableForm.searchCondition |
|
|
|