SMRSD02000_일별 청구현황 조회.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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. <main>
  10. <list>
  11. <goodreq>
  12. <goodreqlist/>
  13. </goodreq>
  14. </list>
  15. <getrsdhdemd>
  16. <goodreqlist>
  17. <goodcd/>
  18. <goodnm/>
  19. <goodspec/>
  20. <goodmodel/>
  21. <requnit/>
  22. <reqdeptnm/>
  23. <adjtqty/>
  24. <reqdd/>
  25. <instnm/>
  26. <reqpsnnm/>
  27. <suppcustnm/>
  28. <prodcmpynm/>
  29. </goodreqlist>
  30. </getrsdhdemd>
  31. </main>
  32. <send>
  33. <goodreq>
  34. <instcd/>
  35. <reqflag/>
  36. <workflag/>
  37. <reqmthdflag/>
  38. <purcflag/>
  39. <reqdeptcd/>
  40. <reqdeptnm/>
  41. <goodcd/>
  42. <goodnm/>
  43. <reqfrdd/>
  44. <reqtodd/>
  45. <deliveprcsflag/>
  46. <instcdnm/>
  47. <goodflag/>
  48. <emplno/>
  49. <emplnm/>
  50. <suppcustcd/>
  51. <suppcustcdnm/>
  52. <acntcd/>
  53. <acntnm/>
  54. <suplplcecd/>
  55. <suplplcenm/>
  56. <costconyn/>
  57. </goodreq>
  58. <goodprintreq/>
  59. </send>
  60. <init>
  61. <workflag>
  62. <label>전체</label>
  63. <value/>
  64. <label>청구</label>
  65. <value>1</value>
  66. <label>반품</label>
  67. <value>2</value>
  68. </workflag>
  69. <systemflag/>
  70. </init>
  71. </root>
  72. </instance>
  73. <script type="javascript" ev:event="xforms-ready">
  74. <![CDATA[
  75. fInitialize();
  76. ]]>
  77. </script>
  78. <submission id="TRRSD02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/main/list/goodreq"/>
  79. </model>
  80. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  82. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  83. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  86. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  87. <script type="javascript">
  88. <![CDATA[
  89. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  90. function fInitialize() {
  91. model.removeNode("/root/main/grid");
  92. model.refresh();
  93. misfComboComCdList("R0092",cmb_reqmthd ,"Y"); // 청구방번
  94. misfComboComCdList("R0111",cmb_purcflag ,"Y"); // 구매구분
  95. misfComboComCdList("R0116",cmb_deliveprcsflag,"Y"); // 진행상태
  96. // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= S) => (goodflag= SF)
  97. rszfUserReqFlagList(cmb_reqflag,getUserInfo("dutplceinstcd"),getUserInfo("userid"),"1","S" ); // preqpgmgubun : '1' :구매재고
  98. // [2010.10.13] parameter "S"는 SF가 아니라 청구구분을 가져오기 위한 하드코딩된 값임.
  99. // misfComboComCdListMulti("R0092,R0111,R0116","cmb_reqmthd,cmb_purcflag,cmb_deliveprcsflag");
  100. // rszfReqFlagComboComCdList(getUserInfo("userid"),cmb_reqflag,"N",getUserInfo("dutplceinstcd"),"Y");
  101. // rszfComboAppendBlankChild("cmb_reqmthd,cmb_purcflag,cmb_deliveprcsflag");
  102. // 약국에서 조회시 물품구분을 약국에 맞게 셋팅 (약국 기본조회메뉴에서 기관물품종합조회 메뉴item값=MI00470004)
  103. rszfGoodFlagListByPgmGubn(cmb_goodflag,"","N");
  104. model.setValue(cmb_workflag.attribute("ref") , "1");
  105. misfGridInit(grd_goodreq);
  106. misfMsterDetailSet(grd_goodreq,null, "TRRSD02001" ,"N");
  107. model.setValue(opt_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  108. model.setValue(opt_instcdnm.attribute("ref"), getUserInfo("dutplceinstnm"));
  109. model.setValue(ipt_reqdeptcd.attribute("ref") , getUserInfo("dutplcecd"));
  110. model.setValue(ipt_reqdeptnm.attribute("ref") , getUserInfo("dutplcenm"));
  111. var curdate = getCurrentDate();
  112. var cvtdate = curdate.toDate("YYYYMMDD");
  113. model.setValue(ipt_reqfrdd.attribute("ref") ,cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
  114. model.setValue(ipt_reqtodd.attribute("ref") ,curdate);
  115. grd_goodreq.frozenCols = grd_goodreq.colRef("goodnm");
  116. //rbo_workflag.select(0);
  117. model.refresh();
  118. }
  119. function fCheckRetrieveData(pmsg)
  120. {
  121. if(model.getValue(opt_instcd.attribute("ref")).length== 0 )
  122. {
  123. model.setFocus("opt_instcd");
  124. return false;
  125. }
  126. }
  127. function freqlistprint()
  128. {
  129. var rPath = "/root/main/list/goodreq/goodreqlist";
  130. //var pPath = "/root/send/goodprintreq";
  131. var pPath = "/root/main/getrsdhdemd";
  132. var dPath = "/root/send/gooddetail";
  133. model.resetInstanceNode("/root/main/getrsdhdemd");
  134. model.makeNode("/root/main/getrsdhdemd");
  135. model.copyNode("/root/main/getrsdhdemd", "/root/main/list/goodreq");
  136. exeReportPreview("RPRSD02001","XMLSTR");
  137. }
  138. ]]>
  139. </script>
  140. </xhtml:head>
  141. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  142. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  143. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:14px; ">일별 청구현황 조회</caption>
  144. </group>
  145. <group id="grp_biz" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  146. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:140px; vertical-align:top; ">
  147. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:135px; background-color:#fffbf2; border-color:#ffd799; "/>
  148. <caption id="caption2" class="search_name" style="left:15; top:9; width:89px; height:17px; ">기관코드 :</caption>
  149. <button id="btn_search" class="btn1_letter2" style="left:1124px; top:35px; width:56px; height:22px; ">
  150. <caption>조회</caption>
  151. <script type="javascript" ev:event="DOMActivate">
  152. <![CDATA[
  153. var reqfrdd = model.getValue("/root/send/goodreq/reqfrdd");
  154. var reqtodd = model.getValue("/root/send/goodreq/reqtodd");
  155. var DiffDate = getDateInterval(reqfrdd, reqtodd, "dd" ) + 1;
  156. var reqdeptcd = model.getValue("/root/send/goodreq/reqdeptcd");
  157. var goodcd = model.getValue("/root/send/goodreq/goodcd");
  158. var instcd = getUserInfo("dutplceinstcd");
  159. var dutplcecd = getUserInfo("dutplcecd" ) ;
  160. if(instcd != "033"){
  161. if(DiffDate > 365){
  162. messageBox("적용일자 조회기간(=" + DiffDate + "일간)입니다. 범위를 365일 이하로 수정 후 조회하세요","I");
  163. return;
  164. }else if(reqdeptcd == "" && goodcd == ""){
  165. if(dutplcecd == "4020334000" && DiffDate < 6){
  166. var dPath = "/root/main/goodreqmst/";
  167. var pPath = "/root/send/goodreq/";
  168. if(fCheckRetrieveData(false) == false)return;
  169. misfGridInit(grd_goodreq)
  170. misfMsterDetailRetrieve();
  171. model.makeValue(dPath+"instcdnm" , model.getValue(pPath+"instcdnm" ));
  172. model.makeValue(dPath+"reqdeptnm" , model.getValue(pPath+"reqdeptnm"));
  173. model.makeValue(dPath+"reqfrdd" , model.getValue(pPath+"reqfrdd" ));
  174. model.makeValue(dPath+"reqtodd" , model.getValue(pPath+"reqtodd" ));
  175. }else{
  176. messageBox("청구부서 또는 물품코드를 ","C001");
  177. return;
  178. }
  179. }else{
  180. var dPath = "/root/main/goodreqmst/";
  181. var pPath = "/root/send/goodreq/";
  182. if(fCheckRetrieveData(false) == false)return;
  183. misfGridInit(grd_goodreq)
  184. misfMsterDetailRetrieve();
  185. model.makeValue(dPath+"instcdnm" , model.getValue(pPath+"instcdnm" ));
  186. model.makeValue(dPath+"reqdeptnm" , model.getValue(pPath+"reqdeptnm"));
  187. model.makeValue(dPath+"reqfrdd" , model.getValue(pPath+"reqfrdd" ));
  188. model.makeValue(dPath+"reqtodd" , model.getValue(pPath+"reqtodd" ));
  189. }
  190. }else{
  191. if(DiffDate > 31){
  192. messageBox("적용일자 조회기간(=" + DiffDate + "일간)입니다. 범위를 31일 이하로 수정 후 조회하세요","I");
  193. return;
  194. }else{
  195. var dPath = "/root/main/goodreqmst/";
  196. var pPath = "/root/send/goodreq/";
  197. if(fCheckRetrieveData(false) == false)return;
  198. misfGridInit(grd_goodreq)
  199. misfMsterDetailRetrieve();
  200. model.makeValue(dPath+"instcdnm" , model.getValue(pPath+"instcdnm" ));
  201. model.makeValue(dPath+"reqdeptnm" , model.getValue(pPath+"reqdeptnm"));
  202. model.makeValue(dPath+"reqfrdd" , model.getValue(pPath+"reqfrdd" ));
  203. model.makeValue(dPath+"reqtodd" , model.getValue(pPath+"reqtodd" ));
  204. }
  205. }
  206. ]]>
  207. </script>
  208. </button>
  209. <caption id="caption7" class="search_name" style="left:405px; top:35px; width:89px; height:17px; vertical-align:middle; ">청구부서 :</caption>
  210. <input id="ipt_reqdeptnm" ref="/root/send/goodreq/reqdeptnm" class="output_search" appearance="input" style="left:605px; top:34px; width:159px; height:19px; ">
  211. <script type="javascript" ev:event="xforms-value-changed">
  212. <![CDATA[
  213. if(ipt_reqdeptnm.value.length == 0)
  214. ipt_reqdeptcd.value = "";
  215. else
  216. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
  217. "deptnm," + ipt_reqdeptnm.value, "", "reqdeptcd,reqdeptnm",
  218. ipt_reqdeptnm, "SPRPZ00200", "","");
  219. model.refresh();
  220. ]]>
  221. </script>
  222. </input>
  223. <input id="ipt_reqdeptcd" ref="/root/send/goodreq/reqdeptcd" class="combo_s_essential" maxlength="10" appearance="input" style="left:505px; top:34px; width:77px; height:19px; ">
  224. <script type="javascript" ev:event="xforms-value-changed">
  225. <![CDATA[
  226. if(ipt_reqdeptcd.value.length == 0)
  227. ipt_reqdeptnm.value = "";
  228. else
  229. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
  230. "deptcd," + ipt_reqdeptcd.value, "", "reqdeptcd,reqdeptnm",
  231. ipt_reqdeptcd, "SPRPZ00200", "","");
  232. model.refresh();
  233. ]]>
  234. </script>
  235. </input>
  236. <button id="btn_windeptcd" class="icon_search" style="left:586px; top:36px; width:16px; height:16px; ">
  237. <caption/>
  238. <script type="javascript" ev:event="DOMActivate">
  239. <![CDATA[
  240. var recv_list = "reqdeptcd,reqdeptnm";
  241. misfOpenPopUpList("02", ipt_reqdeptcd,"", recv_list) ;
  242. model.refresh();
  243. ]]>
  244. </script>
  245. </button>
  246. <caption id="caption12" class="search_name" style="left:15px; top:61px; width:89px; height:17px; vertical-align:middle; ">청구일자 :</caption>
  247. <input id="ipt_reqfrdd" ref="/root/send/goodreq/reqfrdd" class="input_s_essential" inputtype="date" style="left:100px; top:60px; width:120px; height:19px; "/>
  248. <input id="ipt_reqtodd" ref="/root/send/goodreq/reqtodd" class="input_s_essential" inputtype="date" style="left:240px; top:60px; width:120px; height:19px; "/>
  249. <caption id="caption9" style="left:224px; top:60px; width:15px; height:20px; font-weight:bold; ">~</caption>
  250. <line id="line14" class="line_4" style="x1:1108px; y1:9px; x2:1108px; y2:105px; "/>
  251. <output id="opt_instcd" ref="/root/send/goodreq/instcd" class="output_fix" visibility="hidden" style="left:100px; top:10px; width:260px; height:19px; "/>
  252. <output id="opt_instcdnm" ref="/root/send/goodreq/instcdnm" class="output_fix" style="left:100px; top:10px; width:260px; height:19px; text-align:center; "/>
  253. <select1 id="cmb_goodflag" ref="/root/send/goodreq/goodflag" class="combo_s_essential" appearance="minimal" style="left:505px; top:8px; width:259px; height:19px; ">
  254. <choices>
  255. <itemset nodeset="/root/init/goodflag">
  256. <label ref="cdnm"/>
  257. <value ref="cdid"/>
  258. </itemset>
  259. </choices>
  260. </select1>
  261. <caption id="caption1" class="search_name" style="left:405px; top:9px; width:93px; height:17px; ">물품구분 :</caption>
  262. <caption id="caption4" class="search_name" style="left:785px; top:9px; width:86px; height:17px; vertical-align:middle; ">청구구분 :</caption>
  263. <select1 id="cmb_reqflag" ref="/root/send/goodreq/reqflag" class="combo_default" appearance="minimal" style="left:871px; top:8px; width:224px; height:19px; ">
  264. <choices>
  265. <itemset nodeset="/root/init/reqflag">
  266. <label ref="cdnm"/>
  267. <value ref="cdid"/>
  268. </itemset>
  269. </choices>
  270. <script type="javascript" ev:event="xforms-value-changed">
  271. <![CDATA[
  272. ]]>
  273. </script>
  274. </select1>
  275. <select1 id="cmb_reqmthd" ref="/root/send/goodreq/reqmthdflag" class="combo_default" appearance="minimal" style="left:100px; top:34px; width:260px; height:19px; ">
  276. <choices>
  277. <itemset nodeset="/root/init/reqmthd">
  278. <label ref="cdnm"/>
  279. <value ref="cdid"/>
  280. </itemset>
  281. </choices>
  282. </select1>
  283. <caption id="caption3" class="search_name" style="left:15px; top:35px; width:86px; height:17px; vertical-align:middle; ">청구방법 :</caption>
  284. <button id="btn_helppsn" class="icon_search" style="left:960px; top:34px; width:16px; height:16px; ">
  285. <caption/>
  286. <script type="javascript" ev:event="DOMActivate">
  287. <![CDATA[
  288. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "ipt_systemflag","N");
  289. ipt_emplno.refresh();
  290. ipt_emplnm.refresh();
  291. ]]>
  292. </script>
  293. </button>
  294. <input id="ipt_emplnm" ref="/root/send/goodreq/emplnm" class="output_search" style="left:978px; top:34px; width:117px; height:19px; "/>
  295. <caption id="caption5" class="search_name" style="left:785px; top:35px; width:93px; height:17px; ">청 구 자 :</caption>
  296. <input id="ipt_emplno" ref="/root/send/goodreq/emplno" class="input_search" style="left:873px; top:34px; width:85px; height:19px; ">
  297. <script type="javascript" ev:event="onkeypress">
  298. <![CDATA[
  299. inputEnterKey("btn_search", "DOMActivate");
  300. ]]>
  301. </script>
  302. </input>
  303. <caption id="caption11" class="search_name" style="left:785px; top:60px; width:86px; height:17px; vertical-align:middle; ">구매구분 :</caption>
  304. <select1 id="cmb_purcflag" ref="/root/send/goodreq/purcflag" class="combo_default" appearance="minimal" style="left:873px; top:59px; width:222px; height:19px; ">
  305. <choices>
  306. <itemset nodeset="/root/init/purcflag">
  307. <label ref="cdnm"/>
  308. <value ref="cdid"/>
  309. </itemset>
  310. </choices>
  311. </select1>
  312. <select1 id="cmb_workflag" ref="/root/send/goodreq/workflag" class="combo_default" appearance="minimal" style="left:505px; top:60px; width:260px; height:19px; ">
  313. <choices>
  314. <item>
  315. <label>전체</label>
  316. <value/>
  317. </item>
  318. <item>
  319. <label>일반청구</label>
  320. <value>1</value>
  321. </item>
  322. <item>
  323. <label>상비품청구</label>
  324. <value>3</value>
  325. </item>
  326. <item>
  327. <label>상비품망실청구</label>
  328. <value>5</value>
  329. </item>
  330. <item>
  331. <label>상비품반납</label>
  332. <value>4</value>
  333. </item>
  334. <item>
  335. <label>일반청구반납</label>
  336. <value>2</value>
  337. </item>
  338. <item>
  339. <label>처방청구</label>
  340. <value>6</value>
  341. </item>
  342. </choices>
  343. <script type="javascript" ev:event="xforms-value-changed">
  344. <![CDATA[
  345. btn_search.dispatch("DOMActivate");
  346. ]]>
  347. </script>
  348. </select1>
  349. <caption id="caption14" class="search_name" style="left:405px; top:61px; width:86px; height:17px; vertical-align:middle; ">작업구분 :</caption>
  350. <input id="ipt_systemflag" ref="/root/init/systemflag" class="input_fix" visibility="hidden" maxlength="10" appearance="input" style="left:785px; top:85px; width:77px; height:19px; "/>
  351. <caption id="caption15" class="search_name" style="left:15px; top:85px; width:89px; height:17px; vertical-align:middle; ">진행상태 :</caption>
  352. <select1 id="cmb_deliveprcsflag" ref="/root/send/goodreq/deliveprcsflag" class="combo_default" appearance="minimal" style="left:100px; top:84px; width:260px; height:19px; ">
  353. <choices>
  354. <itemset nodeset="/root/init/deliveprcsflag">
  355. <label ref="cdnm"/>
  356. <value ref="cdid"/>
  357. </itemset>
  358. </choices>
  359. </select1>
  360. <input id="ipt_goodcd" ref="/root/send/goodreq/goodcd" class="combo_s_essential" imemode="disabled" maxlength="12" _chartype="upper" appearance="input" style="left:873px; top:84px; width:222px; height:19px; "/>
  361. <caption id="caption13" class="search_name" style="left:785px; top:85px; width:89px; height:17px; vertical-align:middle; ">물품코드 :</caption>
  362. <output id="opt_acntnm" ref="/root/send/goodreq/acntnm" class="output_fix" appearance="output" style="left:201px; top:110px; width:159px; height:19px; "/>
  363. <button id="btn_acntcd" class="icon_search" style="left:180px; top:110px; width:16px; height:16px; ">
  364. <caption/>
  365. <script type="javascript" ev:event="DOMActivate">
  366. <![CDATA[
  367. rszfOpenPopUpListByWndName(ipt_acntcd,"","acntcd,acntnm","PPRAC00100","","");
  368. model.refresh();
  369. ]]>
  370. </script>
  371. </button>
  372. <input id="ipt_acntcd" ref="/root/send/goodreq/acntcd" class="input_essential" style="left:99px; top:110px; width:76px; height:19px; ">
  373. <script type="javascript" ev:event="xforms-value-changed">
  374. <![CDATA[
  375. rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_acntcd.attribute("ref")) ,"","acntcd,acntnm" ,ipt_acntcd,"PPRAC00100","","");
  376. model.refresh();
  377. model.setFocus("ipt_amtacnt");
  378. ]]>
  379. </script>
  380. <script type="javascript" ev:event="onkeydown">
  381. <![CDATA[
  382. if(event.keyCode == 9)
  383. {
  384. if(event.shiftKey)model.setFocus("cmb_lrgcd");
  385. else model.setFocus("ipt_amtacnt");
  386. }
  387. //event.preventDefault();
  388. ]]>
  389. </script>
  390. </input>
  391. <caption id="caption17" class="search_name" style="left:15px; top:110px; width:89px; height:17px; vertical-align:middle; ">계정과목 :</caption>
  392. <button id="btn_suplplcecd" class="icon_search" style="left:586px; top:84px; width:16px; height:16px; ">
  393. <caption/>
  394. <script type="javascript" ev:event="DOMActivate">
  395. <![CDATA[
  396. rszfOpenPopUpListByWndName(ipt_suplplcecd,"","suplplcecd,suplplcenm","SPRSD00220","instcd","cmb_instcd");
  397. model.refresh();
  398. ]]>
  399. </script>
  400. </button>
  401. <caption id="caption18" class="search_name" style="left:405px; top:85px; width:99px; height:17px; ">주거래처 :</caption>
  402. <input id="opt_suplplcenm" ref="/root/send/goodreq/suplplcenm" class="output_search" style="left:605px; top:84px; width:159px; height:19px; "/>
  403. <input id="ipt_suplplcecd" ref="/root/send/goodreq/suplplcecd" class="input_search" style="left:505px; top:84px; width:77px; height:19px; ">
  404. <script type="javascript" ev:event="xforms-value-changed">
  405. <![CDATA[
  406. if(ipt_suplplcecd.value.length == 0)
  407. ipt_suplplcenm.value = "";
  408. else
  409. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  410. model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_suplplcecd.attribute("ref")),"","suplplcecd,suplplcenm" ,
  411. ipt_suplplcecd,"SPRSD00220","instcd","cmb_instcd");
  412. model.refresh();
  413. ]]>
  414. </script>
  415. </input>
  416. <button id="btn_suppcustcd" class="icon_search" style="left:586px; top:110px; width:16px; height:16px; ">
  417. <caption/>
  418. <script type="javascript" ev:event="DOMActivate">
  419. <![CDATA[
  420. rszfOpenPopUpListByWndName(ipt_suppcustcd,"","suppcustcd,suppcustcdnm","SPRSD00220","instcd",getUserInfo("dutplceinstcd"));
  421. model.refresh();
  422. ]]>
  423. </script>
  424. </button>
  425. <caption id="caption16" class="search_name" style="left:405px; top:110px; width:99px; height:17px; ">보조거래처 :</caption>
  426. <input id="ipt_suppcustnm" ref="/root/send/goodreq/suppcustcdnm" class="output_search" style="left:605px; top:110px; width:159px; height:19px; "/>
  427. <input id="ipt_suppcustcd" ref="/root/send/goodreq/suppcustcd" class="input_search" style="left:505px; top:110px; width:77px; height:19px; "/>
  428. <select1 id="cmb_costconyn" ref="/root/send/goodreq/costconyn" class="combo_essential" appearance="minimal" style="left:873px; top:110px; width:65px; height:19px; text-align:center; ">
  429. <choices>
  430. <item>
  431. <label>전체</label>
  432. <value/>
  433. </item>
  434. <item>
  435. <label>Y</label>
  436. <value>Y</value>
  437. </item>
  438. <item>
  439. <label>N</label>
  440. <value>N</value>
  441. </item>
  442. </choices>
  443. <script type="javascript" ev:event="onkeydown">
  444. <![CDATA[
  445. if(event.keyCode == 9)
  446. {
  447. if(event.shiftKey)model.setFocus("cmb_purcunit");
  448. else model.setFocus("ipt_exchqty");
  449. }
  450. //event.preventDefault();
  451. ]]>
  452. </script>
  453. </select1>
  454. <caption id="caption19" class="search_name" style="left:785px; top:110px; width:89px; height:17px; vertical-align:middle; ">단가계약 :</caption>
  455. </group>
  456. <caption id="caption8" class="tit_2" style="left:5px; top:156px; width:118px; height:13px; ">청구현황내역</caption>
  457. <line id="line1" class="line_1" style="x1:0px; y1:176px; x2:1195px; y2:176px; "/>
  458. <button id="btn_excel" class="btn5_letter3" style="left:1138px; top:155px; width:53px; height:19px; ">
  459. <caption>Excel</caption>
  460. <script type="javascript" ev:event="DOMActivate">
  461. <![CDATA[
  462. var fileName = window.fileDialog("save", ",", false, "청구현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  463. if (fileName != "")
  464. {
  465. grd_goodreq.saveExcel(fileName, "청구현황List");
  466. }
  467. ]]>
  468. </script>
  469. </button>
  470. <button id="button13" class="btn6_letter5" style="left:1043px; top:153px; width:92px; height:22px; ">
  471. <caption>불출서출력</caption>
  472. <script type="javascript" ev:event="DOMActivate">
  473. <![CDATA[
  474. freqlistprint();
  475. ]]>
  476. </script>
  477. </button>
  478. <datagrid id="grd_goodreq" nodeset="/root/main/list/goodreq/goodreqlist" caption="청구부서^청구일자^번호^순번^계정과목^계정과목^물품코드^물품코드^물품명^규격^모델^청구수량^청구단위^제조회사^보조거래처^진행상태^청구자명^조정수량^조정사유^청구구분^작업구분^청구방법^출고수량^미출고사유^비고^불출구분^구매구분^부서승인내역^부서승인내역^구매접수^예산계정^예산계정^연구과제^연구과제^포장구성단위^주거래처명^보조거래처명^단가계약" colsep="^" colwidth="89, 68, 40, 40, 64, 100, 80, 23, 240, 89, 88, 63, 55, 73, 100, 70, 63, 60, 91, 70, 70, 70, 58, 100, 100, 70, 70, 55, 80, 60, 15, 17, 13, 21, 100, 117, 100, 76" dataheight="25" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:185px; width:1195px; height:548px; ">
  479. <col ref="reqdeptnm"/>
  480. <col ref="reqdd" format="yyyy-mm-dd"/>
  481. <col ref="reqno" style="text-align:center; "/>
  482. <col ref="reqseqno" style="text-align:center; "/>
  483. <col ref="acntcd" style="text-align:center; "/>
  484. <col ref="acntnm" style="text-align:left; padding-left:5; "/>
  485. <col ref="goodcd" style="text-align:center; "/>
  486. <col ref="allsizespecid" visibility="hidden" style="text-align:center; "/>
  487. <col ref="goodnm"/>
  488. <col ref="goodspec"/>
  489. <col ref="goodmodel"/>
  490. <col ref="reqqty" format="#,###" style="text-align:right; "/>
  491. <col ref="requnit" style="text-align:center; "/>
  492. <col ref="prodcmpynm"/>
  493. <col ref="suppcustnm"/>
  494. <col ref="deliveprcsflag" style="text-align:center; "/>
  495. <col ref="reqpsnnm" style="text-align:center; "/>
  496. <col ref="adjtqty" format="#,###" style="text-align:right; "/>
  497. <col ref="adjtrsn" style="text-align:right; "/>
  498. <col ref="reqflag" style="text-align:center; "/>
  499. <col ref="workflag" style="text-align:center; "/>
  500. <col ref="reqmthdflag" style="text-align:center; "/>
  501. <col ref="deliveqty" format="#,###" style="text-align:right; "/>
  502. <col ref="unwinresn"/>
  503. <col ref="cmt"/>
  504. <col ref="deliveflag" style="text-align:center; "/>
  505. <col ref="purcflag" style="text-align:center; "/>
  506. <col ref="deptaprvynnm" style="text-align:center; "/>
  507. <col ref="deptaprvdd" style="text-align:center; "/>
  508. <col ref="acptflagnm" style="text-align:center; "/>
  509. <col ref="bugtcd" visibility="hidden" style="text-align:center; "/>
  510. <col ref="bugtnm" visibility="hidden" style="text-align:center; "/>
  511. <col ref="stdysubjno" visibility="hidden" style="text-align:center; "/>
  512. <col ref="stdysubjnm" visibility="hidden" style="text-align:center; "/>
  513. <col ref="deliveunit" visibility="hidden"/>
  514. <col ref="maincustlastsuplplcenm" style="text-align:left; padding-left:10; "/>
  515. <col ref="subsuplplcenm" visibility="hidden"/>
  516. <col ref="costconyn" style="text-align:center; "/>
  517. <script type="javascript" ev:event="onaftersort">
  518. <![CDATA[
  519. grd_goodreq.gridToInstance();
  520. ]]>
  521. </script>
  522. </datagrid>
  523. </group>
  524. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  525. <caption id="caption10" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">물품청구현황조회</caption>
  526. </group>
  527. <group id="group2" style="left:0px; top:12; width:1195px; height:27px; ">
  528. <button id="button2" class="btn3_letter4" visibility="hidden" style="left:58px; top:3px; width:80px; height:22px; ">
  529. <caption>화면이동</caption>
  530. </button>
  531. <button id="button3" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  532. <caption>출력</caption>
  533. </button>
  534. <button id="button6" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  535. <caption>초기화</caption>
  536. <script type="javascript" ev:event="DOMActivate">
  537. <![CDATA[
  538. fInitialize();
  539. ]]>
  540. </script>
  541. </button>
  542. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  543. </group>
  544. </xhtml:body>
  545. </xhtml:html>