SMRSG06300_(재고자산)물품수불내역관리.xrw 67 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210
  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:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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. <rctpdisburseinfo>
  12. <rctpdisburselist/>
  13. </rctpdisburseinfo>
  14. <wininputinfo>
  15. <wininputinfo>
  16. <wininputlist/>
  17. </wininputinfo>
  18. <iptwininputinfo>
  19. <iptwininput>
  20. <goodcd/>
  21. <goodnm/>
  22. <allsizespecid/>
  23. <allsizespecidnm/>
  24. <goodmodel/>
  25. <totstocqty/>
  26. <cnfmstockqty/>
  27. <inputyn/>
  28. <goodflag>Y</goodflag>
  29. <reqdeptcd/>
  30. <reqdeptnm/>
  31. <goodunitcost/>
  32. <rctpdisburseqty/>
  33. <adjtqty/>
  34. <plceordamt/>
  35. <ioflag/>
  36. <rctpdisbursedt/>
  37. </iptwininput>
  38. <iptvalichkflag>
  39. <valichkflag/>
  40. </iptvalichkflag>
  41. </iptwininputinfo>
  42. <tmpwininputinfo>
  43. <tmpwininputlist/>
  44. </tmpwininputinfo>
  45. </wininputinfo>
  46. <deliveinputinfo>
  47. <deliveinputlist/>
  48. </deliveinputinfo>
  49. <stocksuminfo>
  50. <stocksumlist/>
  51. </stocksuminfo>
  52. </list>
  53. </main>
  54. <send>
  55. <search>
  56. <instcd/>
  57. <goodflag>Y</goodflag>
  58. <lrgcd/>
  59. <mdlcd/>
  60. <goodcd/>
  61. <goodnm/>
  62. <jobflag>R</jobflag>
  63. <purcflag/>
  64. <stocmngtflag/>
  65. <rctpdisbursedtfrom/>
  66. <rctpdisbursedtto/>
  67. </search>
  68. <popuppara>
  69. <instcd/>
  70. <goodflag/>
  71. <goodcd/>
  72. <allsizespecid/>
  73. </popuppara>
  74. <ipt_search>
  75. <rctpdisbursedt/>
  76. <instcd/>
  77. <goodflag>Y</goodflag>
  78. <lrgcd/>
  79. <mdlcd/>
  80. <goodcd/>
  81. <goodnm/>
  82. <jobflag>R</jobflag>
  83. <allsizespecid/>
  84. <allsizespecidnm/>
  85. <purcflag/>
  86. <stocmngtflag/>
  87. <reqdeptcd/>
  88. <reqdeptnm/>
  89. <goodunitcost/>
  90. <rctpdisburseqty/>
  91. <adjtqty/>
  92. <plceordamt/>
  93. <ioflag/>
  94. </ipt_search>
  95. <goodcdinfo>
  96. <instcd/>
  97. <goodflag/>
  98. <goodcd/>
  99. <allsizespecid/>
  100. <jobflag>I</jobflag>
  101. <inputyn>N</inputyn>
  102. <purcflag/>
  103. <stocmngtflag/>
  104. <rctpdisbursedtfrom/>
  105. <rctpdisbursedtto/>
  106. <rctpdisbursedt/>
  107. </goodcdinfo>
  108. </send>
  109. <save>
  110. <iptwininput/>
  111. <wininputlist/>
  112. </save>
  113. <init>
  114. </init>
  115. <temp>
  116. <rstinfo>
  117. <allsizespecid/>
  118. <allsizespecidnm/>
  119. </rstinfo>
  120. <inputyninfo/>
  121. <barcdinfo>
  122. <barcd/>
  123. </barcdinfo>
  124. </temp>
  125. </root>
  126. </instance>
  127. <submission id="TRRSG06301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list/rctpdisburseinfo"/>
  128. <submission id="TRRSG06311" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/ipt_search" resultref="/root/main/list/wininputinfo/iptwininputinfo"/>
  129. <submission id="TRRSG06312" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list/wininputinfo/wininputinfo"/>
  130. <submission id="TRRSG06313" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodcdinfo" resultref="/root/main/list/wininputinfo/tmpwininputinfo"/>
  131. <submission id="TRRSG06314" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodcdinfo" resultref="/root/main/list/wininputinfo/tmpwininputinfo"/>
  132. <submission id="TXRSG06311" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/save/iptwininput" resultref="/root/temp"/>
  133. <submission id="TXRSG06302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rctpdisburselist" resultref="/root/temp"/>
  134. </model>
  135. <script type="javascript" ev:event="xforms-ready">
  136. <![CDATA[
  137. //화면 Control을 초기화한다
  138. fInitialize();
  139. ]]>
  140. </script>
  141. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  142. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  143. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  144. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  145. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  146. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  147. <script type="javascript">
  148. <![CDATA[
  149. // --------------------------------------------------
  150. // Data Part Toggle 속성Toggle 처리하는 함수
  151. // --------------------------------------------------
  152. function fDataPartToggle(pCls) {
  153. switch(pCls) {
  154. case 0 :
  155. // 메인 Grup
  156. grp_main.attribute("left" ) = "285";
  157. grp_main.attribute("width" ) = "906";
  158. lin_main.attribute("x2" ) = "905";
  159. grd_wininputlist.attribute("width")= "905";
  160. grp_main.refresh();
  161. break;
  162. case 1 :
  163. // 메인 Grup
  164. grp_main.attribute("left" ) = "0";
  165. grp_main.attribute("width" ) = "1191";
  166. lin_main.attribute("x2" ) = "1191";
  167. grd_wininputlist.attribute("width")= "1191";
  168. grp_main.refresh();
  169. break;
  170. }
  171. }
  172. function fInitialize()
  173. {
  174. misfComboComCdListMulti("R0069,R0111,Z0007","cmb_stocmngtflag,cmb_purcflag,cmb_instcd");
  175. model.setValue(ipt_rctpdisbursedtfrom.attribute("ref") , getCurrentDate());
  176. model.setValue(ipt_rctpdisbursedtto.attribute("ref") , getCurrentDate());
  177. model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
  178. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
  179. addComboItem( "cmb_lrgcd" , "전체", "", "above");
  180. addComboItem( "cmb_stocmngtflag" , "전체", "", "above");
  181. addComboItem( "cmb_purcflag" , "전체", "", "above");
  182. model.removeNodeset("/root/main/list/wininputinfo/wininputinfo/wininputlist");
  183. model.setFocus("ipt_barcdinfo");
  184. model.refresh();
  185. }
  186. function fInputData(){
  187. /*for (var i=grd_wininputlist.fixedRows; i<grd_wininputlist.rows; i++){
  188. if ( grd_wininputlist.valueMatrix(i, grd_wininputlist.colRef("goodcd")) == model.getValue(ipt_goodcd.attribute("ref"))
  189. && grd_wininputlist.valueMatrix(i, grd_wininputlist.colRef("allsizespecid")) == model.getValue(ipt_allsizespecid.attribute("ref"))){
  190. messageBox("중복 입력된 데이타 ","I009");
  191. return;
  192. }
  193. }
  194. submit("TRRSG06314");
  195. inputyn = model.getValue("/root/main/list/wininputinfo/tmpwininputinfo/tmpwininputlist/inputyn");
  196. if (inputyn == "N"){
  197. messageBox("이미 입력된 데이타 ","I009");
  198. return;
  199. }
  200. submit("TRRSG06311");
  201. var valichkflag = model.getValue("/root/main/list/iptrctpdisburseinfo/iptvalichkflag/valichkflag");
  202. if (valichkflag == "0"){
  203. messageBox("해당 데이타가 ","E014");
  204. return;
  205. }else if(valichkflag == "9"){
  206. messageBox("1건 이상의 데이타가 존재하고.","I010");
  207. return;
  208. }*/
  209. //model.setValue("/root/send/goodcdinfo/goodflag", model.getValue(cmb_goodflag.attribute("ref")));
  210. submit("TRRSG06313");
  211. grd_wininputlist.addRow();
  212. var Path = "/root/main/list/wininputinfo/tmpwininputinfo/tmpwininputlist/";
  213. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("rctpdisbursedt")) = model.getValue(Path+"rctpdisbursedt");
  214. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("instcd")) = model.getValue(Path+"instcd");
  215. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodflag")) = model.getValue(Path+"goodflag");
  216. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodcd")) = model.getValue(Path+"goodcd");
  217. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("allsizespecid")) = model.getValue(Path+"allsizespecid");
  218. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodnm")) = model.getValue(Path+"goodnm");
  219. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("allsizespecidnm")) = model.getValue(Path+"allsizespecidnm");
  220. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodmodel")) = model.getValue(Path+"goodmodel");
  221. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("prodcmpynm")) = model.getValue(Path+"prodcmpynm");
  222. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("maincustnm")) = model.getValue(Path+"maincustnm");
  223. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("subcustnm")) = model.getValue(Path+"subcustnm");
  224. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("totstocqty")) = model.getValue(Path+"totstocqty");
  225. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("rctpdisburseqty")) = model.getValue(Path+"rctpdisburseqty");
  226. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("adjtqty")) = model.getValue(Path+"adjtqty");
  227. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodunitcost")) = model.getValue(Path+"goodunitcost");
  228. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("plceordamt")) = model.getValue(Path+"plceordamt");
  229. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("ioflag")) = model.getValue(Path+"ioflag");
  230. model.refresh();
  231. }
  232. // 조회버튼클릭
  233. function fSearchButtonClick() {
  234. if (swh_select.selectedIndex == 0) {
  235. model.resetInstanceNode("/root/main/list/rctpdisburseinfo/rctpdisburselist");
  236. submit("TRRSG06301");
  237. model.refresh();
  238. } else if (swh_select.selectedIndex == 1) {
  239. model.resetInstanceNode("/root/main/list/wininputinfo/wininputinfo/wininputlist");
  240. submit("TRRSG06312");
  241. model.refresh();
  242. }
  243. }
  244. ]]>
  245. </script>
  246. </xhtml:head>
  247. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  248. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  249. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">물품 수불내역 관리</caption>
  250. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  251. </group>
  252. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  253. <group id="grp_search" style="left:0px; top:17px; width:1195px; height:63px; vertical-align:top; ">
  254. <caption id="cap_allsizespecid" class="search_name" style="left:975px; top:10px; width:111px; height:17px; ">규격코드 :</caption>
  255. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:63px; background-color:#fffbf2; border-color:#ffd799; "/>
  256. <line id="line30" class="line_4" style="x1:1110px; y1:4px; x2:1110px; y2:58px; "/>
  257. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:22px; width:56px; height:22px; ">
  258. <caption>조회</caption>
  259. <script type="javascript" ev:event="DOMActivate">
  260. <![CDATA[
  261. fSearchButtonClick();
  262. ]]>
  263. </script>
  264. </button>
  265. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" appearance="minimal" style="left:104px; top:10px; width:206px; height:19px; ">
  266. <choices>
  267. <itemset nodeset="/root/main/init">
  268. <label ref="cnstnm"/>
  269. <value ref="cnstcd"/>
  270. </itemset>
  271. </choices>
  272. </select1>
  273. <caption id="cap_instcd" class="search_name" style="left:10px; top:10px; width:86px; height:17px; ">기관코드 :</caption>
  274. <select1 id="cmb_goodflag" ref="/root/send/search/goodflag" class="combo_default" appearance="minimal" style="left:414px; top:10px; width:121px; height:19px; ">
  275. <choices>
  276. <item>
  277. <label>의료비품</label>
  278. <value>U</value>
  279. </item>
  280. <item>
  281. <label>의료소모품</label>
  282. <value>Y</value>
  283. </item>
  284. <item>
  285. <label>공급실물품</label>
  286. <value>T</value>
  287. </item>
  288. <item>
  289. <label>일반소모품</label>
  290. <value>Z</value>
  291. </item>
  292. </choices>
  293. <script type="javascript" ev:event="xforms-value-changed">
  294. <![CDATA[
  295. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
  296. addComboItem( "cmb_lrgcd", "전체", "", "above");
  297. cmb_mdlcd.value='';
  298. model.refresh();
  299. ]]>
  300. </script>
  301. </select1>
  302. <caption id="cap_goodflag" class="search_name" style="left:320px; top:10px; width:86px; height:17px; ">물품구분 :</caption>
  303. <select1 id="cmb_lrgcd" ref="/root/send/search/lrgcd" appearance="minimal" style="left:414px; top:36px; width:121px; height:19px; ">
  304. <choices>
  305. <itemset>
  306. <label/>
  307. <value/>
  308. </itemset>
  309. </choices>
  310. <script type="javascript" ev:event="xforms-value-changed">
  311. <![CDATA[
  312. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), cmb_lrgcd.value, "", "cmb_mdlcd", "", "M", "", "Y");
  313. cmb_mdlcd.dispatch("xforms-value-changed");
  314. addComboItem( "cmb_mdlcd", "전체", "", "above");
  315. model.refresh();
  316. ]]>
  317. </script>
  318. </select1>
  319. <select1 id="cmb_mdlcd" ref="/root/send/search/mdlcd" appearance="minimal" style="left:639px; top:36px; width:126px; height:19px; ">
  320. <choices>
  321. <itemset>
  322. <label/>
  323. <value/>
  324. </itemset>
  325. </choices>
  326. </select1>
  327. <caption id="caption7" class="search_name" style="left:320px; top:36px; width:88px; height:17px; ">대 분 류 :</caption>
  328. <caption id="caption8" class="search_name" style="left:543px; top:36px; width:88px; height:17px; ">중 분 류 :</caption>
  329. <input id="ipt_goodnm" ref="/root/send/search/goodnm" class="output_search" style="left:745px; top:10px; width:140px; height:19px; "/>
  330. <button id="btn_goodcd" class="icon_search" style="left:726px; top:10px; width:16px; height:16px; ">
  331. <caption/>
  332. </button>
  333. <input id="ipt_searchgoodcd" ref="/root/send/search/goodcd" class="input_search" maxlength="10" appearance="input" style="left:639px; top:10px; width:81px; height:19px; "/>
  334. <caption id="cap_goodcd" class="search_name" style="left:545px; top:10px; width:86px; height:17px; ">물품코드 :</caption>
  335. <input id="ipt_rctpdisbursedtfrom" ref="/root/send/search/rctpdisbursedtfrom" class="input_default" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:104px; top:36px; width:91px; height:19px; "/>
  336. <caption id="caption15" class="search_name" style="left:10px; top:36px; width:86px; height:17px; ">수불기간 :</caption>
  337. <select1 id="cmb_stocmngtflag" ref="/root/send/search/stocmngtflag" appearance="minimal" style="left:896px; top:36px; width:200px; height:19px; ">
  338. <choices>
  339. <itemset nodeset="/root/init/stocmngtflag">
  340. <label ref="cdnm"/>
  341. <value ref="cdid"/>
  342. </itemset>
  343. </choices>
  344. </select1>
  345. <caption id="caption1" class="search_name" style="left:905px; top:10px; width:86px; height:17px; ">구매구분 :</caption>
  346. <caption id="caption16" class="search_name" style="left:775px; top:36px; width:112px; height:17px; ">재고관리기준 :</caption>
  347. <select1 id="cmb_purcflag" ref="/root/send/search/purcflag" appearance="minimal" style="left:995px; top:10px; width:101px; height:19px; ">
  348. <choices>
  349. <itemset nodeset="/root/init/purcflag">
  350. <label ref="cdnm"/>
  351. <value ref="cdid"/>
  352. </itemset>
  353. </choices>
  354. </select1>
  355. <input id="ipt_rctpdisbursedtto" ref="/root/send/search/rctpdisbursedtto" class="input_default" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:220px; top:36px; width:91px; height:19px; "/>
  356. <caption id="caption29" style="left:200px; top:37px; width:15px; height:17px; ">~</caption>
  357. </group>
  358. <switch id="swh_select" style="left:0px; top:110px; width:1190px; height:595px; ">
  359. <case id="cse_rctpdisburse">
  360. <caption id="caption22" class="tit_2" style="left:10px; top:6px; width:98px; height:14px; ">수불 내역</caption>
  361. <line id="lin_main" class="line_1" style="x1:0px; y1:24px; x2:1185px; y2:24px; "/>
  362. <datagrid id="grd_rctpdisburselist" nodeset="/root/main/list/rctpdisburseinfo/rctpdisburselist" class="datagrid3" caption="입출구분^불출일자^기관코드^물품구분^요청부서코드^요청부서명^물품코드^물품코드^물품명^규격^모델^제조원^주거래처^보조거래처^재고량^수불수량^조정수량^단가^금액" colsep="^" colwidth="62, 65, 0, 0, 103, 123, 121, 40, 331, 145, 143, 136, 131, 132, 80, 80, 80, 80, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:0px; top:30px; width:1185px; height:540px; font-weight:normal; text-align:center; ">
  363. <col disabled="false" ref="ioflag" type="combo" visibility="visible" style="text-align:center; ">
  364. <choices>
  365. <item>
  366. <label>I</label>
  367. <value>입고</value>
  368. </item>
  369. <item>
  370. <label>O</label>
  371. <value>출고</value>
  372. </item>
  373. </choices>
  374. </col>
  375. <col ref="rctpdisbursedt" style="text-align:center; "/>
  376. <col ref="instcd" visibility="hidden" style="text-align:left; "/>
  377. <col ref="goodflag" visibility="hidden" style="text-align:left; "/>
  378. <col ref="reqdeptcd" style="text-align:center; "/>
  379. <col ref="reqdeptnm" style="text-align:left; padding-left:10; "/>
  380. <col ref="goodcd" style="text-align:center; "/>
  381. <col ref="allsizespecid" style="text-align:center; padding-left:10; "/>
  382. <col ref="goodnm" style="text-align:left; padding-left:10; "/>
  383. <col ref="allsizespecidnm" style="text-align:left; padding-left:10; "/>
  384. <col ref="goodmodel" style="text-align:left; padding-left:10; "/>
  385. <col ref="prodcmpynm" style="text-align:left; padding-left:10; "/>
  386. <col ref="maincustnm" style="text-align:left; padding-left:10; "/>
  387. <col ref="subcustnm" style="text-align:left; padding:10; "/>
  388. <col ref="totstocqty" format="#,###" style="text-align:right; "/>
  389. <col ref="rctpdisburseqty" format="#,###" style="text-align:right; "/>
  390. <col ref="adjtqty" format="#,###" style="text-align:right; "/>
  391. <col ref="goodunitcost" format="#,###" style="text-align:right; "/>
  392. <col ref="plceordamt" format="#,###" style="text-align:right; "/>
  393. <script type="javascript" ev:event="onbuttonclick">
  394. <![CDATA[
  395. if (grd_wininputlist.colAttribute(grd_wininputlist.col,"ref") == "reqdeptcd" ) { // 부서
  396. var instcd = model.getValue(cmb_instcd.attribute("ref"));
  397. var recv_list = "reqdeptcd,reqdeptnm";
  398. misfOpenPopUpList("02", grd_wininputlist,"", recv_list,instcd,"instcd") ;
  399. model.refresh();
  400. }
  401. /* if (grd_wininputlist.col == grd_wininputlist.colRef("reqdeptcd")) { //요청부서코드
  402. var recv_list = "reqdeptcd,reqdeptnm";
  403. misfOpenPopUpList("02", grd_wininputlist.reqdeptcd,"", recv_list) ;
  404. model.refresh();
  405. }*/
  406. ]]>
  407. </script>
  408. <script type="javascript" ev:event="xforms-value-changed">
  409. <![CDATA[
  410. if ( (grd_wininputlist.colAttribute(grd_wininputlist.col,"ref") == "goodcd" )
  411. || (grd_wininputlist.colAttribute(grd_wininputlist.col,"ref") == "allsizespecid" )) {
  412. fInputData();
  413. }
  414. if (grd_wininputlist.colAttribute(grd_wininputlist.col,"ref") == "rctpdisburseqty") {
  415. var rctpdisburseqty = parseInt(grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("rctpdisburseqty")));
  416. var goodunitcost = parseInt(grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("goodunitcost")));
  417. grd_wininputlist.valueMatrix(grd_wininputlist.row, grd_wininputlist.colRef("plceordamt")) = rctpdisburseqty * goodunitcost;
  418. }
  419. ]]>
  420. </script>
  421. </datagrid>
  422. </case>
  423. <case id="cse_wininput" selected="true">
  424. <group id="grp_input" style="left:0px; top:0px; width:278px; height:570px; vertical-align:top; ">
  425. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:45px; width:270px; height:485px; background-color:#fffbf2; border-color:#ffd799; "/>
  426. <caption id="caption10" class="tit_2" style="left:0px; top:17px; width:143px; height:14px; ">입고 입력</caption>
  427. <line id="line3" class="line_1" style="x1:0px; y1:34px; x2:275px; y2:34px; "/>
  428. <button id="btn_iptsave" class="btn2_letter2" style="left:224px; top:55px; width:42px; height:19px; ">
  429. <caption>저장</caption>
  430. <script type="javascript" ev:event="onclick">
  431. <![CDATA[
  432. if(!isRequiredControls("ipt_iptrctpdisbursedt")) return;
  433. if(!isRequiredControls("ipt_reqdeptcd")) return;
  434. var retMes = messageBox("저장 하시겠습니까?", "Q999");
  435. if ( retMes != 6) {
  436. return;
  437. }
  438. var save, status;
  439. var mPath = "/root/send/search/";
  440. var dPath = "/root/main/list/wininputinfo/iptwininputinfo/iptwininput/";
  441. var instcd = model.getValue(mPath+"instcd" );
  442. var oldrctpdisbursedt = model.getValue(dPath+"oldrctpdisbursedt" );
  443. var rctpdisbursedt = model.getValue(dPath+"rctpdisbursedt" );
  444. var oldreqdeptcd = model.getValue(dPath+"oldreqdeptcd" );
  445. var reqdeptcd = model.getValue(dPath+"reqdeptcd" );
  446. var goodflag = model.getValue(dPath+"goodcd" ).substr(0, 1);
  447. var goodcd = model.getValue(dPath+"goodcd" );
  448. var goodnm = model.getValue(dPath+"goodnm" );
  449. var allsizespecid = model.getValue(dPath+"allsizespecid" );
  450. var allsizespecidnm = model.getValue(dPath+"allsizespecidnm" );
  451. var goodmodel = model.getValue(dPath+"goodmodel" );
  452. var totstocqty = model.getValue(dPath+"totstocqty" );
  453. var inputyn = model.getValue(dPath+"inputyn" );
  454. var goodunitcost = model.getValue(dPath+"goodunitcost" );
  455. var ioflag = model.getValue(dPath+"ioflag" );
  456. var rctpdisburseqty = model.getValue(dPath+"rctpdisburseqty" );
  457. var adjtqty = model.getValue(dPath+"adjtqty" );
  458. var plceordamt = model.getValue(dPath+"plceordamt" );
  459. var inputyn = model.getValue(dPath+"inputyn" );
  460. model.resetInstanceNode("/root/save/iptwininput");
  461. if (inputyn == "Y"){
  462. status = "i";
  463. }else{
  464. status = "u";
  465. }
  466. var save = "m▦instcd▦oldrctpdisbursedt▦rctpdisbursedt▦oldreqdeptcd▦reqdeptcd▦goodflag▦goodcd▦allsizespecid▦rctpdisburseqty▦adjtqty▦goodunitcost▦plceordamt▦inputyn▦ioflag▩";
  467. save += status + "▦";
  468. save += instcd + "▦";
  469. save += oldrctpdisbursedt + "▦";
  470. save += rctpdisbursedt + "▦";
  471. save += oldreqdeptcd + "▦";
  472. save += reqdeptcd + "▦";
  473. save += goodflag + "▦";
  474. save += goodcd + "▦";
  475. save += allsizespecid + "▦";
  476. save += rctpdisburseqty + "▦";
  477. save += adjtqty + "▦";
  478. save += goodunitcost + "▦";
  479. save += plceordamt + "▦";
  480. save += inputyn + "▦";
  481. save += "I" + "▩";
  482. model.setValue("/root/save/iptwininput" , save);
  483. submit("TXRSG06311");
  484. //model.refresh();
  485. //model.resetInstanceNode("/root/main/list/wininputinfo/iptwininputinfo/iptwininput");
  486. btn_iptsearch.dispatch("DOMActivate");
  487. btn_search.dispatch("DOMActivate");
  488. ]]>
  489. </script>
  490. </button>
  491. <button id="btn_iptgoodcd" class="icon_search" style="left:251px; top:199px; width:16px; height:16px; ">
  492. <caption/>
  493. <script type="javascript" ev:event="DOMActivate">
  494. <![CDATA[
  495. rszfOpenPopUpListByWndName(ipt_iptgoodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag","cmb_instcd,cmb_goodflag");
  496. //rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd,goodflag,reqflag","cmb_instcd,cmb_goodflag,cmb_reqflag");
  497. model.refresh();
  498. ]]>
  499. </script>
  500. </button>
  501. <caption id="caption11" class="search_name" style="left:18px; top:199px; width:81px; height:17px; ">물품코드 :</caption>
  502. <input id="ipt_iptgoodnm" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/goodnm" class="output_search" style="left:107px; top:230px; width:155px; height:19px; "/>
  503. <input id="ipt_iptgoodcd" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/goodcd" class="input_search" appearance="input" style="left:107px; top:199px; width:131px; height:19px; ">
  504. <script type="javascript" ev:event="xforms-value-changed">
  505. <![CDATA[
  506. cmb_iptgoodflag.value = model.getValue(ipt_iptgoodcd.attribute("ref")).substr(0, 1);
  507. ]]>
  508. </script>
  509. </input>
  510. <caption id="caption12" class="search_name" style="left:18px; top:230px; width:93px; height:17px; ">물 품 명 :</caption>
  511. <button id="btn_iptsearch" class="btn2_letter2" style="left:174px; top:55px; width:42px; height:19px; ">
  512. <caption>조회</caption>
  513. <script type="javascript" ev:event="DOMActivate">
  514. <![CDATA[
  515. model.resetInstanceNode("/root/send/ipt_search");
  516. var SPath1 = "/root/send/search/";
  517. var SPath2 = "/root/main/list/wininputinfo/iptwininputinfo/iptwininput/";
  518. var DPath = "/root/send/ipt_search/";
  519. var valichkflag, inputyn;
  520. model.setValue( DPath + "purcflag" , model.getValue( SPath1 + "purcflag" ));
  521. model.setValue( DPath + "stocmngtflag" , model.getValue( SPath1 + "stocmngtflag" ));
  522. model.setValue( DPath + "instcd" , model.getValue( SPath1 + "instcd" ));
  523. model.setValue( DPath + "rctpdisbursedt" , model.getValue( SPath2 + "rctpdisbursedt"));
  524. model.setValue( DPath + "goodflag" , model.getValue( SPath2 + "goodflag").toUpperCase());
  525. model.setValue( DPath + "goodcd" , model.getValue( SPath2 + "goodcd").toUpperCase());
  526. model.setValue( DPath + "goodnm" , model.getValue( SPath2 + "goodnm" ));
  527. model.setValue( DPath + "reqdeptcd" , model.getValue( SPath2 + "reqdeptcd" ));
  528. model.setValue( DPath + "reqdeptnm" , model.getValue( SPath2 + "reqdeptnm" ));
  529. model.setValue( DPath + "allsizespecid" , model.getValue( SPath2 + "allsizespecid" ));
  530. model.setValue( DPath + "allsizespecidnm" , model.getValue( SPath2 + "allsizespecidnm"));
  531. model.setValue( DPath + "goodunitcost" , model.getValue( SPath2 + "goodunitcost" ));
  532. model.setValue( DPath + "ioflag" , model.getValue( SPath2 + "ioflag" ));
  533. model.setValue( DPath + "rctpdisburseqty" , model.getValue( SPath2 + "rctpdisburseqty"));
  534. model.setValue( DPath + "adjtqty" , model.getValue( SPath2 + "adjtqty" ));
  535. model.setValue( DPath + "plceordamt" , model.getValue( SPath2 + "plceordamt" ));
  536. submit("TRRSG06311");
  537. inputyn = model.getValue("/root/main/list/wininputinfo/iptwininputinfo/iptwininput/inputyn");
  538. valichkflag = model.getValue("/root/main/list/wininputinfo/iptwininputinfo/iptvalichkflag/valichkflag");
  539. if (valichkflag == "0"){
  540. messageBox("해당 데이타가 ","E014");
  541. }else if(valichkflag == "9"){
  542. messageBox("1건 이상의 데이타가 존재하고.","I010");
  543. }
  544. if (inputyn == "Y"){
  545. cap_inputyndesc.value = "※ 추가 할 수 있는 데이타 입니다.";
  546. }else if (inputyn == "N"){
  547. cap_inputyndesc.value = "※ 수정 할 수 있는 데이타 입니다.";
  548. }else{
  549. cap_inputyndesc.value = "";
  550. }
  551. model.refresh();
  552. ]]>
  553. </script>
  554. </button>
  555. <caption id="caption13" class="search_name" style="left:18px; top:290px; width:95px; height:17px; ">규 격 명 :</caption>
  556. <input id="ipt_iptallsizespecidnm" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/allsizespecidnm" class="output_search" style="left:107px; top:290px; width:155px; height:19px; "/>
  557. <input id="ipt_iptgoodmodel" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/goodmodel" class="output_search" style="left:107px; top:320px; width:155px; height:19px; ">
  558. <script type="javascript" ev:event="xforms-value-changed">
  559. <![CDATA[
  560. if(ipt_goodnm.value != ""){
  561. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,reqflag,goodcd,goodnm",
  562. "goodnm," + model.getValue(cmb_instcd.attribute("ref")) + "," + model.getValue(cmb_reqflag.attribute("ref")) + ",," + model.getValue(ipt_goodnm.attribute("ref"))
  563. ,"","goodcd,goodnm",ipt_goodcd,"SPRSD00210","instcd");
  564. }else{
  565. ipt_goodcd.value = "";
  566. }
  567. model.refresh();
  568. btn_search.dispatch("DOMActivate");
  569. ]]>
  570. </script>
  571. </input>
  572. <caption id="caption14" class="search_name" style="left:18px; top:320px; width:95px; height:17px; ">모 델 :</caption>
  573. <caption id="caption17" class="search_name" style="left:18px; top:360px; width:114px; height:17px; ">현재고 수량 :</caption>
  574. <input id="ipt_ipttotstocqty" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/totstocqty" class="output_search" disabled="false" format="#,###" style="left:137px; top:360px; width:125px; height:19px; text-align:right; ">
  575. <script type="javascript" ev:event="xforms-value-changed">
  576. <![CDATA[
  577. if(ipt_goodnm.value != ""){
  578. rszfValidationCheck("TRRSD00191", "goodlist" , "refcond,instcd,reqflag,goodcd,goodnm",
  579. "goodnm," + model.getValue(cmb_instcd.attribute("ref")) + "," + model.getValue(cmb_reqflag.attribute("ref")) + ",," + model.getValue(ipt_goodnm.attribute("ref"))
  580. ,"","goodcd,goodnm",ipt_goodcd,"SPRSD00210","instcd");
  581. }else{
  582. ipt_goodcd.value = "";
  583. }
  584. model.refresh();
  585. btn_search.dispatch("DOMActivate");
  586. ]]>
  587. </script>
  588. </input>
  589. <caption id="caption18" class="search_name" style="left:18px; top:385px; width:111px; height:17px; ">수불 수량 :</caption>
  590. <input id="ipt_iptrctpdisburseqty" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/rctpdisburseqty" class="input_search" format="#,###" style="left:137px; top:385px; width:125px; height:19px; text-align:right; ">
  591. <script type="javascript" ev:event="xforms-value-changed">
  592. <![CDATA[
  593. var rctpdisburseqty = parseInt(model.getValue(ipt_iptrctpdisburseqty.attribute("ref")));
  594. var goodunitcost = parseInt(model.getValue(ipt_iptgoodunitcost.attribute("ref")));
  595. model.setValue(ipt_plceordamt.attribute("ref"), rctpdisburseqty * goodunitcost);
  596. ipt_plceordamt.refresh();
  597. ]]>
  598. </script>
  599. </input>
  600. <input id="ipt_inputyn" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/inputyn" visibility="visible" style="left:19px; top:55px; width:55px; height:19px; "/>
  601. <caption id="caption19" class="search_name" style="left:18px; top:260px; width:106px; height:17px; ">규격코드 :</caption>
  602. <input id="ipt_iptallsizespecid" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/allsizespecid" class="input_search" style="left:107px; top:260px; width:131px; height:19px; "/>
  603. <button id="btn_iptallsizespecid" class="icon_search" style="left:251px; top:260px; width:16px; height:16px; ">
  604. <caption/>
  605. <script type="javascript" ev:event="DOMActivate">
  606. <![CDATA[
  607. var dPath ="/root/send/popuppara/" ;
  608. var sPath ="/root/send/search/" ;
  609. var sPath2 ="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/" ;
  610. // 규격코드 정보 popup에 Parameter값을 Setting
  611. model.setValue(dPath+"instcd" , model.getValue(sPath +"instcd" ));
  612. model.setValue(dPath+"goodflag" , model.getValue(sPath2+"goodflag" ));
  613. model.setValue(dPath+"allsizespecid" , model.getValue(sPath +"allsizespecid"));
  614. model.setValue(dPath+"goodcd" , model.getValue(sPath2+"goodcd" ));
  615. setParameter("SMRSG06200_popuppara", getNodeListCSV(model.instances(0).selectNodes("/root/send/popuppara")) );
  616. modal("SMRSG06200");
  617. model.removenode("/root/temp/rstinfo");
  618. var csv_rstinfo = getParameter("SMRSG06100_rstinfo");
  619. setCSVToNode("/root/temp", csv_rstinfo, "rstinfo");
  620. model.setValue(ipt_iptallsizespecid.attribute("ref") , model.getValue("/root/temp/rstinfo/allsizespecid"));
  621. model.setValue(ipt_iptallsizespecidnm.attribute("ref") , model.getValue("/root/temp/rstinfo/allsizespecidnm"));
  622. model.refresh();
  623. ]]>
  624. </script>
  625. </button>
  626. <caption id="cap_inputyndesc" style="left:14px; top:500px; width:255px; height:17px; "/>
  627. <select1 id="cmb_iptgoodflag" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/goodflag" class="combo_default" appearance="minimal" style="left:107px; top:118px; width:155px; height:19px; ">
  628. <choices>
  629. <item>
  630. <label>의료비품</label>
  631. <value>U</value>
  632. </item>
  633. <item>
  634. <label>의료소모품</label>
  635. <value>Y</value>
  636. </item>
  637. <item>
  638. <label>공급실물품</label>
  639. <value>T</value>
  640. </item>
  641. <item>
  642. <label>일반소모품</label>
  643. <value>Z</value>
  644. </item>
  645. </choices>
  646. <script type="javascript" ev:event="xforms-value-changed">
  647. <![CDATA[
  648. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
  649. addComboItem( "cmb_lrgcd", "전체", "", "above");
  650. cmb_mdlcd.value='';
  651. model.refresh();
  652. ]]>
  653. </script>
  654. </select1>
  655. <caption id="caption20" class="search_name" style="left:18px; top:117px; width:91px; height:17px; ">물품구분 :</caption>
  656. <button id="btn_barcd" class="btn2_letter6" style="left:80px; top:55px; width:86px; height:19px; ">
  657. <caption>바코드 입력</caption>
  658. <script type="javascript" ev:event="DOMActivate">
  659. <![CDATA[
  660. model.resetInstanceNode("/root/temp/barcdinfo/barcd");
  661. model.setFocus("ipt_barcdinfo");
  662. ]]>
  663. </script>
  664. </button>
  665. <input id="ipt_barcdinfo" ref="/root/temp/barcdinfo/barcd" visibility="visible" style="left:5px; top:540px; width:260px; height:19px; ">
  666. <script type="javascript" ev:event="onkeydown">
  667. <![CDATA[
  668. if(event.keyCode == "13"){
  669. var SPath1 = "/root/send/search/";
  670. var SPath2 = "/root/main/list/wininputinfo/iptwininputinfo/iptwininput/";
  671. var DPath = "/root/send/ipt_search/";
  672. var DPath2 = "/root/send/goodcdinfo/";
  673. var valichkflag, inputyn;
  674. var barcdinfo = ipt_barcdinfo.currentText;
  675. model.setValue(SPath2 + "goodflag" , barcdinfo.substr(0, 1));
  676. model.setValue(SPath2 + "goodcd" , barcdinfo.substr(0, 9));
  677. model.setValue(SPath2 + "allsizespecid" , barcdinfo.substr(9, 3));
  678. model.resetInstanceNode("/root/send/ipt_search");
  679. model.setValue( DPath + "rctpdisbursedt" , getCurrentDate());
  680. model.setValue( DPath + "instcd" , model.getValue( SPath1 + "instcd"));
  681. model.setValue( DPath + "goodflag" , model.getValue( SPath2 + "goodcd").substr(0, 1));
  682. model.setValue( DPath + "goodcd" , model.getValue( SPath2 + "goodcd"));
  683. model.setValue( DPath + "allsizespecid" , model.getValue( SPath2 + "allsizespecid"));
  684. btn_iptsearch.dispatch("DOMActivate");
  685. model.setValue( DPath2 + "rctpdisbursedt" , getCurrentDate());
  686. model.setValue( DPath2 + "instcd" , model.getValue( SPath1 + "instcd"));
  687. model.setValue( DPath2 + "goodflag" , model.getValue( SPath2 + "goodflag").getTrim());
  688. model.setValue( DPath2 + "goodcd" , model.getValue( SPath2 + "goodcd"));
  689. model.setValue( DPath2 + "allsizespecid" , model.getValue( SPath2 + "allsizespecid"));
  690. var valichkflag = model.getValue("/root/main/list/wininputinfo/iptwininputinfo/iptvalichkflag/valichkflag");
  691. if (valichkflag == "1"){
  692. btn_search.dispatch("DOMActivate");
  693. fInputData();
  694. }
  695. }
  696. ]]>
  697. </script>
  698. </input>
  699. <input id="ipt_reqdeptnm" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/reqdeptnm" class="output_search" appearance="input" style="left:107px; top:172px; width:155px; height:19px; ">
  700. <script type="javascript" ev:event="xforms-value-changed">
  701. <![CDATA[
  702. if(ipt_reqdeptnm.value.length == 0)
  703. ipt_reqdeptcd.value = "";
  704. else
  705. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptnm",
  706. "deptnm," + ipt_reqdeptnm.value, "", "reqdeptcd,reqdeptnm",
  707. ipt_reqdeptnm, "SPRPZ00200", "","");
  708. model.refresh();
  709. ]]>
  710. </script>
  711. </input>
  712. <button id="btn_windeptcd" class="icon_search" style="left:251px; top:145px; width:16px; height:16px; ">
  713. <caption/>
  714. <script type="javascript" ev:event="DOMActivate">
  715. <![CDATA[
  716. var recv_list = "reqdeptcd,reqdeptnm";
  717. misfOpenPopUpList("02", ipt_reqdeptcd,"", recv_list) ;
  718. model.refresh();
  719. btn_iptsearch.dispatch("DOMActivate");
  720. ]]>
  721. </script>
  722. </button>
  723. <input id="ipt_reqdeptcd" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/reqdeptcd" class="input_fix" maxlength="10" appearance="input" style="left:107px; top:145px; width:131px; height:19px; ">
  724. <script type="javascript" ev:event="xforms-value-changed">
  725. <![CDATA[
  726. if(ipt_reqdeptcd.value.length == 0){
  727. ipt_reqdeptnm.value = "";
  728. }else{
  729. rszfValidationCheck("TRRPZ00201", "deptcodelist", "refcond,deptcd",
  730. "deptcd," + ipt_reqdeptcd.value, "", "reqdeptcd,reqdeptnm", ipt_reqdeptcd, "SPRPZ00200", "","");
  731. }
  732. model.refresh();
  733. ]]>
  734. </script>
  735. </input>
  736. <caption id="cap_reqdeptcd" class="search_name" style="left:18px; top:145px; width:91px; height:17px; ">부서코드 :</caption>
  737. <caption id="caption24" class="search_name" style="left:18px; top:172px; width:83px; height:17px; ">부 서 명 :</caption>
  738. <input id="ipt_iptadjtqty" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/adjtqty" class="input_search" format="#,###" style="left:137px; top:410px; width:125px; height:19px; text-align:right; "/>
  739. <caption id="caption25" class="search_name" style="left:18px; top:410px; width:111px; height:17px; ">조정 수량 :</caption>
  740. <caption id="caption26" class="search_name" style="left:18px; top:435px; width:115px; height:17px; ">단 가 :</caption>
  741. <input id="ipt_iptgoodunitcost" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/goodunitcost" class="input_search" format="#,###" style="left:137px; top:435px; width:125px; height:19px; text-align:right; "/>
  742. <caption id="caption27" class="search_name" style="left:18px; top:460px; width:111px; height:17px; ">금 액 :</caption>
  743. <input id="ipt_plceordamt" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/plceordamt" class="input_search" format="#,###" style="left:137px; top:460px; width:125px; height:19px; text-align:right; "/>
  744. <input id="ipt_iptrctpdisbursedt" ref="/root/main/list/wininputinfo/iptwininputinfo/iptwininput/rctpdisbursedt" class="input_default" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:107px; top:90px; width:155px; height:19px; ">
  745. <script type="javascript" ev:event="xforms-value-changed">
  746. <![CDATA[
  747. btn_iptsearch.dispatch("DOMActivate");
  748. ]]>
  749. </script>
  750. </input>
  751. <caption id="cap_iptrctpdisbursedt" class="search_name" style="left:18px; top:90px; width:91px; height:17px; ">수불일자 :</caption>
  752. </group>
  753. <group id="grp_main" style="left:280px; top:0px; width:900px; height:590px; ">
  754. <caption id="caption21" class="tit_2" style="left:0px; top:17px; width:143px; height:14px; ">입고 내역</caption>
  755. <button id="button3" class="icon_pre_month" style="left:100px; top:15px; width:16px; height:16px; ">
  756. <caption/>
  757. <script type="javascript" ev:event="DOMActivate">
  758. <![CDATA[
  759. fDataPartToggle(1);
  760. ]]>
  761. </script>
  762. </button>
  763. <button id="button5" class="icon_next_month" style="left:120px; top:15px; width:16px; height:16px; ">
  764. <caption/>
  765. <script type="javascript" ev:event="DOMActivate">
  766. <![CDATA[
  767. fDataPartToggle(0);
  768. ]]>
  769. </script>
  770. </button>
  771. <line id="line1" class="line_1" style="x1:0px; y1:34px; x2:900px; y2:34px; "/>
  772. <datagrid id="grd_wininputlist" nodeset="/root/main/list/wininputinfo/wininputinfo/wininputlist" class="datagrid3" caption="불출일자^기관코드^물품구분^요청부서코드^요청부서명^물품코드^물품코드^물품명^규격^모델^제조원^주거래처^보조거래처^재고량^수불수량^조정수량^단가^금액^입출구분^구 불출일자^구 요청부서" colsep="^" colwidth="96, 2, 2, 103, 123, 121, 56, 331, 145, 143, 136, 131, 132, 80, 80, 80, 80, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:0px; top:40px; width:900px; height:550px; font-weight:normal; text-align:center; ">
  773. <col ref="rctpdisbursedt" type="inputdate" style="text-align:center; "/>
  774. <col ref="instcd" visibility="hidden" style="text-align:left; "/>
  775. <col ref="goodflag" visibility="hidden" style="text-align:left; "/>
  776. <col ref="reqdeptcd" type="inputbutton" style="text-align:center; "/>
  777. <col ref="reqdeptnm" style="text-align:left; padding-left:10; "/>
  778. <col ref="goodcd" type="inputbutton" style="text-align:center; "/>
  779. <col ref="allsizespecid" type="inputbutton" style="text-align:center; padding-left:10; "/>
  780. <col ref="goodnm" style="text-align:left; padding-left:10; "/>
  781. <col ref="allsizespecidnm" style="text-align:left; padding-left:10; "/>
  782. <col ref="goodmodel" style="text-align:left; padding-left:10; "/>
  783. <col ref="prodcmpynm" style="text-align:left; padding-left:10; "/>
  784. <col ref="maincustnm" style="text-align:left; padding-left:10; "/>
  785. <col ref="subcustnm" style="text-align:left; padding:10; "/>
  786. <col ref="totstocqty" format="#,###" style="text-align:right; "/>
  787. <col ref="rctpdisburseqty" type="input" format="#,###" style="text-align:right; "/>
  788. <col ref="adjtqty" type="input" format="#,###" style="text-align:right; "/>
  789. <col ref="goodunitcost" format="#,###" style="text-align:right; "/>
  790. <col ref="plceordamt" format="#,###" style="text-align:right; "/>
  791. <col ref="ioflag" visibility="hidden" style="text-align:center; "/>
  792. <col ref="oldrctpdisbursedt" visibility="hidden" style="text-align:center; "/>
  793. <col ref="oldreqdeptcd" visibility="hidden" style="text-align:center; "/>
  794. <script type="javascript" ev:event="onbuttonclick">
  795. <![CDATA[
  796. alert("onbuttonclick");
  797. ]]>
  798. </script>
  799. <script type="javascript" ev:event="oncolchanged">
  800. <![CDATA[
  801. alert("oncolchanged");
  802. ]]>
  803. </script>
  804. <script type="javascript" ev:event="xforms-valid">
  805. <![CDATA[
  806. alert("xforms-valid");
  807. ]]>
  808. </script>
  809. </datagrid>
  810. <button id="btn_save" class="btn2_letter2" style="left:845px; top:7px; width:42px; height:19px; ">
  811. <caption>저장</caption>
  812. <script type="javascript" ev:event="DOMActivate">
  813. <![CDATA[
  814. for (var i = grd_wininputlist.fixedRows ; i < grd_wininputlist.rows ; i++){
  815. if (grd_wininputlist.valueMatrix(i, grd_wininputlist.colRef("rctpdisbursedt")) == ""){
  816. messageBox( i+"번째"+ " 불출 일자가 입력되지","E007");
  817. return;
  818. }
  819. if (grd_wininputlist.valueMatrix(i, grd_wininputlist.colRef("reqdeptcd")) == ""){
  820. messageBox( i+"번째"+ " 요청 부서가 입력되지","E007");
  821. return;
  822. }
  823. if (grd_wininputlist.valueMatrix(i, grd_wininputlist.colRef("goodcd")) == ""){
  824. messageBox( i+"번째"+ " 물품 코드가 입력되지","E007");
  825. return;
  826. }
  827. if (grd_wininputlist.valueMatrix(i, grd_wininputlist.colRef("allsizespecid")) == ""){
  828. messageBox( i+"번째"+ " 규격코드가 입력되지","E007");
  829. return;
  830. }
  831. }
  832. var retMes = messageBox("저장 하시겠습니까?", "Q999");
  833. if ( retMes != 6) {
  834. return;
  835. }
  836. var updtdata = getGridUpdateData(grd_wininputlist);
  837. if (updtdata == "")
  838. {
  839. messageBox("변경된 데이터가","I004");
  840. return;
  841. }
  842. model.setValue("/root/save/iptwininput", updtdata);
  843. submit("TXRSG06311");
  844. btn_search.dispatch("DOMActivate");
  845. ]]>
  846. </script>
  847. </button>
  848. <button id="btn_delrow" class="btn2_letter2" style="left:795px; top:7px; width:42px; height:19px; ">
  849. <caption>삭제</caption>
  850. <script type="javascript" ev:event="DOMActivate">
  851. <![CDATA[
  852. grd_wininputlist.rowStatus(grd_wininputlist.row) = 4;
  853. ]]>
  854. </script>
  855. </button>
  856. <button id="button1" class="btn2_letter3" style="left:735px; top:7px; width:53px; height:19px; ">
  857. <caption>행추가</caption>
  858. <script type="javascript" ev:event="DOMActivate">
  859. <![CDATA[
  860. grd_wininputlist.addRow();
  861. grd_wininputlist.rowStatus(grd_wininputlist.row) = 1;
  862. ]]>
  863. </script>
  864. </button>
  865. </group>
  866. </case>
  867. <case id="cse_deliveinput">
  868. <datagrid id="grd_deliveinputlist" nodeset="/root/main/list/deliveinputinfo/deliveinputlist" class="datagrid1" caption="Chk^SEQ^기관^물품구분^물품코드^^물품명^규격^모델^주거래처^주거래처명^보조거래처^보조거래처명^조정량^총 재고량^포장구성^환산량^재고환산^발주량^구매단가^구매금액^단위^접수 수량^승인수량^청구 단위" colsep="^" colwidth="35, 42, 37, 38, 70, 25, 186, 90, 60, 70, 130, 37, 37, 55, 60, 100, 60, 64, 73, 80, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:0px; top:35px; width:1185px; height:545px; font-weight:normal; text-align:center; ">
  869. <col checkvalue="Y,N" ref="purcaprvyn" type="checkbox"/>
  870. <col ref="rowcnt" style="text-align:center; "/>
  871. <col ref="instcd" visibility="hidden" style="text-align:left; "/>
  872. <col ref="goodflag" visibility="hidden" style="text-align:left; "/>
  873. <col ref="goodcd" style="text-align:center; "/>
  874. <col ref="allsizespecid" style="text-align:center; "/>
  875. <col ref="goodnm" style="text-align:left; "/>
  876. <col ref="goodspec" style="text-align:left; "/>
  877. <col ref="goodmodel" style="text-align:left; "/>
  878. <col ref="maincustlastsuplplce" visibility="hidden" style="text-align:center; "/>
  879. <col ref="maincustlastsuplplcenm" style="text-align:left; "/>
  880. <col ref="suppcustcd" visibility="hidden"/>
  881. <col ref="suppcustcdnm" visibility="hidden"/>
  882. <col ref="adjtqty" format="#,###" style="text-align:right; "/>
  883. <col ref="totstocqty" format="#,###" style="text-align:right; "/>
  884. <col ref="constunit"/>
  885. <col ref="exchqty" format="#,###" style="text-align:right; "/>
  886. <col ref="totexchstocqty" format="#,###" style="text-align:right; "/>
  887. <col ref="plceordqty" type="input" format="#,###" style="text-align:right; "/>
  888. <col ref="goodunitcost" format="#,###" style="text-align:right; "/>
  889. <col ref="plceordamt" format="#,###" style="text-align:right; "/>
  890. <col ref="requnit" visibility="hidden"/>
  891. <col ref="acptqty" visibility="hidden"/>
  892. <script type="javascript" ev:event="xforms-value-changed">
  893. <![CDATA[
  894. if(grd_goodreq.col == grd_goodreq.colRef("adjtqty") ) {
  895. if(model.getValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/aprvyn") == "Y" )
  896. {
  897. grd_goodreq.endEditCell();
  898. grd_goodreq.rowStatus(grd_goodreq.row) = "0"
  899. messageBox("승인 되었을 경우 청구량을 조정 " ,"E001");
  900. }
  901. /*
  902. [2008.01.26 HBH] 접수된 상태에서 조정수량을 변경하면 DB에 저장이 안된다.
  903. 저장될때 조건처럼 이전 접수여부를 N로 셋팅 .....꽁수다 */
  904. if(model.getValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/preacptflag") == "Y" &&
  905. model.getValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/acptflag") == "Y" )
  906. {
  907. model.setValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/preacptflag","N");
  908. }
  909. } // end edit adjtqty
  910. else if(grd_goodreq.col == grd_goodreq.colRef("acptflag") ) {
  911. if( (model.getValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/acptflag") == "N") && (model.getValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/purcaprvyn") == "Y") )
  912. {
  913. model.setValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/acptflag",
  914. model.getValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/preacptflag"));
  915. model.setValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/purcaprvyn",
  916. model.getValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/preacptflag"));
  917. if(grd_goodreq.rowStatus(grd_goodreq.row) == "2")grd_goodreq.rowStatus(grd_goodreq.row) = "0";
  918. messageBox("청구 접수가 발주승인 되었으므로 접수상태를 취소" ,"E001");
  919. }
  920. else if(model.getValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/acptflag") == "Y")
  921. {
  922. if((model.getValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/adjtqty") == 0) ||
  923. (model.getValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/adjtqty").length == 0))
  924. {
  925. model.setValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/adjtqty",model.getValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/reqqty"));
  926. }
  927. if(grd_goodreq.rowStatus(grd_goodreq.row) == "0")grd_goodreq.rowStatus(grd_goodreq.row) = "2"
  928. // 승인권자이면 승인 column check 한다.
  929. if(model.getValue("/root/init/reqflagpurcarth/reqflagpurcarthlist/purcarthyn") == "Y")
  930. {
  931. model.setValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/purcaprvyn","Y");
  932. }
  933. }
  934. else if(model.getValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/acptflag") == "N")
  935. {
  936. // [20090411] YYJ 조정 접수 후 접수를 풀때 0으로 되는 부분 막는다.
  937. // model.setValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/adjtqty","0");
  938. if(grd_goodreq.rowStatus(grd_goodreq.row) == "0")grd_goodreq.rowStatus(grd_goodreq.row) = "2"
  939. // 승인권자이면 승인 column check 한다.
  940. if (model.getValue("/root/init/reqflagpurcarth/reqflagpurcarthlist/purcarthyn") == "Y")
  941. {
  942. model.setValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/purcaprvyn","N");
  943. }
  944. }
  945. } // end acptflag 구매팀 접수 구분
  946. else if(grd_goodreq.col == grd_goodreq.colRef("purcaprvyn") )
  947. {
  948. if(model.getValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/acptflag") == "N" )
  949. {
  950. model.setValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/purcaprvyn","N");
  951. messageBox("청구 접수이전에 승인을 하실수 " ,"E001");
  952. }
  953. else if(grd_goodreq.rowStatus(grd_goodreq.row) == "0")grd_goodreq.rowStatus(grd_goodreq.row) = "2";
  954. if(model.getValue(grd_goodreq.nodeset + "[" + (grd_goodreq.row - grd_goodreq.fixedRows + 1)+ "]/purcaprvyn") == "N" ){
  955. grd_goodreq.rowStatus(grd_goodreq.row) = 0;
  956. }
  957. }// end purcaprvyn 구매 승인관리
  958. model.recalculate();
  959. model.refresh();
  960. ]]>
  961. </script>
  962. <script type="javascript" ev:event="ondblclick">
  963. <![CDATA[
  964. if ( grd_goodreq.col == grd_goodreq.colRef("purcaprvyn")
  965. || grd_goodreq.col == grd_goodreq.colRef("plceordqty")){
  966. return;
  967. }
  968. var tPath ="/root/send/goodreqinfo" ;
  969. var sPath ="/root/send/gooddetail" ;
  970. // 청구 상세 내역에서 파라미터 정보
  971. model.setValue(tPath+"/reqflag" , model.getValue(sPath+"/reqflag" ));
  972. model.setValue(tPath+"/instcd" , model.getValue(sPath+"/instcd" ));
  973. model.setValue(tPath+"/purcflag" , model.getValue(sPath+"/purcflag" ));
  974. model.setValue(tPath+"/workflag" , model.getValue(sPath+"/workflag" ));
  975. model.setValue(tPath+"/acptfrdd" , model.getValue(sPath+"/acptfrdd" ));
  976. model.setValue(tPath+"/acpttodd" , model.getValue(sPath+"/acpttodd" ));
  977. model.setValue(tPath+"/maincustlastsuplplce" , model.getValue(sPath+"/maincustlastsuplplce" ));
  978. model.setValue(tPath+"/reqdeptcd" , model.getValue(sPath+"/reqdeptcd" ));
  979. model.setValue(tPath+"/suppcustcd" , model.getValue(sPath+"/suppcustcd" ));
  980. model.setValue(tPath+"/jobpsnyn" , model.getValue(sPath+"/jobpsnyn" ));
  981. model.setValue(tPath+"/jobpsn" , model.getValue(sPath+"/jobpsn" ));
  982. model.setValue(tPath+"/goodcd" , grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("goodcd" )));
  983. model.setValue(tPath+"/allsizespecid" , grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("allsizespecid")));
  984. // 청구 상세 내역에서 마스터 정보
  985. model.setValue(tPath +"/goodflag" , grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("goodflag" )));
  986. model.setValue(tPath +"/goodnm" , grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("goodnm" )));
  987. model.setValue(tPath +"/goodspec" , grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("goodspec" )));
  988. model.setValue(tPath +"/requnit" , grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("requnit" )));
  989. model.setValue(tPath +"/constunit" , grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("constunit" )));
  990. model.setValue(tPath +"/goodunitcost" , grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("goodunitcost" )));
  991. model.setValue(tPath +"/acptqty" , grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("acptqty" )));
  992. model.setValue(tPath +"/totstocqty" , grd_goodreq.valueMatrix(grd_goodreq.row, grd_goodreq.colRef("totstocqty" )));
  993. setParameter("SMRSR01212_goodreqinfo", getNodeListCSV(model.instances(0).selectNodes("/root/send/goodreqinfo")) );
  994. modal("SMRSR01213");
  995. ]]>
  996. </script>
  997. </datagrid>
  998. <caption id="caption3" class="tit_2" style="left:10px; top:6px; width:120px; height:13px; ">출고내역 등록</caption>
  999. <line id="line2" class="line_1" style="x1:0px; y1:29px; x2:1185px; y2:29px; "/>
  1000. <input id="ipt_purcdmnddd" ref="/root/init/purcdmnddd" class="input_s_essential" inputtype="date" style="left:799px; top:5px; width:107px; height:19px; "/>
  1001. <caption id="caption5" style="left:735px; top:5px; width:67px; height:19px; font-weight:bold; vertical-align:middle; ">발주일자 :</caption>
  1002. <input id="input1" ref="/root/init/purcdmnddd" class="input_s_essential" inputtype="date" style="left:925px; top:5px; width:107px; height:19px; "/>
  1003. <caption id="caption9" style="left:910px; top:5px; width:15px; height:19px; font-weight:bold; vertical-align:middle; ">~</caption>
  1004. </case>
  1005. <case id="cse_stocksum">
  1006. <caption id="caption2" class="tit_2" style="left:10px; top:6px; width:135px; height:13px; ">물품 재고 내역</caption>
  1007. <line id="line4" class="line_1" style="x1:0px; y1:24px; x2:1185px; y2:24px; "/>
  1008. <datagrid id="grd_stocksumlist" nodeset="/root/main/list/stocksuminfo/stocksumlist" class="datagrid3" caption="실사년월^기관코드^물품구분^작업구분^물품코드^물품코드^물품명^규격^모델^제조원^주거래처명^보조거래처명^입고수량^입고조정^출고수량^출고조정^실사수량^재고수량" colsep="^" colwidth="3, 1, 2, 69, 80, 25, 285, 160, 130, 100, 100, 100, 64, 69, 64, 66, 69, 73" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:0px; top:30px; width:1185px; height:540px; font-weight:normal; text-align:center; ">
  1009. <col ref="jobyymm" visibility="hidden" style="text-align:left; "/>
  1010. <col ref="instcd" visibility="hidden" style="text-align:left; "/>
  1011. <col ref="goodflag" visibility="hidden" style="text-align:left; "/>
  1012. <col ref="ioflag" style="text-align:center; "/>
  1013. <col ref="goodcd" style="text-align:center; "/>
  1014. <col ref="allsizespecid" style="text-align:center; "/>
  1015. <col ref="goodnm" style="text-align:left; padding-left:10; "/>
  1016. <col ref="allsizespecidnm" style="text-align:left; padding-left:10; "/>
  1017. <col ref="goodmodel" style="text-align:left; padding-left:10; "/>
  1018. <col ref="prodcmpynm" style="text-align:left; padding-left:10; "/>
  1019. <col ref="maincustnm" style="text-align:left; padding-left:10; "/>
  1020. <col ref="subcustnm" style="text-align:left; padding-left:10; "/>
  1021. <col/>
  1022. <col/>
  1023. <col/>
  1024. <col/>
  1025. <col/>
  1026. <col/>
  1027. <script type="javascript" ev:event="onclick">
  1028. <![CDATA[
  1029. if (grd_rctpdisburselist.col == grd_rctpdisburselist.colRef("chk")){
  1030. var chk;
  1031. chk = grd_rctpdisburselist.valueMatrix(grd_rctpdisburselist.row, grd_rctpdisburselist.colRef("chk"));
  1032. if (chk == "Y"){
  1033. grd_rctpdisburselist.rowStatus(grd_rctpdisburselist.row) = 1;
  1034. }else{
  1035. grd_rctpdisburselist.rowStatus(grd_rctpdisburselist.row) = 0;
  1036. }
  1037. }
  1038. ]]>
  1039. </script>
  1040. </datagrid>
  1041. </case>
  1042. </switch>
  1043. <button id="btn_rctpdisburse" class="btn_sw" group="tab" selected="true" style="left:0px; top:87px; width:144px; height:22px; ">
  1044. <caption>수불내역 조회</caption>
  1045. <toggle case="cse_rctpdisburse" ev:event="onclick"/>
  1046. <script type="javascript" ev:event="DOMActivate">
  1047. <![CDATA[
  1048. ]]>
  1049. </script>
  1050. </button>
  1051. <button id="btn_wininput" class="btn_sw" group="tab" style="left:143px; top:87px; width:125px; height:22px; ">
  1052. <caption>입고내역 등록</caption>
  1053. <toggle case="cse_wininput" ev:event="onclick"/>
  1054. <script type="javascript" ev:event="DOMActivate">
  1055. <![CDATA[
  1056. ]]>
  1057. </script>
  1058. </button>
  1059. <button id="btn_deliveinput" class="btn_sw" group="tab" style="left:269px; top:87px; width:144px; height:22px; ">
  1060. <caption>출고내역 등록</caption>
  1061. <toggle case="cse_deliveinput" ev:event="onclick"/>
  1062. <script type="javascript" ev:event="DOMActivate">
  1063. <![CDATA[
  1064. ]]>
  1065. </script>
  1066. </button>
  1067. <button id="btn_stocksum" class="btn_sw" group="tab" style="left:412px; top:87px; width:125px; height:22px; ">
  1068. <caption>물품 재고내역</caption>
  1069. <toggle case="cse_stocksum" ev:event="onclick"/>
  1070. <script type="javascript" ev:event="DOMActivate">
  1071. <![CDATA[
  1072. ]]>
  1073. </script>
  1074. </button>
  1075. </group>
  1076. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  1077. <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  1078. <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
  1079. <caption>초기화</caption>
  1080. <script type="javascript" ev:event="DOMActivate">
  1081. <![CDATA[
  1082. fInitialize();
  1083. ]]>
  1084. </script>
  1085. </button>
  1086. </group>
  1087. </xhtml:body>
  1088. </xhtml:html>