|
|
@ -263,6 +263,7 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => { |
|
|
|
nextTick(() => { |
|
|
|
const setV = {} |
|
|
|
setV[formField] = val[0][searchField] |
|
|
|
if(formField == 'packingNumber'){ |
|
|
|
setV['containerNumber'] = val[0]['containerNumber'] |
|
|
|
setV['itemCode'] = val[0]['itemCode'] |
|
|
|
setV['packingNumber'] = val[0]['packingNumber'] |
|
|
@ -273,6 +274,9 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => { |
|
|
|
setV['fromLocationCode'] = val[0]['locationCode'] |
|
|
|
setV['produceDate'] = val[0]['produceDate'] |
|
|
|
setV['expireDate'] = val[0]['expireDate'] |
|
|
|
}else if(formField == 'bomVersion') { |
|
|
|
setV['bomVersion'] = val[0]['version'] |
|
|
|
} |
|
|
|
formRef.setValues(setV) |
|
|
|
}) |
|
|
|
} |
|
|
|