SPRSD00110_정량보충물품HELP.xrw 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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>청구물품HELP</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <goodlist>
  11. <lrgnm/>
  12. <goodcd/>
  13. <goodnm/>
  14. <goodspec/>
  15. <goodmodel/>
  16. <prodcmpynm/>
  17. <purcunit/>
  18. <exchqty/>
  19. <stocmngtflag/>
  20. </goodlist>
  21. </main>
  22. <target/>
  23. <init>
  24. <refcond>
  25. <label>물품코드</label>
  26. <value>goodcd</value>
  27. <label>물품명</label>
  28. <value>goodnm</value>
  29. </refcond>
  30. </init>
  31. <send>
  32. <goodref>
  33. <lrgcd/>
  34. <refcond/>
  35. <goodnm/>
  36. <goodcd/>
  37. <reqmthd/>
  38. </goodref>
  39. </send>
  40. </root>
  41. </instance>
  42. <script type="javascript" ev:event="xforms-ready">
  43. <![CDATA[
  44. var reqflag = model.getValue(PURTARGET_NODE + "/reqflag"); //청구구분
  45. var reqmthd = '2'; // 청구방법
  46. model.setValue("root/send/goodref/reqmthd",reqmthd); //send/reqmthd에 청구방법 세팅 ( 콤보에 전체선택시 정량보충 이외의 물품제외 하기 위해)
  47. rszfComboLrgCdList(reqflag,reqmthd,cmb_lrgcd)
  48. misfGridInit(grd_goodlist);
  49. misfMsterDetailSet(grd_goodlist,null,"TRRSD00112","Y");
  50. rdo_refcond.select(1);
  51. model.setFocus("ipt_refcond");
  52. model.refresh();
  53. ]]>
  54. </script>
  55. <submission id="TRRSD00111" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/send/goodref/lrgcd"/>
  56. <submission id="TRRSD00112" ref="/root/send/goodref" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/goodlist"/>
  57. </model>
  58. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  60. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  61. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  62. </xhtml:head>
  63. <xhtml:body pagewidth="831" pageheight="550" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  64. <group id="group3" scroll="auto" style="left:8px; top:0px; width:800px; height:521px; ">
  65. <group id="group2" style="left:0px; top:5px; width:800px; height:35px; ">
  66. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:800; height:35px; "/>
  67. <input id="ipt_refcond" ref="/root/send/goodref/goodnm" class="input_s_essential" style="left:446px; top:8; width:235px; height:19px; ">
  68. <script type="javascript" ev:event="onkeyup">
  69. <![CDATA[
  70. inputEnterKey("btn_search", "DOMActivate");
  71. ]]>
  72. </script>
  73. </input>
  74. <button id="btn_search" class="btn1_letter2" style="left:729px; top:7px; width:56px; height:22px; y1:7; ">
  75. <caption>조회</caption>
  76. <script type="javascript" ev:event="DOMActivate">
  77. <![CDATA[
  78. if(rdo_refcond.value == "goodnm") {
  79. model.setValue("/root/send/goodref/goodnm",ipt_refcond.label);
  80. }
  81. else {
  82. model.setValue("/root/send/goodref/goodcd",ipt_refcond.label);
  83. }
  84. misfMsterDetailRetrieve();
  85. model.refresh();
  86. ]]>
  87. </script>
  88. </button>
  89. <line id="line13" class="line_4" style="x1:714px; y1:7px; x2:714px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
  90. <caption id="caption2" class="search_name" style="left:360px; top:9; width:86px; height:17px; ">조회조건 :</caption>
  91. <select1 id="rdo_refcond" ref="/root/send/goodref/refcond" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:228px; top:9px; width:110px; height:20px; border-style:solid; ">
  92. <choices>
  93. <itemset nodeset="/root/init/refcond">
  94. <label ref="label"/>
  95. <value ref="value"/>
  96. </itemset>
  97. </choices>
  98. <script type="javascript" ev:event="xforms-select">
  99. <![CDATA[
  100. if(rdo_refcond.value == "goodnm") {
  101. ipt_refcond.attribute("imemode") = "hangul";
  102. }
  103. else if (rdo_refcond.value == "goodcd") {
  104. ipt_refcond.attribute("imemode") = "disabled";
  105. }
  106. else {
  107. ipt_refcond.attribute("imemode") = "disabled";
  108. }
  109. model.setFocus("ipt_refcond");
  110. ]]>
  111. </script>
  112. </select1>
  113. <caption id="caption5" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">물품분류 :</caption>
  114. <select1 id="cmb_lrgcd" ref="/root/send/goodref/lrgcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:8; width:125px; height:19px; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  115. <choices>
  116. <itemset>
  117. <label/>
  118. <value/>
  119. </itemset>
  120. </choices>
  121. </select1>
  122. </group>
  123. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:113px; height:13px; ">물품 리스트</caption>
  124. <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:800px; y2:63px; "/>
  125. <datagrid id="grd_goodlist" nodeset="/root/main/goodlist" allowuserresize="false" autoresize="true" caption="물품분류^물품코드^물품명^규격^모델^제조회사^포장단위^환상수량^재고" colwidth="65, 90, 160, 80, 80, 120, 60, 60, 50" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" selectionmode="listbox" rowsep="|" colsep="^" tooltip="true" style="left:0px; top:68px; width:800px; height:448px; ">
  126. <col ref="lrgnm" disabled="true"/>
  127. <col ref="goodcd" disabled="true"/>
  128. <col ref="goodnm" disabled="true"/>
  129. <col ref="goodspec" disabled="true"/>
  130. <col ref="goodmodel" disabled="true"/>
  131. <col ref="prodcmpynm" disabled="true"/>
  132. <col ref="purcunit" disabled="true"/>
  133. <col ref="exchqty" disabled="true"/>
  134. <col ref="stocmngtflag" type="checkbox" checkvalue="Y,N" disabled="true"/>
  135. <script type="javascript" ev:event="ondblclick">
  136. <![CDATA[
  137. if( grd_goodlist.isCell( event.target ) && grd_goodlist.row >= grd_goodlist.fixedRows ) {
  138. btn_confirm.dispatch("DOMActivate");
  139. }
  140. ]]>
  141. </script>
  142. <script type="javascript" ev:event="onaftersort">
  143. <![CDATA[
  144. grd_goodlist.gridToInstance();
  145. ]]>
  146. </script>
  147. </datagrid>
  148. </group>
  149. <group id="group1" scroll="auto" style="left:8px; top:520px; width:800; height:27px; ">
  150. <button id="btn_confirm" class="btn4_letter2" style="left:686px; top:5px; width:56px; height:22px; ">
  151. <caption>확인</caption>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. misfPopUpListReturn(grd_goodlist);
  155. ]]>
  156. </script>
  157. </button>
  158. <button id="btn_cancel" class="btn4_letter2" style="left:744px; top:5px; width:56px; height:22px; ">
  159. <caption>취소</caption>
  160. <close ev:event="DOMActivate"/>
  161. </button>
  162. <line id="line2" class="line_6" style="x1:0px; y1:0px; x2:795px; y2:0px; "/>
  163. </group>
  164. </xhtml:body>
  165. </xhtml:html>