diff --git a/src/main/resources/templates/community/save.html b/src/main/resources/templates/community/save.html index bd7aae2..41f6fa0 100644 --- a/src/main/resources/templates/community/save.html +++ b/src/main/resources/templates/community/save.html @@ -188,9 +188,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/community/update.html b/src/main/resources/templates/community/update.html index d535218..530a407 100644 --- a/src/main/resources/templates/community/update.html +++ b/src/main/resources/templates/community/update.html @@ -195,9 +195,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#locationName').val(areaName); } - $('#locationCode').val(areaCode); - $('#locationName').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/residential/save.html b/src/main/resources/templates/residential/save.html index 2e91b30..5ca79a4 100644 --- a/src/main/resources/templates/residential/save.html +++ b/src/main/resources/templates/residential/save.html @@ -224,9 +224,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } }) diff --git a/src/main/resources/templates/residential/update.html b/src/main/resources/templates/residential/update.html index cf4d9b1..532f266 100644 --- a/src/main/resources/templates/residential/update.html +++ b/src/main/resources/templates/residential/update.html @@ -236,9 +236,9 @@ } areaName += item.areaName; } + $('#locationCode').val(areaCode); + $('#location').val(areaName); } - $('#locationCode').val(areaCode); - $('#location').val(areaName); initGridSelect(areaCode); } })