SMRSG07801_입고대장.xrw 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  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. <winregstinfo>
  12. <winregstlist/>
  13. </winregstinfo>
  14. <windd>
  15. <winfrdd/>
  16. <wintodd/>
  17. </windd>
  18. <instnm/>
  19. <winpsnnm/>
  20. </list>
  21. </main>
  22. <send>
  23. <search>
  24. <instcd/>
  25. <goodflag>Y</goodflag>
  26. <lrgcd/>
  27. <mdlcd/>
  28. <goodcd/>
  29. <goodnm/>
  30. <winfrdd/>
  31. <wintodd/>
  32. <calcdocufrdd/>
  33. <calcdocutodd/>
  34. <winpsn/>
  35. <winpsnnm/>
  36. <suplplcecd/>
  37. <suplplcenm/>
  38. <subsuplplcecd/>
  39. <subsuplplcenm/>
  40. </search>
  41. </send>
  42. <init>
  43. <options>
  44. <winunit>Y</winunit>
  45. <winunitcost>Y</winunitcost>
  46. <calcdocudd>Y</calcdocudd>
  47. <windd>Y</windd>
  48. <acntflagnm/>
  49. <winpsnnm/>
  50. <subsuplplcecdnm/>
  51. </options>
  52. </init>
  53. <temp>
  54. </temp>
  55. </root>
  56. </instance>
  57. <submission id="TRRSG07801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list/winregstinfo"/>
  58. <submission id="TXRSG07801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/winregstlist" resultref="/root/temp"/>
  59. </model>
  60. <script type="javascript" ev:event="xforms-ready">
  61. <![CDATA[
  62. //화면 Control을 초기화한다
  63. fInitialize();
  64. ]]>
  65. </script>
  66. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  68. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  69. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  70. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  71. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  72. <script type="javascript">
  73. <![CDATA[
  74. function fInitialize()
  75. {
  76. // 금일 날자 설정
  77. var curdate = getCurrentDate();
  78. var cvtdate = curdate.toDate("YYYYMMDD");
  79. model.setValue("/root/send/search/winfrdd", curdate.substr(0,6)+"01" );
  80. model.setValue("/root/send/search/wintodd", curdate.substr(0,6)+cvtdate.getMonthDay() );
  81. //model.setValue(ipt_windtfrom.attribute("ref") ,cvtdate.getAddDate(-10,"D").getDateFormat("YYYYMMDD"));
  82. //model.setValue(ipt_windtto.attribute("ref") , curdate);
  83. misfComboComCdListMulti("Z0007","cmb_instcd");
  84. model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
  85. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
  86. addComboItem( "cmb_lrgcd" , "전체", "", "above");
  87. model.removeNodeset("/root/main/list/winregstinfo/winregstlist");
  88. fViewOptionToggle("subsuplplcecdnm");
  89. fViewOptionToggle("acntflagnm");
  90. fViewOptionToggle("winpsnnm");
  91. model.refresh();
  92. }
  93. function fItemAllChoice( vFlag ) {
  94. if( fGridItemCheck()!=true ) return;
  95. for( cnt = grd_winregst.fixedRows; cnt < grd_winregst.rows ; cnt++ ) {
  96. grd_winregst.valueMatrix( cnt, grd_winregst.colRef("chk") ) = vFlag;
  97. }
  98. }
  99. function fGridItemCheck( choiceFlag ) {
  100. var choiceCnt = 0;
  101. if (grd_winregst.rows - grd_winregst.fixedRows <= 0 ) {
  102. messageBox("선택할 데이터가","I004");
  103. return false;
  104. }
  105. if ( choiceFlag == "chk" ) {
  106. model.resetInstanceNode("/root/copytemp");
  107. var varcopy = instance1.selectNodes(grd_winregst.nodeset + "[chk='Y']");
  108. if ( varcopy.length == 0 ) {
  109. messageBox("선택한 데이터가","I004");
  110. return false;
  111. }
  112. }
  113. return true;
  114. }
  115. function freqlistprint() {
  116. var Path = "/root/send/winregstprnt/winregstprntlist";
  117. model.removenode(Path);
  118. model.makeNode(Path);
  119. copyNodesetType(Path, grd_winregst.nodeset+ "[chk='Y']");
  120. exeReportPreview("RPRSG07801","XMLSTR");
  121. }
  122. // --------------------------------------------------
  123. // View Option 처리하는 함수
  124. // --------------------------------------------------
  125. function fViewOptionToggle(pColName) {
  126. grd_winregst.colHidden(grd_winregst.colRef(pColName)) = (eval("chk_"+pColName).value =="Y") ? false : true;
  127. }
  128. ]]>
  129. </script>
  130. </xhtml:head>
  131. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  132. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  133. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">입고대장</caption>
  134. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  135. </group>
  136. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  137. <group id="grp_search" style="left:0px; top:17px; width:1195px; height:128px; vertical-align:top; ">
  138. <caption id="cap_allsizespecid" class="search_name" style="left:975px; top:10px; width:111px; height:17px; ">규격코드 :</caption>
  139. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:125px; background-color:#fffbf2; border-color:#ffd799; "/>
  140. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:22px; width:56px; height:22px; ">
  141. <caption>조회</caption>
  142. <script type="javascript" ev:event="DOMActivate">
  143. <![CDATA[
  144. model.removeNodeset("/root/main/list/winregstinfo/winregstlist");
  145. if (submit("TRRSG07801")){
  146. model.setValue("/root/main/list/windd/winfrdd", model.getValue(ipt_winfrdd.attribute("ref")));
  147. model.setValue("/root/main/list/windd/wintodd", model.getValue(ipt_wintodd.attribute("ref")));
  148. model.setValue("/root/main/list/instnm" , cmb_instcd.label);
  149. model.setValue("/root/main/list/winpsnnm", model.getValue(ipt_winpsnnm.attribute("ref")));
  150. }
  151. ]]>
  152. </script>
  153. </button>
  154. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" appearance="minimal" style="left:114px; top:10px; width:241px; height:19px; ">
  155. <choices>
  156. <itemset nodeset="/root/main/init">
  157. <label ref="cnstnm"/>
  158. <value ref="cnstcd"/>
  159. </itemset>
  160. </choices>
  161. </select1>
  162. <caption id="cap_instcd" class="search_name" style="left:8px; top:10px; width:86px; height:17px; ">기관코드 :</caption>
  163. <select1 id="cmb_goodflag" ref="/root/send/search/goodflag" class="combo_default" appearance="minimal" style="left:486px; top:10px; width:234px; height:19px; ">
  164. <choices>
  165. <item>
  166. <label>의료비품</label>
  167. <value>U</value>
  168. </item>
  169. <item>
  170. <label>의료소모품</label>
  171. <value>Y</value>
  172. </item>
  173. <item>
  174. <label>일반소모품</label>
  175. <value>Z</value>
  176. </item>
  177. </choices>
  178. <script type="javascript" ev:event="xforms-value-changed">
  179. <![CDATA[
  180. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd", "", "L", "", "Y");
  181. addComboItem( "cmb_lrgcd", "전체", "", "above");
  182. cmb_mdlcd.value='';
  183. model.refresh();
  184. ]]>
  185. </script>
  186. </select1>
  187. <caption id="cap_goodflag" class="search_name" style="left:370px; top:10px; width:106px; height:17px; ">물품구분 :</caption>
  188. <select1 id="cmb_lrgcd" ref="/root/send/search/lrgcd" appearance="minimal" style="left:114px; top:36px; width:241px; height:19px; ">
  189. <choices>
  190. <itemset>
  191. <label/>
  192. <value/>
  193. </itemset>
  194. </choices>
  195. <script type="javascript" ev:event="xforms-value-changed">
  196. <![CDATA[
  197. model.setValue(cmb_mdlcd.attribute("ref"), "");
  198. rszfLMSComboList(model.getValue(cmb_goodflag.attribute("ref")), cmb_lrgcd.value, "", "cmb_mdlcd", "", "M", "", "Y");
  199. cmb_mdlcd.dispatch("xforms-value-changed");
  200. addComboItem( "cmb_mdlcd", "전체", "", "above");
  201. model.refresh();
  202. ]]>
  203. </script>
  204. </select1>
  205. <select1 id="cmb_mdlcd" ref="/root/send/search/mdlcd" appearance="minimal" style="left:486px; top:36px; width:234px; height:19px; ">
  206. <choices>
  207. <itemset>
  208. <label/>
  209. <value/>
  210. </itemset>
  211. </choices>
  212. </select1>
  213. <caption id="caption7" class="search_name" style="left:8px; top:36px; width:88px; height:17px; ">대 분 류 :</caption>
  214. <caption id="caption8" class="search_name" style="left:370px; top:36px; width:103px; height:17px; ">중 분 류 :</caption>
  215. <input id="ipt_goodnm" ref="/root/send/search/goodnm" class="output_search" style="left:935px; top:10px; width:170px; height:19px; "/>
  216. <button id="btn_goodcd" class="icon_search" style="left:916px; top:10px; width:16px; height:16px; ">
  217. <caption/>
  218. <script type="javascript" ev:event="DOMActivate">
  219. <![CDATA[
  220. rszfOpenPopUpListByWndName(ipt_goodcd,"","goodcd,goodnm","SPRSD00210","instcd","cmb_instcd");
  221. model.refresh();
  222. ]]>
  223. </script>
  224. </button>
  225. <input id="ipt_goodcd" ref="/root/send/search/goodcd" class="input_search" maxlength="10" appearance="input" style="left:836px; top:10px; width:75px; height:19px; "/>
  226. <caption id="cap_goodcd" class="search_name" style="left:740px; top:10px; width:86px; height:17px; ">물품코드 :</caption>
  227. <input id="ipt_wintodd" ref="/root/send/search/wintodd" inputtype="date" style="left:250px; top:65px; width:105px; height:19px; ">
  228. <script type="javascript" ev:event="xforms-value-changed">
  229. <![CDATA[
  230. // btn_search.dispatch("DOMActivate");
  231. ]]>
  232. </script>
  233. </input>
  234. <input id="ipt_winfrdd" ref="/root/send/search/winfrdd" inputtype="date" style="left:114px; top:65px; width:105px; height:19px; ">
  235. <script type="javascript" ev:event="xforms-value-changed">
  236. <![CDATA[
  237. // btn_search.dispatch("DOMActivate");
  238. ]]>
  239. </script>
  240. </input>
  241. <input id="ipt_subsuplplcecd" ref="/root/send/search/subsuplplcecd" style="left:486px; top:93px; width:84px; height:19px; ">
  242. <script type="javascript" ev:event="xforms-value-changed">
  243. <![CDATA[
  244. if(ipt_subsuplplcecd.value != ""){
  245. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  246. model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_subsuplplcecd.attribute("ref"))
  247. ,"","subsuplplcecd,subsuplplcenm,prsdnm,cntctel" ,ipt_subsuplplcecd,"SPRSD00220","instcd","cmb_instcd", "Y");
  248. fValiDataCheckSetting();
  249. }else{
  250. ipt_subsuplplcenm.value = "";
  251. }
  252. model.refresh();
  253. ]]>
  254. </script>
  255. </input>
  256. <caption id="caption20" class="search_name" style="left:8px; top:65px; width:96px; height:17px; vertical-align:middle; ">입고일자 :</caption>
  257. <button id="btn_subsuplplcecd" class="icon_search" style="left:578px; top:95px; width:16px; height:16px; ">
  258. <caption/>
  259. <script type="javascript" ev:event="DOMActivate">
  260. <![CDATA[
  261. rszfOpenPopUpListByWndName(ipt_subsuplplcecd,"","subsuplplcecd,subsuplplcenm,prsdnm,cntctel","SPRSD00220","instcd","cmb_instcd", "Y");
  262. model.refresh();
  263. ]]>
  264. </script>
  265. </button>
  266. <input id="ipt_suplplcenm" ref="/root/send/search/suplplcenm" class="output_search" appearance="input" style="left:238px; top:93px; width:117px; height:19px; ">
  267. <script type="javascript" ev:event="xforms-value-changed">
  268. <![CDATA[
  269. if(ipt_suplplcenm.value.length == 0)
  270. ipt_suplplcecd.value = "";
  271. else
  272. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  273. model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_suplplcenm.attribute("ref")),"","suplplcecd,suplplcenm" ,
  274. ipt_suplplcenm,"SPRSD00220","instcd","cmb_instcd");
  275. model.refresh();
  276. //btn_search.dispatch("DOMActivate");
  277. ]]>
  278. </script>
  279. </input>
  280. <caption id="caption3" class="search_name" style="left:370px; top:65px; width:104px; height:17px; vertical-align:middle; ">계산서 일자 :</caption>
  281. <input id="ipt_suplplcecd" ref="/root/send/search/suplplcecd" style="left:114px; top:93px; width:86px; height:19px; ">
  282. <script type="javascript" ev:event="xforms-value-changed">
  283. <![CDATA[
  284. if(ipt_suplplcecd.value.length == 0)
  285. ipt_suplplcenm.value = "";
  286. else
  287. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  288. model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_suplplcecd.attribute("ref")),"","suplplcecd,suplplcenm" ,
  289. ipt_suplplcecd,"SPRSD00220","instcd","cmb_instcd");
  290. model.refresh();
  291. //btn_search.dispatch("DOMActivate");
  292. ]]>
  293. </script>
  294. </input>
  295. <caption id="caption14" class="search_name" style="left:370px; top:94px; width:109px; height:17px; ">보조거래처 :</caption>
  296. <caption id="caption5" style="left:599px; top:65px; width:15px; height:20px; font-weight:bold; ">~</caption>
  297. <input id="input1" ref="/root/send/search/calcdocutodd" inputtype="date" style="left:620px; top:65px; width:100px; height:19px; ">
  298. <script type="javascript" ev:event="xforms-value-changed">
  299. <![CDATA[
  300. // btn_search.dispatch("DOMActivate");
  301. ]]>
  302. </script>
  303. </input>
  304. <caption id="caption26" style="left:229px; top:65px; width:15px; height:20px; font-weight:bold; ">~</caption>
  305. <input id="input2" ref="/root/send/search/calcdocufrdd" inputtype="date" style="left:486px; top:65px; width:105px; height:19px; ">
  306. <script type="javascript" ev:event="xforms-value-changed">
  307. <![CDATA[
  308. // btn_search.dispatch("DOMActivate");
  309. ]]>
  310. </script>
  311. </input>
  312. <caption id="caption18" class="search_name" style="left:8px; top:94px; width:99px; height:17px; ">주거래처 :</caption>
  313. <button id="btn_suplplcecd" class="icon_search" style="left:208px; top:95px; width:16px; height:16px; ">
  314. <caption/>
  315. <script type="javascript" ev:event="DOMActivate">
  316. <![CDATA[
  317. rszfOpenPopUpListByWndName(ipt_suplplcecd,"","suplplcecd,suplplcenm","SPRSD00220","instcd","cmb_instcd");
  318. model.refresh();
  319. //btn_search.dispatch("DOMActivate");
  320. ]]>
  321. </script>
  322. </button>
  323. <input id="ipt_subsuplplcenm" ref="/root/send/search/subsuplplcenm" class="output_search" style="left:603px; top:93px; width:117px; height:19px; ">
  324. <script type="javascript" ev:event="xforms-value-changed">
  325. <![CDATA[
  326. if(ipt_subsuplplcenm.value != ""){
  327. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  328. model.getValue(cmb_instcd.attribute("ref")) +",custnm," + model.getValue(ipt_subsuplplcenm.attribute("ref"))
  329. ,"","subsuplplcecd,subsuplplcenm,prsdnm,cntctel" ,ipt_subsuplplcecd,"SPRSD00220","instcd","cmb_instcd", "Y");
  330. fValiDataCheckSetting()
  331. }else{
  332. ipt_subsuplplcecd.value = "";
  333. }
  334. model.refresh();
  335. ]]>
  336. </script>
  337. </input>
  338. <caption id="cap_reqpsn" class="search_name" style="left:740px; top:37px; width:88px; height:17px; ">입 고 자 :</caption>
  339. <input id="ipt_winpsn" ref="/root/send/search/winpsn" class="input_search" style="left:836px; top:37px; width:75px; height:19px; ">
  340. <script type="javascript" ev:event="xforms-value-changed">
  341. <![CDATA[
  342. if(ipt_winpsn.value.length == 0)
  343. ipt_winpsnnm.value = "";
  344. else
  345. misfValidationCheck("01-1", "", "winpsn,winpsnnm");
  346. model.refresh();
  347. //btn_search.dispatch("DOMActivate");
  348. ]]>
  349. </script>
  350. </input>
  351. <button id="btn_winpsn" class="icon_search" style="left:916px; top:37px; width:16px; height:16px; ">
  352. <caption/>
  353. <script type="javascript" ev:event="DOMActivate">
  354. <![CDATA[
  355. misfOpenPopUpList("01", ipt_winpsn, "", "winpsn,winpsnnm");
  356. model.refresh();
  357. // btn_search.dispatch("DOMActivate");
  358. ]]>
  359. </script>
  360. </button>
  361. <input id="ipt_winpsnnm" ref="/root/send/search/winpsnnm" class="output_search" appearance="input" style="left:935px; top:37px; width:170px; height:19px; ">
  362. <script type="javascript" ev:event="xforms-value-changed">
  363. <![CDATA[
  364. if(ipt_winpsnnm.value.length == 0)
  365. ipt_winpsn.value = "";
  366. else
  367. misfValidationCheck("01-2", "", "winpsn,winpsnnm");
  368. model.refresh();
  369. // btn_search.dispatch("DOMActivate");
  370. ]]>
  371. </script>
  372. </input>
  373. <line id="line30" class="line_4" style="x1:1115px; y1:14px; x2:1115px; y2:110px; "/>
  374. </group>
  375. <line id="line1" class="line_1" style="x1:0px; y1:173px; x2:1190px; y2:173px; "/>
  376. <datagrid id="grd_winregst" nodeset="/root/main/list/winregstinfo/winregstlist" caption="선택^물품코드^물품코드^물품명^규격^주거래처명^보조거래처명^입고단위^입고수량^입고단가^입고금액^계정명^입고자" colsep="^" colwidth="37, 84, 25, 285, 126, 137, 104, 68, 67, 75, 98, 127, 70" explorerbar="sortshow" frozencols="5" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="24" rowsep="|" style="left:0px; top:180px; width:1190px; height:545px; font-weight:normal; text-align:center; ">
  377. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  378. <col ref="goodcd" style="text-align:center; "/>
  379. <col ref="allsizespecid" style="text-align:center; "/>
  380. <col ref="goodnm" style="text-align:left; padding-left:10; "/>
  381. <col ref="allsizespecidnm" style="text-align:left; padding-left:10; "/>
  382. <col ref="suplplcecdnm" style="text-align:left; padding-left:10; "/>
  383. <col ref="subsuplplcecdnm" style="text-align:left; padding-left:10; "/>
  384. <col ref="winunit" style="text-align:center; "/>
  385. <col ref="winqty" format="#,###" style="text-align:right; "/>
  386. <col ref="winunitcost" format="#,###" style="text-align:right; "/>
  387. <col ref="winamt" format="#,###" style="text-align:right; "/>
  388. <col ref="acntflagnm" style="text-align:left; padding-left:10; "/>
  389. <col ref="winpsnnm" style="text-align:center; "/>
  390. <script type="javascript" ev:event="onclick">
  391. <![CDATA[
  392. var trschkyn;
  393. if(grd_winregst.col == grd_winregst.colRef("trschkyn")){
  394. trschkyn = grd_winregst.valueMatrix(grd_winregst.row, grd_winregst.colRef("trschkyn"));
  395. if (trschkyn == "Y"){
  396. grd_winregst.rowStatus(grd_winregst.row) = "1";
  397. }else{
  398. grd_winregst.rowStatus(grd_winregst.row) = "0";
  399. }
  400. }
  401. ]]>
  402. </script>
  403. <script type="javascript" ev:event="xforms-value-changed">
  404. <![CDATA[
  405. if(grd_winregst.col == grd_winregst.colRef("cmt")){
  406. if (grd_winregst.rowStatus(grd_winregst.row) == "2"){
  407. grd_winregst.rowStatus(grd_winregst.row) = "0";
  408. }
  409. }
  410. ]]>
  411. </script>
  412. <script type="javascript" ev:event="onaftersort">
  413. <![CDATA[
  414. grd_winregst.gridToInstance();
  415. ]]>
  416. </script>
  417. </datagrid>
  418. <caption id="caption1" class="tit_2" style="left:0px; top:154px; width:143px; height:13px; ">입고 대장 리스트</caption>
  419. <button id="btn_allchoice" class="btn2_letter4" style="left:999px; top:152px; width:64px; height:19px; ">
  420. <caption>전체선택</caption>
  421. <script type="javascript" ev:event="DOMActivate">
  422. <![CDATA[
  423. fItemAllChoice("Y");
  424. ]]>
  425. </script>
  426. </button>
  427. <button id="btn_allcancle" class="btn2_letter4" style="left:1064px; top:152px; width:64px; height:19px; ">
  428. <caption>선택해제</caption>
  429. <script type="javascript" ev:event="DOMActivate">
  430. <![CDATA[
  431. fItemAllChoice("N");
  432. ]]>
  433. </script>
  434. </button>
  435. <select id="chk_winunitcost" ref="/root/init/options/winunitcost" overflow="visible" appearance="full" style="left:780px; top:155px; width:70px; height:15px; border-style:none; ">
  436. <choices>
  437. <item>
  438. <label>입고단가</label>
  439. <value>Y</value>
  440. </item>
  441. </choices>
  442. <script type="javascript" ev:event="xforms-value-changed">
  443. <![CDATA[
  444. fViewOptionToggle("winunitcost");
  445. ]]>
  446. </script>
  447. </select>
  448. <select id="chk_subsuplplcecdnm" ref="/root/init/options/subsuplplcecdnm" overflow="visible" appearance="full" style="left:697px; top:155px; width:43px; height:15px; border-style:none; ">
  449. <choices>
  450. <item>
  451. <label>보조</label>
  452. <value>Y</value>
  453. </item>
  454. </choices>
  455. <script type="javascript" ev:event="xforms-value-changed">
  456. <![CDATA[
  457. fViewOptionToggle("subsuplplcecdnm");
  458. ]]>
  459. </script>
  460. </select>
  461. <select id="chk_acntflagnm" ref="/root/init/options/acntflagnm" overflow="visible" appearance="full" style="left:849px; top:155px; width:52px; height:15px; border-style:none; ">
  462. <choices>
  463. <item>
  464. <label>계정명</label>
  465. <value>Y</value>
  466. </item>
  467. </choices>
  468. <script type="javascript" ev:event="xforms-value-changed">
  469. <![CDATA[
  470. fViewOptionToggle("acntflagnm");
  471. ]]>
  472. </script>
  473. </select>
  474. <select id="chk_winunit" ref="/root/init/options/winunit" overflow="visible" appearance="full" style="left:737px; top:155px; width:43px; height:15px; border-style:none; ">
  475. <choices>
  476. <item>
  477. <label>단위</label>
  478. <value>Y</value>
  479. </item>
  480. </choices>
  481. <script type="javascript" ev:event="xforms-value-changed">
  482. <![CDATA[
  483. fViewOptionToggle("winunit");
  484. ]]>
  485. </script>
  486. </select>
  487. <select id="chk_winpsnnm" ref="/root/init/options/winpsnnm" overflow="visible" appearance="full" style="left:902px; top:155px; width:62px; height:15px; border-style:none; ">
  488. <choices>
  489. <item>
  490. <label>입고자</label>
  491. <value>Y</value>
  492. </item>
  493. </choices>
  494. <script type="javascript" ev:event="xforms-value-changed">
  495. <![CDATA[
  496. fViewOptionToggle("winpsnnm");
  497. ]]>
  498. </script>
  499. </select>
  500. <button id="btn_excel" class="btn2_letter3" style="left:1130px; top:152px; width:53px; height:19px; ">
  501. <caption>Excel</caption>
  502. <script type="javascript" ev:event="DOMActivate">
  503. <![CDATA[
  504. misfSaveExcel(grd_winregst);
  505. ]]>
  506. </script>
  507. </button>
  508. </group>
  509. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  510. <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  511. <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
  512. <caption>초기화</caption>
  513. <script type="javascript" ev:event="DOMActivate">
  514. <![CDATA[
  515. fInitialize();
  516. ]]>
  517. </script>
  518. </button>
  519. <button id="btn_prnt" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
  520. <caption>출력</caption>
  521. <script type="javascript" ev:event="DOMActivate">
  522. <![CDATA[
  523. /*var prntyn = model.getValue(chk_prntyn.attribute("ref"));
  524. if (prntyn != 'Y'){
  525. submit("TXRSG07801");
  526. }*/
  527. freqlistprint();
  528. //exeReportPreview("RPRSG07801","XMLSTR");
  529. ]]>
  530. </script>
  531. </button>
  532. </group>
  533. </xhtml:body>
  534. </xhtml:html>