|
@ -190,6 +190,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
} else { |
|
|
} else { |
|
|
row['itemCode'] = val[0]['code'] |
|
|
row['itemCode'] = val[0]['code'] |
|
|
row['uom'] = val[0]['uom'] |
|
|
row['uom'] = val[0]['uom'] |
|
|
|
|
|
row['singlePrice'] = val[0]['price'] |
|
|
} |
|
|
} |
|
|
} else if(formField === 'costcentreCode'){ |
|
|
} else if(formField === 'costcentreCode'){ |
|
|
row['costcentreCode'] = val[0]['costcentreCode'] |
|
|
row['costcentreCode'] = val[0]['costcentreCode'] |
|
|