SMMRD00800_항암병기마스터.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <serdiaginfo>
  11. <row>
  12. <status/>
  13. <diagcd/>
  14. <serdiaggrpcd/>
  15. <instcd/>
  16. <useflag/>
  17. <mataflag/>
  18. <cncrflag/>
  19. <prevserdiaggrpcd/>
  20. </row>
  21. </serdiaginfo>
  22. <sergrpinfo>
  23. <row>
  24. <status/>
  25. <serdiaggrpcd/>
  26. <genrno/>
  27. <instcd/>
  28. <stage/>
  29. <t/>
  30. <n/>
  31. <m/>
  32. <displaystage/>
  33. <useflag/>
  34. <stagegubun/>
  35. </row>
  36. </sergrpinfo>
  37. <serinfolist>
  38. <row>
  39. <diagcd/>
  40. <serdiaggrpcd/>
  41. <genrno/>
  42. <stage/>
  43. <t/>
  44. <n/>
  45. <m/>
  46. <displaystage/>
  47. <diaguseflag/>
  48. <stageuseflag/>
  49. <mataflag/>
  50. <cncrflag/>
  51. </row>
  52. </serinfolist>
  53. <serinfolist2>
  54. <row>
  55. <diagcd/>
  56. <serdiaggrpcd/>
  57. <genrno/>
  58. <stage/>
  59. <t/>
  60. <n/>
  61. <m/>
  62. <displaystage/>
  63. <diaguseflag/>
  64. <stageuseflag/>
  65. </row>
  66. </serinfolist2>
  67. </main>
  68. <send>
  69. <reqdata>
  70. <cond1/>
  71. <cond2/>
  72. </reqdata>
  73. </send>
  74. <init>
  75. <gubun>1</gubun>
  76. <srch>
  77. <srch_diagcd/>
  78. <srch_stagecd/>
  79. </srch>
  80. </init>
  81. </root>
  82. </instance>
  83. <submission id="TRMRD00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/serinfolist"/>
  84. <submission id="TRMRD00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/serinfolist2"/>
  85. <submission id="TXMRD00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/serdiaginfo" resultref="/root/main/serinfolist"/>
  86. <submission id="TXMRD00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/sergrpinfo" resultref="/root/main/serinfolist2"/>
  87. </model>
  88. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  89. <script type="javascript">
  90. <![CDATA[
  91. function fDeleteSelectedRows(grd,markonly) {
  92. var rowIdx;
  93. if (grd.selectedRows > 0) {
  94. var selectedRows = Array(grd.selectedRows);
  95. for(i=0;i<grd.selectedRows;i++) {
  96. selectedRows[i] = grd.selectedRow(i);
  97. }
  98. if (markonly != null && markonly == true) { // mark delete
  99. for(i=selectedRows.length-1;i>=0;i--) {
  100. rowIdx = selectedRows[i];
  101. if(grd.rowstatus(rowIdx) == 1 ) { // just inserted row
  102. grd.deleterow(rowIdx,false);
  103. } else {
  104. grd.addStatus(rowIdx,"delete");
  105. }
  106. }
  107. } else {
  108. for(i=selectedRows.length-1;i>=0;i--) {
  109. rowIdx = selectedRows[i];
  110. grd.deleterow(rowIdx,false);
  111. }
  112. }
  113. }
  114. }
  115. ]]>
  116. </script>
  117. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  118. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  119. </xhtml:head>
  120. <xhtml:body pagewidth="850" pageheight="720">
  121. <caption id="caption29" class="tit_1" style="left:0px; top:0px; width:137px; height:14px; ">항암병기마스터 관리</caption>
  122. <switch id="switch1" style="left:0px; top:50px; width:825px; height:645px; ">
  123. <case id="case1" selected="true">
  124. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:6px; width:815px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  125. <caption id="caption1" class="search_name" style="left:10px; top:15px; width:93px; height:17px; ">상병코드 :</caption>
  126. <caption id="caption22" class="tit_2" style="left:6px; top:52px; width:113px; height:14px; ">상병코드 리스트</caption>
  127. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:818px; y2:70px; "/>
  128. <datagrid id="grd_diagcdlist" nodeset="/root/main/serinfolist/row" caption="상병코드^병기분류코드^병기분류Seq^Stage^T^N^M^DisplayStage^연결여부^직접입력^소세포/난소암 여부" colsep="^" colwidth="79, 78, 88, 55, 50, 50, 50, 100, 61, 62, 127" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:75px; width:820px; height:380px; ">
  129. <col ref="diagcd"/>
  130. <col ref="serdiaggrpcd"/>
  131. <col ref="genrno"/>
  132. <col ref="stage"/>
  133. <col ref="t"/>
  134. <col ref="n"/>
  135. <col ref="m"/>
  136. <col ref="displaystage"/>
  137. <col ref="diaguseflag"/>
  138. <col ref="mataflag"/>
  139. <col ref="cncrflag" type="combo">
  140. <choices>
  141. <item>
  142. <label>0. 선택없음</label>
  143. <value>0</value>
  144. </item>
  145. <item>
  146. <label>1. 난소암</label>
  147. <value>1</value>
  148. </item>
  149. <item>
  150. <label>2. 소세포암</label>
  151. <value>2</value>
  152. </item>
  153. <item>
  154. <label>2. 난소암/소세포암</label>
  155. <value>3</value>
  156. </item>
  157. </choices>
  158. </col>
  159. <script type="javascript" ev:event="onclick">
  160. <![CDATA[
  161. if( grd_diagcdlist.isCell(event.target) && grd_diagcdlist.row >= grd_diagcdlist.fixedRows ) {
  162. model.setValue("/root/main/serdiaginfo/row/status", "U");
  163. model.setValue("/root/main/serdiaginfo/row/diagcd", model.getValue("/root/main/serinfolist/row["+grd_diagcdlist.row+"]/diagcd") );
  164. model.setValue("/root/main/serdiaginfo/row/serdiaggrpcd", model.getValue("/root/main/serinfolist/row["+grd_diagcdlist.row+"]/serdiaggrpcd") );
  165. model.setValue("/root/main/serdiaginfo/row/prevserdiaggrpcd", model.getValue("/root/main/serinfolist/row["+grd_diagcdlist.row+"]/serdiaggrpcd") );
  166. model.setValue("/root/main/serdiaginfo/row/cncrflag", model.getValue("/root/main/serinfolist/row["+grd_diagcdlist.row+"]/cncrflag") );
  167. if (model.getValue("/root/main/serinfolist/row["+grd_diagcdlist.row+"]/diaguseflag") == "Y" ) {
  168. bool_diaguseflag.value = "true"
  169. } else {
  170. bool_diaguseflag.value= "false"
  171. }
  172. if (model.getValue("/root/main/serinfolist/row["+grd_diagcdlist.row+"]/mataflag") == "Y" ) {
  173. bool_mataflag.value = "true"
  174. } else {
  175. bool_mataflag.value= "false"
  176. }
  177. btn_new1.disabled = true;
  178. btn_save1.disabled = false;
  179. model.refresh();
  180. }
  181. ]]>
  182. </script>
  183. </datagrid>
  184. <caption id="caption5" class="cell_1" style="left:0px; top:485px; width:79px; height:23px; text-align:center; vertical-align:middle; ">상병코드</caption>
  185. <caption id="caption6" class="cell_1" style="left:0px; top:510px; width:79px; height:23px; text-align:center; vertical-align:middle; ">병기분류코드</caption>
  186. <caption id="caption7" style="left:275px; top:485px; width:95px; height:20px; ">연결여부</caption>
  187. <caption id="caption8" class="tit_2" style="left:6px; top:462px; width:139px; height:14px; ">상병코드 항목</caption>
  188. <line id="line4" class="line_1" style="x1:0px; y1:480px; x2:818px; y2:480px; "/>
  189. <input id="ipt_srchserdiagcd" ref="/root/init/srch/srch_diagcd" class="input_search" style="left:104px; top:14px; width:125px; height:19px; ">
  190. <script type="javascript" ev:event="onkeydown">
  191. <![CDATA[
  192. inputEnterKey("btn_serdiagsrch", "DOMActivate");
  193. ]]>
  194. </script>
  195. </input>
  196. <button id="btn_serdiagsrch" class="btn1_letter2" style="left:750px; top:12px; width:56px; height:22px; ">
  197. <caption>조회</caption>
  198. <script type="javascript" ev:event="DOMActivate">
  199. <![CDATA[
  200. model.setValue("/root/init/srch/srch_diagcd", model.getValue("/root/init/srch/srch_diagcd").toUpperCase() );
  201. model.setValue("/root/send/reqdata/cond1", model.getValue("/root/init/srch/srch_diagcd") );
  202. model.setValue("/root/send/reqdata/cond2", "diag" );
  203. submit("TRMRD00801");
  204. ]]>
  205. </script>
  206. </button>
  207. <input id="ipt_diagcd" ref="/root/main/serdiaginfo/row/diagcd" style="left:85px; top:487px; width:126px; height:19px; "/>
  208. <input id="ipt_serdiaggrpcd" ref="/root/main/serdiaginfo/row/serdiaggrpcd" style="left:85px; top:512px; width:70px; height:19px; "/>
  209. <bool id="bool_diaguseflag" ref="/root/main/serdiaginfo/row/useflag" style="left:256px; top:484px; width:20px; height:20px; "/>
  210. <button id="btn_new1" class="btn2_letter2" disabled="true" style="left:729px; top:460px; width:42px; height:19px; ">
  211. <caption>신규</caption>
  212. <script type="javascript" ev:event="DOMActivate">
  213. <![CDATA[
  214. model.setValue("/root/main/serdiaginfo/row/status", "I");
  215. model.setValue("/root/main/serdiaginfo/row/diagcd", model.getValue("/root/main/serdiaginfo/row/diagcd").toUpperCase() );
  216. if (model.getValue("/root/main/serdiaginfo/row/cncrflag") == "" ) {
  217. messageBox("소세포/난소암 여부 항목은", "I003");
  218. return;
  219. }
  220. submit("TXMRD00801", false);
  221. model.setValue("/root/init/srch/srch_diagcd", model.getValue("/root/init/srch/srch_diagcd").toUpperCase() );
  222. model.setValue("/root/send/reqdata/cond1", model.getValue("/root/init/srch/srch_diagcd") );
  223. model.setValue("/root/send/reqdata/cond2", "diag" );
  224. submit("TRMRD00801", true);
  225. ]]>
  226. </script>
  227. </button>
  228. <button id="btn_save1" class="btn2_letter2" disabled="true" style="left:772px; top:460px; width:42px; height:19px; ">
  229. <caption>저장</caption>
  230. <script type="javascript" ev:event="DOMActivate">
  231. <![CDATA[
  232. model.setValue("/root/main/serdiaginfo/row/status", "U");
  233. model.setValue("/root/main/serdiaginfo/row/diagcd", model.getValue("/root/main/serdiaginfo/row/diagcd").toUpperCase() );
  234. if (model.getValue("/root/main/serdiaginfo/row/cncrflag") == "" ) {
  235. messageBox("소세포/난소암 여부 항목은", "I003");
  236. return;
  237. }
  238. submit("TXMRD00801", false);
  239. model.setValue("/root/init/srch/srch_diagcd", model.getValue("/root/init/srch/srch_diagcd").toUpperCase() );
  240. model.setValue("/root/send/reqdata/cond1", model.getValue("/root/init/srch/srch_diagcd") );
  241. model.setValue("/root/send/reqdata/cond2", "diag" );
  242. submit("TRMRD00801", true);
  243. ]]>
  244. </script>
  245. </button>
  246. <button id="btn_reset1" class="btn2_letter3" style="left:675px; top:460px; width:53px; height:19px; ">
  247. <caption>초기화</caption>
  248. <script type="javascript" ev:event="DOMActivate">
  249. <![CDATA[
  250. model.resetInstanceNode("/root/main/serdiaginfo");
  251. model.setValue("/root/main/serdiaginfo/row/status", "I");
  252. btn_new1.disabled = false;
  253. btn_save1.disabled = true;
  254. model.refresh();
  255. ]]>
  256. </script>
  257. </button>
  258. <caption id="caption18" style="left:275px; top:508px; width:81px; height:20px; ">직접입력여부</caption>
  259. <caption id="caption17" class="cell_1" style="left:385px; top:485px; width:113px; height:23px; text-align:center; vertical-align:middle; ">소세포/난소암 여부</caption>
  260. <select1 id="combo1" ref="/root/main/serdiaginfo/row/cncrflag" appearance="minimal" style="left:500px; top:485px; width:140px; height:19px; ">
  261. <choices>
  262. <item>
  263. <label>0. 선택없음</label>
  264. <value>0</value>
  265. </item>
  266. <item>
  267. <label>1. 난소암</label>
  268. <value>1</value>
  269. </item>
  270. <item>
  271. <label>2. 소세포암</label>
  272. <value>2</value>
  273. </item>
  274. <item>
  275. <label>3. 난소암/소세포암</label>
  276. <value>3</value>
  277. </item>
  278. </choices>
  279. </select1>
  280. <bool id="bool_mataflag" ref="/root/main/serdiaginfo/row/mataflag" style="left:256px; top:507px; width:20px; height:20px; "/>
  281. <input id="ipt_prevserdiaggrpcd" ref="/root/main/serdiaginfo/row/prevserdiaggrpcd" visibility="hidden" style="left:85px; top:540px; width:70px; height:19px; "/>
  282. </case>
  283. <case id="case2">
  284. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:6px; width:815px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  285. <caption id="caption2" class="search_name" style="left:10px; top:15px; width:117px; height:17px; ">병기분류코드 :</caption>
  286. <caption id="caption3" class="tit_2" style="left:6px; top:52px; width:139px; height:14px; ">병기분류코드 리스트</caption>
  287. <line id="line2" class="line_1" style="x1:0px; y1:70px; x2:818px; y2:70px; "/>
  288. <datagrid id="grd_stagegrpcdlist" nodeset="/root/main/serinfolist2/row" caption="병기분류코드^병기분류Seq^Stage^T^N^M^DisplayStage^사용유무^비고" colsep="^" colwidth="78, 88, 55, 50, 50, 50, 100, 59, 131" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:75px; width:820px; height:380px; ">
  289. <col ref="serdiaggrpcd"/>
  290. <col ref="genrno"/>
  291. <col ref="stage"/>
  292. <col ref="t"/>
  293. <col ref="n"/>
  294. <col ref="m"/>
  295. <col ref="displaystage"/>
  296. <col ref="stageuseflag"/>
  297. <col/>
  298. <script type="javascript" ev:event="onclick">
  299. <![CDATA[
  300. if( grd_stagegrpcdlist.isCell(event.target) && grd_stagegrpcdlist.row >= grd_stagegrpcdlist.fixedRows ) {
  301. model.setValue("/root/main/sergrpinfo/row/status", "U");
  302. model.setValue("/root/main/sergrpinfo/row/serdiaggrpcd", model.getValue("/root/main/serinfolist2/row["+grd_stagegrpcdlist.row+"]/serdiaggrpcd") );
  303. model.setValue("/root/main/sergrpinfo/row/genrno", model.getValue("/root/main/serinfolist2/row["+grd_stagegrpcdlist.row+"]/genrno") );
  304. model.setValue("/root/main/sergrpinfo/row/stage", model.getValue("/root/main/serinfolist2/row["+grd_stagegrpcdlist.row+"]/stage") );
  305. model.setValue("/root/main/sergrpinfo/row/t", model.getValue("/root/main/serinfolist2/row["+grd_stagegrpcdlist.row+"]/t") );
  306. model.setValue("/root/main/sergrpinfo/row/n", model.getValue("/root/main/serinfolist2/row["+grd_stagegrpcdlist.row+"]/n") );
  307. model.setValue("/root/main/sergrpinfo/row/m", model.getValue("/root/main/serinfolist2/row["+grd_stagegrpcdlist.row+"]/m") );
  308. model.setValue("/root/main/sergrpinfo/row/displaystage", model.getValue("/root/main/serinfolist2/row["+grd_stagegrpcdlist.row+"]/displaystage") );
  309. if (model.getValue("/root/main/serinfolist2/row["+grd_stagegrpcdlist.row+"]/stageuseflag") == "Y" ) {
  310. bool_stageuseflag.value = "true";
  311. } else {
  312. bool_stageuseflag.value= "false";
  313. }
  314. btn_new2.disabled = true;
  315. btn_save2.disabled = false;
  316. model.refresh();
  317. }
  318. ]]>
  319. </script>
  320. </datagrid>
  321. <caption id="caption4" class="tit_2" style="left:6px; top:462px; width:139px; height:14px; ">병기분류코드 항목</caption>
  322. <line id="line3" class="line_1" style="x1:0px; y1:480px; x2:818px; y2:480px; "/>
  323. <caption id="caption10" class="cell_1" style="left:0px; top:485px; width:79px; height:23px; text-align:left; vertical-align:middle; ">병기분류코드</caption>
  324. <caption id="caption11" style="left:496px; top:516px; width:95px; height:20px; ">사용여부</caption>
  325. <caption id="caption9" class="cell_1" style="left:0px; top:535px; width:79px; height:23px; text-align:left; vertical-align:middle; ">STAGE</caption>
  326. <caption id="caption12" class="cell_1" style="left:185px; top:485px; width:79px; height:23px; text-align:left; vertical-align:middle; ">T-Code</caption>
  327. <caption id="caption13" class="cell_1" style="left:185px; top:510px; width:79px; height:23px; text-align:left; vertical-align:middle; ">N-Code</caption>
  328. <caption id="caption14" class="cell_1" style="left:185px; top:535px; width:79px; height:23px; text-align:left; vertical-align:middle; ">M-Code</caption>
  329. <caption id="caption16" class="cell_1" style="left:395px; top:485px; width:80px; height:23px; text-align:left; vertical-align:middle; ">DisplayStage</caption>
  330. <button id="btn_serstagesrch" class="btn1_letter2" style="left:750px; top:12px; width:56px; height:22px; ">
  331. <caption>조회</caption>
  332. <script type="javascript" ev:event="DOMActivate">
  333. <![CDATA[
  334. model.setValue("/root/send/reqdata/cond1", model.getValue("/root/init/srch/srch_stagecd") );
  335. model.setValue("/root/send/reqdata/cond2", "stage" );
  336. submit("TRMRD00802");
  337. ]]>
  338. </script>
  339. </button>
  340. <input id="ipt_srchstagecd" ref="/root/init/srch/srch_stagecd" class="input_search" maxlength="4" format="####" style="left:129px; top:14px; width:125px; height:19px; ">
  341. <script type="javascript" ev:event="onkeydown">
  342. <![CDATA[
  343. inputEnterKey("btn_serstagesrch", "DOMActivate");
  344. ]]>
  345. </script>
  346. </input>
  347. <input id="ipt_serdiaggrpcd2" ref="/root/main/sergrpinfo/row/serdiaggrpcd" style="left:85px; top:485px; width:70px; height:19px; "/>
  348. <input id="ipt_stage" ref="/root/main/sergrpinfo/row/stage" style="left:85px; top:537px; width:70px; height:19px; "/>
  349. <input id="ipt_t" ref="/root/main/sergrpinfo/row/t" style="left:270px; top:485px; width:70px; height:19px; "/>
  350. <input id="ipt_n" ref="/root/main/sergrpinfo/row/n" style="left:270px; top:510px; width:70px; height:19px; "/>
  351. <input id="ipt_m" ref="/root/main/sergrpinfo/row/m" style="left:270px; top:535px; width:70px; height:19px; "/>
  352. <input id="ipt_genrno" ref="/root/main/sergrpinfo/row/genrno" style="left:85px; top:512px; width:70px; height:19px; "/>
  353. <input id="ipt_displaystage" ref="/root/main/sergrpinfo/row/displaystage" style="left:480px; top:487px; width:70px; height:19px; "/>
  354. <bool id="bool_stageuseflag" ref="/root/main/sergrpinfo/row/useflag" style="left:477px; top:515px; width:20px; height:20px; "/>
  355. <button id="btn_reset" class="btn2_letter3" style="left:675px; top:460px; width:53px; height:19px; ">
  356. <caption>초기화</caption>
  357. <script type="javascript" ev:event="DOMActivate">
  358. <![CDATA[
  359. model.resetInstanceNode("/root/main/sergrpinfo");
  360. model.setValue("/root/main/sergrpinfo/row/status", "I");
  361. btn_new2.disabled = false;
  362. btn_save2.disabled = true;
  363. model.refresh();
  364. ]]>
  365. </script>
  366. </button>
  367. <button id="btn_new2" class="btn2_letter2" disabled="true" style="left:729px; top:460px; width:42px; height:19px; ">
  368. <caption>신규</caption>
  369. <script type="javascript" ev:event="DOMActivate">
  370. <![CDATA[
  371. model.setValue("/root/main/sergrpinfo/row/status", "I");
  372. if (model.getValue("/root/main/sergrpinfo/row/serdiaggrpcd") == "" ) {
  373. messageBox("병기분류코드 항목은", "I003");
  374. return;
  375. }
  376. if (model.getValue("/root/main/sergrpinfo/row/genrno") == "" ) {
  377. messageBox("병기분류Seq 항목은", "I003");
  378. return;
  379. }
  380. if (model.getValue("/root/main/sergrpinfo/row/stage") == "" ) {
  381. messageBox("Stage 항목은", "I003");
  382. return;
  383. }
  384. if (model.getValue("/root/main/sergrpinfo/row/t") == "" ) {
  385. messageBox("T-Code 항목은", "I003");
  386. return;
  387. }
  388. if (model.getValue("/root/main/sergrpinfo/row/n") == "" ) {
  389. messageBox("N-Code 항목은", "I003");
  390. return;
  391. }
  392. if (model.getValue("/root/main/sergrpinfo/row/m") == "" ) {
  393. messageBox("M-Code 항목은", "I003");
  394. return;
  395. }
  396. if (model.getValue("/root/main/sergrpinfo/row/displaystage") == "" ) {
  397. messageBox("DisplayStage 항목은", "I003");
  398. return;
  399. }
  400. submit("TXMRD00802", false);
  401. model.setValue("/root/send/reqdata/cond1", model.getValue("/root/init/srch/srch_stagecd") );
  402. model.setValue("/root/send/reqdata/cond2", "stage" );
  403. submit("TRMRD00802", true);
  404. ]]>
  405. </script>
  406. </button>
  407. <button id="btn_save2" class="btn2_letter2" disabled="true" style="left:772px; top:460px; width:42px; height:19px; ">
  408. <caption>저장</caption>
  409. <script type="javascript" ev:event="DOMActivate">
  410. <![CDATA[
  411. model.setValue("/root/main/sergrpinfo/row/status", "U");
  412. if (model.getValue("/root/main/sergrpinfo/row/serdiaggrpcd") == "" ) {
  413. messageBox("병기분류코드 항목은", "I003");
  414. return;
  415. }
  416. if (model.getValue("/root/main/sergrpinfo/row/genrno") == "" ) {
  417. messageBox("병기분류Seq 항목은", "I003");
  418. return;
  419. }
  420. if (model.getValue("/root/main/sergrpinfo/row/stage") == "" ) {
  421. messageBox("Stage 항목은", "I003");
  422. return;
  423. }
  424. if (model.getValue("/root/main/sergrpinfo/row/t") == "" ) {
  425. messageBox("T-Code 항목은", "I003");
  426. return;
  427. }
  428. if (model.getValue("/root/main/sergrpinfo/row/n") == "" ) {
  429. messageBox("N-Code 항목은", "I003");
  430. return;
  431. }
  432. if (model.getValue("/root/main/sergrpinfo/row/m") == "" ) {
  433. messageBox("M-Code 항목은", "I003");
  434. return;
  435. }
  436. if (model.getValue("/root/main/sergrpinfo/row/displaystage") == "" ) {
  437. messageBox("DisplayStage 항목은", "I003");
  438. return;
  439. }
  440. submit("TXMRD00802", false);
  441. model.setValue("/root/send/reqdata/cond1", model.getValue("/root/init/srch/srch_stagecd") );
  442. model.setValue("/root/send/reqdata/cond2", "stage" );
  443. submit("TRMRD00802", true);
  444. ]]>
  445. </script>
  446. </button>
  447. <caption id="caption15" class="cell_1" style="left:0px; top:510px; width:79px; height:23px; text-align:left; vertical-align:middle; ">병기분류Seq</caption>
  448. </case>
  449. </switch>
  450. <button id="btn_ivpatord" class="btn_sw" group="tab" selected="true" style="left:1px; top:27px; width:99px; height:22px; ">
  451. <caption>상병코드관리</caption>
  452. <script type="javascript" ev:event="DOMActivate">
  453. <![CDATA[
  454. model.toggle("case1");
  455. ]]>
  456. </script>
  457. </button>
  458. <button id="button2" class="btn_sw" group="tab" selected="false" style="left:101px; top:27px; width:114px; height:22px; ">
  459. <caption>병기분류코드관리</caption>
  460. <script type="javascript" ev:event="DOMActivate">
  461. <![CDATA[
  462. model.toggle("case2");
  463. ]]>
  464. </script>
  465. </button>
  466. </xhtml:body>
  467. </xhtml:html>