fnReturn 에서 주소, 상세 주소 부분 수정.

main
jjh 1 year ago
parent c40e0fc638
commit f59a72b8e5

@ -139,6 +139,7 @@ var addrControl = new DatasetControl({
keymapper : info => info ? info.TEMP_ID : "", keymapper : info => info ? info.TEMP_ID : "",
formats: {} formats: {}
}); });
/************************************************************************** /**************************************************************************
* DatasetControl.on * DatasetControl.on
**************************************************************************/ **************************************************************************/
@ -259,15 +260,14 @@ function fnClickAddrList(tempId){
} }
function fnReturn(){ function fnReturn(){
var addrObj = {}; var addrObj = {};
addrObj = addrControl.dataset.getCurrent(); addrObj = addrControl.dataset.getCurrent();
addrObj.etcAddr = $("#etcAddr").val(); addrObj.etcAddr = $("#etcAddr").val();
addrObj.ZIP = addrObj.zipNo; addrObj.ZIP = addrObj.zipNo;
addrObj.ADDR = addrObj.roadAddr; addrObj.ADDR = addrObj.roadAddrPart1;
addrObj.DTL_ADDR = addrObj.etcAddr; addrObj.DTL_ADDR = addrObj.etcAddr + addrObj.roadAddrPart2;
addrObj.ROAD_NM_CD = addrObj.rnMgtSn; addrObj.ROAD_NM_CD = addrObj.rnMgtSn;
addrObj.UDGD_SE_CD = addrObj.udrtYn; addrObj.UDGD_SE_CD = addrObj.udrtYn;
addrObj.BMNO = addrObj.buldMnnm; addrObj.BMNO = addrObj.buldMnnm;
@ -293,4 +293,3 @@ $("#list").hide();
</script> </script>
</body> </body>
</html> </html>
Loading…
Cancel
Save