SMLLF00400_용기코드관리.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLLF00400_용기코드관리.xrw
  4. * 설 명 : 용기코드 조회 및 등록
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2007.05.28
  8. * 수정이력 : 2007.08.31 UserDeptFlagCD
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>용기코드관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <tubelist>
  20. <tubefromdd/>
  21. <tubetodd/>
  22. <tubecd/>
  23. <tubenm/>
  24. <tubescrnnm/>
  25. <tubeabbrnm/>
  26. <tubeprntnm/>
  27. <tubelblnm/>
  28. <tubevol/>
  29. <tubeunit/>
  30. <tubedispseq/>
  31. <tubeiconimgnm/>
  32. <tubeorgimgnm/>
  33. <tubeiconimg/>
  34. <tubeorgimg/>
  35. </tubelist>
  36. <msg/>
  37. <orgimg>
  38. <orgimg/>
  39. <orgwidt/>
  40. <orght/>
  41. </orgimg>
  42. <imginfo>
  43. <fileinfo/>
  44. <fileinfoO/>
  45. </imginfo>
  46. <view>
  47. <imgrslt/>
  48. <imgwidt/>
  49. <imght/>
  50. <orgimg/>
  51. <orgwidt/>
  52. <orght/>
  53. </view>
  54. <temp>
  55. <addlist/>
  56. </temp>
  57. </main>
  58. <send>
  59. <refgbn/>
  60. <searchgbn/>
  61. <text/>
  62. <grdtube/>
  63. <codeflag/>
  64. <deptflag/>
  65. <tubecd/>
  66. <imgicon/>
  67. <imgorg/>
  68. <imgicon2/>
  69. <imgorg2/>
  70. </send>
  71. <init>
  72. </init>
  73. <hidden>
  74. <ref>
  75. <refgbn>1</refgbn>
  76. <searchgbn>1</searchgbn>
  77. <searchnm/>
  78. </ref>
  79. <updt/>
  80. </hidden>
  81. <temp>
  82. <addlist/>
  83. </temp>
  84. </root>
  85. </instance>
  86. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  89. <!-- 조회 -->
  90. <submission id="TRLLF00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tubelist"/>
  91. <!-- 등록,수정 -->
  92. <submission id="TXLLF00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
  93. <!-- 검색 -->
  94. <submission id="TRLLF00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tubelist"/>
  95. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init"/>
  96. <script type="javascript" ev:event="xforms-ready">
  97. <![CDATA[
  98. // 초기정보 조회
  99. model.setValue("/root/send/codeflag", "0000|"); // 0000= 유저과플래그
  100. submit("TRLZZ00101");
  101. grd_tube.deleteRow(1);
  102. fSettodd();
  103. ]]>
  104. </script>
  105. <submission id="TXLLF00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  106. </model>
  107. <script type="javascript">
  108. <![CDATA[
  109. // 조회구분에 따라 사용종료일자 숨기기
  110. function fSettodd(){
  111. var gbn = model.getValue("/root/hidden/ref/refgbn");
  112. if(gbn == "1"){
  113. // 사용가능자료
  114. grd_tube.colHidden(2) = true;
  115. }else{
  116. // 전체자료
  117. grd_tube.colHidden(2) = false;
  118. }
  119. }
  120. // 행추가
  121. function fInsRowAdd(pGridId) {
  122. modal("SPLLF10600","","","","","","");
  123. var addstring = model.getValue("/root/temp/addlist/addstring");
  124. var addlen = addstring.split("▩");
  125. var tubedispseq;
  126. var rows = getNodesetCount("/root/main/tubelist");
  127. for(i = 0 ; i < addlen.length-1 ; i ++){
  128. grd_tube.addRow(false);
  129. grd_tube.rowStatus(0) = 1;
  130. var today = getCurrentDate();
  131. var additemlist = addlen[i].split("▦");
  132. if(rows > 0){
  133. tubedispseq = model.getValue("/root/main/tubelist["+(grd_tube.row-1)+"]/tubedispseq");
  134. }else{
  135. if(i ==0){
  136. tubedispseq = 0;
  137. }else{
  138. tubedispseq = model.getValue("/root/main/tubelist["+(grd_tube.row-1)+"]/tubedispseq");
  139. }
  140. }
  141. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubefromdd", today);
  142. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubetodd", "99991231");
  143. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubecd", additemlist[0]);
  144. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubenm", additemlist[1]);
  145. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubescrnnm", additemlist[2]);
  146. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubeabbrnm", additemlist[3]);
  147. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubeprntnm", additemlist[4]);
  148. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubelblnm", additemlist[5]);
  149. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubevol", additemlist[6]);
  150. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubeunit", additemlist[7]);
  151. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubeiconimgnm", "-");
  152. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubeorgimgnm", "-");
  153. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubeiconimg", "");
  154. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubeorgimg", "");
  155. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubedispseq", parseInt(tubedispseq)+1);
  156. }
  157. /*
  158. pGridId.addRow();
  159. // 오늘날짜
  160. var dt = getCurrentDate();
  161. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubefromdd", dt);
  162. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubetodd", "99991231");
  163. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubeabbrnm", "-");
  164. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubeprntnm", "-");
  165. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubelblnm", "-");
  166. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubeiconimgnm", "-");
  167. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubeorgimgnm", "-");
  168. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubeiconimg", "");
  169. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubeorgimg", "");
  170. model.setValue("/root/main/tubelist["+grd_tube.row+"]/tubedispseq", parseInt(model.getValue("/root/main/tubelist["+(grd_tube.row-1)+"]/tubedispseq"))+1);
  171. */
  172. }
  173. // 초기화
  174. function fSetInit() {
  175. model.removeNodeset("/root/main/tubelist");
  176. model.refresh();
  177. }
  178. // 용기정보 조회
  179. function fGetTubeList(){
  180. model.setValue("/root/send/refgbn", model.getValue("/root/hidden/ref/refgbn"));
  181. model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm"));
  182. submit("TRLLF00401"); // 용기 리스트 조회
  183. //fSetTubeTodd();
  184. for(i=1; i<grd_tube.rows; i++){
  185. setImageRefInstance("/root/main/tubelist["+i+"]/tubeiconimg");
  186. //grd_tube.rebuild();
  187. }
  188. grd_tube.rebuild();
  189. //model.refresh();
  190. //fSetTubeImg();
  191. //grd_tube.addrow();
  192. //grd_tube.setCellStyle("background-image",grd_tube.rows-1 , 13) = "../../../lis\jindangeomsaweb\images\icnTB01.gif";
  193. }
  194. // 용기정보 등록,수정
  195. function fSetTubeInfo(){
  196. var grddata = grd_tube.getUpdateData();
  197. model.setValue("/root/send/grdtube", grddata);
  198. model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm"));
  199. if(submit("TXLLF00401")==true){ // 용기 정보 수정
  200. fGetTubeList();
  201. fSetTubeTodd();
  202. }
  203. }
  204. // 검색 구분
  205. function fGetTubeSrch(){
  206. model.setValue("/root/send/searchgbn", model.getValue("/root/hidden/ref/searchgbn"));
  207. model.setValue("/root/send/text", model.getValue("/root/hidden/ref/searchnm").toUpperCase());
  208. model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm"));
  209. submit("TRLLF00402");
  210. for(i=1; i<grd_tube.rows; i++){
  211. setImageRefInstance("/root/main/tubelist["+i+"]/tubeiconimg");
  212. //grd_tube.rebuild();
  213. }
  214. grd_tube.rebuild();
  215. //model.refresh();
  216. }
  217. // 종료된 용기 정보 다른색으로 보여주기
  218. function fSetTubeTodd(){
  219. //grd_tube.rebuildstyle();
  220. var tDay = getCurrentDate();
  221. //alert("tDay= " + tDay);
  222. setRowStyle("grd_tube", "0", tDay, "tubetodd", "small");
  223. }
  224. // 용기 이미지 보여주기
  225. function fSetTubeImg(){
  226. for(i=1; i<grd_tube.rows; i++){
  227. if(("-" == model.getValue("/root/main/tubelist["+i+"]/tubeiconimgnm")) || ("" == model.getValue("/root/main/tubelist["+i+"]/tubeiconimgnm"))){
  228. //grd_tube.cellstyle("background-image", i, 12) = "../../../lis/commonweb/images/icnTB01.gif";
  229. grd_tube.cellstyle("background-image", i, 12) = "../../../lis/commonweb/images/" + model.getValue("/root/main/tubelist["+i+"]/tubeiconimgnm");
  230. }else{
  231. //alert("123");
  232. //alert("aaa= " + model.getValue("/root/main/tubelist["+i+"]/tubeiconimgnm"));
  233. //grd_tube.cellstyle("background-image", i, 12) = "../../../lis/commonweb/images/" + model.getValue("/root/main/tubelist["+i+"]/tubeiconimgnm");
  234. grd_tube.cellstyle("background-image", i, 12) = "../../../lis/commonweb/images/" + "icnTB_NotExists.gif";
  235. //grd_tube.cellstyle("background-image", i, 12) = "../../../lis/commonweb/images/icnTB_NotExists.gif"
  236. //grd_tube.cellstyle("background-image", i, 12) = "../../../lis/commonweb/images/icnTB_NotExists.gif";
  237. }
  238. }
  239. }
  240. // Null 체크
  241. function fNullCheck(){
  242. var msg = "";
  243. var nullyn = "true";
  244. for(i=1; i<grd_tube.rows; i++ ){
  245. if((grd_tube.rowStatus(i) == 3) || (grd_tube.rowStatus(i) == 1) ||(grd_tube.rowStatus(i) == 2)){
  246. if(model.getValue("/root/main/tubelist["+i+"]/tubecd")==""){
  247. msg = "[용기코드] 는 " ;
  248. messageBox(msg, "I003", "");
  249. return "false";
  250. }
  251. if(model.getValue("/root/main/tubelist["+i+"]/tubefromdd")==""){
  252. msg = "[용기시용시작일] 은 " ;
  253. messageBox(msg, "I003", "");
  254. return "false";
  255. }
  256. if(model.getValue("/root/main/tubelist["+i+"]/tubetodd")==""){
  257. msg = "[용기시용종료일] 은 " ;
  258. messageBox(msg, "I003", "");
  259. return "false";
  260. }
  261. if(model.getValue("/root/main/tubelist["+i+"]/tubenm")==""){
  262. msg = "[용기명] 은 " ;
  263. messageBox(msg, "I003", "");
  264. return "false";
  265. }
  266. if(model.getValue("/root/main/tubelist["+i+"]/tubescrnnm")==""){
  267. msg = "[용기화면명] 은 " ;
  268. messageBox(msg, "I003", "");
  269. return "false";
  270. }
  271. if(model.getValue("/root/main/tubelist["+i+"]/tubedispseq")==""){
  272. msg = "[표시순서] 는 " ;
  273. messageBox(msg, "I003", "");
  274. return "false";
  275. }
  276. return nullyn;
  277. }
  278. }
  279. }
  280. // 원본이미지명 조회
  281. function fGetTubeOrgImg(){
  282. if(model.getValue("/root/main/tubelist["+grd_tube.row+"]/tubeorgimg") ==""){
  283. img1.visible = false;
  284. cap_tube.visible = true;
  285. }else{
  286. model.setValue("/root/main/view/orgimg", model.getValue("/root/main/tubelist["+grd_tube.row+"]/tubeorgimg"));
  287. setImageRefInstance("/root/main/view/orgimg");
  288. //grd_tube.rebuild();
  289. img1.visible = true;
  290. cap_tube.visible = false;
  291. img1.refresh();
  292. }
  293. model.setValue("/root/main/view/imgrslt", model.getValue("/root/main/tubelist["+grd_tube.row+"]/tubeiconimg"));
  294. setImageRefInstance("/root/main/view/imgrslt");
  295. img3.refresh();
  296. }
  297. // 용기아이콘 이미지 주소 선택
  298. function fOnclickFileSearch(){
  299. var file = openImageFileDialog(); // image 파일이 너무 크면 submit 시간이 매우 오래(5분이상) 걸리므로 가급적 사이즈를 작게 제한한다.
  300. if (file == "") {
  301. return;
  302. }
  303. model.setvalue("/root/main/imginfo/fileinfo", file);
  304. fChangeImage(file);
  305. }
  306. // 용기 실제 이미지 주소 선택
  307. function fOnclickFileSearchOrg(){
  308. var file = openImageFileDialog(); // image 파일이 너무 크면 submit 시간이 매우 오래(5분이상) 걸리므로 가급적 사이즈를 작게 제한한다.
  309. if (file == "") {
  310. return;
  311. }
  312. model.setvalue("/root/main/imginfo/fileinfoO",file);
  313. fChangeImageOrg(file);
  314. }
  315. // 이미지 보여주기
  316. function fChangeImage(imgsrc){
  317. img2.src = imgsrc;
  318. var data = img2.getbase64data();
  319. var imgSize = getImageSize(imgsrc);
  320. if((imgSize.split("^")[0] > 20) || (imgSize.split("^")[1] > 20)){
  321. alert("아이콘 이미지는 가로 세로 (20 X 20) 를 넘을수 없습니다. ");
  322. return;
  323. }
  324. model.setValue("/root/main/view/imgrslt",data,true);
  325. setImageRefInstance("/root/main/view/imgrslt");
  326. model.setValue("/root/main/view/imgwidt", imgSize.split("^")[0]);
  327. model.setValue("/root/main/view/imght", imgSize.split("^")[1]);
  328. img3.attribute("width")= imgSize.split("^")[0];
  329. img3.attribute("height")= imgSize.split("^")[1];
  330. model.refresh();
  331. }
  332. // 이미지 보여주기
  333. function fChangeImageOrg(imgsrc){
  334. img1.visible = true;
  335. cap_tube.visible = false;
  336. img2.src = imgsrc;
  337. var data = img2.getbase64data();
  338. var imgSize = getImageSize(imgsrc);
  339. if((imgSize.split("^")[0] > 500) || (imgSize.split("^")[1] > 500)){
  340. alert("실제 이미지는 가로 세로 (500 X 500) 을 넘을수 없습니다. ");
  341. return;
  342. }
  343. model.setValue("/root/main/view/orgimg",data,true);
  344. setImageRefInstance("/root/main/view/orgimg");
  345. model.setValue("/root/main/view/orgwidt", imgSize.split("^")[0]);
  346. model.setValue("/root/main/view/orght", imgSize.split("^")[1]);
  347. img1.attribute("width")= imgSize.split("^")[0];
  348. img1.attribute("height")= imgSize.split("^")[1];
  349. model.refresh();
  350. }
  351. // 용기아이콘 이미지 저장
  352. function fExeTubeImg(){
  353. var tubecd = model.getValue("/root/main/tubelist["+grd_tube.row+"]/tubecd");
  354. var imgsrc = img3.src;
  355. var size = getImageSize(imgsrc);
  356. var imgsrcO = img1.src;
  357. var sizeO = getImageSize(imgsrcO);
  358. if(tubecd ==""){
  359. messageBox("용기를 ", "C002"); //선택하십시오
  360. return;
  361. }
  362. if((size == "") && (sizeO =="")){
  363. return;
  364. }
  365. model.setValue("/root/send/tubecd", tubecd);
  366. model.copyNode("/root/send/imgicon", "/root/main/view");
  367. submit("TXLLF00402");
  368. model.setValue("/root/main/imginfo/fileinfo", "");
  369. model.setValue("/root/main/imginfo/fileinfoO", "");
  370. model.setValue("/root/main/view/imgrslt", "");
  371. model.setValue("/root/main/view/orgimg", "");
  372. img1.attribute("width")= 210;
  373. img1.attribute("height")= 235;
  374. img3.attribute("width")= 20;
  375. img3.attribute("height")= 20;
  376. model.refresh();
  377. // 다시조회
  378. fGetTubeList();
  379. }
  380. function fExeExcel(pGridId) {
  381. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  382. if (fileName != "")
  383. {
  384. pGridId.saveExcel(fileName);
  385. }
  386. }
  387. ]]>
  388. </script>
  389. </xhtml:head>
  390. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  391. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  392. <img id="img3" ref="/root/main/view/imgrslt" style="left:1036px; top:76px; width:20px; height:20px; background-stretch:stretch; border-color:#808080; border-style:solid; "/>
  393. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:980px; y2:70px; "/>
  394. <caption id="caption2" class="tit_2" style="left:5px; top:55px; width:131px; height:13px; ">용기코드상세내역</caption>
  395. <datagrid id="grd_tube" nodeset="/root/main/tubelist" caption="사용시작일자^사용종료일자^용기코드^용기명^용기명(화면)^용기명(약어)^용기명(출력)^용기명(라벨)^용량^단위^표시순서^용기아이콘^caption1^caption2^caption3" colwidth="90, 90, 60, 120, 80, 80, 80, 80, 50, 50, 60, 103, 0, 0,0" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" style="left:0px; top:75px; width:980px; height:646px; ">
  396. <col ref="tubefromdd" type="inputdate" format="yyyy-mm-dd"/>
  397. <col ref="tubetodd" type="inputdate" format="yyyy-mm-dd"/>
  398. <col ref="tubecd" type="input"/>
  399. <col ref="tubenm" type="input"/>
  400. <col ref="tubescrnnm" type="input"/>
  401. <col ref="tubeabbrnm" type="input"/>
  402. <col ref="tubeprntnm" type="input"/>
  403. <col ref="tubelblnm" type="input"/>
  404. <col ref="tubevol" type="input" style="text-align:right; "/>
  405. <col ref="tubeunit" type="input" style="text-align:left; "/>
  406. <col ref="tubedispseq" type="input" format="#,###"/>
  407. <col ref="tubeiconimg" type="input" style="text-align:left; background-position:center; "/>
  408. <col ref="tubeiconimgnm"/>
  409. <col ref="tubeorgimgnm"/>
  410. <col ref="tubeorgimg"/>
  411. <script type="javascript" ev:event="onclick">
  412. <![CDATA[
  413. if(grd_tube.isCell(event.target) && grd_tube.row >= grd_tube.fixedRows){
  414. fGetTubeOrgImg();
  415. }
  416. ]]>
  417. </script>
  418. <script type="javascript" ev:event="onaftersort">
  419. <![CDATA[
  420. grd_tube.gridToInstance();
  421. ]]>
  422. </script>
  423. </datagrid>
  424. <group id="group1" style="left:0px; top:10px; width:1195px; height:35px; ">
  425. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:1194px; height:35px; "/>
  426. <line id="line11" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  427. <caption id="caption1" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">조회구분 :</caption>
  428. <line id="line14" class="line_4" style="x1:273px; y1:6px; x2:273px; y2:28px; "/>
  429. <caption id="caption4" class="search_name" style="left:737px; top:9px; width:90px; height:17px; ">검색구분 :</caption>
  430. <button id="btn_ref" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  431. <caption>검색</caption>
  432. <script type="javascript" ev:event="DOMActivate">
  433. <![CDATA[
  434. // 검색버튼
  435. fGetTubeSrch();
  436. ]]>
  437. </script>
  438. </button>
  439. <button id="btn_search" class="btn1_letter2" style="left:288px; top:7px; width:56px; height:22px; ">
  440. <caption>조회</caption>
  441. <script type="javascript" ev:event="DOMActivate">
  442. <![CDATA[
  443. // 조회버튼
  444. fGetTubeList();
  445. ]]>
  446. </script>
  447. </button>
  448. <input id="ipt_text" ref="/root/hidden/ref/searchnm" class="input_search" style="left:983px; top:8px; width:110px; height:19px; "/>
  449. <select1 id="cmb_searchgbn" ref="/root/hidden/ref/searchgbn" class="combo_search" appearance="minimal" style="left:830px; top:8px; width:150px; height:19px; ">
  450. <choices>
  451. <item>
  452. <label>용기코드</label>
  453. <value>1</value>
  454. </item>
  455. <item>
  456. <label>용기명</label>
  457. <value>2</value>
  458. </item>
  459. </choices>
  460. </select1>
  461. <select1 id="cmb_refgbn" ref="/root/hidden/ref/refgbn" class="combo_search" appearance="minimal" style="left:108px; top:8px; width:150px; height:19px; ">
  462. <choices>
  463. <item>
  464. <label>사용코드</label>
  465. <value>1</value>
  466. </item>
  467. <item>
  468. <label>전체코드</label>
  469. <value>2</value>
  470. </item>
  471. </choices>
  472. <script type="javascript" ev:event="xforms-value-changed">
  473. <![CDATA[
  474. // 조회구분 선택
  475. fSettodd();
  476. ]]>
  477. </script>
  478. </select1>
  479. </group>
  480. <button id="btn_addrow" class="btn2_letter3" style="left:927px; top:49px; width:53px; height:19px; ">
  481. <caption>행추가</caption>
  482. <script type="javascript" ev:event="DOMActivate">
  483. <![CDATA[
  484. fInsRowAdd(grd_tube);
  485. ]]>
  486. </script>
  487. </button>
  488. <caption id="caption5" class="tit_2" style="left:989px; top:55px; width:136px; height:14px; ">용기 실제 이미지</caption>
  489. <line id="line2" class="line_1" style="x1:984px; y1:70px; x2:1194px; y2:70px; "/>
  490. <img id="img1" ref="/root/main/view/orgimg" visibility="visible" style="left:984px; top:146px; width:210px; height:235px; background-image:../../../com\commonweb\images\no_image.gif; background-stretch:stretch; border-color:#999999; border-width:1px; border-style:solid; "/>
  491. <caption id="cap_tube" style="left:984px; top:146px; width:210px; height:235px; background-image:C:\CMCProject\application\webapps\com\commonweb\images\no_image.gif; "/>
  492. <line id="line13" class="line_2" style="x1:984px; y1:97px; x2:1194px; y2:97px; "/>
  493. <caption id="caption3" class="cell_1" style="left:984px; top:75px; width:50px; height:23px; vertical-align:middle; ">아이콘</caption>
  494. <line id="line3" class="line_2" style="x1:984px; y1:121px; x2:1194px; y2:121px; "/>
  495. <button id="button1" class="btn2_letter5" style="left:1118px; top:124px; width:75px; height:19px; ">
  496. <caption>이미지등록</caption>
  497. <script type="javascript" ev:event="DOMActivate">
  498. <![CDATA[
  499. fExeTubeImg();
  500. ]]>
  501. </script>
  502. </button>
  503. <img id="img2" visibility="hidden" style="left:1030px; top:450px; width:115px; height:115px; background-color:#ff6600; background-stretch:stretch; "/>
  504. <caption id="caption8" class="cell_1" style="left:984px; top:99px; width:72px; height:23px; vertical-align:middle; ">실제이미지</caption>
  505. <input id="opt_icon" ref="/root/main/imginfo/fileinfo" class="output_fix" appearance="input" style="left:1058px; top:76px; width:115px; height:19px; "/>
  506. <input id="opt_org" ref="/root/main/imginfo/fileinfoO" class="output_fix" appearance="input" style="left:1058px; top:100px; width:115px; height:19px; "/>
  507. <button id="button3" class="icon_search" style="left:1176px; top:78px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  508. <caption/>
  509. <script type="javascript" ev:event="DOMActivate">
  510. <![CDATA[
  511. fOnclickFileSearch();
  512. ]]>
  513. </script>
  514. </button>
  515. <button id="button2" class="icon_search" style="left:1176px; top:102px; width:16px; height:16px; background-image:../../../com/commonweb/images/icon_search.gif; ">
  516. <caption/>
  517. <script type="javascript" ev:event="DOMActivate">
  518. <![CDATA[
  519. fOnclickFileSearchOrg();
  520. ]]>
  521. </script>
  522. </button>
  523. <button id="button4" class="btn2_letter2" style="left:883px; top:49px; width:42px; height:19px; ">
  524. <caption>엑셀</caption>
  525. <script type="javascript" ev:event="DOMActivate">
  526. <![CDATA[
  527. fExeExcel(grd_tube);
  528. ]]>
  529. </script>
  530. </button>
  531. </group>
  532. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  533. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  534. <button id="btn_save" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
  535. <caption>저장</caption>
  536. <script type="javascript" ev:event="DOMActivate">
  537. <![CDATA[
  538. //alert(fNullCheck());
  539. if(fNullCheck()=="true"){
  540. fSetTubeInfo();
  541. }
  542. ]]>
  543. </script>
  544. </button>
  545. <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  546. <caption>초기화</caption>
  547. <script type="javascript" ev:event="DOMActivate">
  548. <![CDATA[
  549. fSetInit();
  550. ]]>
  551. </script>
  552. </button>
  553. </group>
  554. <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
  555. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:155px; height:13px; ">용기코드관리</caption>
  556. </group>
  557. </xhtml:body>
  558. </xhtml:html>