|
@ -126,6 +126,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
console.log(val[0]); |
|
|
console.log(val[0]); |
|
|
setV['areaCode'] = val[0]['code'] |
|
|
setV['areaCode'] = val[0]['code'] |
|
|
setV['areaType'] = val[0]['type'] |
|
|
setV['areaType'] = val[0]['type'] |
|
|
|
|
|
}else if(formField == 'inPackUnit') { |
|
|
|
|
|
setV['inPackUnit'] = val[0]['code'] |
|
|
|
|
|
}else if(formField == 'outPackUnit') { |
|
|
|
|
|
setV['outPackUnit'] = val[0]['code'] |
|
|
}else{ |
|
|
}else{ |
|
|
setV[formField] = setV[0][searchField] |
|
|
setV[formField] = setV[0][searchField] |
|
|
} |
|
|
} |
|
|