SMRSP00500_거래처별계약건조회(경북대).xrw 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>거래처별 계약건 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <cond>
  10. <suppcustcd/>
  11. <instcd/>
  12. <suppcustnm/>
  13. </cond>
  14. <main>
  15. <list>
  16. <goodconinfo>
  17. <goodconlist/>
  18. </goodconinfo>
  19. </list>
  20. </main>
  21. <init>
  22. </init>
  23. <send>
  24. <reqdata/>
  25. </send>
  26. <hidden>
  27. </hidden>
  28. </root>
  29. </instance>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. //화면 Control을 초기화한다
  33. fInitialize();
  34. ]]>
  35. </script>
  36. <submission id="TRRSP00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/list"/>
  37. </model>
  38. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  40. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  41. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  44. <script type="javascript">
  45. <![CDATA[
  46. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  47. function fInitialize() {
  48. misfGridInit(grd_gooddmndlist);
  49. var curdate = getCurrentDate();
  50. misfComboComCdList("Z0007" ,cmb_instcd);
  51. model.setValue("/root/cond/instcd",getUserInfo("dutplceinstcd"));
  52. //misfComboComCdList("030M0001" ,cmb_wareflag);
  53. //addComboItem( "cmb_wareflag", "전체", "", "above");
  54. //model.setValue(ipt_srchfromdd.attribute("ref") ,curdate);
  55. model.refresh();
  56. }
  57. ]]>
  58. </script>
  59. </xhtml:head>
  60. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  61. <group id="group1" style="left:0px; top:0px; width:1195; height:13px; ">
  62. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">거래처별 계약건 조회</caption>
  63. </group>
  64. <group id="group5" scroll="auto" style="left:0px; top:38; width:1195; height:744; ">
  65. <group id="group6" style="left:0px; top:10px; width:1195px; height:65px; vertical-align:top; ">
  66. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  67. <input id="ipt_suppcustcd" ref="/root/cond/suppcustcd" class="input" navindex="1" style="left:436px; top:19px; width:135px; height:19px; text-align:center; "/>
  68. <line id="line2" class="line_4" style="x1:1079px; y1:7px; x2:1079px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
  69. <caption id="caption5" class="search_name" style="left:325px; top:20px; width:101px; height:17px; ">거래처코드 :</caption>
  70. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1094px; top:17px; width:56px; height:22px; text-align:left; ">
  71. <caption>조회</caption>
  72. <script type="javascript" ev:event="DOMActivate">
  73. <![CDATA[
  74. if(submit("TRRSP00501")){
  75. }
  76. ]]>
  77. </script>
  78. </button>
  79. <script type="javascript" ev:event="xforms-value-changed">
  80. <![CDATA[
  81. //btn_search.dispatch("DOMActivate");
  82. ]]>
  83. </script>
  84. <select1 id="cmb_instcd" ref="/root/cond/instcd" class="combo_default" disabled="true" appearance="minimal" style="left:111px; top:20px; width:136px; height:19px; ">
  85. <choices>
  86. <itemset nodeset="/root/init/instcd">
  87. <label ref="cdnm"/>
  88. <value ref="cdid"/>
  89. </itemset>
  90. </choices>
  91. </select1>
  92. <caption id="cap_instcd" class="search_name" style="left:20px; top:20px; width:86px; height:17px; ">기관코드 :</caption>
  93. <input id="ipt_suppcustnm" ref="/root/cond/suppcustnm" class="input" navindex="1" style="left:595px; top:20px; width:280px; height:19px; text-align:center; "/>
  94. </group>
  95. <datagrid id="grd_gooddmndlist" nodeset="/root/main/list/goodconinfo/goodconlist" class="datagrid2" caption="계약일자/SEQ^계약일자/SEQ^건 명^납기일^거래처^계약금액^작성자^납품장소^생성일자^사용자ID/명^사용자ID/명^수정일자" colsep="^" colwidth="97, 46, 364, 100, 155, 198, 66, 144, 91, 75, 82, 100" dataheight="23" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:104px; width:1195px; height:631px; ">
  96. <col ref="purccondd" format="yyyy-mm-dd" style="text-align:center; "/>
  97. <col ref="purcconno" style="text-align:center; "/>
  98. <col ref="goodcntnm" style="text-align:center; "/>
  99. <col ref="expsschedate" format="yyyy-mm-dd" style="text-align:center; "/>
  100. <col ref="suppcustnm" style="text-align:center; "/>
  101. <col ref="totconamt" format="#,###" style="text-align:right; "/>
  102. <col ref="chrgid" type="output" style="text-align:center; "/>
  103. <col ref="suppos" style="text-align:center; "/>
  104. <col ref="fstrgstdt" format="yyyy-mm-dd" style="text-align:center; "/>
  105. <col ref="lastupdtrid" style="text-align:center; "/>
  106. <col ref="lastupdtrnm" style="text-align:center; "/>
  107. <col ref="lastupdtdt" format="yyyy-mm-dd" style="text-align:center; "/>
  108. </datagrid>
  109. <caption id="caption35" class="tit_2" style="left:5px; top:84px; width:139px; height:14px; ">구매현황내역</caption>
  110. <line id="line15" class="line_1" style="x1:0px; y1:101px; x2:1195px; y2:100px; "/>
  111. <button id="button1" class="btn5_letter5" navindex="12" style="left:1115px; top:77px; width:75px; height:19px; ">
  112. <caption>Excel 저장</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. if( grd_gooddmndlist.rows - grd_gooddmndlist.fixedRows > 0 ) {
  116. var fileName = "구매현황내역";
  117. var fileName = window.fileDialog("save", ",", false, fileName, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  118. grd_gooddmndlist.saveExcel(fileName, "Sheet");
  119. } else {
  120. messageBox("저장 데이터가","I004");
  121. }
  122. ]]>
  123. </script>
  124. </button>
  125. </group>
  126. <group id="group4" ref="/root/init/instcd" style="left:0px; top:12; width:1195; height:26px; ">
  127. <button id="button8" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  128. <caption>출력</caption>
  129. <script type="javascript" ev:event="DOMActivate">
  130. <![CDATA[
  131. ]]>
  132. </script>
  133. </button>
  134. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1195; y2:25px; "/>
  135. <button id="button2" class="btn6_letter4" visibility="hidden" style="left:60px; top:3px; width:56px; height:22px; ">
  136. <caption>미리보기</caption>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. ]]>
  140. </script>
  141. </button>
  142. </group>
  143. <button id="btn_maincustlastsuplplce" class="icon_search" style="left:576px; top:69px; width:16px; height:16px; ">
  144. <caption/>
  145. <script type="javascript" ev:event="DOMActivate">
  146. <![CDATA[
  147. rszfOpenPopUpListByWndName(ipt_suppcustcd,"","suppcustcd,suppcustnm,prsdnm,cntctel","SPRSD00220","instcd","cmb_instcd" );
  148. ipt_suppcustcd.refresh();
  149. ipt_suppcustnm.refresh();
  150. ]]>
  151. </script>
  152. </button>
  153. </xhtml:body>
  154. </xhtml:html>