|
@ -230,6 +230,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
row['uom'] = val[0]['uom'] |
|
|
row['uom'] = val[0]['uom'] |
|
|
row['inventoryStatus'] = val[0]['inventoryStatus'] |
|
|
row['inventoryStatus'] = val[0]['inventoryStatus'] |
|
|
row['fgFromLocationCode'] = val[0]['locationCode'] |
|
|
row['fgFromLocationCode'] = val[0]['locationCode'] |
|
|
|
|
|
row['bomVersion'] = '' |
|
|
|
|
|
row['childList'] = [] |
|
|
} else if(formField == 'productionLineCode'){ |
|
|
} else if(formField == 'productionLineCode'){ |
|
|
row['productionLineCode'] = val[0]['code'] |
|
|
row['productionLineCode'] = val[0]['code'] |
|
|
} else if(formField == 'workStationCode'){ |
|
|
} else if(formField == 'workStationCode'){ |
|
@ -263,6 +265,8 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => { |
|
|
setV['inventoryStatus'] = val[0]['inventoryStatus'] |
|
|
setV['inventoryStatus'] = val[0]['inventoryStatus'] |
|
|
setV['fgFromLocationCode'] = val[0]['locationCode'] |
|
|
setV['fgFromLocationCode'] = val[0]['locationCode'] |
|
|
// setV['fromLocationCode'] = val[0]['locationCode'] |
|
|
// setV['fromLocationCode'] = val[0]['locationCode'] |
|
|
|
|
|
setV['bomVersion'] = '' |
|
|
|
|
|
setV['childList'] = [] |
|
|
} else if(formField == 'productionLineCode'){ |
|
|
} else if(formField == 'productionLineCode'){ |
|
|
setV['productionLineCode'] = val[0]['code'] |
|
|
setV['productionLineCode'] = val[0]['code'] |
|
|
} else if(formField == 'workStationCode'){ |
|
|
} else if(formField == 'workStationCode'){ |
|
|