SMRSI02000_미입고현황조회.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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. <list>
  11. <goodreq>
  12. <goodreqlist/>
  13. </goodreq>
  14. </list>
  15. </main>
  16. <send>
  17. <goodreq>
  18. <instcd/>
  19. <reqflag/>
  20. <workflag/>
  21. <reqmthdflag/>
  22. <purcflag/>
  23. <reqdeptcd/>
  24. <reqdeptnm/>
  25. <goodcd/>
  26. <goodnm/>
  27. <reqfrdd/>
  28. <reqtodd/>
  29. <deliveprcsflag/>
  30. </goodreq>
  31. </send>
  32. <init>
  33. <workflag>
  34. <label>전체</label>
  35. <value/>
  36. <label>청구</label>
  37. <value>1</value>
  38. <label>반품</label>
  39. <value>2</value>
  40. </workflag>
  41. </init>
  42. </root>
  43. </instance>
  44. <script type="javascript" ev:event="xforms-ready">
  45. <![CDATA[
  46. fInitialize();
  47. ]]>
  48. </script>
  49. <submission id="TRRSD02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/main/list/goodreq"/>
  50. </model>
  51. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  53. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  54. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  55. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  56. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  57. <script type="javascript">
  58. <![CDATA[
  59. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  60. function fInitialize() {
  61. model.removeNode("/root/main/grid");
  62. model.refresh();
  63. misfComboComCdListMulti("Z0007,R0092,R0111,R0116","cmb_instcd,cmb_reqmthd,cmb_purcflag,cmb_deliveprcsflag");
  64. rszfReqFlagComboComCdList(getUserInfo("userid"),cmb_reqflag,"N",getUserInfo("dutplceinstcd"),"Y");
  65. rszfComboAppendBlankChild("cmb_reqmthd,cmb_purcflag,cmb_deliveprcsflag");
  66. misfGridInit(grd_goodreq);
  67. misfMsterDetailSet(grd_goodreq,null, "TRRSD02001" ,"N");
  68. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  69. model.setValue(ipt_reqdeptcd.attribute("ref") , getUserInfo("dutplcecd"));
  70. model.setValue(ipt_reqdeptnm.attribute("ref") , getUserInfo("dutplcenm"));
  71. var curdate = getCurrentDate();
  72. var cvtdate = curdate.toDate("YYYYMMDD");
  73. model.setValue(ipt_reqfrdd.attribute("ref") ,cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
  74. model.setValue(ipt_reqtodd.attribute("ref") ,curdate);
  75. grd_goodreq.frozenCols = grd_goodreq.colRef("goodnm");
  76. //rbo_workflag.select(0);
  77. model.refresh();
  78. }
  79. function fCheckRetrieveData(pmsg)
  80. {
  81. if(model.getValue(cmb_instcd.attribute("ref")).length== 0 )
  82. {
  83. model.setFocus("cmb_instcd");
  84. return false;
  85. }
  86. }
  87. ]]>
  88. </script>
  89. </xhtml:head>
  90. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  91. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  92. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">일별 청구현황 조회</caption>
  93. </group>
  94. <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  95. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:87px; vertical-align:top; ">
  96. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:87px; background-color:#fffbf2; border-color:#ffd799; "/>
  97. <caption id="caption2" class="search_name" style="left:15; top:9px; width:89px; height:17px; ">기관코드 :</caption>
  98. <select1 id="cmb_instcd" ref="/root/send/goodreq/instcd" class="combo_search" appearance="minimal" style="left:100px; top:8px; width:125px; height:19px; ">
  99. <choices>
  100. <itemset nodeset="/root/init/instcd">
  101. <label ref="cdnm"/>
  102. <value ref="cdid"/>
  103. </itemset>
  104. </choices>
  105. </select1>
  106. <line id="line30" class="line_4" style="x1:1109px; y1:8px; x2:1109px; y2:76px; "/>
  107. <button id="btn_search" class="btn1_letter2" style="left:1124px; top:33px; width:56px; height:22px; ">
  108. <caption>조회</caption>
  109. <script type="javascript" ev:event="DOMActivate">
  110. <![CDATA[
  111. if(fCheckRetrieveData(false) == false)return;
  112. misfGridInit(grd_goodreq)
  113. misfMsterDetailRetrieve();
  114. ]]>
  115. </script>
  116. </button>
  117. <caption id="caption1" class="search_name" style="left:260px; top:9px; width:86px; height:17px; vertical-align:middle; ">청구구분 :</caption>
  118. <select1 id="cmb_reqflag" ref="/root/send/goodreq/reqflag" class="combo_default" appearance="minimal" style="left:345px; top:8px; width:125px; height:19px; ">
  119. <choices>
  120. <itemset nodeset="/root/init/reqflag">
  121. <label ref="cdnm"/>
  122. <value ref="cdid"/>
  123. </itemset>
  124. </choices>
  125. <script type="javascript" ev:event="xforms-value-changed">
  126. <![CDATA[
  127. ]]>
  128. </script>
  129. </select1>
  130. <caption id="caption3" class="search_name" style="left:15; top:35px; width:86px; height:17px; vertical-align:middle; ">작업구분 :</caption>
  131. <select1 id="cmb_reqmthd" ref="/root/send/goodreq/reqmthdflag" class="combo_default" appearance="minimal" style="left:100px; top:60px; width:125px; height:19px; ">
  132. <choices>
  133. <itemset nodeset="/root/init/reqmthd">
  134. <label ref="cdnm"/>
  135. <value ref="cdid"/>
  136. </itemset>
  137. </choices>
  138. </select1>
  139. <caption id="caption4" class="search_name" style="left:15px; top:61; width:86px; height:17px; vertical-align:middle; ">청구방법 :</caption>
  140. <caption id="caption5" class="search_name" style="left:260px; top:61px; width:86px; height:17px; vertical-align:middle; ">구매구분 :</caption>
  141. <select1 id="cmb_purcflag" ref="/root/send/goodreq/purcflag" class="combo_default" appearance="minimal" style="left:345px; top:60px; width:125px; height:19px; ">
  142. <choices>
  143. <itemset nodeset="/root/init/purcflag">
  144. <label ref="cdnm"/>
  145. <value ref="cdid"/>
  146. </itemset>
  147. </choices>
  148. </select1>
  149. <caption id="caption7" class="search_name" style="left:505px; top:9px; width:89px; height:17px; vertical-align:middle; ">청구부서 :</caption>
  150. <input id="ipt_reqdeptnm" ref="/root/send/goodreq/reqdeptnm" class="input_fix" appearance="input" style="left:700px; top:8px; width:149px; height:19px; ">
  151. <script type="javascript" ev:event="xforms-value-changed">
  152. <![CDATA[
  153. if(ipt_reqdeptnm.value.length == 0)
  154. ipt_reqdeptcd.value = "";
  155. else
  156. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
  157. "deptnm," + ipt_reqdeptnm.value, "", "reqdeptcd,reqdeptnm",
  158. ipt_reqdeptnm, "SPRPZ00200", "","");
  159. model.refresh();
  160. ]]>
  161. </script>
  162. </input>
  163. <input id="ipt_reqdeptcd" ref="/root/send/goodreq/reqdeptcd" class="input_fix" maxlength="10" appearance="input" style="left:590px; top:8px; width:85px; height:19px; ">
  164. <script type="javascript" ev:event="xforms-value-changed">
  165. <![CDATA[
  166. if(ipt_reqdeptcd.value.length == 0)
  167. ipt_reqdeptnm.value = "";
  168. else
  169. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
  170. "deptcd," + ipt_reqdeptcd.value, "", "reqdeptcd,reqdeptnm",
  171. ipt_reqdeptcd, "SPRPZ00200", "","");
  172. model.refresh();
  173. ]]>
  174. </script>
  175. </input>
  176. <button id="btn_windeptcd" class="icon_search" style="left:679px; top:10px; width:16px; height:16px; ">
  177. <caption/>
  178. <script type="javascript" ev:event="DOMActivate">
  179. <![CDATA[
  180. var recv_list = "reqdeptcd,reqdeptnm";
  181. misfOpenPopUpList("02", ipt_reqdeptcd,"", recv_list) ;
  182. model.refresh();
  183. ]]>
  184. </script>
  185. </button>
  186. <input id="ipt_goodnm" ref="/root/send/goodreq/goodnm" class="input_fix" appearance="input" style="left:700px; top:34px; width:149px; height:19px; ">
  187. <script type="javascript" ev:event="xforms-value-changed">
  188. <![CDATA[
  189. if(ipt_goodnm.value.length == 0)
  190. ipt_goodcd.value = "";
  191. else
  192. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,reqflag,goodnm",
  193. "goodnm," + model.getValue(cmb_instcd.attribute("ref")) + "," + cmb_reqflag.value + "," + model.getValue(ipt_goodnm.attribute("ref")) ,"","goodcd,goodnm",
  194. ipt_goodcd,"SPRSD00210","instcd","cmb_instcd");
  195. model.refresh();
  196. ]]>
  197. </script>
  198. </input>
  199. <input id="ipt_goodcd" ref="/root/send/goodreq/goodcd" class="input_fix" imemode="disabled" _chartype="upper" maxlength="10" appearance="input" style="left:590px; top:34px; width:85px; height:19px; ">
  200. <script type="javascript" ev:event="xforms-value-changed">
  201. <![CDATA[
  202. if(ipt_goodcd.value.length == 0)
  203. ipt_goodnm.value = "";
  204. else
  205. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,reqflag,goodcd",
  206. "goodcd," + model.getValue(cmb_instcd.attribute("ref")) + "," + cmb_reqflag.value + "," + model.getValue(ipt_goodcd.attribute("ref")) ,"","goodcd,goodnm",
  207. ipt_goodcd,"SPRSD00210","instcd","cmb_instcd");
  208. model.refresh();
  209. ]]>
  210. </script>
  211. </input>
  212. <caption id="caption11" class="search_name" style="left:505px; top:35px; width:89px; height:17px; vertical-align:middle; ">물품코드 :</caption>
  213. <button id="button1" class="icon_search" style="left:679px; top:32px; width:16px; height:16px; ">
  214. <caption/>
  215. <script type="javascript" ev:event="DOMActivate">
  216. <![CDATA[
  217. rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag","cmb_instcd,cmb_goodflag");
  218. model.refresh();
  219. ]]>
  220. </script>
  221. </button>
  222. <caption id="caption12" class="search_name" style="left:505px; top:61px; width:89px; height:17px; vertical-align:middle; ">청구일자 :</caption>
  223. <input id="ipt_reqfrdd" ref="/root/send/goodreq/reqfrdd" class="input_s_essential" inputtype="date" style="left:590px; top:60px; width:120px; height:19px; "/>
  224. <input id="ipt_reqtodd" ref="/root/send/goodreq/reqtodd" class="input_s_essential" inputtype="date" style="left:729px; top:60px; width:120px; height:19px; "/>
  225. <caption id="caption13" class="search_name" style="left:260px; top:35px; width:89px; height:17px; vertical-align:middle; ">진행상태 :</caption>
  226. <select1 id="cmb_deliveprcsflag" ref="/root/send/goodreq/deliveprcsflag" class="combo_default" appearance="minimal" style="left:345px; top:34px; width:125px; height:19px; ">
  227. <choices>
  228. <itemset nodeset="/root/init/deliveprcsflag">
  229. <label ref="cdnm"/>
  230. <value ref="cdid"/>
  231. </itemset>
  232. </choices>
  233. </select1>
  234. <select1 id="cmb_workflag" ref="/root/send/goodreq/workflag" class="combo_default" appearance="minimal" style="left:100px; top:34; width:125px; height:19px; ">
  235. <choices>
  236. <item>
  237. <label>전체</label>
  238. <value/>
  239. </item>
  240. <item>
  241. <label>청구</label>
  242. <value>1</value>
  243. </item>
  244. <item>
  245. <label>반품</label>
  246. <value>2</value>
  247. </item>
  248. </choices>
  249. <script type="javascript" ev:event="xforms-value-changed">
  250. <![CDATA[
  251. btn_search.dispatch("DOMActivate");
  252. ]]>
  253. </script>
  254. </select1>
  255. <caption id="caption9" style="left:714px; top:61px; width:20px; height:20px; font-weight:bold; ">~</caption>
  256. </group>
  257. <datagrid id="grd_goodreq" nodeset="/root/main/list/goodreq/goodreqlist" caption="청구일자^청구부서^청구구분^작업구분^청구순번^물품코드^물품명^규격^모델^제조회사^청구수량^청구단위^진행상태^조정수량^불출수량^조정자^미입고사유^비고^청구방법^불출구분^구매구분" colsep="^" colwidth="68, 89, 57, 59, 59, 84, 240, 89, 88, 73, 67, 55, 75, 60, 55, 55, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:126px; width:1195px; height:608px; ">
  258. <col ref="reqdd" format="yyyy-mm-dd"/>
  259. <col ref="reqdeptnm"/>
  260. <col ref="reqflag"/>
  261. <col ref="workflag"/>
  262. <col ref="reqseqno" style="text-align:center; "/>
  263. <col ref="goodcd"/>
  264. <col ref="goodnm"/>
  265. <col ref="goodspec"/>
  266. <col ref="goodmodel"/>
  267. <col ref="prodcmpynm"/>
  268. <col ref="reqqty" format="#,###" style="text-align:right; "/>
  269. <col ref="requnit"/>
  270. <col ref="deliveprcsflag"/>
  271. <col ref="adjtqty" format="#,###" style="text-align:right; "/>
  272. <col ref="deliveqty" format="#,###" style="text-align:right; "/>
  273. <col ref="adjtrsn" style="text-align:right; "/>
  274. <col ref="unwinresn"/>
  275. <col ref="cmt"/>
  276. <col ref="reqmthdflag"/>
  277. <col ref="deliveflag"/>
  278. <col ref="purcflag"/>
  279. <script type="javascript" ev:event="onaftersort">
  280. <![CDATA[
  281. grd_goodreq.gridToInstance();
  282. ]]>
  283. </script>
  284. </datagrid>
  285. <caption id="caption8" class="tit_2" style="left:5px; top:106px; width:118px; height:13px; ">청구현황내역</caption>
  286. <line id="line1" class="line_1" style="x1:0px; y1:121px; x2:1195px; y2:121px; "/>
  287. </group>
  288. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  289. <caption id="caption10" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">일별 청구현황 조회</caption>
  290. </group>
  291. <group id="group2" style="left:0px; top:12; width:1195px; height:27px; ">
  292. <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  293. <caption>출력</caption>
  294. </button>
  295. <button id="button6" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  296. <caption>초기화</caption>
  297. <script type="javascript" ev:event="DOMActivate">
  298. <![CDATA[
  299. fInitialize();
  300. ]]>
  301. </script>
  302. </button>
  303. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  304. </group>
  305. </xhtml:body>
  306. </xhtml:html>