Merge pull request 'feature/ysCha' (#117) from feature/ysCha into dev

Reviewed-on: #117
This commit is contained in:
ysCha 2025-06-12 13:10:45 +09:00
commit 2e6fef951c

View File

@ -952,9 +952,18 @@ export default function StuffDetail() {
//
const setZipInfo = (info) => {
setPrefValue(info.prefId)
form.setValue('prefId', info.prefId)
prefCodeList.map((row) => {
if (row.prefName == info.address1) {
setPrefValue(row.prefId)
form.setValue('prefId', row.prefId)
form.setValue('prefName', info.address1)
}
})
//setPrefValue(info.prefId)
// form.setValue('prefId', info.prefId)
// form.setValue('prefName', info.address1)
form.setValue('address', info.address2 + info.address3)
form.setValue('zipNo', info.zipNo)
}