123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>우편물 발송내역</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <postdelivelist>
- <acptdd/>
- <hngnm/>
- <zipcd1/>
- <zipcd2/>
- <cntcaddr/>
- <delivedd/>
- <deliveflag/>
- <cntctel/>
- <mpphon/>
- <delivecopies/>
- <sendresndd/>
- <postrem/>
- <addr/>
- <zipcdseq/>
- <registerno/>
- <sendresn/>
- <acptseq/>
- <flag/>
- </postdelivelist>
- <lastpage>
- <lastpage/>
- </lastpage>
- </list>
- <info>
- <postdeliveinfo>
- <acptdd/>
- <hngnm/>
- <addr/>
- <cntcaddr/>
- <delivedd/>
- <deliveflag>1</deliveflag>
- <cntctel/>
- <mpphon/>
- <delivecopies/>
- <postrem/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <registerno/>
- <sendresn/>
- <acptseq/>
- <flag/>
- <sendresndd/>
- </postdeliveinfo>
- </info>
- </main>
- <send>
- <srchflag/>
- <hngnm/>
- <cntcaddr/>
- <srchfromdd/>
- <srchtodd/>
- <postdeliveinfo/>
- <flag/>
- </send>
- <init>
- <baseinfo>
- <deliveflag/>
- <sendresn/>
- </baseinfo>
- </init>
- <hidden>
- <getpostdeliveinfo/>
- <paval/>
- </hidden>
- </root>
- </instance>
- <submission id="TRZBC00101"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <submission id="TRAVH00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list/postdelivelist"/>
- <submission id="TXAVH00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/postdeliveinfo" replace="instance" resultref="/root/hidden"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- model.removeNodeset("/root/main/list/postdelivelist");
- // model.setValue("/root/send/srchtodd", getCurrentDate() );
- // model.setValue("/root/send/srchfromdd", getCurrentDate());
- // ipt_fromdd.value = ipt_todd.value.toDate().getAddDate(-1,"M").getDateFormat("YYYYMMDD") ;
-
- zbcfGetCodeList( new Array("A0469", "A0470") , new Array("/root/init/baseinfo/deliveflag", "/root/init/baseinfo/sendresn") );
-
- model.setValue("/root/send/srchflag", "1");
-
- model.refresh();
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- var DbClick_value =0 ;
- /** -------------------------------------------------------------------------------------------
- * 우편물발송내역 list 조회
- ------------------------------------------------------------------------------------------- **/
- function fSearch(page){
-
- //----------------------
- // 이상 페이지 번호 처리
- if(page == "") page = 1;
- if(page < 1) page = 1;
-
- if(page > Number(cap_lastPage.value)) page = Number(cap_lastPage.value);
- if (page == 0) page = 1;
-
- //------------------------------------------------
- // 조회하기 전에 그리드 삭제
- // model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/list/postdelivelist");
- model.removeNodeset("/root/main/list/lastpage/lastpage");
-
- //--------------------------------------------------------------------------------
- model.makeValue("/root/send/srchflag", model.getValue("/root/send/srchflag")); // 구분
- model.makeValue("/root/send/srchfromdd", model.getValue("/root/send/srchfromdd")); // 조회일자(from)
- model.makeValue("/root/send/srchtodd", model.getValue("/root/send/srchtodd")); // 조회일자(to)
- model.makeValue("/root/send/hngnm", model.getValue("/root/send/hngnm")); // 성명
- model.makeValue("/root/send/cntcaddr", model.getValue("/root/send/cntcaddr")); // 주소
- model.makeValue("/root/send/page", 1); // page
- model.makeValue("/root/send/itemlimit", "10000"); // 한그리드에 조회되는 row 수
-
- if(model.getValue("/root/send/srchflag") == "") {
- messageBox("구분을","C002");
- return ;
- }
- submit("TRAVH00101");
-
- ipt_paval.value = 1;
-
- model.refresh();
- }
-
- /* @group : 우편물발송내역
- * @ver : 2008.10.05 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 라벨출력
- */
- function fExePrintLabel(){
- model.makeNode("/root/main/srchflag");
- model.makeNode("/root/main/srchfromdd");
- model.makeNode("/root/main/srchtodd");
- model.makeNode("/root/main/hngnm");
- model.makeNode("/root/main/cntcaddr");
-
- model.setValue("/root/main/srchflag", model.getValue("/root/send/srchflag")); // 구분
- model.setValue("/root/main/srchfromdd", model.getValue("/root/send/srchfromdd")); // FROM 접수일자
- model.setValue("/root/main/srchtodd", model.getValue("/root/send/srchtodd")); // TO 접수일자
- model.setValue("/root/main/hngnm", model.getValue("/root/send/hngnm")); // 성명
- model.setValue("/root/main/cntcaddr", model.getValue("/root/send/cntcaddr")); // 주소
- exeReportPreview("RPAVH00100", "XMLSTR", "/root");
- model.refresh();
- }
-
- /* @group : 우편물발송내역
- * @ver : 2008.10.05 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 엑셀 저장
- */
- function fExeSaveToExcel(){
- var fileName = window.fileDialog("save", ",", false, "우편물발송내역", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "")
- {
- grd_list.saveExcel(fileName);
- }
- }
-
- /* @group : 우편물발송내역
- * @ver : 2008.10.05 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 성명 입력후 엔터키
- */
- function fExeRefValKeyPress(){
- if(event.keyCode == 13) {
- model.setValue("/root/send/hngnm", input1.currentText);
- input1.refresh();
- //---------------------------
- //조회 호출
- fSearch();
- }
- }
-
- /* @group : 우편물발송내역
- * @ver : 2008.10.05 (CMCDEV-0001)
- * @by : 한음미(평화IS)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 주소 입력후 엔터키
- */
- function fExeAddrRefValKeyPress(){
- if(event.keyCode == 13) {
- model.setValue("/root/send/cntcaddr", input2.currentText);
- input2.refresh();
- //---------------------------
- //조회 호출
- fSearch();
- }
- }
- /** -------------------------------------------------------------------------------------------
- * 우편물발송내역 저장
- ------------------------------------------------------------------------------------------- **/
- function fSetdata(){
-
- if (fDatacheck() == false){
- return;
- }
- model.copyNode("/root/send/postdeliveinfo", "/root/main/info/postdeliveinfo");
- model.makeValue("/root/send/postdeliveinfo/flag", "I"); // 입력, 수정
-
- model.setValue("/root/send/srchfromdd", model.getValue("/root/main/info/postdeliveinfo/acptdd"));
- model.setValue("/root/send/srchtodd", model.getValue("/root/main/info/postdeliveinfo/acptdd"));
-
- ret = submit("TXAVH00101");
-
- if( model.getValue("/root/hidden/message/str1") == "true" ){
- messageBox("저장","I002");
- }
- else {
- messageBox("처리되지","E007");
- }
- model.refresh();
- fSearch();
- }
- /** -------------------------------------------------------------------------------------------
- * 우편물발송내역 삭제
- ------------------------------------------------------------------------------------------- **/
- function fDelete(){
- if( messageBox("우편물 발송 내역을" , "Q001" ) == 6 ) {
- var success = true;
- model.copyNode("/root/send/postdeliveinfo", "/root/main/info/postdeliveinfo");
- model.makeValue("/root/send/postdeliveinfo/flag", "D"); // 삭제
- model.resetInstanceNode("/root/main/info/postdeliveinfo");
-
- success = submit("TXAVH00101");
-
- if( success == true ){
- messageBox("삭제","I002");
- }
- else {
- messageBox("처리되지","E007");
- }
-
- fSearch();
- }
- }
- /** -------------------------------------------------------------------------------------------
- * 우편물발송내역 저장
- ------------------------------------------------------------------------------------------- **/
- function fGetDetail(){
- var idx = grd_list.row;
- DbClick_value = idx;
- model.resetInstanceNode("/root/main/info/postdeliveinfo");
- model.copyNode("/root/main/info/postdeliveinfo","/root/main/list/postdelivelist["+idx+"]");
-
- model.refresh();
- }
- /** -------------------------------------------------------------------------------------------
- * 우편물발송내역 화면 전체 초기화
- ------------------------------------------------------------------------------------------- **/
- function fSetClear(){
- model.reset();
- model.setValue("/root/send/srchflag", "2");
- model.refresh();
- }
- /** -------------------------------------------------------------------------------------------
- * 우편물발송내역 저장
- ------------------------------------------------------------------------------------------- **/
- function fDatacheck(){
- //기증자정보 체크
-
- if(model.getValue("/root/main/info/postdeliveinfo/hngnm") == "") {
- messageBox("기증자 성명을","C001");
- return false;
- }
- if(model.getValue("/root/main/info/postdeliveinfo/zipcd1") == "") {
- messageBox("기증자 우편주소를","C001");
- return false;
- }
- if(model.getValue("/root/main/info/postdeliveinfo/zipcd2") == "") {
- messageBox("기증자 우편상제 주소를","C001");
- return false;
- }
- if(isDate(model.getValue("/root/main/info/postdeliveinfo/acptdd")) == false){
- messageBox("접수일자의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
- return false;
- }
-
- if(model.getValue("/root/main/info/postdeliveinfo/acptdd") == "") {
- messageBox("접수일자를","C001");
- return false;
- }
-
- if (isDate(model.getValue("/root/main/info/postdeliveinfo/delivedd")) == false){
- messageBox("발송일자의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
- return false;
- }
-
- //return true;
- }
- /** -------------------------------------------------------------------------------------------
- * 일자 체크
- ------------------------------------------------------------------------------------------- **/
- function isDate(str) { // 날짜 형식에 대한 적합여부 체크
- if (str == "") return true; // 빈건 체크안함
- if (trim(str) == "") return true; // 빈건 체크안함
- if (isNaN(parseInt(str))) return false; // 숫자가 아니면 false
- if (str.length != 8) return false; // 8자리(yyyymmdd)가 아니면 false
-
- var yy = new Number(str.substring(0, 4));
- var mm = new Number(str.substring(4, 6)) - 1;
- var dd = new Number(str.substring(6, 8));
- var date = new Date(yy, mm, dd);
-
- if (yy != date.getFullYear() ||
- mm != date.getMonth() ||
- dd != date.getDate()) {
- return false; // 존재하지 않는 날짜
- }
-
- return true; // 존재하는 날짜
- }
- /** -------------------------------------------------------------------------------------------
- * 문자에 대한 TRIM 작업
- ------------------------------------------------------------------------------------------- **/
- function trim(data){
- return data.replace(/(^\s*)|(\s*$)/g, "");
- }
- /** -------------------------------------------------------------------------------------------
- * 우편번호 불러오기 (팝업 )
- ------------------------------------------------------------------------------------------- **/
- function fGetZipCode(){
- model.setValue("/root/main/info/postdeliveinfo/addr","")
- var cntcaddr = model.getValue("/root/main/info/postdeliveinfo/cntcaddr");
-
- zbcfOpenZipCodeList("combination", "", "/root/main/info/postdeliveinfo/zipcd1" , "/root/main/info/postdeliveinfo/zipcd2",
- "/root/main/info/postdeliveinfo/zipcdseq", "/root/main/info/postdeliveinfo/addr");
- model.makeValue("/root/main/info/postdeliveinfo/cntcaddr", model.getValue("/root/main/info/postdeliveinfo/addr")+cntcaddr);
- model.refresh();
- }
-
- function fGetTestInfoList(page) {
-
- // alert(model.getValue("/root/hidden/paval"));
-
- //----------------------
- // 이상 페이지 번호 처리
- if(page == "") page = 1;
- if(page < 1) page = 1;
-
- if(page > Number(cap_lastPage.value)) page = Number(cap_lastPage.value);
- if (page == 0) page = 1;
-
- // model.removeNodeset("/root/send");
- model.removeNodeset("/root/main/list/postdelivelist");
- model.removeNodeset("/root/main/list/lastpage");
-
- //--------------------------------------------------------------------------------
- model.makeValue("/root/send/srchflag", model.getValue("/root/send/srchflag")); // 구분
- model.makeValue("/root/send/srchfromdd", model.getValue("/root/send/srchfromdd")); // 조회일자(from)
- model.makeValue("/root/send/srchtodd", model.getValue("/root/send/srchtodd")); // 조회일자(to)
- model.makeValue("/root/send/hngnm", model.getValue("/root/send/hngnm")); // 성명
- model.makeValue("/root/send/cntcaddr", model.getValue("/root/send/cntcaddr")); // 주민번호1
- model.makeValue("/root/send/page", page); // page
- model.makeValue("/root/send/itemlimit", "10000"); // 한그리드에 조회되는 row 수
-
- submit("TRAVH00101");
-
- ipt_paval.value = page;
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:754px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">우편물 발송 내역</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:15px; width:1195px; height:744px; ">
- <caption id="caption41" class="tit_2" style="left:5px; top:595px; width:120px; height:13px; ">상세정보</caption>
- <line id="line9" class="line_1" style="x1:0px; y1:610px; x2:981px; y2:610px; "/>
- <input id="ipt_zipcd1" ref="/root/main/info/postdeliveinfo/zipcd1" class="input_default" maxlength="3" format="###" style="left:123px; top:640px; width:42px; height:19px; "/>
- <input id="ipt_zipcd2" ref="/root/main/info/postdeliveinfo/zipcd2" class="input_default" maxlength="3" format="###" style="left:183px; top:640px; width:41px; height:19px; "/>
- <input id="ipt_cntcaddr" ref="/root/main/info/postdeliveinfo/cntcaddr" class="input_default" navindex="17" maxlength="66" style="left:245px; top:640px; width:736px; height:19px; "/>
- <input id="ipt_addr" ref="/root/main/info/postdeliveinfo/addr" class="input_default" visibility="hidden" style="left:983px; top:630px; width:209px; height:19px; "/>
- <input id="ipt_cntctel" ref="/root/main/info/postdeliveinfo/cntctel" class="input_default" navindex="14" maxlength="16" style="left:615px; top:616px; width:120px; height:19px; "/>
- <input id="ipt_hngnm" ref="/root/main/info/postdeliveinfo/hngnm" class="input_default" navindex="13" maxlength="16" style="left:369px; top:616px; width:120px; height:19px; "/>
- <line id="line4" class="line_2" style="x1:5px; y1:637px; x2:758px; y2:637px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:637px; x2:981px; y2:637px; "/>
- <caption id="caption11" class="search_no_b" style="left:168px; top:643px; width:12px; height:17px; text-align:center; ">-</caption>
- <button id="button" class="icon_search" navindex="16" style="left:227px; top:643px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/info/postdeliveinfo/cntcaddr", "");
- fGetZipCode(); // 우편번호조회
- ]]>
- </script>
- </button>
- <line id="line18" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
- <caption id="caption18" class="tit_2" style="left:5px; top:55px; width:150px; height:13px; ">우편물 발송내역</caption>
- <datagrid id="grd_list" nodeset="/root/main/list/postdelivelist" autoresize="true" caption="접수일^성명^우편번호^우편번호^주소^발송일자^발송구분^전화번호^핸드폰번호^부수^반송일자^비고^caption1^caption2^caption3" colsep="^" colwidth="70, 90, 35, 35, 360, 70, 105, 95, 95, 35, 70, 132" dataheight="23" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1195px; height:507px; text-align:center; ">
- <col disabled="true" ref="acptdd" type="input" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
- <col disabled="true" ref="hngnm" type="input" maxlength="50" style="text-align:center; "/>
- <col disabled="true" ref="zipcd1" type="input" maxlength="3"/>
- <col disabled="true" ref="zipcd2" type="input" maxlength="3"/>
- <col disabled="true" ref="cntcaddr" type="input" maxlength="200" style="text-align:left; "/>
- <col disabled="true" ref="delivedd" type="input" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
- <col disabled="true" ref="deliveflag" type="combo">
- <choices>
- <item>
- <label>일반</label>
- <value>1</value>
- </item>
- <item>
- <label>등기</label>
- <value>2</value>
- </item>
- <item>
- <label>일반(장기신청서포함)</label>
- <value>3</value>
- </item>
- <item>
- <label>등기(장기신청서포함)</label>
- <value>4</value>
- </item>
- </choices>
- </col>
- <col disabled="true" ref="cntctel" type="input" maxlength="50" style="text-align:left; "/>
- <col disabled="true" ref="mpphon" type="input" maxlength="50" style="text-align:left; "/>
- <col disabled="true" ref="delivecopies" type="input" maxbyte="6" style="text-align:center; "/>
- <col disabled="true" ref="sendresndd" type="input" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
- <col ref="postrem" maxbyte="150" style="text-align:left; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetDetail();
- ]]>
- </script>
- </datagrid>
- <group id="grp_sea" style="left:1px; top:5px; width:1194px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:543px; top:10px; width:60px; height:17px; ">성명 :</caption>
- <button id="btn_sea" class="btn1_letter2" navindex="6" style="left:940px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSearch(); // 우편물 발송 내여 조회
- ]]>
- </script>
- </button>
- <caption id="caption1" class="search_name" style="left:713px; top:10px; width:60px; height:17px; ">주소 :</caption>
- <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="2" inputtype="date" style="left:320px; top:10px; width:100px; height:19px; "/>
- <caption id="caption5" style="left:420px; top:10px; width:20px; height:20px; ">~</caption>
- <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="3" inputtype="date" style="left:430px; top:10px; width:100px; height:19px; "/>
- <input id="input1" ref="/root/send/hngnm" class="input_search" navindex="4" maxlength="50" style="left:609px; top:10px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExeRefValKeyPress();
- ]]>
- </script>
- </input>
- <input id="input2" ref="/root/send/cntcaddr" class="input_search" navindex="5" maxlength="200" style="left:778px; top:10px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExeAddrRefValKeyPress();
- ]]>
- </script>
- </input>
- <caption id="caption14" class="search_name" style="left:15px; top:10px; width:60px; height:17px; ">구분 :</caption>
- <button id="button2" class="btn4_letter3" navindex="9" style="left:1122px; top:10px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetClear();
-
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" navindex="7" style="left:1006px; top:10px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( fSetdata() ) {
- fSearch(); // 우편물 발송 내여 조회
- };
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:924px; y1:10px; x2:924px; y2:29px; "/>
- <select1 id="rad_srchflag" ref="/root/send/srchflag" appearance="full" cols="3" overflow="visible" style="left:80px; top:10px; width:210px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>접수일자</label>
- <value>1</value>
- </item>
- <item>
- <label>발송일자</label>
- <value>2</value>
- </item>
- <item>
- <label>반송일자</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <button id="btn_delete" class="btn4_letter2" navindex="8" style="left:1064px; top:10px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( fDelete() ) {
- fSearch() // 우편물 발송 내여 조회
- };
- ]]>
- </script>
- </button>
- </group>
- <input id="ipt_acptdd" ref="/root/main/info/postdeliveinfo/acptdd" class="input_default" navindex="12" inputtype="date" style="left:123px; top:616px; width:120px; height:19px; "/>
- <input id="ipt_delivedd" ref="/root/main/info/postdeliveinfo/delivedd" class="input_default" navindex="18" inputtype="date" style="left:123px; top:664px; width:120px; height:19px; "/>
- <input id="ipt_resisterno" ref="/root/main/info/postdeliveinfo/registerno" class="input_default" navindex="20" maxlength="20" style="left:615px; top:664px; width:366px; height:19px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:661px; x2:981px; y2:661px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:685px; x2:981px; y2:685px; "/>
- <select1 id="cmb_deliveflag" ref="/root/main/info/postdeliveinfo/deliveflag" class="combo_default" navindex="19" appearance="minimal" style="left:369px; top:664px; width:120px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value>0</value>
- </item>
- <item>
- <label>일반</label>
- <value>1</value>
- </item>
- <item>
- <label>등기</label>
- <value>2</value>
- </item>
- <item>
- <label>일반(장기신청서 포함)</label>
- <value>3</value>
- </item>
- <item>
- <label>등기(장기신청서 포함)</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_sendresn" ref="/root/main/info/postdeliveinfo/sendresn" class="combo_default" navindex="22" appearance="minimal" style="left:369px; top:688px; width:120px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>수취인불명</label>
- <value>1</value>
- </item>
- <item>
- <label>주소불명</label>
- <value>2</value>
- </item>
- <item>
- <label>이사</label>
- <value>3</value>
- </item>
- <item>
- <label>반송함투여</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <line id="line3" class="line_2" style="x1:0px; y1:709px; x2:981px; y2:709px; "/>
- <input id="ipt_delivecopies" ref="/root/main/info/postdeliveinfo/delivecopies" class="input_default" navindex="21" maxlength="6" format="#,###" style="left:123px; top:688px; width:120px; height:19px; "/>
- <input id="ipt_postrem" ref="/root/main/info/postdeliveinfo/postrem" class="input_default" navindex="24" maxlength="50" style="left:123px; top:712px; width:858px; height:19px; "/>
- <input id="ipt_mpphon" ref="/root/main/info/postdeliveinfo/mpphon" class="input_default" navindex="15" maxlength="16" style="left:861px; top:616px; width:120px; height:19px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:687px; width:120px; height:23px; vertical-align:middle; ">발송부수</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:711px; width:120px; height:23px; vertical-align:middle; ">비고</caption>
- <caption id="caption59" class="cell_1" style="left:0px; top:639px; width:120px; height:23px; vertical-align:middle; ">주소</caption>
- <caption id="caption48" class="cell_1" style="left:0px; top:615px; width:120px; height:23px; vertical-align:middle; ">접수일자</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:663px; width:120px; height:23px; vertical-align:middle; ">발송일자</caption>
- <caption id="caption50" class="cell_1" style="left:492px; top:615px; width:120px; height:23px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption54" class="cell_1" style="left:246px; top:615px; width:120px; height:23px; vertical-align:middle; ">성명</caption>
- <caption id="caption12" class="cell_1" style="left:246px; top:687px; width:120px; height:23px; vertical-align:middle; ">반송사유</caption>
- <caption id="caption13" class="cell_1" style="left:738px; top:615px; width:120px; height:23px; vertical-align:middle; ">핸드폰</caption>
- <caption id="caption8" class="cell_1" style="left:492px; top:663px; width:120px; height:23px; vertical-align:middle; ">등기번호</caption>
- <caption id="caption9" class="cell_1" style="left:246px; top:663px; width:120px; height:23px; vertical-align:middle; ">발송구분</caption>
- <line id="line6" class="line_3" style="x1:0px; y1:733px; x2:981px; y2:733px; "/>
- <button id="button1" class="btn2_letter2" navindex="11" style="left:939px; top:588px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_list.row = 0; //그리드에서 선택된 row 값을 없앤다
- model.resetInstanceNode("/root/main/info/postdeliveinfo");//기증정보 값을 없앤다
- model.makeValue("/root/main/info/postdeliveinfo/acptdd", getCurrentDate() ); //접수일자에 오늘일자 sttting
- model.makeValue("/root/main/info/postdeliveinfo/hngnm", model.getValue("/root/main/info/postdeliveinfo/hngnm")); // 입력된 성명
- model.makeValue("/root/main/info/postdeliveinfo/cntctel", model.getValue("/root/main/info/postdeliveinfo/cntctel")); // 전화번호
- model.makeValue("/root/main/info/postdeliveinfo/mpphon", model.getValue("/root/main/info/postdeliveinfo/mpphon")); // 핸드폰번호
- model.makeValue("/root/main/info/postdeliveinfo/addr", model.getValue("/root/main/info/postdeliveinfo/addr")); // 주소
- model.makeValue("/root/main/info/postdeliveinfo/zipcd1", model.getValue("/root/main/info/postdeliveinfo/zipcd1")); // 우편번호1
- model.makeValue("/root/main/info/postdeliveinfo/zipcd2", model.getValue("/root/main/info/postdeliveinfo/zipcd2")); // 우편번호2
- model.makeValue("/root/main/info/postdeliveinfo/delivedd", getCurrentDate() ); // 발송일자
- model.makeValue("/root/main/info/postdeliveinfo/deliveflag", model.getValue("/root/main/info/postdeliveinfo/deliveflag")); // 발송구분
- model.makeValue("/root/main/info/postdeliveinfo/registerno", model.getValue("/root/main/info/postdeliveinfo/registerno")); // 등기번호
- model.makeValue("/root/main/info/postdeliveinfo/delivecopies", model.getValue("/root/main/info/postdeliveinfo/delivecopies")); // 발송부수
- model.makeValue("/root/main/info/postdeliveinfo/sendresn", model.getValue("/root/main/info/postdeliveinfo/sendresn")); // 반송사유
- model.makeValue("/root/main/info/postdeliveinfo/postrem", model.getValue("/root/main/info/postdeliveinfo/postrem")); // 비고
-
- model.refresh();
-
- //----------------------------------------------------------------
- //2008.11.19 한음미 수정
- // grd_list.row = 0; //그리드에서 선택된 row 값을 없앤다
- // model.resetInstanceNode("/root/main/info/donat");//기증정보 값을 없앤다
- // model.setValue("/root/main/info/donat/rgstdd", getCurrentDate() ); //등록일자에 오늘일자 sttting
- // model.setValue("/root/main/info/donat/acptdd", getCurrentDate() ); //접수일자에 오늘일자 sttting
- // model.resetInstanceNode("/root/main/info/famyaprv");//기족동의 값을 없앤다
- //
- //
- // model.toggle("case1");
- // btn_menu1.selected = true;
- // btn_menu2.selected = false;
- //
- // model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn2_letter4" navindex="10" style="left:1126px; top:49px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeSaveToExcel();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter4" navindex="12" style="left:1059; top:49; width:64px; height:19px; ">
- <caption>라벨출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExePrintLabel();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn4_letter2" style="left:376px; top:47; width:56px; height:22px; ">
- <caption>다음</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTestInfoList(Number(model.getValue("/root/hidden/paval")) + 1);
- ]]>
- </script>
- </button>
- <input id="ipt_paval" ref="/root/hidden/paval" class="input_search" style="left:246px; top:47; width:65px; height:19px; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetTestInfoList(model.getValue("/root/hidden/paval"));
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13 && ipt_paval.currentText != ipt_paval.value) {
- model.setValue("/root/hidden/paval", ipt_paval.currentText);
- ipt_paval.dispatch("xforms-value-changed");
- }
- else if(event.keyCode != 8 && (event.keyCode < 48 || event.keyCode > 57)) {
- event.defaultAction = "cancel";
- }
- ]]>
- </script>
- </input>
- <button id="button6" class="btn3_letter2" style="left:128px; top:47; width:56px; height:22px; ">
- <caption>처음</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTestInfoList(1);
- ]]>
- </script>
- </button>
- <button id="button7" class="btn4_letter2" style="left:435px; top:47; width:56px; height:22px; ">
- <caption>최종</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTestInfoList(model.getValue("/root/main/list/lastpage/lastpage"));
- ]]>
- </script>
- </button>
- <caption id="cap_lastPage" ref="/root/main/list/lastpage/lastpage" style="left:321px; top:47; width:60px; height:20px; font-size:9pt; font-weight:bold; ">1</caption>
- <caption id="caption15" style="left:313px; top:47; width:11px; height:20px; font-size:9pt; font-weight:bold; ">/</caption>
- <button id="btn_prntexcel" class="btn3_letter2" style="left:187px; top:47; width:56px; height:22px; ">
- <caption>이전</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetTestInfoList(Number(model.getValue("/root/hidden/paval")) - 1);
- ]]>
- </script>
- </button>
- <caption id="caption4" style="left:305px; top:15px; width:11px; height:20px; font-size:9pt; font-weight:bold; ">:</caption>
- <input id="cmb_sendresndd" ref="/root/main/info/postdeliveinfo/sendresndd" class="input_default" navindex="23" inputtype="date" style="left:615px; top:688px; width:120px; height:19px; "/>
- <caption id="caption16" class="cell_1" style="left:492px; top:687px; width:120px; height:23px; vertical-align:middle; ">반송일자</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|