SMRSO00900_평화드림청구분출고확인.xrw 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617
  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. <list>
  11. <goodreq>
  12. <goodreqlist/>
  13. </goodreq>
  14. <gooddelive>
  15. <gooddelivelist/>
  16. </gooddelive>
  17. </list>
  18. <item/>
  19. </main>
  20. <send>
  21. <save>
  22. <goodreq>
  23. <goodreqlist/>
  24. </goodreq>
  25. <gooddelive>
  26. <gooddelivelist/>
  27. </gooddelive>
  28. </save>
  29. <goodreq>
  30. <instcd/>
  31. <reqfrdd/>
  32. <reqtodd/>
  33. <todelivedd/>
  34. <reqdeptcd/>
  35. <reqdeptnm/>
  36. <reqflag/>
  37. <reqmthdflag/>
  38. <purcflag/>
  39. <ifstatus/>
  40. <frmdelivedd/>
  41. <goodcd/>
  42. <goodnm/>
  43. </goodreq>
  44. <gooddelive>
  45. <instcd/>
  46. <reqflag/>
  47. <reqdd/>
  48. <reqno/>
  49. <reqseqno/>
  50. </gooddelive>
  51. <goodorder>
  52. <demdkey/>
  53. </goodorder>
  54. </send>
  55. <init>
  56. <temppay>
  57. <label>예</label>
  58. <value>Y</value>
  59. <label>아니오</label>
  60. <value>N</value>
  61. </temppay>
  62. <ifstatus>
  63. <label>전체</label>
  64. <value/>
  65. <label>출고</label>
  66. <value>S</value>
  67. <label>미출고</label>
  68. <value>C</value>
  69. </ifstatus>
  70. <winqty/>
  71. <winamt/>
  72. <totcnt/>
  73. <delivecnt/>
  74. <nondelivecnt/>
  75. <nonusegoodview>
  76. <label>포함</label>
  77. <value>Y</value>
  78. <label>제외</label>
  79. <value>N</value>
  80. </nonusegoodview>
  81. </init>
  82. <hidden>
  83. <nonusegoodview/>
  84. </hidden>
  85. <temp/>
  86. <copynode/>
  87. </root>
  88. </instance>
  89. <script type="javascript" ev:event="xforms-ready">
  90. <![CDATA[
  91. //화면 Control을 초기화한다
  92. fCheckAuth();
  93. fInitialize();
  94. ]]>
  95. </script>
  96. <submission id="TXRSO00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/gooddelive" resultref="/root/hidden/temp"/>
  97. <submission id="TRRSO00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/main/list/goodreq"/>
  98. </model>
  99. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  100. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  101. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  102. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  103. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  104. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  105. <script type="javascript">
  106. <![CDATA[
  107. function fInitialize() {
  108. model.resetInstanceNode("/root/send");
  109. misfGridInit(grd_goodreq);
  110. rszfUserReqInstList(cmb_instcd,getUserInfo("userid"),"%","B");
  111. misfMsterDetailSet(grd_goodreq,null, "TRRSO00901" ,"Y");
  112. // misfMsterDetailSet(grd_orderlist,grd_goodreq, "TRRSD02202" ,"N");
  113. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  114. // model.setValue(ipt_reqdeptcd.attribute("ref") , getUserInfo("dutplcecd"));
  115. // model.setValue(opt_reqdeptnm.attribute("ref") , getUserInfo("dutplcenm"));
  116. var curdate = getCurrentDate();
  117. var cvtdate = curdate.toDate("YYYYMMDD").getAddDate(-10,"D").getDateFormat("YYYYMMDD");
  118. model.setValue(ipt_reqfrdd.attribute("ref") ,cvtdate);
  119. model.setValue(ipt_reqtodd.attribute("ref") , curdate);
  120. model.setValue(ipt_frmdelivedd.attribute("ref") ,cvtdate);
  121. model.setValue(ipt_todelivedd.attribute("ref") , curdate);
  122. // hidden col
  123. model.setValue(opt_purcflag.attribute("ref") , "2"); // 수탁
  124. model.setValue(opt_reqflag.attribute("ref") , "A"); // 의료소모
  125. model.setValue(opt_reqmthd.attribute("ref") , "1"); // 처방집계
  126. rdo_nonusegoodview.select(0); // 불용처리 물품 조회
  127. model.refresh();
  128. }
  129. function fCheckAuth() {
  130. btn_search.disabled = !checkAuth("R") ;
  131. btn_save.disabled = !checkAuth("X") ;
  132. }
  133. function fCheckRetrieveData(pmsg)
  134. {
  135. if(model.getValue(cmb_instcd.attribute("ref")).length== 0 )
  136. {
  137. if(pmsg == true)
  138. {
  139. messageBox("기관코드를 " ,"C002");
  140. model.setFocus("cmb_instcd");
  141. }
  142. return false;
  143. }
  144. if(model.getValue(ipt_reqfrdd.attribute("ref")).length== 0 )
  145. {
  146. if(pmsg == true)
  147. {
  148. messageBox("청구시작일자를 " ,"C001");
  149. model.setFocus("ipt_reqfrdd");
  150. }
  151. return false;
  152. }
  153. if(model.getValue(ipt_reqtodd.attribute("ref")).length== 0 )
  154. {
  155. if(pmsg == true)
  156. {
  157. messageBox("청구종료일자를" ,"C001");
  158. model.setFocus("ipt_reqtodd");
  159. }
  160. return false;
  161. }
  162. if(model.getValue(ipt_frmdelivedd.attribute("ref")).length== 0 )
  163. {
  164. if(pmsg == true)
  165. {
  166. messageBox("출고일자를" ,"C001");
  167. model.setFocus("ipt_frmdelivedd");
  168. }
  169. return false;
  170. }
  171. if(model.getValue(ipt_todelivedd.attribute("ref")).length== 0 )
  172. {
  173. if(pmsg == true)
  174. {
  175. messageBox("출고일자를" ,"C001");
  176. model.setFocus("ipt_todelivedd");
  177. }
  178. return false;
  179. }
  180. /*
  181. if(model.getValue(cmb_deliveprcsflag.attribute("ref")).length== 0 )
  182. {
  183. if(pmsg == true)
  184. {
  185. messageBox("진행상태 " ,"C001");
  186. model.setFocus("cmb_deliveprcsflag");
  187. }
  188. return false;
  189. }
  190. if(model.getValue(cmb_deliveflag.attribute("ref")).length== 0 )
  191. {
  192. if(pmsg == true)
  193. {
  194. messageBox("불출구분 " ,"C001");
  195. model.setFocus("cmb_deliveflag");
  196. }
  197. return false;
  198. }
  199. if(model.getValue(ipt_winpsn.attribute("ref")).length== 0 )
  200. {
  201. if(pmsg == true)
  202. {
  203. messageBox("불출자 " ,"C001");
  204. model.setFocus("ipt_winpsn");
  205. }
  206. return false;
  207. }
  208. */
  209. return true;
  210. }
  211. function fCheckSaveData()
  212. {
  213. if(model.getValue(cmb_instcd.attribute("ref")).length== 0 )
  214. {
  215. messageBox("기관코드를 " ,"C002");
  216. model.setFocus("cmb_instcd");
  217. return false;
  218. }
  219. /*
  220. if(model.getValue(ipt_delivedd.attribute("ref")).length== 0 )
  221. {
  222. messageBox("출고일자를 " ,"C002");
  223. model.setFocus("ipt_delivedd");
  224. return false;
  225. }
  226. */
  227. /*
  228. if(model.getValue(cmb_deliveprcsflag.attribute("ref")) == 1)
  229. {
  230. var chkins = false;
  231. for(var currow = grd_goodreq.fixedRows; currow < grd_goodreq.rows; currow++)
  232. {
  233. if(grd_goodreq.valueMatrix(currow, grd_goodreq.colRef("deliveno")).length == 0)
  234. {
  235. chkins = true;
  236. break;
  237. }
  238. }
  239. if(chkins)
  240. {
  241. if(model.getValue(ipt_windeptcd.attribute("ref")).length== 0 )
  242. {
  243. messageBox("출고부서를 " ,"C001");
  244. model.setFocus("ipt_windeptcd");
  245. return false;
  246. }
  247. if(model.getValue(ipt_winpsn.attribute("ref")).length== 0 )
  248. {
  249. messageBox("출고담담자를 " ,"C001");
  250. model.setFocus("ipt_winpsn");
  251. return false;
  252. }
  253. }
  254. }
  255. */
  256. return true;
  257. }
  258. /* 출고건수 조회*/
  259. function fAfterRetrieve()
  260. {
  261. var ptotcnt = 0;
  262. var pdelivecnt = 0;
  263. var pnondelivecnt = 0;
  264. for(var currow = grd_goodreq.fixedRows ; currow < grd_goodreq.rows ; currow++)
  265. {
  266. ptotcnt = ptotcnt + 1;
  267. if (grd_goodreq.valueMatrix(currow , grd_goodreq.colRef("ifstatus")) == "S") pdelivecnt = pdelivecnt + 1;
  268. if (grd_goodreq.valueMatrix(currow , grd_goodreq.colRef("ifstatus")) == "C") pnondelivecnt = pnondelivecnt + 1;
  269. }
  270. model.setValue(opt_totcnt.attribute("ref"),ptotcnt);
  271. model.setValue(opt_delivecnt.attribute("ref"),pdelivecnt);
  272. model.setValue(opt_nondelivecnt.attribute("ref"),pnondelivecnt);
  273. model.refresh();
  274. }
  275. ]]>
  276. </script>
  277. </xhtml:head>
  278. <xhtml:body guideline="2,774;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  279. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  280. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">평화드림 청구분 출고확인</caption>
  281. </group>
  282. <group id="grp_biz" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  283. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:70px; "/>
  284. <select1 id="cmb_instcd" ref="/root/send/goodreq/instcd" class="combo_s_essential" appearance="minimal" style="left:100px; top:18; width:120; height:19px; ">
  285. <choices>
  286. <itemset nodeset="/root/init/instcd">
  287. <label ref="cdnm"/>
  288. <value ref="cdid"/>
  289. </itemset>
  290. </choices>
  291. </select1>
  292. <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1125px; top:35px; width:56px; height:22px; text-align:left; ">
  293. <caption>조회</caption>
  294. <script type="javascript" ev:event="DOMActivate">
  295. <![CDATA[
  296. if(fCheckRetrieveData(false) == false)return;
  297. misfMsterDetailRetrieve();
  298. fAfterRetrieve();
  299. ]]>
  300. </script>
  301. </button>
  302. <input id="ipt_reqfrdd" ref="/root/send/goodreq/reqfrdd" class="input_s_essential" inputtype="date" style="left:465px; top:20px; width:120px; height:19px; ">
  303. <script type="javascript" ev:event="xforms-value-changed">
  304. <![CDATA[
  305. btn_search.dispatch("DOMActivate");
  306. ]]>
  307. </script>
  308. </input>
  309. <input id="ipt_reqtodd" ref="/root/send/goodreq/reqtodd" class="input_s_essential" inputtype="date" style="left:605px; top:20px; width:126px; height:19px; ">
  310. <script type="javascript" ev:event="xforms-value-changed">
  311. <![CDATA[
  312. btn_search.dispatch("DOMActivate");
  313. ]]>
  314. </script>
  315. </input>
  316. <caption id="caption23" style="left:590px; top:20px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">~</caption>
  317. <button id="btnselect" class="btn2_letter7" style="left:1095px; top:86px; width:97px; height:19px; ">
  318. <caption>전체선택/취소</caption>
  319. <script type="javascript" ev:event="DOMActivate">
  320. <![CDATA[
  321. for(var liRow = grd_goodreq.fixedRows; liRow < grd_goodreq.rows ; liRow++)
  322. {
  323. if(grd_goodreq.valueMatrix(liRow,grd_goodreq.colRef("ifstatus")) == "S")
  324. {
  325. model.setValue(grd_goodreq.nodeset + "[" + (liRow - grd_goodreq.fixedRows + 1) + "]/ifstatus" , "C");
  326. grd_goodreq.rowStatus(liRow) = "2";
  327. }
  328. else
  329. {
  330. model.setValue(grd_goodreq.nodeset + "[" + (liRow - grd_goodreq.fixedRows + 1) + "]/ifstatus" , "S");
  331. grd_goodreq.rowStatus(liRow) = "2";
  332. }
  333. }
  334. model.refresh();
  335. ]]>
  336. </script>
  337. </button>
  338. <input id="ipt_frmdelivedd" ref="/root/send/goodreq/frmdelivedd" class="input_s_essential" inputtype="date" style="left:465px; top:45px; width:120px; height:19px; "/>
  339. <button id="btn_reqdeptcd" class="icon_search" style="left:186px; top:45px; width:16px; height:16px; ">
  340. <caption/>
  341. <script type="javascript" ev:event="DOMActivate">
  342. <![CDATA[
  343. var recv_list = "reqdeptcd,reqdeptnm";
  344. misfOpenPopUpList("02", ipt_reqdeptcd,"",recv_list);
  345. model.refresh();
  346. btn_search.dispatch("DOMActivate");
  347. ]]>
  348. </script>
  349. </button>
  350. <input id="ipt_reqdeptnm" ref="/root/send/goodreq/reqdeptnm" class="input_search" style="left:206px; top:45px; width:139px; height:19px; ">
  351. <script type="javascript" ev:event="xforms-value-changed">
  352. <![CDATA[
  353. misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
  354. model.refresh();
  355. ]]>
  356. </script>
  357. </input>
  358. <input id="ipt_reqdeptcd" ref="/root/send/goodreq/reqdeptcd" class="input_search" appearance="input" style="left:100px; top:45px; width:82px; height:19px; ">
  359. <script type="javascript" ev:event="xforms-value-changed">
  360. <![CDATA[
  361. misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
  362. model.refresh();
  363. ]]>
  364. </script>
  365. </input>
  366. <datagrid id="grd_goodreq" nodeset="/root/main/list/goodreq/goodreqlist" visibility="visible" caption="NO^청구일자^평화불출일^청구부서^순번^물품코드^물품코드^물품명^규격^모델^청구^청구^기출고^출고수량^출고^발주번호" colsep="^" colwidth="39, 72, 72, 88, 39, 73, 24, 243, 134, 88, 31, 34, 54, 57, 39, 122, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:113px; width:1195px; height:623px; ">
  367. <col ref="rownum" style="text-align:right; "/>
  368. <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
  369. <col ref="delivedd" format="yyyy-mm-dd" style="text-align:center; "/>
  370. <col ref="reqdeptnm" type="output"/>
  371. <col ref="reqseqno" style="text-align:center; "/>
  372. <col ref="goodcd" style="text-align:center; "/>
  373. <col ref="allsizespecid" style="text-align:center; "/>
  374. <col ref="goodnm"/>
  375. <col ref="goodspec" type="output"/>
  376. <col ref="goodmodel" type="output"/>
  377. <col ref="reqqty" format="#,###" style="text-align:right; "/>
  378. <col ref="requnit"/>
  379. <col ref="deliveqty" format="#,###" style="text-align:right; "/>
  380. <col ref="delivedeptqty" format="#,###" style="text-align:right; "/>
  381. <col checkvalue="S,C" ref="ifstatus" type="checkbox"/>
  382. <col ref="purcno" style="text-align:center; "/>
  383. <col ref="purcunit" visibility="hidden"/>
  384. <col ref="reqno" visibility="hidden"/>
  385. <col ref="adjtqty" visibility="hidden"/>
  386. <col ref="instcd" visibility="hidden"/>
  387. <col ref="reqflag" visibility="hidden"/>
  388. <col ref="chkcmt" visibility="hidden" style="text-align:center; "/>
  389. <col ref="workflag" visibility="hidden"/>
  390. <col ref="reqmthdflag" visibility="hidden"/>
  391. <col ref="deliveflag" visibility="hidden"/>
  392. <col ref="reqpridflag" visibility="hidden"/>
  393. <col ref="goodflag" visibility="hidden"/>
  394. <col ref="reqdeptcd" visibility="hidden"/>
  395. <col ref="reqcollcdeptcd" visibility="hidden"/>
  396. <col ref="windeptcd" visibility="hidden"/>
  397. <col ref="delivehopedd" visibility="hidden"/>
  398. <col ref="reqpsnid" visibility="hidden"/>
  399. <col ref="reqtm" visibility="hidden"/>
  400. <col ref="deptaprvdd" visibility="hidden"/>
  401. <col ref="acptdd" visibility="hidden"/>
  402. <col ref="acptcharid" visibility="hidden"/>
  403. <col ref="purcdmnddd" visibility="hidden"/>
  404. <col ref="purcdmndno" visibility="hidden"/>
  405. <col ref="purcdmndseq" visibility="hidden"/>
  406. <col ref="deliveprcsflag" visibility="hidden"/>
  407. <col ref="cmt" visibility="hidden"/>
  408. <col ref="delivepsn" visibility="hidden"/>
  409. <col ref="deliveno" visibility="hidden"/>
  410. <col ref="deliveseqno" visibility="hidden"/>
  411. <col ref="deliveunit" visibility="hidden"/>
  412. <col ref="delivedeptcd" visibility="hidden"/>
  413. <col ref="windeptcd" visibility="hidden"/>
  414. <col ref="iokindcd" visibility="hidden"/>
  415. <col ref="ifid" visibility="hidden"/>
  416. <col ref="ifsnddt" visibility="hidden"/>
  417. <col ref="ifcmd" visibility="hidden"/>
  418. <col ref="ifrsvdt" visibility="hidden"/>
  419. <col ref="preifstatus" visibility="hidden"/>
  420. <col ref="instcd" visibility="hidden"/>
  421. <col ref="goodflag" visibility="hidden"/>
  422. <col ref="delivedd" visibility="hidden"/>
  423. <col ref="deliveno" visibility="hidden"/>
  424. <col ref="deliveseqno" visibility="hidden"/>
  425. <col ref="iokindcd" visibility="hidden"/>
  426. <col ref="delivedeptcd" visibility="hidden"/>
  427. <col ref="delivepsn" visibility="hidden"/>
  428. <col ref="windeptcd" visibility="hidden"/>
  429. <col ref="reqflag" visibility="hidden"/>
  430. <col ref="reqno" visibility="hidden"/>
  431. <col ref="reqdeptcd" visibility="hidden"/>
  432. <col ref="predeliveqty" visibility="hidden"/>
  433. <col ref="allsizespecid" visibility="hidden"/>
  434. <col ref="demdkey" visibility="hidden"/>
  435. <col ref="purcdmnddd" visibility="hidden"/>
  436. <col ref="purcdmndno" visibility="hidden"/>
  437. <col ref="purcdmndseq" visibility="hidden"/>
  438. <script type="javascript" ev:event="onrowchanged">
  439. <![CDATA[
  440. //model.removeNodeset(grd_orderlist.nodeset);
  441. // misfMsterDetailRetrieve();
  442. ]]>
  443. </script>
  444. <script type="javascript" ev:event="onaftersort">
  445. <![CDATA[
  446. grd_goodreq.gridToInstance();
  447. ]]>
  448. </script>
  449. <script type="javascript" ev:event="xforms-value-changed">
  450. <![CDATA[
  451. //출고(ifstatus)체크시 상태가 업데이트, 출고체크를 꺼둘 시 상태를 원상복귀
  452. var cnt = grd_goodreq.row;
  453. if(grd_goodreq.valueMatrix(cnt,grd_goodreq.colRef("ifstatus")) == grd_goodreq.valueMatrix(cnt,grd_goodreq.colRef("preifstatus"))){
  454. grd_goodreq.rowStatus(cnt) = 0;
  455. }else{
  456. grd_goodreq.rowStatus(cnt) = 2;
  457. }
  458. ]]>
  459. </script>
  460. </datagrid>
  461. <select1 id="cmb_ifstatus" ref="/root/send/goodreq/ifstatus" class="combo_search" appearance="minimal" style="left:859px; top:45px; width:120px; height:19px; ">
  462. <choices>
  463. <itemset nodeset="/root/init/ifstatus">
  464. <label ref="label"/>
  465. <value ref="value"/>
  466. </itemset>
  467. </choices>
  468. <script type="javascript" ev:event="xforms-value-changed">
  469. <![CDATA[
  470. btn_search.dispatch("DOMActivate");
  471. ]]>
  472. </script>
  473. </select1>
  474. <line id="line14" class="line_4" style="x1:1110px; y1:19px; x2:1110px; y2:71px; "/>
  475. <caption id="caption14" class="search_name" style="left:15; top:19; width:86px; height:17px; ">기관코드 :</caption>
  476. <caption id="cap_delivedd" class="search_name" style="left:380px; top:45px; width:86px; height:17px; ">출고일자 :</caption>
  477. <caption id="cap_ifstatus" class="search_name" style="left:767px; top:46px; width:86px; height:17px; ">출고처리 :</caption>
  478. <caption id="cap_reqdeptcd" class="search_name" style="left:15px; top:45px; width:94px; height:17px; ">청구부서 :</caption>
  479. <caption id="caption24" class="search_name" style="left:380px; top:21px; width:86px; height:17px; ">청구일자 :</caption>
  480. <line id="line1" class="line_1" style="x1:0px; y1:107px; x2:1195px; y2:107px; "/>
  481. <caption id="caption4" class="tit_2" style="left:5px; top:92px; width:170px; height:13px; ">평화드림 청구분 출고내역</caption>
  482. <output id="opt_purcflag" ref="/root/send/goodreq/purcflag" visibility="hidden" style="left:1055px; top:46px; width:25px; height:19px; "/>
  483. <output id="opt_reqflag" ref="/root/send/goodreq/reqflag" visibility="hidden" style="left:1030px; top:46px; width:20px; height:19px; "/>
  484. <output id="opt_reqmthd" ref="/root/send/goodreq/reqmthdflag" visibility="hidden" style="left:990px; top:46px; width:35px; height:19px; "/>
  485. <button id="btn_excel" class="btn2_letter3" style="left:1040px; top:86px; width:53px; height:19px; ">
  486. <caption>Excel</caption>
  487. <script type="javascript" ev:event="DOMActivate">
  488. <![CDATA[
  489. misfSaveExcel(grd_goodreq);
  490. ]]>
  491. </script>
  492. </button>
  493. <output id="opt_totcnt" ref="/root/init/totcnt" style="left:735px; top:85px; width:50px; height:19px; font-weight:bold; text-align:right; "/>
  494. <caption id="cap_deliveqtytotal" style="left:670px; top:85px; width:65px; height:23px; font-weight:bold; vertical-align:middle; ">조회건수 :</caption>
  495. <output id="opt_delivecnt" ref="/root/init/delivecnt" style="left:861px; top:85px; width:39px; height:19px; font-weight:bold; text-align:right; "/>
  496. <caption id="caption1" style="left:796px; top:85px; width:65px; height:23px; font-weight:bold; vertical-align:middle; ">출고건수 :</caption>
  497. <caption id="caption2" style="left:910px; top:85px; width:77px; height:23px; font-weight:bold; vertical-align:middle; ">미출고건수 :</caption>
  498. <output id="opt_nondelivecnt" ref="/root/init/nondelivecnt" style="left:985px; top:85px; width:39px; height:19px; font-weight:bold; text-align:right; "/>
  499. <input id="ipt_todelivedd" ref="/root/send/goodreq/todelivedd" class="input_s_essential" inputtype="date" style="left:605px; top:45px; width:126px; height:19px; "/>
  500. <caption id="caption3" style="left:590px; top:45px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">~</caption>
  501. <input id="ipt_goodnm" ref="/root/send/goodreq/goodnm" class="input_search" style="left:960px; top:20px; width:135px; height:19px; ">
  502. <script type="javascript" ev:event="xforms-value-changed">
  503. <![CDATA[
  504. if(ipt_goodnm.value != "")
  505. {
  506. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,reqflag,goodnm,nonusegoodview",
  507. "goodnm," + cmb_instcd.value + "," + opt_reqflag.value + "," + ipt_goodnm.value + "," + rdo_nonusegoodview.value ,"","goodcd,goodnm",
  508. ipt_goodcd,"SPRSD00210","instcd,reqflag","opt_instcd,opt_reqflag");
  509. }else
  510. {
  511. ipt_goodcd.value = "";
  512. ipt_goodnm.value = "";
  513. }
  514. model.refresh();
  515. ]]>
  516. </script>
  517. </input>
  518. <input id="ipt_goodcd" ref="/root/send/goodreq/goodcd" class="input_search" imemode="disabled" style="left:859px; top:20px; width:81px; height:19px; text-align:center; ">
  519. <script type="javascript" ev:event="xforms-value-changed">
  520. <![CDATA[
  521. if(ipt_goodcd.value != "")
  522. {
  523. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,reqflag,goodcd,nonusegoodview",
  524. "goodcd," + cmb_instcd.value + "," + opt_reqflag.value + "," + ipt_goodcd.value + "," + rdo_nonusegoodview.value,"","goodcd,goodnm",
  525. ipt_goodcd,"SPRSD00210","instcd,reqflag","opt_instcd,opt_reqflag");
  526. }else{
  527. ipt_goodcd.value = "";
  528. ipt_goodnm.value = "";
  529. }
  530. model.refresh();
  531. ]]>
  532. </script>
  533. </input>
  534. <button id="btn_goodSearchs" class="icon_search" style="left:942px; top:20px; width:16px; height:16px; ">
  535. <caption/>
  536. <script type="javascript" ev:event="DOMActivate">
  537. <![CDATA[
  538. // 자산코드 팝업창 오픈
  539. rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,reqflag,nonusegoodview","cmb_instcd,opt_reqflag,rdo_nonusegoodview");
  540. // rszfOpenPopUpListByWndName(grd_gooddmnd,"","goodcd,goodnm","SPRSD00190","instcd,goodflag,nonusegoodview","cmb_instcd,cmb_goodflag,rdo_nonusegoodview");
  541. model.refresh();
  542. ]]>
  543. </script>
  544. </button>
  545. <caption id="caption5" class="search_name" style="left:767px; top:20px; width:101px; height:17px; ">물품코드 :</caption>
  546. <select1 id="rdo_nonusegoodview" ref="/root/hidden/nonusegoodview" visibility="hidden" appearance="full" cols="2" style="left:1085px; top:45px; width:15px; height:17px; border-style:none; ">
  547. <choices>
  548. <itemset nodeset="/root/init/nonusegoodview">
  549. <label ref="label"/>
  550. <value ref="value"/>
  551. </itemset>
  552. </choices>
  553. </select1>
  554. </group>
  555. <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
  556. <button id="btn_print" class="btn6_letter2" visibility="hidden" style="left:0px; top:3px; width:56px; height:22px; ">
  557. <caption>출력</caption>
  558. </button>
  559. <button id="btn_save" class="btn4_letter2" style="left:1069px; top:3px; width:56px; height:22px; ">
  560. <caption>저장</caption>
  561. <script type="javascript" ev:event="DOMActivate">
  562. <![CDATA[
  563. if(fCheckSaveData() == false)return;
  564. model.setValue("/root/send/save/gooddelive/gooddelivelist", grd_goodreq.getUpdateData());
  565. submit("TXRSO00901");
  566. if (model.getValue(gvErrorMsgPath + "/type") != "error")btn_search.dispatch("DOMActivate");
  567. ]]>
  568. </script>
  569. </button>
  570. <button id="btn_init" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
  571. <caption>초기화</caption>
  572. <script type="javascript" ev:event="DOMActivate">
  573. <![CDATA[
  574. fInitialize();
  575. ]]>
  576. </script>
  577. </button>
  578. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
  579. </group>
  580. </xhtml:body>
  581. </xhtml:html>