SMRSR00101_반납위치지정.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 수정이력 :
  4. [2007.10.18 HBH : 공급실 불출구분이 "응급"이면 마감차수를 입력받지 않는다.
  5. -->
  6. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  7. <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">
  8. <xhtml:head>
  9. <xhtml:title>반납물품 위치지정</xhtml:title>
  10. <model id="model1">
  11. <instance id="instance1">
  12. <root xmlns="">
  13. <main>
  14. <list>
  15. <goodreqcsrdept>
  16. <goodreqcsrdeptlist/>
  17. </goodreqcsrdept>
  18. <goodreq>
  19. <goodreqdetllist>
  20. <delivedd/>
  21. </goodreqdetllist>
  22. </goodreq>
  23. </list>
  24. <item/>
  25. </main>
  26. <send>
  27. <save>
  28. <goodreq>
  29. <goodreqlist/>
  30. <goodreqdetllist/>
  31. </goodreq>
  32. <gooddelive>
  33. <gooddelivelist/>
  34. </gooddelive>
  35. </save>
  36. <goodreq>
  37. <instcd/>
  38. <rtnfrdd/>
  39. <rtntodd/>
  40. <goodcd/>
  41. <goodnm/>
  42. <reqmthdflag/>
  43. <deliveprcsflag_group>13</deliveprcsflag_group>
  44. <deliveflag/>
  45. <reqpridflag/>
  46. <csrreqdeptcd/>
  47. <goodflag>T</goodflag>
  48. <gubun>Y</gubun>
  49. <delivefrdd/>
  50. <delivetodd/>
  51. <reqdeptcd/>
  52. <dutycd/>
  53. <divscd/>
  54. <fixasetcd/>
  55. </goodreq>
  56. <gooddelive>
  57. <instcd/>
  58. <reqflag/>
  59. <reqdd/>
  60. <reqno/>
  61. <reqseqno/>
  62. </gooddelive>
  63. </send>
  64. <init>
  65. <goodreqcsrdeptlist>
  66. <reqdeptcd/>
  67. <reqdeptnm/>
  68. <qty/>
  69. </goodreqcsrdeptlist>
  70. </init>
  71. <hidden/>
  72. <temp/>
  73. <copynode/>
  74. <printdata>
  75. <instnm/>
  76. <deliveflagnm/>
  77. <reqpridflagnm/>
  78. <fromdd/>
  79. <todd/>
  80. </printdata>
  81. </root>
  82. </instance>
  83. <bind id="savedeliveprcsflag" ref="/root/main/list/goodreq/goodreqlist/savedeliveprcsflag" calculate="../deliveprcsflag"/>
  84. <script type="javascript" ev:event="xforms-ready">
  85. <![CDATA[
  86. //화면 Control을 초기화한다
  87. fCheckAuth();
  88. fInitialize();
  89. ]]>
  90. </script>
  91. <submission id="TRRSS01211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/init/csrreqdeptlist"/>
  92. <submission id="TRRSD06013" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/reqtimslist"/>
  93. <submission id="TRRSR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/init/goodreqcsrdeptlist"/>
  94. <submission id="TRRSR00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodreq" resultref="/root/main/list/goodreq/goodreqdetllist"/>
  95. <submission id="TXRSR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp"/>
  96. <submission id="TRRSC06411" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/dutylist"/>
  97. <submission id="TRRSS01314" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/divsflaglist"/>
  98. <submission id="TRRSS01312" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/eqiprgstlist"/>
  99. </model>
  100. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  101. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  102. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  103. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  104. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  105. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  106. <script type="javascript">
  107. <![CDATA[
  108. var goodreqRow = -1;
  109. function fInitialize() {
  110. model.resetInstanceNode("/root/send");
  111. misfGridInit(grd_goodreqcsrdept);
  112. misfComboComCdListMulti("Z0007", "cmb_instcd");
  113. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  114. submit("TRRSS01211");
  115. addComboItem( "cmb_csrreqdeptcd", "전체", "", "above");
  116. misfGridInit(grd_goodreqdetllist);
  117. // // 불출구분은 '1"
  118. // model.setValue(cmb_deliveflag.attribute("ref") , "1");
  119. // hidden
  120. model.setValue(ipt_reqmthdflag.attribute("ref") , "3");
  121. // [2008.01.23 HBH] reqflag 를 전체 가 가능하게 하면서 물품구분 "T"를 send 추가
  122. model.setValue(opt_goodflag.attribute("ref") , "T");
  123. model.setValue(ipt_delivefrdd.attribute("ref"), getCurrentDate());
  124. model.setValue(ipt_delivetodd.attribute("ref"), getCurrentDate());
  125. model.setValue(ipt_rtnfrdd.attribute("ref"), getCurrentDate());
  126. model.setValue(ipt_rtntodd.attribute("ref"), getCurrentDate());
  127. fsearch4();
  128. fsearch();
  129. btn_search.dispatch("DOMActivate");
  130. model.refresh();
  131. }
  132. function fCheckAuth() {
  133. // btn_search.disabled = !checkAuth("R") ;
  134. // btn_save.disabled = !checkAuth("X") ;
  135. }
  136. function fsearch() {
  137. model.makeValue("/root/send/reqdata/reqdeptcd", getUserInfo("dutplcecd"));
  138. model.makeValue("/root/send/reqdata/instcd", getUserInfo("dutplceinstcd"));
  139. submit("TRRSD06013");
  140. var degr = model.getValue("/root/init/reqseqlist/reqseq");
  141. //cmb_reqpridflag.value = degr;
  142. }
  143. function fsearch2() {
  144. model.makeValue("/root/send/reqdata/instcd", grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("instcd")));
  145. model.makeValue("/root/send/reqdata/reqflag", grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("reqflag")));
  146. model.makeValue("/root/send/reqdata/reqdd", grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("reqdd")));
  147. model.makeValue("/root/send/reqdata/reqdeptcd", grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("reqdeptcd")));
  148. model.makeValue("/root/send/reqdata/reqseqno", grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("reqseqno")));
  149. model.makeValue("/root/send/reqdata/deliveseqno", grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("deliveseqno")));
  150. submit("TRRSE00122");
  151. }
  152. function fsearch3() {
  153. model.makeValue("/root/send/goodreq/rtndeptcd", grd_goodreqcsrdept.valueMatrix(grd_goodreqcsrdept.row, grd_goodreqcsrdept.colRef("rtndeptcd")));
  154. //misfDetailRetrieve();
  155. submit("TRRSR00102");
  156. }
  157. function fsearch4() {
  158. model.makeValue("/root/send/reqdata/instcd", cmb_instcd.value);
  159. model.makeValue("/root/send/reqdata/useyn" , "Y");
  160. model.makeValue("/root/send/reqdata/cdflag", "E");
  161. submit("TRRSC06411");
  162. model.removeNodeset("/root/main/dutylist[dutycd='S']"); //일반장비구분 삭제.
  163. addComboItem("cmb_dutycd", "물품저장소", "Z", "before");
  164. cmb_dutycd.refresh();
  165. }
  166. function fComboSelect(pGrid) {
  167. cmb_dutycd.visible = false;
  168. cmb_divscd.visible = false;
  169. var dutycd = model.getValue("/root/main/eqiprgstlist["+pGrid.row+"]/dutycd");
  170. var divscd = model.getValue("/root/main/eqiprgstlist["+pGrid.row+"]/divscd");
  171. switch(pGrid.col) {
  172. case pGrid.colRef("goodplcecd") :
  173. fSetGridAttribute(pGrid, pGrid.col, cmb_dutycd);
  174. cmb_dutycd.value = dutycd;
  175. cmb_dutycd.visible = true;
  176. break;
  177. case pGrid.colRef("goodpos") :
  178. // if (vLrgcd == "" ) return;
  179. fsearch22();
  180. fSetGridAttribute(pGrid, pGrid.col, cmb_divscd);
  181. // rszfLMSComboList(vGoodflag, vLrgcd, "", "cmb_mdlcd", "", "M");
  182. // addComboItem("cmb_mdlcd", "전체", "*", "above");
  183. cmb_divscd.value = divscd;
  184. // cmb_mdlcd.visible = true;
  185. cmb_divscd.visible = true;
  186. break;
  187. }
  188. }
  189. var vLeft = 269;
  190. var vTop = 77;
  191. var vProcRow = 0;
  192. function fSetGridAttribute(pGrid, pRow) {
  193. var vHeight = 0;
  194. var vWidth = 0;
  195. for (i = 0; i < pRow; i++) {
  196. vHeight += pGrid.rowHeight(i);
  197. }
  198. var vWidth1 = 0;
  199. var vWidth2 = 0;
  200. //
  201. for (i = 0; i < 5; i++) {
  202. if (i == 3) vWidth1 = vWidth;
  203. if (i == 4) vWidth2 = vWidth;
  204. vWidth += pGrid.colWidth(i);
  205. }
  206. vHeight += vTop + 2;
  207. vWidth += vLeft;
  208. vWidth1 += vLeft;
  209. vWidth2 += vLeft;
  210. cmb_dutycd.attribute("left") = vWidth1 +"px";
  211. cmb_dutycd.attribute("top" ) = vHeight +"px";
  212. cmb_dutycd.attribute("width") = pGrid.colWidth(3) +"px";
  213. cmb_divscd.attribute("left") = vWidth2 +"px";
  214. cmb_divscd.attribute("top" ) = vHeight +"px";
  215. cmb_divscd.attribute("width") = pGrid.colWidth(4) +"px";
  216. cmb_dutycd.refresh();
  217. cmb_divscd.refresh();
  218. }
  219. function fSetGridAttribute(pGrid, pCol, pData) {
  220. var vHeight = 0;
  221. var vWidth = 0;
  222. for (i = 0; i < pGrid.row; i++) {
  223. vHeight += pGrid.rowHeight(i);
  224. }
  225. //
  226. for (i = 0; i < pCol; i++) {
  227. vWidth += pGrid.colWidth(i);
  228. }
  229. vHeight += vTop + 2;
  230. vWidth += vLeft;
  231. pData.attribute("left") = vWidth +"px";
  232. pData.attribute("top" ) = vHeight+"px";
  233. pData.attribute("width") = pGrid.colWidth(pCol) +"px";
  234. pData.refresh();
  235. }
  236. function fSetGridData(pGrid, pCol, pData, pInst) {
  237. var vPath = "/root/main/eqiprgstlist[" + pGrid.row + "]/";
  238. model.setValue(vPath+pInst , pData.value);
  239. pGrid.valueMatrix(pGrid.row, pCol) = pData.label;
  240. pData.visible = false;
  241. model.refresh();
  242. }
  243. function fUpdateCheck()
  244. {
  245. if(grd_eqiprgstlist.rowStatus( grd_eqiprgstlist.row) != 1 && grd_eqiprgstlist.rowStatus( grd_eqiprgstlist.row) != 3 && grd_eqiprgstlist.rowStatus( grd_eqiprgstlist.row) != 4 && grd_eqiprgstlist.rowStatus( grd_eqiprgstlist.row) != 6)
  246. {
  247. grd_eqiprgstlist.rowStatus(grd_eqiprgstlist.row) = 2;
  248. }
  249. }
  250. //분류코드를 가져온다.
  251. function fGetDivsList() {
  252. var dutycd = model.getValue(cmb_dutycd.attribute("ref"));
  253. // grd_goodreqdetllist.valueMatrix(grd_goodreqdetllist.row, grd_goodreqdetllist.colRef("goodplcecd"));
  254. var instcd = cmb_instcd.value;
  255. model.makeValue("/root/send/reqdata/dutycd", dutycd);
  256. model.makeValue("/root/send/reqdata/instcd", instcd);
  257. model.makeValue("/root/send/reqdata/useyn" , "Y");
  258. submit("TRRSS01314");
  259. addComboItem("cmb_divscd", " ", "", "above");
  260. cmb_dutycd.refresh();
  261. }
  262. //분류코드에따른 장비리스트를 가져온다.
  263. function fGetFixAsetList() {
  264. var dutycd = model.getValue(cmb_dutycd.attribute("ref"));
  265. var divscd = model.getValue(cmb_divscd.attribute("ref"));
  266. var instcd = cmb_instcd.value;
  267. model.makeValue("/root/send/reqdata/dutycd", dutycd);
  268. model.makeValue("/root/send/reqdata/divscd", divscd);
  269. model.makeValue("/root/send/reqdata/instcd", instcd);
  270. model.makeValue("/root/send/reqdata/useyn", "Y");
  271. submit("TRRSS01312");
  272. addComboItem("cmb_fixasetcd", " ", "", "above");
  273. }
  274. ]]>
  275. </script>
  276. </xhtml:head>
  277. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  278. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  279. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">CSR반납물품 위치지정</caption>
  280. </group>
  281. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  282. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:62px; "/>
  283. <button id="btn_search" class="btn1_letter2" navindex="7" style="left:1005px; top:27px; width:56px; height:22px; text-align:left; ">
  284. <caption>조회</caption>
  285. <script type="javascript" ev:event="DOMActivate">
  286. <![CDATA[
  287. model.setValue("/root/send/goodreq/reqdeptcd", model.getValue(cmb_csrreqdeptcd.attribute("ref")));
  288. submit("TRRSR00101");
  289. ]]>
  290. </script>
  291. </button>
  292. <input id="ipt_goodcd" ref="/root/send/goodreq/goodcd" class="input_search" appearance="input" style="left:301px; top:44px; width:96px; height:19px; text-align:center; ">
  293. <script type="javascript" ev:event="xforms-value-changed">
  294. <![CDATA[
  295. if(ipt_goodcd.label != "")
  296. {
  297. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,goodnm,indexgb,indexnm","goodcd," + model.getValue(cmb_instcd.attribute("ref")) + "," + opt_goodflag.value + "," + model.getValue(ipt_goodcd.attribute("ref")) + ",,,," ,"","goodcd,goodnm",ipt_goodcd,"SPRSD00210","instcd,goodflag","cmb_instcd,opt_goodflag");
  298. model.refresh();
  299. btn_search.dispatch("DOMActivate");
  300. }else{
  301. ipt_goodcd.value = "";
  302. ipt_goodnm.value = "";
  303. model.refresh();
  304. }
  305. ]]>
  306. </script>
  307. </input>
  308. <input id="ipt_goodnm" ref="/root/send/goodreq/goodnm" class="input_search" style="left:420px; top:44px; width:148px; height:19px; text-align:center; ">
  309. <script type="javascript" ev:event="xforms-value-changed">
  310. <![CDATA[
  311. if(ipt_goodnm.label != "")
  312. {
  313. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,goodflag,goodcd,goodnm,indexgb,indexnm",
  314. "goodnm," + model.getValue(cmb_instcd.attribute("ref")) + "," + opt_goodflag.value + ",," + model.getValue(ipt_goodnm.attribute("ref")) + ",," ,
  315. "","goodcd,goodnm",ipt_goodcd,"SPRSD00210","instcd,goodflag","cmb_instcd,opt_goodflag");
  316. }else{
  317. ipt_goodnm.value = "";
  318. ipt_goodcd.value = "";
  319. }
  320. model.refresh();
  321. ]]>
  322. </script>
  323. </input>
  324. <line id="line14" class="line_4" style="x1:990px; y1:20px; x2:990px; y2:62px; "/>
  325. <caption id="caption14" class="search_name" style="left:15; top:19; width:86px; height:17px; ">기관코드 :</caption>
  326. <caption id="caption16" class="search_name" style="left:215px; top:45px; width:86px; height:17px; ">물품코드 :</caption>
  327. <caption id="caption18" class="search_name" visibility="hidden" style="left:855px; top:50px; width:86px; height:17px; ">진행상태 :</caption>
  328. <caption id="caption20" class="search_name" style="left:15px; top:45px; width:94px; height:17px; ">부서구분 :</caption>
  329. <line id="line1" class="line_1" style="x1:0px; y1:96px; x2:170px; y2:96px; "/>
  330. <caption id="caption4" class="tit_2" style="left:5px; top:81px; width:110px; height:13px; ">반납부서</caption>
  331. <input id="ipt_reqmthdflag" ref="/root/send/goodreq/reqmthdflag" visibility="hidden" style="left:915px; top:25px; width:25px; height:19px; text-align:center; "/>
  332. <datagrid id="grd_goodreqcsrdept" nodeset="/root/init/goodreqcsrdeptlist" caption="청구부서^반납부서^수량" colsep="^" colwidth="6, 100, 46" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:101px; width:170px; height:642px; ">
  333. <col ref="rtndeptcd" visibility="hidden"/>
  334. <col ref="rtndeptnm"/>
  335. <col ref="qty"/>
  336. <script type="javascript" ev:event="onclick">
  337. <![CDATA[
  338. if(grd_goodreqcsrdept.isCell(event.target) && grd_goodreqcsrdept.mouseRow >= grd_goodreqcsrdept.fixedrows){
  339. fsearch3();
  340. }
  341. ]]>
  342. </script>
  343. </datagrid>
  344. <output id="opt_goodflag" ref="/root/send/goodreq/goodflag" visibility="hidden" style="left:840px; top:40px; width:20px; height:19px; "/>
  345. <output id="output1" ref="/root/send/goodreq/gubun" visibility="hidden" style="left:845px; top:20px; width:70px; height:19px; "/>
  346. <select1 id="rdo_deliveprcsflag_group" ref="/root/send/goodreq/deliveprcsflag_group" visibility="hidden" overflow="visible" appearance="full" cellspacing="20" cols="3" style="left:940px; top:50px; width:185px; height:15px; border-style:none; ">
  347. <choices>
  348. <item>
  349. <label>전체</label>
  350. <value/>
  351. </item>
  352. <item>
  353. <label>불출</label>
  354. <value>67</value>
  355. </item>
  356. <item>
  357. <label>미불출</label>
  358. <value>13</value>
  359. </item>
  360. </choices>
  361. <script type="javascript" ev:event="xforms-value-changed">
  362. <![CDATA[
  363. btn_search.dispatch("DOMActivate");
  364. ]]>
  365. </script>
  366. </select1>
  367. <select1 id="cmb_instcd" ref="/root/send/goodreq/instcd" class="combo_s_essential" appearance="minimal" style="left:105px; top:19px; width:95px; height:19px; ">
  368. <choices>
  369. <itemset>
  370. <label/>
  371. <value/>
  372. </itemset>
  373. </choices>
  374. </select1>
  375. <select1 id="cmb_csrreqdeptcd" ref="/root/send/goodreq/csrreqdeptcd" class="combo_s_essential" appearance="minimal" style="left:105px; top:44px; width:95px; height:19px; ">
  376. <choices>
  377. <itemset nodeset="/root/init/csrreqdeptlist">
  378. <label ref="csrreqdeptnm"/>
  379. <value ref="csrreqdeptcd"/>
  380. </itemset>
  381. </choices>
  382. <script type="javascript" ev:event="xforms-value-changed">
  383. <![CDATA[
  384. btn_search.dispatch("DOMActivate");
  385. ]]>
  386. </script>
  387. </select1>
  388. <button id="btn_excel" class="btn1_letter2" navindex="7" style="left:1065px; top:27px; width:56px; height:22px; text-align:left; ">
  389. <caption>엑셀</caption>
  390. <script type="javascript" ev:event="DOMActivate">
  391. <![CDATA[
  392. var fileName = window.fileDialog("save", ",", false, "CSR반납위치지정", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  393. if (fileName != "")
  394. {
  395. grd_goodreqdetllist.saveExcel(fileName, "CSR반납위치지정");
  396. }
  397. ]]>
  398. </script>
  399. </button>
  400. <button id="button3" class="btn1_letter2" navindex="7" style="left:1125px; top:27px; width:56px; height:22px; text-align:left; ">
  401. <caption>출력</caption>
  402. <script type="javascript" ev:event="DOMActivate">
  403. <![CDATA[
  404. ]]>
  405. </script>
  406. </button>
  407. <datagrid id="grd_goodreqdetllist" nodeset="/root/main/list/goodreq/goodreqdetllist" visibility="visible" caption="불출일자^불출&#xA;번호^반납일자^반납&#xA;번호^상태^현위치^현위치^현위치^물품코드^물품명^반납^반납^반납&#xA;단위^비고^최초등록자^최초등록일시^최종수정자^최종수정일시^불출번호^청구일자^청구번호^instcd^reqdeptcd^reqflag^dutycd^divscd|불출일자^불출&#xA;번호^반납일자^반납&#xA;번호^상태^장비종류^장비구분^장비명^반납번호^물품명^교환수량^대여수량^반납&#xA;단위^비고^최초등록자^최초등록일시^최종수정자^최종수정일시^불출번호^청구일자^청구번호^instcd^reqdeptcd^reqflag^dutycd^divscd^불출번호" colsep="^" colwidth="80, 50, 80, 50, 50, 85, 85, 85, 0, 170, 70, 70, 50, 150, 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:175px; top:101px; width:1020px; height:642px; ">
  408. <col ref="delivedd" format="yyyy-mm-dd"/>
  409. <col ref="deliveseqno"/>
  410. <col ref="rtndd" format="yyyy-mm-dd"/>
  411. <col ref="rtnseqno"/>
  412. <col disabled="true" ref="rtnstat" type="combo">
  413. <choices>
  414. <item>
  415. <label>반납</label>
  416. <value>X</value>
  417. </item>
  418. <item>
  419. <label>반납취소</label>
  420. <value>C</value>
  421. </item>
  422. </choices>
  423. </col>
  424. <col ref="goodplcecd"/>
  425. <col ref="goodpos"/>
  426. <col/>
  427. <col ref="goodcd" visibility="hidden"/>
  428. <col ref="goodnm"/>
  429. <col ref="rtnexchngqty" style="text-align:right; "/>
  430. <col ref="rtnlendqty" style="text-align:right; "/>
  431. <col ref="rtnunit"/>
  432. <col ref="cmt"/>
  433. <col ref="fstrgstrid" visibility="hidden"/>
  434. <col ref="fstrgstdt" visibility="hidden"/>
  435. <col ref="lastupdtrid" visibility="hidden"/>
  436. <col ref="lastupdtdt" visibility="hidden"/>
  437. <col ref="instcd" visibility="hidden"/>
  438. <col ref="reqdd" visibility="hidden"/>
  439. <col ref="reqseqno" visibility="hidden"/>
  440. <col ref="instcd" visibility="hidden"/>
  441. <col ref="reqdeptcd" visibility="hidden"/>
  442. <col ref="reqflag" visibility="hidden"/>
  443. <col ref="dutycd"/>
  444. <col ref="divscd"/>
  445. <script type="javascript" ev:event="onaftersort">
  446. <![CDATA[
  447. grd_goodreqdetllist.gridToInstance();
  448. ]]>
  449. </script>
  450. <script type="javascript" ev:event="onclick">
  451. <![CDATA[
  452. //grd_goodreqdetllist.colDisabled(grd_goodreqdetllist.colRef("rtnstat")) = true;
  453. ]]>
  454. </script>
  455. <script type="javascript" ev:event="xforms-value-changed">
  456. <![CDATA[
  457. var goodplcecd = grd_goodreqdetllist.valueMatrix(grd_goodreqdetllist.row, grd_goodreqdetllist.colRef("goodplcecd"));
  458. if( goodplcecd == "1") {
  459. } else if(goodplcecd == "2") {
  460. }
  461. ]]>
  462. </script>
  463. </datagrid>
  464. <caption id="caption3" class="tit_2" style="left:175px; top:81px; width:110px; height:13px; ">반납상세List</caption>
  465. <line id="line3" class="line_1" style="x1:175px; y1:96px; x2:1195px; y2:96px; "/>
  466. <input id="ipt_delivetodd" ref="/root/send/goodreq/delivetodd" class="input_s_essential" inputtype="date" style="left:415px; top:20px; width:100px; height:19px; text-align:center; ">
  467. <script type="javascript" ev:event="xforms-value-changed">
  468. <![CDATA[
  469. btn_search.dispatch("DOMActivate");
  470. ]]>
  471. </script>
  472. </input>
  473. <input id="ipt_delivefrdd" ref="/root/send/goodreq/delivefrdd" class="input_s_essential" inputtype="date" style="left:300px; top:20px; width:96px; height:19px; text-align:center; ">
  474. <script type="javascript" ev:event="xforms-value-changed">
  475. <![CDATA[
  476. btn_search.dispatch("DOMActivate");
  477. ]]>
  478. </script>
  479. </input>
  480. <caption id="caption5" style="left:400px; top:21px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">~</caption>
  481. <caption id="caption7" class="search_name" style="left:214px; top:22px; width:86px; height:17px; ">불출일자 :</caption>
  482. <button id="btn_cncl" class="btn2_letter4" style="left:1130px; top:76px; width:64px; height:19px; ">
  483. <caption>위치저장</caption>
  484. <script type="javascript" ev:event="DOMActivate">
  485. <![CDATA[
  486. var goodreqdetllist = getGridUpdateData(grd_goodreqdetllist);
  487. if (goodreqdetllist == "")
  488. {
  489. messageBox("변경된 데이터가","I004");
  490. return;
  491. } else {
  492. var rtn = messageBox("변경된 위치를 저장하시겠습니까?", "Q");
  493. if(rtn == "6") {
  494. model.makeValue("/root/send/reqdata/goodreqdetllist", goodreqdetllist);
  495. if(submit("TXRSR00101")) {
  496. messageBox("저장이 완료되었습니다.", "I");
  497. }
  498. } else {
  499. }
  500. }
  501. ]]>
  502. </script>
  503. </button>
  504. <caption id="caption1" style="left:716px; top:21px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">~</caption>
  505. <input id="ipt_rtnfrdd" ref="/root/send/goodreq/rtnfrdd" class="input_s_essential" inputtype="date" style="left:616px; top:20px; width:96px; height:19px; text-align:center; ">
  506. <script type="javascript" ev:event="xforms-value-changed">
  507. <![CDATA[
  508. btn_search.dispatch("DOMActivate");
  509. ]]>
  510. </script>
  511. </input>
  512. <input id="ipt_rtntodd" ref="/root/send/goodreq/rtntodd" class="input_s_essential" inputtype="date" style="left:731px; top:20px; width:100px; height:19px; text-align:center; ">
  513. <script type="javascript" ev:event="xforms-value-changed">
  514. <![CDATA[
  515. btn_search.dispatch("DOMActivate");
  516. ]]>
  517. </script>
  518. </input>
  519. <caption id="caption2" class="search_name" style="left:530px; top:20px; width:86px; height:17px; ">반납일자 :</caption>
  520. <button id="btn_goodcd" class="icon_search" style="left:400px; top:45px; width:16px; height:16px; ">
  521. <caption/>
  522. <script type="javascript" ev:event="DOMActivate">
  523. <![CDATA[
  524. modal("SMRSS00130");
  525. model.setValue(ipt_goodcd.attribute("ref"), model.property("goodcd"));
  526. model.setValue(ipt_goodnm.attribute("ref"), model.property("goodnm"));
  527. ipt_goodcd.refresh();
  528. ipt_goodnm.refresh();
  529. //btn_search.dispatch("DOMActivate");
  530. ]]>
  531. </script>
  532. </button>
  533. <select1 id="cmb_dutycd" ref="/root/send/goodreq/dutycd" appearance="minimal" style="left:505px; top:75px; width:86px; height:19px; ">
  534. <choices>
  535. <itemset nodeset="/root/main/dutylist">
  536. <label ref="dutynm"/>
  537. <value ref="dutycd"/>
  538. </itemset>
  539. </choices>
  540. <script type="javascript" ev:event="xforms-value-changed">
  541. <![CDATA[
  542. fGetDivsList();
  543. ]]>
  544. </script>
  545. </select1>
  546. <select1 id="cmb_divscd" ref="/root/send/goodreq/divscd" appearance="minimal" style="left:590px; top:75px; width:86px; height:19px; ">
  547. <choices>
  548. <itemset nodeset="/root/init/divsflaglist">
  549. <label ref="divsnm"/>
  550. <value ref="divscd"/>
  551. </itemset>
  552. </choices>
  553. <script type="javascript" ev:event="xforms-value-changed">
  554. <![CDATA[
  555. fGetFixAsetList();
  556. ]]>
  557. </script>
  558. </select1>
  559. <select1 id="cmb_fixasetcd" ref="/root/send/goodreq/fixasetcd" appearance="minimal" style="left:675px; top:75px; width:86px; height:19px; ">
  560. <choices>
  561. <itemset nodeset="/root/main/eqiprgstlist">
  562. <label ref="csrfixasetnm"/>
  563. <value ref="fixasetcd"/>
  564. </itemset>
  565. </choices>
  566. <script type="javascript" ev:event="xforms-value-changed">
  567. <![CDATA[
  568. ]]>
  569. </script>
  570. </select1>
  571. </group>
  572. </xhtml:body>
  573. </xhtml:html>