|
@ -338,10 +338,12 @@ const searchTableSuccessLabel = (formField, searchField, val, formRef, type, row |
|
|
row[formField] = val[0][searchField] |
|
|
row[formField] = val[0][searchField] |
|
|
if (formField == 'packUnit') { |
|
|
if (formField == 'packUnit') { |
|
|
row['packUnit'] = val[0]['packUnit'] |
|
|
row['packUnit'] = val[0]['packUnit'] |
|
|
|
|
|
row['packName'] = val[0]['packName'] |
|
|
row['packQty'] = val[0]['packQty'] |
|
|
row['packQty'] = val[0]['packQty'] |
|
|
} |
|
|
} |
|
|
if (formField == 'secondPackUnit') { |
|
|
if (formField == 'secondPackUnit') { |
|
|
row['secondPackUnit'] = val[0]['packUnit'] |
|
|
row['secondPackUnit'] = val[0]['packUnit'] |
|
|
|
|
|
row['secondPackName'] = val[0]['packName'] |
|
|
row['secondPackQty'] = val[0]['packQty'] |
|
|
row['secondPackQty'] = val[0]['packQty'] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|