|
@ -179,6 +179,10 @@ const formsSuccess = async (formType,data) => { |
|
|
const searchTableSuccess = (formField, searchField, val, formRef) => { |
|
|
const searchTableSuccess = (formField, searchField, val, formRef) => { |
|
|
nextTick(() => { |
|
|
nextTick(() => { |
|
|
const setV = {} |
|
|
const setV = {} |
|
|
|
|
|
if(formField == 'itemCode'){ |
|
|
|
|
|
console.log(val); |
|
|
|
|
|
setV['cusotmerUom'] = val[0]['uom'] |
|
|
|
|
|
} |
|
|
setV[formField] = val[0][searchField] |
|
|
setV[formField] = val[0][searchField] |
|
|
formRef.setValues(setV) |
|
|
formRef.setValues(setV) |
|
|
}) |
|
|
}) |
|
|