dev #119

Merged
ysCha merged 6 commits from dev into prd-deploy 2025-06-12 13:26:39 +09:00
Showing only changes of commit 2e6fef951c - Show all commits

View File

@ -952,9 +952,18 @@ export default function StuffDetail() {
//
const setZipInfo = (info) => {
setPrefValue(info.prefId)
form.setValue('prefId', info.prefId)
form.setValue('prefName', info.address1)
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)
}