SMRSO01900_거래처 제조회사별 출고금액현황.xrw 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. <rsohoutscustcdselect/>
  11. </main>
  12. <send>
  13. <instcd/>
  14. <goodflag/>
  15. <delivefrdd/>
  16. <delivetodd/>
  17. </send>
  18. <init/>
  19. <temp/>
  20. </root>
  21. </instance>
  22. <submission id="TRRSO01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rsohoutscustcdselect"/>
  23. <script type="javascript" ev:event="xforms-ready">
  24. <![CDATA[
  25. //화면 Control을 초기화한다
  26. fInitialize();
  27. ]]>
  28. </script>
  29. <bind id="deliveamt" ref="/root/main/rsohoutscustcdselect/deliveamt" calculate="../delivedeptqty * ../goodunitcost"/>
  30. </model>
  31. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  32. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  33. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  34. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  35. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  36. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  37. <script type="javascript">
  38. <![CDATA[
  39. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  40. function fInitialize() {
  41. model.resetInstanceNode("/root/send");
  42. rszfGoodFlagListByPgmGubn(cmb_goodflag,"1","N");
  43. rszfUserInstList(cmb_instcd,getUserInfo("userid"));
  44. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  45. var curdate = getCurrentDate();
  46. var cvtdate = curdate.toDate("YYYYMMDD");
  47. misfGridInit(grd_rsohoutscustcdselect);
  48. misfMsterDetailSet(grd_rsohoutscustcdselect,null, "TRRSO01901" ,"N");
  49. model.setValue(ipt_delivefrdd.attribute("ref") ,cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
  50. model.setValue(ipt_delivetodd.attribute("ref") ,curdate);
  51. grd_rsohoutscustcdselect.subtotalposition = "after";
  52. model.refresh();
  53. }
  54. //필수항목 체크하는 메소드 넣기.
  55. function fCheckRetrieveData()
  56. {
  57. if(!isRequiredControls("cmb_instcd") )return false; // 기관코드 , commonweb/js/tfHelper.js
  58. if(!isRequiredControls("cmb_goodflag") )return false; // 물품구분
  59. if(!isRequiredControls("ipt_delivefrdd") )return false; // 출고시작일자
  60. if(!isRequiredControls("ipt_delivetodd") )return false; // 출고종료일자
  61. //if(!isRequiredControls("cmb_stocdeptcd") )return false; // 부서코드
  62. }
  63. ]]>
  64. </script>
  65. </xhtml:head>
  66. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  67. <group id="group1" style="left:0px; top:0px; width:1195; height:13px; ">
  68. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:214px; height:14px; ">거래처/제조회사별 출고금액</caption>
  69. </group>
  70. <group id="group5" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  71. <caption id="caption21" class="tit_2" style="left:5px; top:57px; width:216px; height:13px; ">거래처/제조회사별 출고금액내역</caption>
  72. <group id="group6" style="left:0px; top:13px; width:1195px; height:35px; vertical-align:top; ">
  73. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  74. <caption id="cap_goodflag" class="search_name" style="left:249px; top:9px; width:93px; height:17px; ">물품구분 :</caption>
  75. <caption id="cap_delivefrdd" class="search_name" style="left:485px; top:9px; width:93px; height:17px; ">출고일자 :</caption>
  76. <select1 id="cmb_goodflag" ref="/root/send/goodflag" class="combo_s_essential" appearance="minimal" style="left:336px; top:8px; width:108px; height:19px; ">
  77. <choices>
  78. <itemset nodeset="/root/init">
  79. <label ref="cdnm"/>
  80. <value ref="cdid"/>
  81. </itemset>
  82. </choices>
  83. </select1>
  84. <input id="ipt_delivefrdd" ref="/root/send/delivefrdd" class="input_s_essential" inputtype="date" style="left:572px; top:8px; width:100px; height:19px; "/>
  85. <input id="ipt_delivetodd" ref="/root/send/delivetodd" class="input_s_essential" inputtype="date" style="left:690px; top:8px; width:102px; height:19px; "/>
  86. <caption id="caption11" class="search_n_b" style="left:675px; top:10px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  87. <line id="line18" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:29px; border-left-style:solid; "/>
  88. <button id="btn_search" class="btn1_letter2" style="left:1124px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  89. <caption>조회</caption>
  90. <script type="javascript" ev:event="DOMActivate">
  91. <![CDATA[
  92. /*
  93. misfGridInit(grd_rsohoutscustcdselect);
  94. if(fCheckRetrieveData(false) == false)return;
  95. //misfGridInit(grd_rsohoutscustcdselect)
  96. misfMsterDetailRetrieve();
  97. grd_rsohoutscustcdselect.subtotal("clear",0 , 0);
  98. //거래처별 출고금액합계
  99. grd_rsohoutscustcdselect.subtotal("sum" , 1 , 7 , "format:#,###.0; ", "background-color:#ffff99; font-weight:bold; " , 1 , "거래처별출고금액");
  100. //제조회사별 출로금액합계
  101. //grd_rsohoutscustcdselect.subtotal("sum" , 2 , 7 , "format:#,###.0; ", "background-color:#ffff99; font-weight:bold; " , 2 , "제조회사별출고금액");
  102. //submit("TRRSO01901");
  103. model.refresh();
  104. */
  105. ]]>
  106. </script>
  107. </button>
  108. <caption id="cap_instcd" class="search_name" style="left:15px; top:9; width:93px; height:17px; ">기관코드 :</caption>
  109. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:8; width:108px; height:19px; ">
  110. <choices>
  111. <itemset nodeset="/root/init">
  112. <label ref="cdnm"/>
  113. <value ref="cdid"/>
  114. </itemset>
  115. </choices>
  116. </select1>
  117. </group>
  118. <line id="line15" class="line_1" style="x1:0px; y1:72px; x2:1195px; y2:72px; "/>
  119. <datagrid id="grd_rsohoutscustcdselect" nodeset="/root/main/rsohoutscustcdselect" caption="거 래 처^사업자등록번호^순 위^제조회사^품 목 수^제품단가^출고금액" colsep="^" colwidth="406, 100, 80, 300, 70, 100, 120" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:77px; width:1195px; height:657px; ">
  120. <col ref="suppcustcdnm"/>
  121. <col ref="maincustlastsuplplce"/>
  122. <col ref="deliveseqno" visibility="hidden" style="text-align:right; "/>
  123. <col ref="prodcmpynm"/>
  124. <col ref="delivedeptqty" style="text-align:right; "/>
  125. <col ref="goodunitcost" visibility="visible" format="#,###" style="text-align:right; "/>
  126. <col ref="deliveamt" format="#,###" style="text-align:right; "/>
  127. </datagrid>
  128. </group>
  129. <group id="group4" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  130. <button id="button34" class="btn6_letter2" visibility="hidden" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:0; top:3px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
  131. <caption>출력</caption>
  132. </button>
  133. <line id="line1" class="line_6" style="x1:0px; y1:25; x2:1195; y2:25; "/>
  134. <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  135. <caption>초기화</caption>
  136. <script type="javascript" ev:event="DOMActivate">
  137. <![CDATA[
  138. fInitialize();
  139. ]]>
  140. </script>
  141. </button>
  142. </group>
  143. </xhtml:body>
  144. </xhtml:html>