SPCMS00900_고객기념일정보.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SPCMS00900_고객기념일정보
  4. * Summary : 고객기념일정보
  5. * Programmer : 차재훈
  6. * Date Written : 2008.08.08
  7. * History : 2008.08.08
  8. * Remark :
  9. -->
  10. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title>기념일 정보</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <clntdata>
  19. <basic>
  20. <pid/>
  21. <rrgstno1/>
  22. <rrgstno2/>
  23. <hngnm/>
  24. <sex/>
  25. <age/>
  26. <brthdd/>
  27. <lunarsolarflag/>
  28. <mpphontel/>
  29. <hometel/>
  30. <etctelno1/>
  31. <etctelno2/>
  32. <faxno/>
  33. <chosresncd/>
  34. <zipcd1/>
  35. <zipcd2/>
  36. <zipcdseq/>
  37. <zipcdaddr/>
  38. <citycd/>
  39. <citycntyareacd/>
  40. <blokcd/>
  41. <detladdr/>
  42. <email/>
  43. <dethyn/>
  44. <smsaprvyn/>
  45. <emailuseaprvyn/>
  46. <postdeliveuseyn/>
  47. <maryyn/>
  48. <inhospyn/>
  49. <forgeryn/>
  50. <animyn/>
  51. <btype/>
  52. <rh/>
  53. <bindpid/>
  54. <religncd/>
  55. <nati/>
  56. <chchnm/>
  57. <baptnm/>
  58. <recmyn/>
  59. <recmerid/>
  60. <recmerrela/>
  61. <fstchosdt/>
  62. <lastchosdt/>
  63. <healexamyn/>
  64. <healexamchospath/>
  65. <healexamvipgrde/>
  66. <healexamtelno/>
  67. <healexammpphon/>
  68. <healexamemail/>
  69. <healexamzipcd11/>
  70. <healexamzipcd12/>
  71. <healexamzipcdseq1/>
  72. <healexamzipcdaddr1/>
  73. <healexamdetladdr1/>
  74. <healexamzipcd21/>
  75. <healexamzipcd22/>
  76. <healexamzipcdseq2/>
  77. <healexamzipcdaddr2/>
  78. <healexamdetladdr2/>
  79. </basic>
  80. <familygrid>
  81. <famypatnm/>
  82. <rrgstno1/>
  83. <rrgstno2/>
  84. <famyrela/>
  85. <famycd/>
  86. <pid/>
  87. <insukind/>
  88. <todd/>
  89. <seqno/>
  90. </familygrid>
  91. <clntgroupgrid>
  92. <lrggroupnm/>
  93. <lrggroupcd/>
  94. <mdlgroupnm/>
  95. <mdlgroupcd/>
  96. <smlgroupnm/>
  97. <smlgroupcd/>
  98. <pid/>
  99. </clntgroupgrid>
  100. <vipgrid>
  101. <vipyn/>
  102. <vipgrde/>
  103. <viprem/>
  104. <reladeptnm/>
  105. <reladept/>
  106. <pid/>
  107. </vipgrid>
  108. <memogrid>
  109. <memodayflag/>
  110. <memotypeflag/>
  111. <memodd/>
  112. <ownrela/>
  113. <lunarsolarflag/>
  114. <noticncttel1/>
  115. <noticncttel2/>
  116. <msgcnts/>
  117. <basedaybfatflag/>
  118. <delivehour/>
  119. <delivemnt/>
  120. <memouseyn/>
  121. <pid/>
  122. <memodayseq/>
  123. </memogrid>
  124. </clntdata>
  125. <clntdatatemp>
  126. <groupinit>
  127. <lrggroup>
  128. <lrggroupcd/>
  129. <lrggroupnm/>
  130. </lrggroup>
  131. <mdlgroup>
  132. <mdlgroupcd/>
  133. <mdlgroupnm/>
  134. </mdlgroup>
  135. <smlgroup>
  136. <smlgroupcd/>
  137. <smlgroupnm/>
  138. </smlgroup>
  139. </groupinit>
  140. <grouptemp>
  141. <tmplrggroupcd/>
  142. <tmpmdlgroupcd/>
  143. <tmpsmlgroupcd/>
  144. <tmppid/>
  145. </grouptemp>
  146. <viptemp>
  147. <tmpvipyn/>
  148. <tmpvipgrde/>
  149. <tmpviprem/>
  150. <tmpreladeptnm/>
  151. <tmpreladept/>
  152. </viptemp>
  153. <memoinfo>
  154. <memodayflag/>
  155. <memotypeflag>O</memotypeflag>
  156. <memodd/>
  157. <ownrela/>
  158. <lunarsolarflag>1</lunarsolarflag>
  159. <noticncttel1/>
  160. <noticncttel2/>
  161. <msgcnts/>
  162. <basedaybfatflag>B</basedaybfatflag>
  163. <delivehour/>
  164. <delivemnt/>
  165. <memouseyn>Y</memouseyn>
  166. <pid/>
  167. <memodayseq/>
  168. <inputmode>i</inputmode>
  169. </memoinfo>
  170. </clntdatatemp>
  171. </main>
  172. <send>
  173. <publyn/>
  174. <innrgrupid/>
  175. <innrclntflag/>
  176. <innrclntid/>
  177. </send>
  178. <temp>
  179. <key>
  180. <sndpid/>
  181. <inputmode/>
  182. <mpphontel/>
  183. <etctelno1/>
  184. </key>
  185. </temp>
  186. <init>
  187. <C0021list>
  188. <cdid/>
  189. <cdnm/>
  190. </C0021list>
  191. <P0015list>
  192. <cdid/>
  193. <cdnm/>
  194. </P0015list>
  195. </init>
  196. <fwd>
  197. <innrclntflag/>
  198. <innrgrupid/>
  199. <innrclntid/>
  200. <savemode/>
  201. </fwd>
  202. </root>
  203. </instance>
  204. <submission id="TRCMS00405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/key" replace="instance" resultref="/root/main/clntdata/memogrid"/>
  205. <submission id="TXCMS00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/clntdatatemp/memoinfo" replace="instance"/>
  206. <submission id="TXCMS00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/clntdatatemp/memoinfo" replace="instance"/>
  207. <submission id="TRCMS00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/key" replace="instance" resultref="/root/main/clntdata"/>
  208. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  209. </model>
  210. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  211. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  212. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  213. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  214. <script type="javascript" src="../../../crm/crmweb/js/CCZ001.js"/>
  215. <script type="javascript" ev:event="xforms-ready">
  216. <![CDATA[
  217. zbcfGetCodeList( new Array("C0021", "P0015"), new Array("/root/init/C0021list", "/root/init/P0015list"), true );
  218. model.removeNodeset("/root/main/clntdata/memolist/memogrid");
  219. submit("TRCMS00401");//환자 상세정보조회
  220. ]]>
  221. </script>
  222. <script type="javascript">
  223. <![CDATA[
  224. //=======================//
  225. //주소록위치 cmb설정 //
  226. //=======================//
  227. function fGetCmbStatus(){
  228. for(var i=0; i < cmb_innrgroup.length; i++) {
  229. if(cmb_innrgroup.item(i).value == innrgrupid) {
  230. cmb_innrgroup.select(i);
  231. }
  232. }
  233. }
  234. ]]>
  235. </script>
  236. </xhtml:head>
  237. <xhtml:body pagewidth="510" pageheight="405" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  238. <group id="grp_add" style="left:0px; top:0px; width:485px; height:360px; ">
  239. <line id="line27" class="line_2" style="x1:3px; y1:284px; x2:485px; y2:284px; "/>
  240. <line id="line28" class="line_2" style="x1:3px; y1:308px; x2:485px; y2:308px; "/>
  241. <line id="line29" class="line_2" style="x1:3px; y1:332px; x2:485px; y2:332px; "/>
  242. <line id="line30" class="line_3" style="x1:3px; y1:356px; x2:485px; y2:356px; "/>
  243. <caption id="caption49" class="tit_2" style="left:9px; top:5px; width:111px; height:13px; ">기념일 정보</caption>
  244. <button id="btn_popMemo" class="btn2_letter10" style="left:354px; top:0px; width:130px; height:19px; ">
  245. <caption>기념일 전송 기본 설정</caption>
  246. <script type="javascript" ev:event="DOMActivate">
  247. <![CDATA[
  248. modal("SPCMZ00500");
  249. ]]>
  250. </script>
  251. </button>
  252. <datagrid id="grid_memolist" nodeset="/root/main/clntdata/memogrid" caption="기념일 구분^형식^기념일^음력^관계^사용 여부^연락처1^연락처2^내용^전^시^분^PID^번호" colsep="^" colwidth="100, 80, 90, 0, 90, 70, 0, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:3px; top:28px; width:478px; height:155px; ">
  253. <col class="text_center" ref="memodayflag" type="combo">
  254. <choices>
  255. <itemset nodeset="/root/init/C0021list/C0021">
  256. <label ref="cdnm"/>
  257. <value ref="cdid"/>
  258. </itemset>
  259. </choices>
  260. </col>
  261. <col class="text_center" ref="memotypeflag" type="combo">
  262. <choices>
  263. <item>
  264. <label>1회</label>
  265. <value>O</value>
  266. </item>
  267. <item>
  268. <label>매년 반복</label>
  269. <value>R</value>
  270. </item>
  271. </choices>
  272. </col>
  273. <col class="text_center" ref="memodd" format="yyyy-mm-dd"/>
  274. <col class="text_center" ref="lunarsolarflag" visibility="hidden"/>
  275. <col class="text_center" ref="ownrela" type="combo">
  276. <choices>
  277. <itemset nodeset="/root/init/P0015list/P0015">
  278. <label ref="cdnm"/>
  279. <value ref="cdid"/>
  280. </itemset>
  281. </choices>
  282. </col>
  283. <col class="text_center" ref="memouseyn" type="combo">
  284. <choices>
  285. <item>
  286. <label>사용</label>
  287. <value>Y</value>
  288. </item>
  289. <item>
  290. <label>사용 안함</label>
  291. <value>N</value>
  292. </item>
  293. </choices>
  294. </col>
  295. <col ref="noticncttel1" visibility="hidden"/>
  296. <col ref="noticncttel2" visibility="hidden"/>
  297. <col ref="msgcnts" visibility="hidden"/>
  298. <col ref="basedaybfatflag" visibility="hidden"/>
  299. <col ref="delivehour" visibility="hidden"/>
  300. <col ref="delivemnt" visibility="hidden"/>
  301. <col ref="pid" visibility="hidden"/>
  302. <col ref="memodayseq" visibility="hidden"/>
  303. <script type="javascript" ev:event="ondblclick">
  304. <![CDATA[
  305. var row = grid_memolist.row;
  306. var receive_memodayflag = grid_memolist.valueMatrix(row, grid_memolist.colRef("memodayflag"));
  307. var receive_memotypeflag = grid_memolist.valueMatrix(row, grid_memolist.colRef("memotypeflag"));
  308. var receive_memodd = grid_memolist.valueMatrix(row, grid_memolist.colRef("memodd"));
  309. var receive_ownrela = grid_memolist.valueMatrix(row, grid_memolist.colRef("ownrela"));
  310. var receive_lunarsolarflag = grid_memolist.valueMatrix(row, grid_memolist.colRef("lunarsolarflag"));
  311. var receive_noticncttel1 = grid_memolist.valueMatrix(row, grid_memolist.colRef("noticncttel1"));
  312. var receive_noticncttel2 = grid_memolist.valueMatrix(row, grid_memolist.colRef("noticncttel2"));
  313. var receive_msgcnts = grid_memolist.valueMatrix(row, grid_memolist.colRef("msgcnts"));
  314. var receive_basedaybfatflag = grid_memolist.valueMatrix(row, grid_memolist.colRef("basedaybfatflag"));
  315. var receive_delivehour = grid_memolist.valueMatrix(row, grid_memolist.colRef("delivehour"));
  316. var receive_delivemnt = grid_memolist.valueMatrix(row, grid_memolist.colRef("delivemnt"));
  317. var receive_memouseyn = grid_memolist.valueMatrix(row, grid_memolist.colRef("memouseyn"));
  318. var receive_memodayseq = grid_memolist.valueMatrix(row, grid_memolist.colRef("memodayseq"));
  319. var receive_pid = grid_memolist.valueMatrix(row, grid_memolist.colRef("pid"));
  320. if (grid_memolist.row > 0){
  321. model.makeValue("/root/main/clntdatatemp/memoinfo/memodayflag", receive_memodayflag);
  322. model.makeValue("/root/main/clntdatatemp/memoinfo/memotypeflag", receive_memotypeflag);
  323. model.makeValue("/root/main/clntdatatemp/memoinfo/memodd", receive_memodd);
  324. model.makeValue("/root/main/clntdatatemp/memoinfo/ownrela", receive_ownrela);
  325. model.makeValue("/root/main/clntdatatemp/memoinfo/lunarsolarflag", receive_lunarsolarflag);
  326. model.makeValue("/root/main/clntdatatemp/memoinfo/noticncttel1", receive_noticncttel1);
  327. model.makeValue("/root/main/clntdatatemp/memoinfo/noticncttel2", receive_noticncttel2);
  328. model.makeValue("/root/main/clntdatatemp/memoinfo/msgcnts", receive_msgcnts);
  329. model.makeValue("/root/main/clntdatatemp/memoinfo/basedaybfatflag", receive_basedaybfatflag);
  330. model.makeValue("/root/main/clntdatatemp/memoinfo/delivehour", receive_delivehour);
  331. model.makeValue("/root/main/clntdatatemp/memoinfo/delivemnt", receive_delivemnt);
  332. model.makeValue("/root/main/clntdatatemp/memoinfo/memouseyn", receive_memouseyn);
  333. model.makeValue("/root/main/clntdatatemp/memoinfo/pid", receive_pid);
  334. model.makeValue("/root/main/clntdatatemp/memoinfo/memodayseq", receive_memodayseq);
  335. model.makeValue("/root/main/clntdatatemp/memoinfo/inputmode", "u");
  336. model.refresh();
  337. } else {
  338. }
  339. ]]>
  340. </script>
  341. </datagrid>
  342. <line id="line31" class="line_2" style="x1:3px; y1:236px; x2:485px; y2:236px; "/>
  343. <line id="line32" class="line_2" style="x1:3px; y1:260px; x2:485px; y2:260px; "/>
  344. <caption id="caption50" class="cell_1" style="left:3px; top:214px; width:105px; height:23px; text-align:center; vertical-align:middle; ">기념일 구분</caption>
  345. <select1 id="cmb_memodayflag" ref="/root/main/clntdatatemp/memoinfo/memodayflag" class="combo_default" appearance="minimal" style="left:111px; top:215px; width:143px; height:19px; ">
  346. <choices>
  347. <itemset nodeset="/root/init/C0021list/C0021">
  348. <label ref="cdnm"/>
  349. <value ref="cdid"/>
  350. </itemset>
  351. </choices>
  352. </select1>
  353. <caption id="caption53" class="cell_1" style="left:258px; top:214px; width:95px; height:23px; text-align:center; vertical-align:middle; ">기념일 형식</caption>
  354. <select1 id="rdo_memotypeflag" ref="/root/main/clntdatatemp/memoinfo/memotypeflag" overflow="visible" appearance="full" cellspacing="5" cols="4" style="left:356px; top:215px; width:122px; height:19px; background-color:transparent; border-style:none; ">
  355. <choices>
  356. <item>
  357. <label>1회</label>
  358. <value>O</value>
  359. </item>
  360. <item>
  361. <label>매년 반복</label>
  362. <value>R</value>
  363. </item>
  364. </choices>
  365. </select1>
  366. <caption id="caption51" class="cell_1" style="left:3px; top:238px; width:105px; height:23px; text-align:center; vertical-align:middle; ">기념일자</caption>
  367. <input id="ipt_memodd" ref="/root/main/clntdatatemp/memoinfo/memodd" class="input_default" inputtype="date" style="left:111px; top:239px; width:87px; height:19px; "/>
  368. <select1 id="rdo_lunarsolarflag1" ref="/root/main/clntdatatemp/memoinfo/lunarsolarflag" overflow="visible" appearance="minimal" style="left:201px; top:239px; width:52px; height:19px; ">
  369. <choices>
  370. <item>
  371. <label>양력</label>
  372. <value>1</value>
  373. </item>
  374. <item>
  375. <label>음력</label>
  376. <value>0</value>
  377. </item>
  378. </choices>
  379. <hint>
  380. <![CDATA[음력/양력]]>
  381. </hint>
  382. </select1>
  383. <caption id="caption54" class="cell_1" style="left:258px; top:238px; width:95px; height:23px; text-align:center; vertical-align:middle; ">본인과의 관계</caption>
  384. <select1 id="cmb_ownrela" ref="/root/main/clntdatatemp/memoinfo/ownrela" class="combo_default" appearance="minimal" style="left:356px; top:239px; width:125px; height:19px; ">
  385. <choices>
  386. <itemset nodeset="/root/init/P0015list/P0015">
  387. <label ref="cdnm"/>
  388. <value ref="cdid"/>
  389. </itemset>
  390. </choices>
  391. <script type="javascript" ev:event="xforms-select">
  392. <![CDATA[
  393. var change_rela = model.getValue("/root/main/clntdatatemp/memoinfo/ownrela");
  394. var pid_mpphontel = model.getValue("/root/temp/key/mpphontel");
  395. var pid_etctelno = model.getValue("/root/temp/key/etctelno1");
  396. if ( change_rela == "") {
  397. } else {
  398. if ( change_rela == "10") {
  399. model.setValue("/root/main/clntdatatemp/memoinfo/noticncttel1", pid_mpphontel);
  400. model.setValue("/root/main/clntdatatemp/memoinfo/noticncttel2", pid_etctelno);
  401. model.refresh()
  402. } else {
  403. model.setValue("/root/main/clntdatatemp/memoinfo/noticncttel1", "");
  404. model.setValue("/root/main/clntdatatemp/memoinfo/noticncttel2", "");
  405. model.refresh()
  406. }
  407. }
  408. ]]>
  409. </script>
  410. </select1>
  411. <caption id="caption44" class="cell_1" style="left:3px; top:262px; width:105px; height:23px; text-align:center; vertical-align:middle; ">휴대폰[1]</caption>
  412. <input id="ipt_noticncttel1" ref="/root/main/clntdatatemp/memoinfo/noticncttel1" class="input_default" maxlength="15" style="left:110px; top:263px; width:143px; height:19px; "/>
  413. <caption id="caption55" class="cell_1" style="left:258px; top:262px; width:95px; height:23px; text-align:center; vertical-align:middle; ">휴대폰[2]</caption>
  414. <input id="ipt_noticncttel2" ref="/root/main/clntdatatemp/memoinfo/noticncttel2" class="input_default" maxlength="15" style="left:356px; top:263px; width:125px; height:19px; "/>
  415. <caption id="caption45" class="cell_1" style="left:3px; top:286px; width:105px; height:23px; text-align:center; vertical-align:middle; ">기념일 내용</caption>
  416. <input id="ipt_msgcnts" ref="/root/main/clntdatatemp/memoinfo/msgcnts" class="output_fix" style="left:110px; top:287px; width:340px; height:19px; "/>
  417. <button id="btn_srchCnts" class="icon_search" style="left:457px; top:288px; width:16px; height:16px; ">
  418. <caption/>
  419. <script type="javascript" ev:event="DOMActivate">
  420. <![CDATA[
  421. cczfOpenSelectMsg("S", "", "", "", "", "/root/main/clntdatatemp/memoinfo/msgcnts", "");
  422. ]]>
  423. </script>
  424. </button>
  425. <caption id="caption46" class="cell_1" style="left:3px; top:310px; width:105px; height:23px; text-align:center; vertical-align:middle; ">알림 설정</caption>
  426. <caption id="caption57" style="left:110px; top:311px; width:40px; height:19px; text-align:center; vertical-align:middle; ">기념일</caption>
  427. <select1 id="cmb_basedaybfatflag" ref="/root/main/clntdatatemp/memoinfo/basedaybfatflag" class="combo_default" appearance="minimal" style="left:155px; top:311px; width:40px; height:19px; ">
  428. <choices>
  429. <item>
  430. <label>전</label>
  431. <value>B</value>
  432. </item>
  433. <item>
  434. <label>후</label>
  435. <value>A</value>
  436. </item>
  437. </choices>
  438. </select1>
  439. <caption id="caption56" style="left:196px; top:311px; width:20px; height:19px; text-align:center; vertical-align:middle; ">에</caption>
  440. <input id="ipt_delivehour" ref="/root/main/clntdatatemp/memoinfo/delivehour" class="input_default" maxlength="2" format="99" style="left:223px; top:311px; width:35px; height:19px; "/>
  441. <caption id="caption60" style="left:261px; top:311px; width:18px; height:19px; text-align:center; vertical-align:middle; ">시</caption>
  442. <input id="ipt_delivemnt" ref="/root/main/clntdatatemp/memoinfo/delivemnt" class="input_default" maxlength="2" format="99" style="left:283px; top:311px; width:35px; height:19px; "/>
  443. <caption id="caption58" style="left:316px; top:311px; width:103px; height:19px; text-align:center; vertical-align:middle; ">분에 문자로 알림</caption>
  444. <caption id="caption47" class="cell_1" style="left:3px; top:334px; width:105px; height:23px; text-align:center; vertical-align:middle; ">사용 여부</caption>
  445. <select1 id="rdo_memouseyn" ref="/root/main/clntdatatemp/memoinfo/memouseyn" overflow="visible" appearance="full" cellspacing="15" cols="4" style="left:111px; top:335px; width:122px; height:19px; background-color:transparent; border-style:none; ">
  446. <choices>
  447. <item>
  448. <label>예</label>
  449. <value>Y</value>
  450. </item>
  451. <item>
  452. <label>아니오</label>
  453. <value>N</value>
  454. </item>
  455. </choices>
  456. </select1>
  457. <caption id="caption52" class="tit_2" style="left:5px; top:192px; width:111px; height:13px; ">기념일 내용</caption>
  458. <line id="line34" class="line_1" style="x1:3px; y1:22px; x2:485px; y2:22px; "/>
  459. <line id="line35" class="line_1" style="x1:3px; y1:209px; x2:485px; y2:209px; "/>
  460. </group>
  461. <group id="grp_btn" scroll="auto" style="left:0px; top:360px; width:485px; height:27px; ">
  462. <button id="btn_list" class="btn4_letter3" style="left:297px; top:5px; width:68px; height:22px; ">
  463. <caption>초기화</caption>
  464. <script type="javascript" ev:event="DOMActivate">
  465. <![CDATA[
  466. model.setValue("/root/main/clntdatatemp/memoinfo/memodayflag", "");
  467. model.setValue("/root/main/clntdatatemp/memoinfo/memotypeflag", "O");
  468. model.setValue("/root/main/clntdatatemp/memoinfo/memodd", "");
  469. model.setValue("/root/main/clntdatatemp/memoinfo/ownrela", "");
  470. model.setValue("/root/main/clntdatatemp/memoinfo/lunarsolarflag", "1");
  471. model.setValue("/root/main/clntdatatemp/memoinfo/noticncttel1", "");
  472. model.setValue("/root/main/clntdatatemp/memoinfo/noticncttel2", "");
  473. model.setValue("/root/main/clntdatatemp/memoinfo/msgcnts", "");
  474. model.setValue("/root/main/clntdatatemp/memoinfo/basedaybfatflag", "B");
  475. model.setValue("/root/main/clntdatatemp/memoinfo/delivehour", "");
  476. model.setValue("/root/main/clntdatatemp/memoinfo/delivemnt", "");
  477. model.setValue("/root/main/clntdatatemp/memoinfo/memouseyn", "Y");
  478. model.refresh();
  479. ]]>
  480. </script>
  481. </button>
  482. <button id="btn_save" class="btn4_letter2" style="left:369px; top:5px; width:56px; height:22px; ">
  483. <caption>저장</caption>
  484. <script type="javascript" ev:event="DOMActivate">
  485. <![CDATA[
  486. var receive_inputmode = model.getValue("/root/main/clntdatatemp/memoinfo/inputmode");
  487. model.setValue("/root/main/clntdatatemp/memoinfo/pid", model.getValue("/root/main/clntdata/basic/pid") );
  488. if (isRequiredControls("cmb_memodayflag", "ipt_memodd", "ipt_noticncttel1", "ipt_msgcnts", "ipt_memodaynotidayno") ){
  489. if ( receive_inputmode == "i") {
  490. submit("TXCMS00105");
  491. messageBox("기념일 등록이 ", "I002");
  492. } else {
  493. submit("TXCMS00106");
  494. messageBox("기념일 저장이 ", "I002");
  495. }
  496. model.makeValue("/root/main/clntdatatemp/memoinfo/memodayflag", "");
  497. model.makeValue("/root/main/clntdatatemp/memoinfo/memotypeflag", "O");
  498. model.makeValue("/root/main/clntdatatemp/memoinfo/memodd", "");
  499. model.makeValue("/root/main/clntdatatemp/memoinfo/ownrela", "");
  500. model.makeValue("/root/main/clntdatatemp/memoinfo/lunarsolarflag", "1");
  501. model.makeValue("/root/main/clntdatatemp/memoinfo/noticncttel1", "");
  502. model.makeValue("/root/main/clntdatatemp/memoinfo/noticncttel2", "");
  503. model.makeValue("/root/main/clntdatatemp/memoinfo/msgcnts", "");
  504. model.makeValue("/root/main/clntdatatemp/memoinfo/basedaybfatflag", "B");
  505. model.makeValue("/root/main/clntdatatemp/memoinfo/delivehour", "");
  506. model.makeValue("/root/main/clntdatatemp/memoinfo/delivemnt", "");
  507. model.makeValue("/root/main/clntdatatemp/memoinfo/memouseyn", "Y");
  508. model.makeValue("/root/main/clntdatatemp/memoinfo/inputmode", "i");
  509. model.removeNodeset("/root/main/clntdata/memogrid");
  510. submit("TRCMS00405");
  511. model.refresh();
  512. }
  513. ]]>
  514. </script>
  515. </button>
  516. <button id="btn_close" class="btn4_letter2" style="left:429px; top:5px; width:56px; height:22px; ">
  517. <caption>닫기</caption>
  518. <script type="javascript" ev:event="DOMActivate">
  519. <![CDATA[
  520. window.close();
  521. ]]>
  522. </script>
  523. </button>
  524. </group>
  525. </xhtml:body>
  526. </xhtml:html>