|
|
@ -211,10 +211,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
row['batch'] = val[0]['batch'] |
|
|
|
row['uom'] = val[0]['uom'] |
|
|
|
row['inventoryStatus'] = val[0]['inventoryStatus'] |
|
|
|
row['fromLocationCode'] = val[0]['locationCode'] |
|
|
|
} else if(formField == 'productionLineCode'){ |
|
|
|
row['productionLineCode'] = val[0]['code'] |
|
|
|
} else if(formField == 'workStationCode'){ |
|
|
|
row['fromLocationCode'] = val[0]['rawLocationCode'] |
|
|
|
row['workStationCode'] = val[0]['code'] |
|
|
|
} else if(formField == 'formField'){ |
|
|
|
row['workStationCode'] = val[0]['code'] |
|
|
@ -242,10 +242,11 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => { |
|
|
|
setV['batch'] = val[0]['batch'] |
|
|
|
setV['uom'] = val[0]['uom'] |
|
|
|
setV['inventoryStatus'] = val[0]['inventoryStatus'] |
|
|
|
setV['fromLocationCode'] = val[0]['locationCode'] |
|
|
|
// setV['fromLocationCode'] = val[0]['locationCode'] |
|
|
|
} else if(formField == 'productionLineCode'){ |
|
|
|
setV['productionLineCode'] = val[0]['code'] |
|
|
|
} else if(formField == 'workStationCode'){ |
|
|
|
setV['fromLocationCode'] = val[0]['rawLocationCode'] |
|
|
|
setV['workStationCode'] = val[0]['code'] |
|
|
|
} else if(formField == 'formField'){ |
|
|
|
setV['workStationCode'] = val[0]['code'] |
|
|
|