SPMNP01300_수가코드Help.xrw 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. <cond>
  11. <refflag>2</refflag>
  12. <refnm/>
  13. </cond>
  14. <calcscorlist>
  15. <calcscorcd/>
  16. <calcscornm/>
  17. </calcscorlist>
  18. </main>
  19. <send>
  20. <reqdata/>
  21. </send>
  22. <init>
  23. </init>
  24. <hidden/>
  25. </root>
  26. </instance>
  27. <submission id="TRMNP01305" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/calcscorlist"/>
  28. </model>
  29. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  30. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  31. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  32. <script type="javascript">
  33. <![CDATA[
  34. //검색
  35. function fGetCalcscorList() {
  36. if (model.getValue("/root/main/cond/refnm").length < 2 ){
  37. messageBox("검색어는 2자 이상","C001");
  38. model.setFocus("ipt_refnm");
  39. } else {
  40. model.removeNodeset("/root/send/reqdata");
  41. model.makeNode("/root/send/reqdata");
  42. model.copyNode("/root/send/reqdata","/root/main/cond");
  43. submit("TRMNP01305");
  44. model.setFocus("ipt_refnm");
  45. }
  46. }
  47. ]]>
  48. </script>
  49. </xhtml:head>
  50. <xhtml:body pagewidth="490" pageheight="470" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  51. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:470px; height:460px; ">
  52. <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:158px; height:14px; ">수가목록</caption>
  53. <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:470px; y2:60px; "/>
  54. <group id="group4" style="left:0px; top:0px; width:470px; height:35px; vertical-align:top; ">
  55. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:470px; height:35px; "/>
  56. <caption id="caption34" class="search_name" style="left:15px; top:10px; width:86px; height:17px; ">검색조건 :</caption>
  57. <input id="ipt_refnm" ref="/root/main/cond/refnm" navindex="1" class="input_search" imemode="alpha" maxlength="200" style="left:204px; top:9px; width:160px; height:19px; ">
  58. <script type="javascript" ev:event="onkeydown">
  59. <![CDATA[
  60. if(event.keycode == "13"){
  61. model.setFocus("btn_srch");
  62. fGetCalcscorList();
  63. }
  64. ]]>
  65. </script>
  66. <script type="javascript" ev:event="DOMFocusOut">
  67. <![CDATA[
  68. var refnm = ipt_refnm.value.toUpperCase();
  69. ipt_refnm.value= refnm;
  70. ]]>
  71. </script>
  72. </input>
  73. <line id="line13" class="line_4" style="x1:390px; y1:6px; x2:390px; y2:28px; "/>
  74. <button id="btn_srch" navindex="2" class="btn1_letter2" style="left:405px; top:7px; width:56px; height:22px; ">
  75. <caption>조회</caption>
  76. <script type="javascript" ev:event="DOMActivate">
  77. <![CDATA[
  78. fGetCalcscorList();
  79. ]]>
  80. </script>
  81. </button>
  82. <select1 id="combo1" ref="/root/main/cond/refflag" appearance="minimal" style="left:105px; top:9px; width:95px; height:19px; ">
  83. <choices>
  84. <item>
  85. <label>수가코드</label>
  86. <value>2</value>
  87. </item>
  88. <item>
  89. <label>수가명</label>
  90. <value>1</value>
  91. </item>
  92. </choices>
  93. </select1>
  94. </group>
  95. <datagrid id="grd_calcscorlist" nodeset="/root/main/calcscorlist" allowselection="false" caption="수가코드^수가명" colwidth="125, 326" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" colsep="^" tooltip="true" style="left:0px; top:65px; width:470px; height:393px; ">
  96. <col ref="calcscorcd"/>
  97. <col ref="calcscornm">
  98. <![CDATA[/root/main/calcscorlist/calcscorcd]]>
  99. </col>
  100. <script type="javascript" ev:event="ondblclick">
  101. <![CDATA[
  102. if (grd_calcscorlist.row > 0 ) {
  103. grd_calcscorlist.gridToInstance();
  104. var sel_calcscorcd = model.getValue("/root/main/calcscorlist[" + grd_calcscorlist.row + "]/calcscorcd");
  105. if(sel_calcscorcd=="")return;
  106. //opener.model.setValue("/root/main/mnpmpmstinfo/calcscorcd", sel_calcscorcd);
  107. opener.inp_calcscorcd.value = sel_calcscorcd;
  108. model.close();
  109. }
  110. ]]>
  111. </script>
  112. </datagrid>
  113. </group>
  114. </xhtml:body>
  115. </xhtml:html>