SMAVH00100_우편물발송내역.xrw 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>우편물 발송내역</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <postdelivelist>
  12. <acptdd/>
  13. <hngnm/>
  14. <zipcd1/>
  15. <zipcd2/>
  16. <cntcaddr/>
  17. <delivedd/>
  18. <deliveflag/>
  19. <cntctel/>
  20. <mpphon/>
  21. <delivecopies/>
  22. <sendresndd/>
  23. <postrem/>
  24. <addr/>
  25. <zipcdseq/>
  26. <registerno/>
  27. <sendresn/>
  28. <acptseq/>
  29. <flag/>
  30. </postdelivelist>
  31. <lastpage>
  32. <lastpage/>
  33. </lastpage>
  34. </list>
  35. <info>
  36. <postdeliveinfo>
  37. <acptdd/>
  38. <hngnm/>
  39. <addr/>
  40. <cntcaddr/>
  41. <delivedd/>
  42. <deliveflag>1</deliveflag>
  43. <cntctel/>
  44. <mpphon/>
  45. <delivecopies/>
  46. <postrem/>
  47. <zipcd1/>
  48. <zipcd2/>
  49. <zipcdseq/>
  50. <registerno/>
  51. <sendresn/>
  52. <acptseq/>
  53. <flag/>
  54. <sendresndd/>
  55. </postdeliveinfo>
  56. </info>
  57. </main>
  58. <send>
  59. <srchflag/>
  60. <hngnm/>
  61. <cntcaddr/>
  62. <srchfromdd/>
  63. <srchtodd/>
  64. <postdeliveinfo/>
  65. <flag/>
  66. </send>
  67. <init>
  68. <baseinfo>
  69. <deliveflag/>
  70. <sendresn/>
  71. </baseinfo>
  72. </init>
  73. <hidden>
  74. <getpostdeliveinfo/>
  75. <paval/>
  76. </hidden>
  77. </root>
  78. </instance>
  79. <submission id="TRZBC00101"/>
  80. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  83. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  84. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  86. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  87. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  88. <submission id="TRAVH00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list/postdelivelist"/>
  89. <submission id="TXAVH00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/postdeliveinfo" replace="instance" resultref="/root/hidden"/>
  90. <script type="javascript" ev:event="xforms-ready">
  91. <![CDATA[
  92. model.removeNodeset("/root/main/list/postdelivelist");
  93. // model.setValue("/root/send/srchtodd", getCurrentDate() );
  94. // model.setValue("/root/send/srchfromdd", getCurrentDate());
  95. // ipt_fromdd.value = ipt_todd.value.toDate().getAddDate(-1,"M").getDateFormat("YYYYMMDD") ;
  96. zbcfGetCodeList( new Array("A0469", "A0470") , new Array("/root/init/baseinfo/deliveflag", "/root/init/baseinfo/sendresn") );
  97. model.setValue("/root/send/srchflag", "1");
  98. model.refresh();
  99. ]]>
  100. </script>
  101. </model>
  102. <script type="javascript">
  103. <![CDATA[
  104. var DbClick_value =0 ;
  105. /** -------------------------------------------------------------------------------------------
  106. * 우편물발송내역 list 조회
  107. ------------------------------------------------------------------------------------------- **/
  108. function fSearch(page){
  109. //----------------------
  110. // 이상 페이지 번호 처리
  111. if(page == "") page = 1;
  112. if(page < 1) page = 1;
  113. if(page > Number(cap_lastPage.value)) page = Number(cap_lastPage.value);
  114. if (page == 0) page = 1;
  115. //------------------------------------------------
  116. // 조회하기 전에 그리드 삭제
  117. // model.removeNodeset("/root/send");
  118. model.removeNodeset("/root/main/list/postdelivelist");
  119. model.removeNodeset("/root/main/list/lastpage/lastpage");
  120. //--------------------------------------------------------------------------------
  121. model.makeValue("/root/send/srchflag", model.getValue("/root/send/srchflag")); // 구분
  122. model.makeValue("/root/send/srchfromdd", model.getValue("/root/send/srchfromdd")); // 조회일자(from)
  123. model.makeValue("/root/send/srchtodd", model.getValue("/root/send/srchtodd")); // 조회일자(to)
  124. model.makeValue("/root/send/hngnm", model.getValue("/root/send/hngnm")); // 성명
  125. model.makeValue("/root/send/cntcaddr", model.getValue("/root/send/cntcaddr")); // 주소
  126. model.makeValue("/root/send/page", 1); // page
  127. model.makeValue("/root/send/itemlimit", "10000"); // 한그리드에 조회되는 row 수
  128. if(model.getValue("/root/send/srchflag") == "") {
  129. messageBox("구분을","C002");
  130. return ;
  131. }
  132. submit("TRAVH00101");
  133. ipt_paval.value = 1;
  134. model.refresh();
  135. }
  136. /* @group : 우편물발송내역
  137. * @ver : 2008.10.05 (CMCDEV-0001)
  138. * @by : 한음미(평화IS)
  139. * @-----------------------------------
  140. * @type : function
  141. * @access : public
  142. * @desc : 라벨출력
  143. */
  144. function fExePrintLabel(){
  145. model.makeNode("/root/main/srchflag");
  146. model.makeNode("/root/main/srchfromdd");
  147. model.makeNode("/root/main/srchtodd");
  148. model.makeNode("/root/main/hngnm");
  149. model.makeNode("/root/main/cntcaddr");
  150. model.setValue("/root/main/srchflag", model.getValue("/root/send/srchflag")); // 구분
  151. model.setValue("/root/main/srchfromdd", model.getValue("/root/send/srchfromdd")); // FROM 접수일자
  152. model.setValue("/root/main/srchtodd", model.getValue("/root/send/srchtodd")); // TO 접수일자
  153. model.setValue("/root/main/hngnm", model.getValue("/root/send/hngnm")); // 성명
  154. model.setValue("/root/main/cntcaddr", model.getValue("/root/send/cntcaddr")); // 주소
  155. exeReportPreview("RPAVH00100", "XMLSTR", "/root");
  156. model.refresh();
  157. }
  158. /* @group : 우편물발송내역
  159. * @ver : 2008.10.05 (CMCDEV-0001)
  160. * @by : 한음미(평화IS)
  161. * @-----------------------------------
  162. * @type : function
  163. * @access : public
  164. * @desc : 엑셀 저장
  165. */
  166. function fExeSaveToExcel(){
  167. var fileName = window.fileDialog("save", ",", false, "우편물발송내역", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  168. if (fileName != "")
  169. {
  170. grd_list.saveExcel(fileName);
  171. }
  172. }
  173. /* @group : 우편물발송내역
  174. * @ver : 2008.10.05 (CMCDEV-0001)
  175. * @by : 한음미(평화IS)
  176. * @-----------------------------------
  177. * @type : function
  178. * @access : public
  179. * @desc : 성명 입력후 엔터키
  180. */
  181. function fExeRefValKeyPress(){
  182. if(event.keyCode == 13) {
  183. model.setValue("/root/send/hngnm", input1.currentText);
  184. input1.refresh();
  185. //---------------------------
  186. //조회 호출
  187. fSearch();
  188. }
  189. }
  190. /* @group : 우편물발송내역
  191. * @ver : 2008.10.05 (CMCDEV-0001)
  192. * @by : 한음미(평화IS)
  193. * @-----------------------------------
  194. * @type : function
  195. * @access : public
  196. * @desc : 주소 입력후 엔터키
  197. */
  198. function fExeAddrRefValKeyPress(){
  199. if(event.keyCode == 13) {
  200. model.setValue("/root/send/cntcaddr", input2.currentText);
  201. input2.refresh();
  202. //---------------------------
  203. //조회 호출
  204. fSearch();
  205. }
  206. }
  207. /** -------------------------------------------------------------------------------------------
  208. * 우편물발송내역 저장
  209. ------------------------------------------------------------------------------------------- **/
  210. function fSetdata(){
  211. if (fDatacheck() == false){
  212. return;
  213. }
  214. model.copyNode("/root/send/postdeliveinfo", "/root/main/info/postdeliveinfo");
  215. model.makeValue("/root/send/postdeliveinfo/flag", "I"); // 입력, 수정
  216. model.setValue("/root/send/srchfromdd", model.getValue("/root/main/info/postdeliveinfo/acptdd"));
  217. model.setValue("/root/send/srchtodd", model.getValue("/root/main/info/postdeliveinfo/acptdd"));
  218. ret = submit("TXAVH00101");
  219. if( model.getValue("/root/hidden/message/str1") == "true" ){
  220. messageBox("저장","I002");
  221. }
  222. else {
  223. messageBox("처리되지","E007");
  224. }
  225. model.refresh();
  226. fSearch();
  227. }
  228. /** -------------------------------------------------------------------------------------------
  229. * 우편물발송내역 삭제
  230. ------------------------------------------------------------------------------------------- **/
  231. function fDelete(){
  232. if( messageBox("우편물 발송 내역을" , "Q001" ) == 6 ) {
  233. var success = true;
  234. model.copyNode("/root/send/postdeliveinfo", "/root/main/info/postdeliveinfo");
  235. model.makeValue("/root/send/postdeliveinfo/flag", "D"); // 삭제
  236. model.resetInstanceNode("/root/main/info/postdeliveinfo");
  237. success = submit("TXAVH00101");
  238. if( success == true ){
  239. messageBox("삭제","I002");
  240. }
  241. else {
  242. messageBox("처리되지","E007");
  243. }
  244. fSearch();
  245. }
  246. }
  247. /** -------------------------------------------------------------------------------------------
  248. * 우편물발송내역 저장
  249. ------------------------------------------------------------------------------------------- **/
  250. function fGetDetail(){
  251. var idx = grd_list.row;
  252. DbClick_value = idx;
  253. model.resetInstanceNode("/root/main/info/postdeliveinfo");
  254. model.copyNode("/root/main/info/postdeliveinfo","/root/main/list/postdelivelist["+idx+"]");
  255. model.refresh();
  256. }
  257. /** -------------------------------------------------------------------------------------------
  258. * 우편물발송내역 화면 전체 초기화
  259. ------------------------------------------------------------------------------------------- **/
  260. function fSetClear(){
  261. model.reset();
  262. model.setValue("/root/send/srchflag", "2");
  263. model.refresh();
  264. }
  265. /** -------------------------------------------------------------------------------------------
  266. * 우편물발송내역 저장
  267. ------------------------------------------------------------------------------------------- **/
  268. function fDatacheck(){
  269. //기증자정보 체크
  270. if(model.getValue("/root/main/info/postdeliveinfo/hngnm") == "") {
  271. messageBox("기증자 성명을","C001");
  272. return false;
  273. }
  274. if(model.getValue("/root/main/info/postdeliveinfo/zipcd1") == "") {
  275. messageBox("기증자 우편주소를","C001");
  276. return false;
  277. }
  278. if(model.getValue("/root/main/info/postdeliveinfo/zipcd2") == "") {
  279. messageBox("기증자 우편상제 주소를","C001");
  280. return false;
  281. }
  282. if(isDate(model.getValue("/root/main/info/postdeliveinfo/acptdd")) == false){
  283. messageBox("접수일자의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
  284. return false;
  285. }
  286. if(model.getValue("/root/main/info/postdeliveinfo/acptdd") == "") {
  287. messageBox("접수일자를","C001");
  288. return false;
  289. }
  290. if (isDate(model.getValue("/root/main/info/postdeliveinfo/delivedd")) == false){
  291. messageBox("발송일자의 날짜 형식이 잘못 입력되었습니다.", "E999", "");
  292. return false;
  293. }
  294. //return true;
  295. }
  296. /** -------------------------------------------------------------------------------------------
  297. * 일자 체크
  298. ------------------------------------------------------------------------------------------- **/
  299. function isDate(str) { // 날짜 형식에 대한 적합여부 체크
  300. if (str == "") return true; // 빈건 체크안함
  301. if (trim(str) == "") return true; // 빈건 체크안함
  302. if (isNaN(parseInt(str))) return false; // 숫자가 아니면 false
  303. if (str.length != 8) return false; // 8자리(yyyymmdd)가 아니면 false
  304. var yy = new Number(str.substring(0, 4));
  305. var mm = new Number(str.substring(4, 6)) - 1;
  306. var dd = new Number(str.substring(6, 8));
  307. var date = new Date(yy, mm, dd);
  308. if (yy != date.getFullYear() ||
  309. mm != date.getMonth() ||
  310. dd != date.getDate()) {
  311. return false; // 존재하지 않는 날짜
  312. }
  313. return true; // 존재하는 날짜
  314. }
  315. /** -------------------------------------------------------------------------------------------
  316. * 문자에 대한 TRIM 작업
  317. ------------------------------------------------------------------------------------------- **/
  318. function trim(data){
  319. return data.replace(/(^\s*)|(\s*$)/g, "");
  320. }
  321. /** -------------------------------------------------------------------------------------------
  322. * 우편번호 불러오기 (팝업 )
  323. ------------------------------------------------------------------------------------------- **/
  324. function fGetZipCode(){
  325. model.setValue("/root/main/info/postdeliveinfo/addr","")
  326. var cntcaddr = model.getValue("/root/main/info/postdeliveinfo/cntcaddr");
  327. zbcfOpenZipCodeList("combination", "", "/root/main/info/postdeliveinfo/zipcd1" , "/root/main/info/postdeliveinfo/zipcd2",
  328. "/root/main/info/postdeliveinfo/zipcdseq", "/root/main/info/postdeliveinfo/addr");
  329. model.makeValue("/root/main/info/postdeliveinfo/cntcaddr", model.getValue("/root/main/info/postdeliveinfo/addr")+cntcaddr);
  330. model.refresh();
  331. }
  332. function fGetTestInfoList(page) {
  333. // alert(model.getValue("/root/hidden/paval"));
  334. //----------------------
  335. // 이상 페이지 번호 처리
  336. if(page == "") page = 1;
  337. if(page < 1) page = 1;
  338. if(page > Number(cap_lastPage.value)) page = Number(cap_lastPage.value);
  339. if (page == 0) page = 1;
  340. // model.removeNodeset("/root/send");
  341. model.removeNodeset("/root/main/list/postdelivelist");
  342. model.removeNodeset("/root/main/list/lastpage");
  343. //--------------------------------------------------------------------------------
  344. model.makeValue("/root/send/srchflag", model.getValue("/root/send/srchflag")); // 구분
  345. model.makeValue("/root/send/srchfromdd", model.getValue("/root/send/srchfromdd")); // 조회일자(from)
  346. model.makeValue("/root/send/srchtodd", model.getValue("/root/send/srchtodd")); // 조회일자(to)
  347. model.makeValue("/root/send/hngnm", model.getValue("/root/send/hngnm")); // 성명
  348. model.makeValue("/root/send/cntcaddr", model.getValue("/root/send/cntcaddr")); // 주민번호1
  349. model.makeValue("/root/send/page", page); // page
  350. model.makeValue("/root/send/itemlimit", "10000"); // 한그리드에 조회되는 row 수
  351. submit("TRAVH00101");
  352. ipt_paval.value = page;
  353. }
  354. ]]>
  355. </script>
  356. </xhtml:head>
  357. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  358. <group id="grp_tle" style="left:0px; top:0px; width:754px; height:13px; ">
  359. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">우편물 발송 내역</caption>
  360. </group>
  361. <group id="grp_biz" scroll="auto" style="left:0px; top:15px; width:1195px; height:744px; ">
  362. <caption id="caption41" class="tit_2" style="left:5px; top:595px; width:120px; height:13px; ">상세정보</caption>
  363. <line id="line9" class="line_1" style="x1:0px; y1:610px; x2:981px; y2:610px; "/>
  364. <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; "/>
  365. <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; "/>
  366. <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; "/>
  367. <input id="ipt_addr" ref="/root/main/info/postdeliveinfo/addr" class="input_default" visibility="hidden" style="left:983px; top:630px; width:209px; height:19px; "/>
  368. <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; "/>
  369. <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; "/>
  370. <line id="line4" class="line_2" style="x1:5px; y1:637px; x2:758px; y2:637px; "/>
  371. <line id="line5" class="line_2" style="x1:0px; y1:637px; x2:981px; y2:637px; "/>
  372. <caption id="caption11" class="search_no_b" style="left:168px; top:643px; width:12px; height:17px; text-align:center; ">-</caption>
  373. <button id="button" class="icon_search" navindex="16" style="left:227px; top:643px; width:16px; height:16px; ">
  374. <caption/>
  375. <script type="javascript" ev:event="onclick">
  376. <![CDATA[
  377. model.setValue("/root/main/info/postdeliveinfo/cntcaddr", "");
  378. fGetZipCode(); // 우편번호조회
  379. ]]>
  380. </script>
  381. </button>
  382. <line id="line18" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
  383. <caption id="caption18" class="tit_2" style="left:5px; top:55px; width:150px; height:13px; ">우편물 발송내역</caption>
  384. <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; ">
  385. <col disabled="true" ref="acptdd" type="input" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
  386. <col disabled="true" ref="hngnm" type="input" maxlength="50" style="text-align:center; "/>
  387. <col disabled="true" ref="zipcd1" type="input" maxlength="3"/>
  388. <col disabled="true" ref="zipcd2" type="input" maxlength="3"/>
  389. <col disabled="true" ref="cntcaddr" type="input" maxlength="200" style="text-align:left; "/>
  390. <col disabled="true" ref="delivedd" type="input" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
  391. <col disabled="true" ref="deliveflag" type="combo">
  392. <choices>
  393. <item>
  394. <label>일반</label>
  395. <value>1</value>
  396. </item>
  397. <item>
  398. <label>등기</label>
  399. <value>2</value>
  400. </item>
  401. <item>
  402. <label>일반(장기신청서포함)</label>
  403. <value>3</value>
  404. </item>
  405. <item>
  406. <label>등기(장기신청서포함)</label>
  407. <value>4</value>
  408. </item>
  409. </choices>
  410. </col>
  411. <col disabled="true" ref="cntctel" type="input" maxlength="50" style="text-align:left; "/>
  412. <col disabled="true" ref="mpphon" type="input" maxlength="50" style="text-align:left; "/>
  413. <col disabled="true" ref="delivecopies" type="input" maxbyte="6" style="text-align:center; "/>
  414. <col disabled="true" ref="sendresndd" type="input" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
  415. <col ref="postrem" maxbyte="150" style="text-align:left; "/>
  416. <script type="javascript" ev:event="onclick">
  417. <![CDATA[
  418. fGetDetail();
  419. ]]>
  420. </script>
  421. </datagrid>
  422. <group id="grp_sea" style="left:1px; top:5px; width:1194px; height:40px; vertical-align:top; ">
  423. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  424. <caption id="caption2" class="search_name" style="left:543px; top:10px; width:60px; height:17px; ">성명 :</caption>
  425. <button id="btn_sea" class="btn1_letter2" navindex="6" style="left:940px; top:10px; width:56px; height:22px; ">
  426. <caption>조회</caption>
  427. <script type="javascript" ev:event="onclick">
  428. <![CDATA[
  429. fSearch(); // 우편물 발송 내여 조회
  430. ]]>
  431. </script>
  432. </button>
  433. <caption id="caption1" class="search_name" style="left:713px; top:10px; width:60px; height:17px; ">주소 :</caption>
  434. <input id="ipt_fromdd" ref="/root/send/srchfromdd" class="input_default" navindex="2" inputtype="date" style="left:320px; top:10px; width:100px; height:19px; "/>
  435. <caption id="caption5" style="left:420px; top:10px; width:20px; height:20px; ">~</caption>
  436. <input id="ipt_todd" ref="/root/send/srchtodd" class="input_default" navindex="3" inputtype="date" style="left:430px; top:10px; width:100px; height:19px; "/>
  437. <input id="input1" ref="/root/send/hngnm" class="input_search" navindex="4" maxlength="50" style="left:609px; top:10px; width:90px; height:19px; ">
  438. <script type="javascript" ev:event="onkeypress">
  439. <![CDATA[
  440. fExeRefValKeyPress();
  441. ]]>
  442. </script>
  443. </input>
  444. <input id="input2" ref="/root/send/cntcaddr" class="input_search" navindex="5" maxlength="200" style="left:778px; top:10px; width:130px; height:19px; ">
  445. <script type="javascript" ev:event="onkeypress">
  446. <![CDATA[
  447. fExeAddrRefValKeyPress();
  448. ]]>
  449. </script>
  450. </input>
  451. <caption id="caption14" class="search_name" style="left:15px; top:10px; width:60px; height:17px; ">구분 :</caption>
  452. <button id="button2" class="btn4_letter3" navindex="9" style="left:1122px; top:10px; width:68px; height:22px; ">
  453. <caption>초기화</caption>
  454. <script type="javascript" ev:event="onclick">
  455. <![CDATA[
  456. fSetClear();
  457. ]]>
  458. </script>
  459. </button>
  460. <button id="btn_save" class="btn4_letter2" navindex="7" style="left:1006px; top:10px; width:56px; height:22px; ">
  461. <caption>저장</caption>
  462. <script type="javascript" ev:event="onclick">
  463. <![CDATA[
  464. if ( fSetdata() ) {
  465. fSearch(); // 우편물 발송 내여 조회
  466. };
  467. ]]>
  468. </script>
  469. </button>
  470. <line id="line13" class="line_4" style="x1:924px; y1:10px; x2:924px; y2:29px; "/>
  471. <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; ">
  472. <choices>
  473. <item>
  474. <label>접수일자</label>
  475. <value>1</value>
  476. </item>
  477. <item>
  478. <label>발송일자</label>
  479. <value>2</value>
  480. </item>
  481. <item>
  482. <label>반송일자</label>
  483. <value>3</value>
  484. </item>
  485. </choices>
  486. </select1>
  487. <button id="btn_delete" class="btn4_letter2" navindex="8" style="left:1064px; top:10px; width:56px; height:22px; ">
  488. <caption>삭제</caption>
  489. <script type="javascript" ev:event="DOMActivate">
  490. <![CDATA[
  491. if ( fDelete() ) {
  492. fSearch() // 우편물 발송 내여 조회
  493. };
  494. ]]>
  495. </script>
  496. </button>
  497. </group>
  498. <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; "/>
  499. <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; "/>
  500. <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; "/>
  501. <line id="line1" class="line_2" style="x1:0px; y1:661px; x2:981px; y2:661px; "/>
  502. <line id="line2" class="line_2" style="x1:0px; y1:685px; x2:981px; y2:685px; "/>
  503. <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; ">
  504. <choices>
  505. <item>
  506. <label/>
  507. <value>0</value>
  508. </item>
  509. <item>
  510. <label>일반</label>
  511. <value>1</value>
  512. </item>
  513. <item>
  514. <label>등기</label>
  515. <value>2</value>
  516. </item>
  517. <item>
  518. <label>일반(장기신청서 포함)</label>
  519. <value>3</value>
  520. </item>
  521. <item>
  522. <label>등기(장기신청서 포함)</label>
  523. <value>4</value>
  524. </item>
  525. </choices>
  526. </select1>
  527. <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; ">
  528. <choices>
  529. <item>
  530. <label/>
  531. <value/>
  532. </item>
  533. <item>
  534. <label>수취인불명</label>
  535. <value>1</value>
  536. </item>
  537. <item>
  538. <label>주소불명</label>
  539. <value>2</value>
  540. </item>
  541. <item>
  542. <label>이사</label>
  543. <value>3</value>
  544. </item>
  545. <item>
  546. <label>반송함투여</label>
  547. <value>4</value>
  548. </item>
  549. </choices>
  550. </select1>
  551. <line id="line3" class="line_2" style="x1:0px; y1:709px; x2:981px; y2:709px; "/>
  552. <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; "/>
  553. <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; "/>
  554. <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; "/>
  555. <caption id="caption10" class="cell_1" style="left:0px; top:687px; width:120px; height:23px; vertical-align:middle; ">발송부수</caption>
  556. <caption id="caption3" class="cell_1" style="left:0px; top:711px; width:120px; height:23px; vertical-align:middle; ">비고</caption>
  557. <caption id="caption59" class="cell_1" style="left:0px; top:639px; width:120px; height:23px; vertical-align:middle; ">주소</caption>
  558. <caption id="caption48" class="cell_1" style="left:0px; top:615px; width:120px; height:23px; vertical-align:middle; ">접수일자</caption>
  559. <caption id="caption7" class="cell_1" style="left:0px; top:663px; width:120px; height:23px; vertical-align:middle; ">발송일자</caption>
  560. <caption id="caption50" class="cell_1" style="left:492px; top:615px; width:120px; height:23px; vertical-align:middle; ">전화번호</caption>
  561. <caption id="caption54" class="cell_1" style="left:246px; top:615px; width:120px; height:23px; vertical-align:middle; ">성명</caption>
  562. <caption id="caption12" class="cell_1" style="left:246px; top:687px; width:120px; height:23px; vertical-align:middle; ">반송사유</caption>
  563. <caption id="caption13" class="cell_1" style="left:738px; top:615px; width:120px; height:23px; vertical-align:middle; ">핸드폰</caption>
  564. <caption id="caption8" class="cell_1" style="left:492px; top:663px; width:120px; height:23px; vertical-align:middle; ">등기번호</caption>
  565. <caption id="caption9" class="cell_1" style="left:246px; top:663px; width:120px; height:23px; vertical-align:middle; ">발송구분</caption>
  566. <line id="line6" class="line_3" style="x1:0px; y1:733px; x2:981px; y2:733px; "/>
  567. <button id="button1" class="btn2_letter2" navindex="11" style="left:939px; top:588px; width:42px; height:19px; ">
  568. <caption>신규</caption>
  569. <script type="javascript" ev:event="DOMActivate">
  570. <![CDATA[
  571. grd_list.row = 0; //그리드에서 선택된 row 값을 없앤다
  572. model.resetInstanceNode("/root/main/info/postdeliveinfo");//기증정보 값을 없앤다
  573. model.makeValue("/root/main/info/postdeliveinfo/acptdd", getCurrentDate() ); //접수일자에 오늘일자 sttting
  574. model.makeValue("/root/main/info/postdeliveinfo/hngnm", model.getValue("/root/main/info/postdeliveinfo/hngnm")); // 입력된 성명
  575. model.makeValue("/root/main/info/postdeliveinfo/cntctel", model.getValue("/root/main/info/postdeliveinfo/cntctel")); // 전화번호
  576. model.makeValue("/root/main/info/postdeliveinfo/mpphon", model.getValue("/root/main/info/postdeliveinfo/mpphon")); // 핸드폰번호
  577. model.makeValue("/root/main/info/postdeliveinfo/addr", model.getValue("/root/main/info/postdeliveinfo/addr")); // 주소
  578. model.makeValue("/root/main/info/postdeliveinfo/zipcd1", model.getValue("/root/main/info/postdeliveinfo/zipcd1")); // 우편번호1
  579. model.makeValue("/root/main/info/postdeliveinfo/zipcd2", model.getValue("/root/main/info/postdeliveinfo/zipcd2")); // 우편번호2
  580. model.makeValue("/root/main/info/postdeliveinfo/delivedd", getCurrentDate() ); // 발송일자
  581. model.makeValue("/root/main/info/postdeliveinfo/deliveflag", model.getValue("/root/main/info/postdeliveinfo/deliveflag")); // 발송구분
  582. model.makeValue("/root/main/info/postdeliveinfo/registerno", model.getValue("/root/main/info/postdeliveinfo/registerno")); // 등기번호
  583. model.makeValue("/root/main/info/postdeliveinfo/delivecopies", model.getValue("/root/main/info/postdeliveinfo/delivecopies")); // 발송부수
  584. model.makeValue("/root/main/info/postdeliveinfo/sendresn", model.getValue("/root/main/info/postdeliveinfo/sendresn")); // 반송사유
  585. model.makeValue("/root/main/info/postdeliveinfo/postrem", model.getValue("/root/main/info/postdeliveinfo/postrem")); // 비고
  586. model.refresh();
  587. //----------------------------------------------------------------
  588. //2008.11.19 한음미 수정
  589. // grd_list.row = 0; //그리드에서 선택된 row 값을 없앤다
  590. // model.resetInstanceNode("/root/main/info/donat");//기증정보 값을 없앤다
  591. // model.setValue("/root/main/info/donat/rgstdd", getCurrentDate() ); //등록일자에 오늘일자 sttting
  592. // model.setValue("/root/main/info/donat/acptdd", getCurrentDate() ); //접수일자에 오늘일자 sttting
  593. // model.resetInstanceNode("/root/main/info/famyaprv");//기족동의 값을 없앤다
  594. //
  595. //
  596. // model.toggle("case1");
  597. // btn_menu1.selected = true;
  598. // btn_menu2.selected = false;
  599. //
  600. // model.refresh();
  601. ]]>
  602. </script>
  603. </button>
  604. <button id="btn_excel" class="btn2_letter4" navindex="10" style="left:1126px; top:49px; width:64px; height:19px; ">
  605. <caption>엑셀저장</caption>
  606. <script type="javascript" ev:event="DOMActivate">
  607. <![CDATA[
  608. fExeSaveToExcel();
  609. ]]>
  610. </script>
  611. </button>
  612. <button id="button3" class="btn2_letter4" navindex="12" style="left:1059; top:49; width:64px; height:19px; ">
  613. <caption>라벨출력</caption>
  614. <script type="javascript" ev:event="DOMActivate">
  615. <![CDATA[
  616. fExePrintLabel();
  617. ]]>
  618. </script>
  619. </button>
  620. <button id="button5" class="btn4_letter2" style="left:376px; top:47; width:56px; height:22px; ">
  621. <caption>다음</caption>
  622. <script type="javascript" ev:event="DOMActivate">
  623. <![CDATA[
  624. fGetTestInfoList(Number(model.getValue("/root/hidden/paval")) + 1);
  625. ]]>
  626. </script>
  627. </button>
  628. <input id="ipt_paval" ref="/root/hidden/paval" class="input_search" style="left:246px; top:47; width:65px; height:19px; text-align:right; ">
  629. <script type="javascript" ev:event="xforms-value-changed">
  630. <![CDATA[
  631. fGetTestInfoList(model.getValue("/root/hidden/paval"));
  632. ]]>
  633. </script>
  634. <script type="javascript" ev:event="onkeypress">
  635. <![CDATA[
  636. if(event.keyCode == 13 && ipt_paval.currentText != ipt_paval.value) {
  637. model.setValue("/root/hidden/paval", ipt_paval.currentText);
  638. ipt_paval.dispatch("xforms-value-changed");
  639. }
  640. else if(event.keyCode != 8 && (event.keyCode < 48 || event.keyCode > 57)) {
  641. event.defaultAction = "cancel";
  642. }
  643. ]]>
  644. </script>
  645. </input>
  646. <button id="button6" class="btn3_letter2" style="left:128px; top:47; width:56px; height:22px; ">
  647. <caption>처음</caption>
  648. <script type="javascript" ev:event="DOMActivate">
  649. <![CDATA[
  650. fGetTestInfoList(1);
  651. ]]>
  652. </script>
  653. </button>
  654. <button id="button7" class="btn4_letter2" style="left:435px; top:47; width:56px; height:22px; ">
  655. <caption>최종</caption>
  656. <script type="javascript" ev:event="DOMActivate">
  657. <![CDATA[
  658. fGetTestInfoList(model.getValue("/root/main/list/lastpage/lastpage"));
  659. ]]>
  660. </script>
  661. </button>
  662. <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>
  663. <caption id="caption15" style="left:313px; top:47; width:11px; height:20px; font-size:9pt; font-weight:bold; ">/</caption>
  664. <button id="btn_prntexcel" class="btn3_letter2" style="left:187px; top:47; width:56px; height:22px; ">
  665. <caption>이전</caption>
  666. <script type="javascript" ev:event="DOMActivate">
  667. <![CDATA[
  668. fGetTestInfoList(Number(model.getValue("/root/hidden/paval")) - 1);
  669. ]]>
  670. </script>
  671. </button>
  672. <caption id="caption4" style="left:305px; top:15px; width:11px; height:20px; font-size:9pt; font-weight:bold; ">:</caption>
  673. <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; "/>
  674. <caption id="caption16" class="cell_1" style="left:492px; top:687px; width:120px; height:23px; vertical-align:middle; ">반송일자</caption>
  675. </group>
  676. </xhtml:body>
  677. </xhtml:html>