SMRFC00700_고정자산바코드출력.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>고정자산 바코드 출력</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <fixaset>
  12. <fixasetlist/>
  13. </fixaset>
  14. <cpfixaset>
  15. <cpfixasetlist>
  16. <goodnm1/>
  17. <goodnm2/>
  18. <goodmodel/>
  19. <mngtno/>
  20. <deptnm1/>
  21. <deptnm2/>
  22. <possndd/>
  23. <fixasetcd/>
  24. </cpfixasetlist>
  25. </cpfixaset>
  26. </list>
  27. <barcdprntsetup>
  28. <prntkind>1</prntkind>
  29. <commkind>02</commkind>
  30. <setupval/>
  31. <comm/>
  32. <databit>8</databit>
  33. <stopbit>1</stopbit>
  34. <baudrate>9600</baudrate>
  35. <parity>n</parity>
  36. </barcdprntsetup>
  37. <barcodetarget>
  38. <instcd/>
  39. <barcdprntyn/>
  40. <fixasetcd/>
  41. <goodflaghngnm/>
  42. <goodflagengnm/>
  43. <goodmodel/>
  44. <possndd/>
  45. <mngtdeptnm/>
  46. <installplcecd/>
  47. <installplcenm/>
  48. <cntrdeptnm/>
  49. <suplplcenm/>
  50. </barcodetarget>
  51. </main>
  52. <send>
  53. <fixasetlist>
  54. <instcd_search/>
  55. <goodflag_search/>
  56. <possnfrdd_search/>
  57. <possntodd_search/>
  58. <lrgcd_search/>
  59. <mdlcd_search/>
  60. <smlcd_search/>
  61. <mngtdeptcd_search/>
  62. <mngtdept_search/>
  63. <fixasetcd_search/>
  64. <fixasetnm_search/>
  65. <instcd/>
  66. <goodflagnm_search/>
  67. </fixasetlist>
  68. <barcodetarget/>
  69. </send>
  70. <init>
  71. <goodflag>
  72. <label>의료장비</label>
  73. <value>E</value>
  74. <label>일반비품</label>
  75. <value>G</value>
  76. </goodflag>
  77. <msgdata/>
  78. </init>
  79. <temp/>
  80. <copytemp/>
  81. </root>
  82. </instance>
  83. <script type="javascript" ev:event="xforms-ready">
  84. <![CDATA[
  85. //화면 Control을 초기화한다
  86. fInitialize();
  87. fGetBrcdPrntInfo();
  88. ]]>
  89. </script>
  90. <submission id="TRRFC00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/fixasetlist" resultref="/root/main/list/fixaset"/>
  91. <submission id="TXRFC00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/barcodetarget" resultref="/root/copytemp"/>
  92. </model>
  93. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  94. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  95. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  96. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  97. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  98. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  99. <script type="javascript" src="../../../mis/purcbaseweb/js/SMRFC00700.js"/>
  100. <script type="javascript">
  101. <![CDATA[
  102. ]]>
  103. </script>
  104. </xhtml:head>
  105. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  106. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  107. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">고정 자산 바코드 출력</caption>
  108. </group>
  109. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27; ">
  110. <line id="line12" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  111. <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
  112. <caption>초기화</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. fInitialize();
  116. ]]>
  117. </script>
  118. </button>
  119. <button id="btn_prntset" class="btn3_letter5" visibility="hidden" style="left:0px; top:3px; width:92px; height:22px; ">
  120. <caption>프린터설정</caption>
  121. <script type="javascript" ev:event="DOMActivate">
  122. <![CDATA[
  123. fSetPrint();
  124. ]]>
  125. </script>
  126. </button>
  127. </group>
  128. <group id="group5" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  129. <datagrid id="grd_cpfixasetlist" nodeset="/root/main/list/cpfixaset/cpfixasetlist" visibility="hidden" caption="물품명 1^물품명 2^모델^S/N^부서명 1^부서명 2^취득일자^고정자산 코드^규격^공급처" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:425px; width:1010px; height:160px; ">
  130. <col ref="goodnm1"/>
  131. <col ref="goodnm2"/>
  132. <col ref="goodmodel"/>
  133. <col ref="mngtno"/>
  134. <col ref="deptnm1"/>
  135. <col ref="deptnm2"/>
  136. <col ref="possndd"/>
  137. <col ref="fixasetcd"/>
  138. <col ref="goodspec"/>
  139. <col ref="suplplcenm"/>
  140. </datagrid>
  141. <object id="CommAX" clsid="{B721F534-D025-466B-8A28-7CF40E700ACD}" style="left:0px; top:15px; width:0px; height:0px; "/>
  142. <caption id="caption22" class="tit_2" style="left:5px; top:90px; width:113px; height:13px; ">고정자산 리스트</caption>
  143. <line id="line19" class="line_1" style="x1:0px; y1:105px; x2:1194px; y2:105px; "/>
  144. <button id="btn_allchoice" class="btn2_letter4" style="left:1064px; top:85px; width:64px; height:19px; ">
  145. <caption>전체선택</caption>
  146. <script type="javascript" ev:event="DOMActivate">
  147. <![CDATA[
  148. fItemAllChoice("Y");
  149. ]]>
  150. </script>
  151. </button>
  152. <button id="btn_allcancle" class="btn2_letter4" style="left:1129px; top:85px; width:64px; height:19px; ">
  153. <caption>선택해제</caption>
  154. <script type="javascript" ev:event="DOMActivate">
  155. <![CDATA[
  156. fItemAllChoice("N");
  157. ]]>
  158. </script>
  159. </button>
  160. <button id="btn_barcodeprt" class="btn2_letter4" style="left:998px; top:85px; width:64px; height:19px; ">
  161. <caption>라벨출력</caption>
  162. <script type="javascript" ev:event="DOMActivate">
  163. <![CDATA[
  164. // 경북대
  165. fBarcodePrtKnu();
  166. // CMC 버전.
  167. //fBarcodePrt();
  168. ]]>
  169. </script>
  170. </button>
  171. <datagrid id="grd_barcodetarget" nodeset="/root/main/barcodetarget" visibility="hidden" caption="기관코드^출력여부^코드번호^품명(한글)^품명(영문)^모델명^취득일자^관리부서^SERIAL NO^설치장소^설치장소^귀속부서^업체명^연락처" colsep="^" colwidth="36, 40, 79, 151, 100, 100, 117, 100, 23, 47, 99, 87, 130, 55" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:370px; width:1194px; height:264px; ">
  172. <col ref="instcd"/>
  173. <col ref="barcdprntyn"/>
  174. <col ref="fixasetcd"/>
  175. <col ref="goodflaghngnm"/>
  176. <col ref="goodflagengnm"/>
  177. <col ref="goodmodel"/>
  178. <col disabled="true" ref="possndd" type="inputdate"/>
  179. <col ref="mngtdeptnm"/>
  180. <col ref="mngtno"/>
  181. <col ref="installplcecd"/>
  182. <col ref="installplcenm"/>
  183. <col ref="cntrdeptnm"/>
  184. <col ref="suplplcenm"/>
  185. <col/>
  186. </datagrid>
  187. <group id="group6" style="left:0px; top:10px; width:1194px; height:65px; vertical-align:top; ">
  188. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:65px; "/>
  189. <caption id="caption21" class="search_name" style="left:11px; top:10px; width:86px; height:17px; ">기관코드 :</caption>
  190. <select1 id="cmb_instcd_search" ref="/root/send/fixasetlist/instcd_search" class="combo_s_essential" navindex="1" appearance="minimal" style="left:100px; top:10px; width:120px; height:19px; ">
  191. <choices>
  192. <itemset>
  193. <label/>
  194. <value/>
  195. </itemset>
  196. </choices>
  197. <script type="javascript" ev:event="xforms-value-changed">
  198. <![CDATA[
  199. fSetPrintUseCheck();
  200. ]]>
  201. </script>
  202. </select1>
  203. <button id="btn_search" class="btn1_letter2" navindex="11" style="left:1123px; top:21px; width:56px; height:22px; text-align:left; ">
  204. <caption>조회</caption>
  205. <script type="javascript" ev:event="DOMActivate">
  206. <![CDATA[
  207. //model.makeNode( grd_fixasetlist.attribute("nodeset")+"/choice" );
  208. misfGridInit(grd_fixasetlist); // 고정자산 List
  209. misfGridInit(grd_barcodetarget); // Barcode Print target Grid
  210. misfMsterDetailRetrieve();
  211. // @@@@@@ 테스트시 해제
  212. //grd_fixasetlist.valueMatrix(1, 6) = "한글 a테스b트" + grd_fixasetlist.valueMatrix(1, 6);
  213. ]]>
  214. </script>
  215. </button>
  216. <line id="line14" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:59px; border-color:#ffe4bb; border-left-style:solid; "/>
  217. <input id="ipt_possnfrdd_search" ref="/root/send/fixasetlist/possnfrdd_search" class="input_s_essential" navindex="5" inputtype="date" style="left:550px; top:10px; width:90px; height:19px; "/>
  218. <caption id="caption23" style="left:645px; top:10px; width:15px; height:20px; vertical-align:middle; ">~</caption>
  219. <input id="ipt_possntodd_search" ref="/root/send/fixasetlist/possntodd_search" class="input_s_essential" navindex="6" inputtype="date" style="left:660px; top:10px; width:90px; height:19px; "/>
  220. <caption id="caption34" class="search_name" style="left:455px; top:10px; width:86px; height:17px; ">구입일자 :</caption>
  221. <caption id="caption35" class="search_name" style="left:246px; top:10px; width:86px; height:17px; ">물품구분 :</caption>
  222. <select1 id="cmb_goodflag_search" ref="/root/send/fixasetlist/goodflag_search" class="combo_s_essential" navindex="2" appearance="minimal" style="left:335px; top:10px; width:100px; height:19px; ">
  223. <choices>
  224. <itemset nodeset="/root/init/goodflag">
  225. <label ref="label"/>
  226. <value ref="value"/>
  227. </itemset>
  228. </choices>
  229. <script type="javascript" ev:event="xforms-value-changed">
  230. <![CDATA[
  231. // 대분류 코드 콤보 설정.
  232. rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L");
  233. cmb_lrgcd_search.dispatch("xforms-value-changed");
  234. ]]>
  235. </script>
  236. </select1>
  237. <caption id="caption91" class="search_name" visibility="visible" style="left:11px; top:37px; width:86px; height:17px; ">대 분 류 :</caption>
  238. <caption id="caption94" class="search_name" visibility="visible" style="left:246px; top:37px; width:86px; height:17px; ">중 분 류 :</caption>
  239. <caption id="caption96" class="search_name" visibility="visible" style="left:770px; top:37px; width:88px; height:17px; ">자 산 명 :</caption>
  240. <select1 id="cmb_lrgcd_search" ref="/root/send/fixasetlist/lrgcd_search" navindex="3" visibility="visible" appearance="minimal" style="left:100px; top:37px; width:120px; height:19px; ">
  241. <choices>
  242. <itemset>
  243. <label/>
  244. <value/>
  245. </itemset>
  246. </choices>
  247. <script type="javascript" ev:event="xforms-value-changed">
  248. <![CDATA[
  249. rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M");
  250. cmb_mdlcd_search.dispatch("xforms-value-changed");
  251. model.refresh();
  252. ]]>
  253. </script>
  254. </select1>
  255. <select1 id="cmb_mdlcd_search" ref="/root/send/fixasetlist/mdlcd_search" navindex="4" visibility="visible" appearance="minimal" style="left:335px; top:37px; width:100px; height:19px; ">
  256. <choices>
  257. <itemset>
  258. <label/>
  259. <value/>
  260. </itemset>
  261. </choices>
  262. <script type="javascript" ev:event="xforms-value-changed">
  263. <![CDATA[
  264. rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), cmb_lrgcd_search.value, cmb_mdlcd_search.value, "cmb_smlcd_search", "", "S");
  265. model.refresh();
  266. ]]>
  267. </script>
  268. </select1>
  269. <select1 id="cmb_smlcd_search" ref="/root/send/fixasetlist/smlcd_search" visibility="hidden" appearance="minimal" style="left:330px; top:25px; width:100px; height:19px; ">
  270. <choices>
  271. <itemset>
  272. <label/>
  273. <value/>
  274. </itemset>
  275. </choices>
  276. </select1>
  277. <input id="ipt_mngtdeptcd_search" ref="/root/send/fixasetlist/mngtdeptcd_search" class="input_search" navindex="7" style="left:860px; top:10px; width:90px; height:19px; ">
  278. <script type="javascript" ev:event="xforms-value-changed">
  279. <![CDATA[
  280. misfSearchDept(ipt_deptnm_search);
  281. ]]>
  282. </script>
  283. </input>
  284. <caption id="cap_deptcd_search" class="search_name" style="left:770px; top:10px; width:92px; height:17px; ">사용부서 :</caption>
  285. <input id="ipt_deptnm_search" ref="/root/send/fixasetlist/mngtdept_search" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:972px; top:10px; width:123px; height:19px; "/>
  286. <button id="btn_mngtdeptcd_search" class="icon_search" navindex="8" style="left:952px; top:10px; width:16px; height:16px; ">
  287. <caption/>
  288. <script type="javascript" ev:event="DOMActivate">
  289. <![CDATA[
  290. misfOpenPopUpList("02", ipt_mngtdeptcd_search,"","mngtdeptcd_search,mngtdept_search", model.getValue(cmb_instcd_search.attribute("ref")),"instcd_search");
  291. model.refresh();
  292. ]]>
  293. </script>
  294. </button>
  295. <input id="ipt_fixasetcd_search" ref="/root/send/fixasetlist/fixasetcd_search" class="input_search" navindex="9" imemode="disabled" _chartype="upper" style="left:550px; top:37px; width:200px; height:19px; text-align:left; ">
  296. <script type="javascript" ev:event="onkeyup">
  297. <![CDATA[
  298. inputEnterKey("btn_search", "DOMActivate");
  299. ]]>
  300. </script>
  301. </input>
  302. <caption id="cap_fixasetcd" class="search_name" style="left:455px; top:37px; width:89px; height:17px; ">자산코드 :</caption>
  303. <caption id="caption1" class="search_name" visibility="hidden" style="left:245px; top:25px; width:86px; height:17px; ">소 분 류 :</caption>
  304. <input id="cap_goodflagnm" ref="/root/send/fixasetlist/goodflagnm_search" class="input_search" navindex="10" style="left:860px; top:37px; width:235px; height:19px; text-align:left; ">
  305. <script type="javascript" ev:event="onkeyup">
  306. <![CDATA[
  307. inputEnterKey("btn_search", "DOMActivate");
  308. ]]>
  309. </script>
  310. </input>
  311. </group>
  312. <datagrid id="grd_fixasetlist" nodeset="/root/main/list/fixaset/fixasetlist" caption="^물품구분^기관코드^출력여부^자산코드^품명^품명(영문)^규격^공급처^모델^구입일자^사용부서^청구부서^물품명1^물품명2^부서명1^부서명2^설치장소^설치장소^SERIAL NO^제조원^업체명^연락처^물품명1^물품명2^부서명1^부서명2" colsep="^" colwidth="29, 72, 60, 5, 111, 170, 170, 124, 134, 130, 79, 120, 120, 100, 100, 100, 100, 80, 120, 100, 100, 153, 100, 100, 100, 100, 100" dataheight="23" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:105px; width:1194px; height:634px; ">
  313. <col checkvalue="Y,N" ref="choice" type="checkbox"/>
  314. <col ref="goodflag" visibility="hidden"/>
  315. <col ref="instcd" visibility="hidden"/>
  316. <col ref="barcdprntyn" visibility="hidden"/>
  317. <col ref="fixasetcd" style="text-align:center; "/>
  318. <col ref="goodflaghngnm" style="padding-left:10; "/>
  319. <col ref="goodflagengnm" style="padding-left:10; "/>
  320. <col ref="goodspec" style="text-align:left; padding-left:10; "/>
  321. <col ref="suplplcenm" style="text-align:left; padding-left:10; "/>
  322. <col ref="goodmodel" visibility="hidden"/>
  323. <col disabled="true" ref="possndd" format="yyyy-mm-dd" style="text-align:center; "/>
  324. <col ref="mngtdeptnm" style="text-align:left; padding-left:10; "/>
  325. <col ref="cntrdeptnm" visibility="hidden" style="text-align:left; padding-left:10; "/>
  326. <col ref="goodnm1" visibility="hidden"/>
  327. <col ref="goodnm2" visibility="hidden"/>
  328. <col ref="deptnm1" visibility="hidden"/>
  329. <col ref="deptnm2" visibility="hidden"/>
  330. <col ref="installplcecd"/>
  331. <col ref="installplcenm"/>
  332. <col ref="mngtno" visibility="visible"/>
  333. <col ref="prodcmpynm"/>
  334. <col ref="suplplcenm"/>
  335. <col ref="cntctel" visibility="visible"/>
  336. <col ref="goodnm1" visibility="hidden"/>
  337. <col ref="goodnm2" visibility="hidden"/>
  338. <col ref="deptnm1" visibility="hidden"/>
  339. <col ref="deptnm2" visibility="hidden"/>
  340. <script type="javascript" ev:event="onaftersort">
  341. <![CDATA[
  342. grd_fixasetlist.gridToInstance();
  343. ]]>
  344. </script>
  345. </datagrid>
  346. </group>
  347. </xhtml:body>
  348. </xhtml:html>