|
@ -157,6 +157,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
if(formField === 'costCenterCode'){ |
|
|
if(formField === 'costCenterCode'){ |
|
|
setV['costcentreCode'] = val[0]['costcentreCode'] |
|
|
setV['costcentreCode'] = val[0]['costcentreCode'] |
|
|
setV['costCenterType'] = val[0]['costcentreType'] |
|
|
setV['costCenterType'] = val[0]['costcentreType'] |
|
|
|
|
|
setV['reasonCodeRequisition'] = '' |
|
|
} |
|
|
} |
|
|
if(formField === 'reasonCodeRequisition'){ |
|
|
if(formField === 'reasonCodeRequisition'){ |
|
|
setV['reasonCodeRequisition'] = val[0]['code'] |
|
|
setV['reasonCodeRequisition'] = val[0]['code'] |
|
|