SMMNG03200_세탁물창고수불관리.xrw 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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>세탁물 창고수불 관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <whioinfo>
  11. <whiolist>
  12. <goodcd/>
  13. <goodnm/>
  14. <goodspec/>
  15. <incnt/>
  16. <outcnt/>
  17. <remark1/>
  18. <fstrgstrid/>
  19. <ioseq/>
  20. <ioflag/>
  21. <iodd/>
  22. </whiolist>
  23. <csrdeptlist/>
  24. </whioinfo>
  25. <csrdeptlist/>
  26. </main>
  27. <send>
  28. <instcdnm/>
  29. <iodd/>
  30. <gubuncd>02</gubuncd>
  31. </send>
  32. <cond>
  33. <iodd/>
  34. </cond>
  35. </root>
  36. </instance>
  37. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  40. <script type="javascript" ev:event="xforms-ready">
  41. <![CDATA[
  42. fInitialize();
  43. ]]>
  44. </script>
  45. <submission id="TRMNG03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/whioinfo"/>
  46. <submission id="TXMNG03201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  47. </model>
  48. <script type="javascript">
  49. <![CDATA[
  50. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  51. function fInitialize()
  52. {
  53. model.setValue(opt_instcdnm.attribute("ref"), getUserInfo("dutplceinstnm")); //기관코드
  54. model.setValue(ipt_iodd.attribute("ref"), getCurrentDate()); //년월
  55. fSearch();
  56. }
  57. function fSearch() {
  58. model.setValue("/root/send/iodd", model.getValue(ipt_iodd.attribute("ref")));
  59. submit("TRMNG03201");
  60. var ioflag;
  61. for(var i = grd_whiolist.fixedRows; i < grd_whiolist.rows; i++) {
  62. ioflag = grd_whiolist.valueMatrix(i, grd_whiolist.colRef("ioflag"));
  63. if(ioflag == "N") {
  64. grd_whiolist.rowStatus(i) = "1";
  65. }
  66. }
  67. }
  68. ]]>
  69. </script>
  70. </xhtml:head>
  71. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1210;2,756;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  72. <group id="grp_tle" style="left:0px; top:0px; width:1185px; height:13px; ">
  73. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">세탁물 창고수불 관리</caption>
  74. </group>
  75. <group id="grp_biz" scroll="auto" style="left:0px; top:60px; width:1185px; height:680px; ">
  76. <caption id="caption12" class="tit_2" style="left:5px; top:9px; width:121px; height:14px; ">세탁물 창고수불 관리</caption>
  77. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1185px; y2:26px; "/>
  78. <button id="btn_sav" class="btn5_letter2" style="left:1137px; top:3px; width:42px; height:19px; ">
  79. <caption>저장</caption>
  80. <script type="javascript" ev:event="DOMActivate">
  81. <![CDATA[
  82. model.makeValue("/root/send/savedata/whiolist", getGridUpdateData(grd_whiolist) );
  83. submit("TXMNG03201");
  84. fSearch();
  85. ]]>
  86. </script>
  87. </button>
  88. <datagrid id="grd_whiolist" nodeset="/root/main/whioinfo/whiolist" visibility="visible" caption="물품코드^물품명^규격^입고량^출고량^관리자^비고^seq^flag^일자" colsep="^" colwidth="136, 197, 182, 101, 100, 110, 308, 100, 22, 36" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:25px; width:1185px; height:655px; ">
  89. <col ref="goodcd" visibility="visible"/>
  90. <col ref="goodnm" visibility="visible"/>
  91. <col ref="goodspec" visibility="visible"/>
  92. <col ref="incnt" type="input" visibility="visible" format="#,###"/>
  93. <col ref="outcnt" type="input" visibility="visible" format="#,###"/>
  94. <col ref="fstrgstrid"/>
  95. <col ref="remark1" type="input" visibility="visible"/>
  96. <col ref="ioseq" visibility="hidden"/>
  97. <col ref="ioflag" visibility="hidden"/>
  98. <col ref="iodd" visibility="hidden"/>
  99. <script type="javascript" ev:event="onkeypress">
  100. <![CDATA[
  101. var row = grd_whiolist.row;
  102. if(event.keyCode == 13) { // Enter 쳤을 경우 아래 수량으로
  103. if(grd_whiolist.col == grd_whiolist.colRef("incnt") || grd_whiolist.col == grd_whiolist.colRef("outcnt")) { //불출수량이나 미불출수량 엔터시
  104. if(grd_whiolist.row + 1 < grd_whiolist.rows) {
  105. grd_whiolist.row = row + 1;
  106. }
  107. }
  108. }
  109. ]]>
  110. </script>
  111. </datagrid>
  112. <select1 id="rdo_gubuncd" ref="/root/send/gubuncd" disabled="true" visibility="hidden" overflow="visible" appearance="full" cols="2" style="left:220px; top:5px; width:390px; height:15px; border-style:none; ">
  113. <choices>
  114. <item>
  115. <label>물품마스터</label>
  116. <value>01</value>
  117. </item>
  118. <item>
  119. <label>창고마스터</label>
  120. <value>02</value>
  121. </item>
  122. </choices>
  123. </select1>
  124. </group>
  125. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:1185px; height:35px; background-color:#fffbf2; border-color:#ffd799; ">.,m</shape>
  126. <button id="btn_search" class="btn1_letter2" navindex="2" style="left:1120px; top:25px; width:56px; height:22px; ">
  127. <caption>조회</caption>
  128. <script type="javascript" ev:event="DOMActivate">
  129. <![CDATA[
  130. fSearch();
  131. ]]>
  132. </script>
  133. </button>
  134. <line id="line2" class="line_4" style="x1:1100px; y1:25px; x2:1100px; y2:50px; "/>
  135. <caption id="cap_csrreqdeptcd" class="search_name" style="left:285px; top:30px; width:81px; height:17px; ">일자:</caption>
  136. <input id="ipt_iodd" ref="/root/cond/iodd" class="input_default" inputtype="date" maxlength="6" format="yyyy-mm-dd" style="left:345px; top:30px; width:85px; height:19px; ">
  137. <script type="javascript" ev:event="xforms-value-changed">
  138. <![CDATA[
  139. fSearch();
  140. ]]>
  141. </script>
  142. </input>
  143. <caption id="cap_instcd" class="search_name" style="left:10px; top:30px; width:86px; height:17px; ">기관코드 :</caption>
  144. <output id="opt_instcdnm" ref="/root/send/instcdnm" class="output_fix" style="left:100px; top:30px; width:175px; height:19px; text-align:center; "/>
  145. </xhtml:body>
  146. </xhtml:html>