SMAGA00200_물품관리.xrw 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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. <ipgoinfo>
  11. <ipgolist>
  12. <goodcd/>
  13. <goodnm/>
  14. <goodspec/>
  15. <allsizespecidnm/>
  16. <goodmodel/>
  17. <deliveunit/>
  18. <goodunitcost/>
  19. <prodcmpynm/>
  20. <custcd/>
  21. <custnm/>
  22. <suppcustnm/>
  23. <perchgr/>
  24. <safestocqty/>
  25. <suppdeptcd/>
  26. <allsizespecid/>
  27. </ipgolist>
  28. </ipgoinfo>
  29. </main>
  30. <send>
  31. <iodate/>
  32. <custnm/>
  33. <prodcmpynm/>
  34. <goodcd/>
  35. <goodnm/>
  36. <totinqty/>
  37. <totrtninqty/>
  38. <totoutqty/>
  39. <prcpdd/>
  40. <globalinstance>
  41. <instance1/>
  42. </globalinstance>
  43. <req>
  44. <data/>
  45. </req>
  46. <openerid>SMAGA00200</openerid>
  47. </send>
  48. <init>
  49. <baseinfo>
  50. <intiunit/>
  51. </baseinfo>
  52. </init>
  53. <hidden>
  54. <item/>
  55. </hidden>
  56. <cmb_info>
  57. <dpcminfo>
  58. <dpcmcust>
  59. <custnm/>
  60. <perchgr/>
  61. <cntctel/>
  62. <faxno/>
  63. <mpphontel/>
  64. <email/>
  65. <auttrsmflag/>
  66. <custcd/>
  67. <suppdeptcd/>
  68. <instcd/>
  69. <trsmtrid/>
  70. <useyn/>
  71. </dpcmcust>
  72. </dpcminfo>
  73. </cmb_info>
  74. </root>
  75. </instance>
  76. <submission id="TRAGA00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ipgoinfo"/>
  77. <submission id="TXAGA00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
  78. <script type="javascript" ev:event="xforms-ready">
  79. <![CDATA[
  80. aezfSetSuppDeptcd();
  81. zbcfGetCodeList( new Array("R0039"), new Array("/root/init/baseinfo/intiunit") );
  82. submit("TRAGA00101");
  83. model.removeNodeset("/root/main/ipgoinfo/ipgolist");
  84. //btn_sea.dispatch("DOMActivate");
  85. model.refresh();
  86. ]]>
  87. </script>
  88. <submission id="TRZBC00101"/>
  89. <submission id="TRAGA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/cmb_info/dpcminfo"/>
  90. </model>
  91. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  92. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  93. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  94. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  95. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  96. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  97. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  98. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  99. </xhtml:head>
  100. <xhtml:body guideline="1,1195;2,784;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  101. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  102. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  103. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  104. <line id="line13" class="line_4" style="x1:1112px; y1:7px; x2:1112px; y2:29px; "/>
  105. <button id="btn_sea" class="btn1_letter2" style="left:1128px; top:7px; width:56px; height:22px; ">
  106. <caption>조회</caption>
  107. <script type="javascript" ev:event="DOMActivate">
  108. <![CDATA[
  109. model.removeNodeset("/root/main/ipgoinfo/ipgolist");
  110. submit("TRAGA00201");
  111. ]]>
  112. </script>
  113. </button>
  114. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">물품명 :</caption>
  115. <input id="input5" ref="/root/send/goodnm" navindex="5" style="left:95px; top:7px; width:120px; height:19px; "/>
  116. <select1 id="combo1" ref="/root/send/custnm" appearance="minimal" editmode="input" style="left:395px; top:7px; width:145px; height:19px; ">
  117. <choices>
  118. <itemset nodeset="/root/cmb_info/dpcminfo">
  119. <label ref="dpcmcust/custnm"/>
  120. <value ref="dpcmcust/custnm"/>
  121. </itemset>
  122. </choices>
  123. </select1>
  124. <caption id="caption3" class="search_name" style="left:300px; top:8px; width:86px; height:17px; ">거래처명 :</caption>
  125. </group>
  126. <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:131px; height:14px; ">물품 마스터 현황</caption>
  127. <line id="line1" class="line_1" style="x1:3px; y1:73px; x2:1194px; y2:74px; "/>
  128. <datagrid id="datagrid1" nodeset="/root/main/ipgoinfo/ipgolist" caption="물품코드^물품명^규격^All Size^모델^단위^단가^제조회사^거래처코드^거래처명^보조거래처^담당자^안전재고량^caption1^caption2" colsep="^" colwidth="78, 212, 89, 79, 77, 58, 79, 107, 71, 77, 112, 72, 75, 100, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:3px; top:77px; width:1191px; height:660px; ">
  129. <col ref="goodcd" style="text-align:left; "/>
  130. <col ref="goodnm" style="text-align:left; "/>
  131. <col ref="goodspec" style="text-align:left; "/>
  132. <col ref="allsizespecidnm" style="text-align:left; "/>
  133. <col ref="goodmodel" style="text-align:left; "/>
  134. <col disabled="true" ref="deliveunit" type="combo" style="text-align:left; ">
  135. <choices>
  136. <itemset nodeset="/root/init/baseinfo/intiunit/R0039">
  137. <label ref="cdnm"/>
  138. <value ref="cdid"/>
  139. </itemset>
  140. </choices>
  141. </col>
  142. <col ref="goodunitcost" format="#,###" style="text-align:right; "/>
  143. <col ref="prodcmpynm" style="text-align:left; "/>
  144. <col ref="custcd" type="inputbutton"/>
  145. <col ref="custnm" style="text-align:left; "/>
  146. <col ref="suppcustnm" style="text-align:left; "/>
  147. <col ref="perchgr" type="input" style="text-align:left; "/>
  148. <col ref="safestocqty" type="input" format="999999" style="text-align:right; "/>
  149. <col ref="suppdeptcd" visibility="hidden"/>
  150. <col ref="allsizespecid" visibility="hidden"/>
  151. <script type="javascript" ev:event="xforms-value-changed">
  152. <![CDATA[
  153. ]]>
  154. </script>
  155. <script type="javascript" ev:event="onaftersort">
  156. <![CDATA[
  157. datagrid1.gridToInstance();
  158. ]]>
  159. </script>
  160. <script type="javascript" ev:event="onbuttonclick">
  161. <![CDATA[
  162. modal("SPAGA05600", "", "200", "200", "popup", "", "");
  163. ]]>
  164. </script>
  165. </datagrid>
  166. <button id="btn_grddel" class="btn2_letter3" disabled="false" style="left:1137px; top:52px; width:53px; height:19px; ">
  167. <caption>행삭제</caption>
  168. <script type="javascript" ev:event="DOMActivate">
  169. <![CDATA[
  170. // grd_examcureroom.add(grd_examcureroom.row,"delete");
  171. deleteSelectedRows(datagrid1, true);
  172. ]]>
  173. </script>
  174. </button>
  175. <button id="button9" class="btn3_letter6" style="left:955px; top:50px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn3_letter4.gif; ">
  176. <caption>물품코드추가</caption>
  177. <script type="javascript" ev:event="DOMActivate">
  178. <![CDATA[
  179. modal("SPAGA05500", "", "200", "200", "popup", "", "");
  180. ]]>
  181. </script>
  182. </button>
  183. <button id="btn_excel" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1070px; top:52px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
  184. <caption>엑셀저장</caption>
  185. <script type="javascript" ev:event="DOMActivate">
  186. <![CDATA[
  187. var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
  188. if(file == "") return;
  189. datagrid1.saveExcel(file, "sheet1");
  190. ]]>
  191. </script>
  192. </button>
  193. </group>
  194. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  195. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  196. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:4px; width:56px; height:22px; ">
  197. <caption>저장</caption>
  198. <script type="javascript" ev:event="DOMActivate">
  199. <![CDATA[
  200. if ( messageBox("","Q002")==6 ) {
  201. var update = getGridUpdateData(datagrid1);
  202. if(update == ""){
  203. messageBox("업데이트 정보가 없습니다.", "I");
  204. return 0;
  205. } else {
  206. model.setValue("/root/send/req/data", update);
  207. if (submit("TXAGA00201")){
  208. btn_sea.dispatch("DOMActivate");
  209. }
  210. }
  211. }
  212. ]]>
  213. </script>
  214. </button>
  215. </group>
  216. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  217. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:144px; height:14px; ">물품 마스터 관리</caption>
  218. </group>
  219. </xhtml:body>
  220. </xhtml:html>