SPRSC08300_물류정보갱신.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>통합내용갱신</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <updategood>
  11. <goodlist>
  12. <ifid/>
  13. <sel/>
  14. <chggubn/>
  15. <chggubnnm/>
  16. <fromdd/>
  17. <condd/>
  18. <goodcd/>
  19. <oldcd/>
  20. <bnscd/>
  21. <edicd/>
  22. <goodnm/>
  23. <goodhngnm/>
  24. <goodengnm/>
  25. <goodspec/>
  26. <com/>
  27. <comnm/>
  28. <lrgcd/>
  29. <lrgnm/>
  30. <mdlcd/>
  31. <mdlnm/>
  32. <smlcd/>
  33. <smlnm/>
  34. <welfprt/>
  35. <welfprtnm/>
  36. <prodcmpycd/>
  37. <prodcmpynm/>
  38. <suppcustcd/>
  39. <suppcustnm/>
  40. <maincustlastsuplplce/>
  41. <maincustlastsuplplcenm/>
  42. <asetflag/>
  43. <winacnt/>
  44. <winacntnm/>
  45. <amtacnt/>
  46. <amtacntnm/>
  47. <hospdrguvol/>
  48. <hospdrguunit/>
  49. <prcpqty/>
  50. <prcpunit/>
  51. <cntsqty/>
  52. <cntsunit/>
  53. <specvol/>
  54. <specunit/>
  55. <gnrlspcl/>
  56. <prcpexchqty/>
  57. <calcmthdcd/>
  58. <grupsnglflag/>
  59. <exchqty/>
  60. <deliveunit/>
  61. <purcunit/>
  62. <insucost/>
  63. <estmamt/>
  64. <goodunitcost/>
  65. <goodpurccost/>
  66. <gnrlspclnm/>
  67. <keepmthd/>
  68. <keepmthdnm/>
  69. <pemtkeepmthd/>
  70. <todd/>
  71. <nonusetretresn/>
  72. <cmt/>
  73. <purcqty/>
  74. <specldrug/>
  75. <drugkind/>
  76. <allsizeyn/>
  77. <drugtoddhis/>
  78. <ifstatus/>
  79. </goodlist>
  80. </updategood>
  81. </main>
  82. <send>
  83. <srchinfo>
  84. <fromdd/>
  85. <todd/>
  86. <goodcd/>
  87. <chggubn/>
  88. </srchinfo>
  89. <drugdata>
  90. <druginfo/>
  91. </drugdata>
  92. <save>
  93. <gooddetlist/>
  94. <setyn>N</setyn>
  95. <mastercheckflag>Y</mastercheckflag>
  96. <historyflag>Y</historyflag>
  97. </save>
  98. </send>
  99. <init>
  100. <P0133list/>
  101. <P0142list/>
  102. <R0356list/>
  103. </init>
  104. <hidden>
  105. <item/>
  106. </hidden>
  107. <cnt/>
  108. <asetflag/>
  109. </root>
  110. </instance>
  111. <script type="javascript" ev:event="xforms-ready">
  112. <![CDATA[
  113. //오늘날짜를 기준으로 1주일로 검색 구간 설정
  114. setDate();
  115. //MIS.RSCDGIUD : 품목마스터 변경내역 전달테이블
  116. //grd_data.rowHeight(0) = 50;
  117. grd_data.fixedcellcheckbox(0,1) = true;
  118. misfComboComCdListMulti("R0043","cmb_asetflag"); //자산구분 콤보 리스트
  119. zbcfGetCodeList( new Array("P0133","P0142","R0356")
  120. , new Array("/root/init/P0133list","/root/init/P0142list", "/root/init/R0356list")
  121. , true); //수가계산방법, 그룹코드 리스트
  122. model.setValue("/root/send/srchinfo/chggubn","A");
  123. fGetGoodList();
  124. ]]>
  125. </script>
  126. <script type="javascript">
  127. <![CDATA[
  128. // 현재일자를 적용일자로 설정하여 과거일자로의 변경을 막기 위함 2008-12-10
  129. //var gv_fromdd = "";
  130. function fGetGoodList(){
  131. submit("TRRSC08301");
  132. model.setValue("/root/cnt", model.getXPathValue("count(/root/main/updategood/goodlist)"));
  133. output1.refresh();
  134. caption5.attribute("visibility")="visible";
  135. }
  136. ]]>
  137. </script>
  138. <submission id="TRRSC08301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/updategood"/>
  139. <submission id="TXRSC08301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/drugdata" replace="instance" resultref="/root/hidden"/>
  140. <submission id="TXRSC08302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  141. </model>
  142. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  143. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  144. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  145. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  146. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  147. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  148. <script type="javascript">
  149. <![CDATA[
  150. function setDate()
  151. {
  152. var curdate = getCurrentDate();
  153. var curyear = parseInt(curdate.substr(0,4));
  154. var curmonth = curdate.substr(4,2);
  155. var curday = curdate.substr(6,2);
  156. var preyear = curyear;
  157. var nextyear = curyear;
  158. var premonth = null;
  159. var nextmonth = null;
  160. //10월 이하이면 숫자만 추출
  161. if ( curmonth.substr(0,1) == "0" )
  162. curmonth = parseInt(curmonth.substr(1,2));
  163. else
  164. curmonth = parseInt(curmonth.substr(0,2));
  165. //10일 이하이면 숫자만 추출
  166. if ( curday.substr(0,1) == "0" )
  167. curday = parseInt(curday.substr(1,2));
  168. else
  169. curday = parseInt(curday.substr(0,2));
  170. var preday = curday;
  171. var nextday = curday;
  172. if ( curmonth == 1 )
  173. {
  174. preyear = preyear - 1;
  175. premonth = 12;
  176. nextmonth = curmonth + 1;
  177. }
  178. else if ( curmonth == 12 )
  179. {
  180. nextyear = nextyear + 1;
  181. nextmonth = 1;
  182. premonth = curmonth - 1;
  183. }
  184. else
  185. {
  186. premonth = curmonth - 1;
  187. nextmonth = curmonth + 1;
  188. }
  189. if ( premonth == 2 && curday > 28 )
  190. preday = 28;
  191. if ( nextmonth == 2 && curday > 28 )
  192. nextday = 28;
  193. if ( preday != 28 && curday < 10 )
  194. preday = "0" + curday;
  195. if ( nextday != 28 && curday < 10 )
  196. nextday = "0" + curday;
  197. if ( premonth < 10 )
  198. premonth = "0" + premonth;
  199. if ( nextmonth < 10 )
  200. nextmonth = "0" + nextmonth;
  201. predate = preyear+""+premonth+""+preday;
  202. nextdate = nextyear+""+nextmonth+""+nextday;
  203. // alert("predate:"+predate);
  204. // alert("nextdate:"+nextdate);
  205. model.setValue("/root/send/srchinfo/fromdd", predate);
  206. model.setValue("/root/send/srchinfo/todd", nextdate);
  207. ipt_fromdd.refresh();
  208. ipt_todd.refresh();
  209. }
  210. ]]>
  211. </script>
  212. </xhtml:head>
  213. <xhtml:body class="radio_search" pagewidth="1000" pageheight="500" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  214. <group id="grp_biz" scroll="auto" style="left:0px; top:50px; width:965px; height:400px; ">
  215. <line id="line1" class="line_1" style="x1:0px; y1:35px; x2:965px; y2:35px; "/>
  216. <caption id="caption1" class="tit_2" style="left:5px; top:16px; width:100px; height:14px; ">통합내용갱신</caption>
  217. <button id="btn_excsave" class="btn2_letter4" style="left:900px; top:10px; width:64px; height:19px; ">
  218. <caption>엑셀저장</caption>
  219. <script type="javascript" ev:event="DOMActivate">
  220. <![CDATA[
  221. var files = window.fileDialog("save", "|", true, "", "", "Excel Files(*.xls)|*.xls");
  222. grd_data.saveExcel( files, "sheetname:sheet1;colhiddenextend:false;");
  223. ]]>
  224. </script>
  225. </button>
  226. <datagrid id="grd_data" nodeset="/root/main/updategood/goodlist" class="datagrid2" scroll="auto" autoresize="true" caption="인터페이스 id^^구분&#xA;코드^구분^적용일자^물류적용일자^현재기관&#xA;적용일자^약품코드^약품대표코드^연번^중복제외&#xA;대표코드^구코드^도매상코드^EDI코드^물품명^한글명^영문명^goodspec^성분코드^성분명^대분류코드^대분류^중분류코드^중분류^소분류코드^소분류^welfprt^복지부분류^제조회사코드^제조회사^판매회사코드^판매회사^주거래처코드^주거래처^자산구분^입고계정코드^입고계정^비용계정코드^비용계정^함량용량^함량단위^규격수량^규격단위^병원용량^병원단위^처방수량^처방단위^gnrlspcl^처방환산^수가계산방법^그룹여부^낱개수량^낱개단위^포장단위^보험단가^처방단가^상한가^구입단가^구입가^일반/전문^keepmthd^실제보관법^허가보관방법^불용일^변경사유^비고^포장수량^특별약품^약품종류^all size 유무^drugtoddhis^ifstatus^prefromdd^conflag^mngtcls^purccls^통계구분(약품)^EDI단위(약품)^EDI환산수량(약품)" colsep="^" colwidth="14, 24, 25, 18, 100, 100, 83, 88, 80, 76, 12, 100, 21, 80, 150, 100, 100, 100, 67, 150, 35, 60, 35, 130, 35, 150, 40, 200, 100, 100, 100, 100, 100, 100, 100, 100, 80, 100, 80, 35, 35, 35, 35, 30, 30, 30, 30, 40, 57, 100, 100, 100, 100, 100, 80, 80, 100, 80, 80, 70, 30, 70, 200, 100, 200, 200, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" frozencols="9" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="6" style="left:0px; top:40px; width:965px; height:360px; ">
  227. <col ref="ifid" visibility="hidden"/>
  228. <col checkvalue="Y,N" key="false" ref="sel" type="checkbox"/>
  229. <col ref="chggubn" visibility="hidden"/>
  230. <col ref="chggubnnm" visibility="hidden"/>
  231. <col ref="fromdd" type="inputdate" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
  232. <col ref="condd" type="inputdate" visibility="hidden" format="yyyy-mm-dd" maxlength="8" style="text-align:center; "/>
  233. <col ref="instfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  234. <col ref="goodcd" style="text-align:center; "/>
  235. <col ref="reprgoodcd" style="text-align:center; "/>
  236. <col ref="asisgoodcd" style="text-align:center; "/>
  237. <col ref="dupexpgoodcd" visibility="hidden"/>
  238. <col ref="oldcd"/>
  239. <col ref="bnscd" visibility="hidden"/>
  240. <col ref="edicd" style="text-align:center; "/>
  241. <col ref="goodnm"/>
  242. <col ref="goodhngnm" visibility="hidden"/>
  243. <col ref="goodengnm"/>
  244. <col ref="goodspec" visibility="hidden"/>
  245. <col ref="com"/>
  246. <col ref="comnm"/>
  247. <col ref="lrgcd" visibility="hidden"/>
  248. <col ref="lrgnm" style="text-align:center; "/>
  249. <col ref="mdlcd" visibility="hidden"/>
  250. <col ref="mdlnm"/>
  251. <col ref="smlcd" visibility="hidden"/>
  252. <col ref="smlnm"/>
  253. <col ref="welfprt" visibility="hidden"/>
  254. <col ref="welfprtnm"/>
  255. <col ref="prodcmpycd" visibility="hidden"/>
  256. <col ref="prodcmpynm"/>
  257. <col ref="suppcustcd"/>
  258. <col ref="suppcustnm"/>
  259. <col ref="maincustlastsuplplce"/>
  260. <col ref="maincustlastsuplplcenm"/>
  261. <col ref="asetflag" type="combo">
  262. <choices>
  263. <itemset nodeset="/root/init/comcd/R00430/R00430">
  264. <label ref="cdnm"/>
  265. <value ref="cdid"/>
  266. </itemset>
  267. </choices>
  268. </col>
  269. <col ref="winacnt"/>
  270. <col ref="winacntnm"/>
  271. <col ref="amtacnt"/>
  272. <col ref="amtacntnm"/>
  273. <col ref="cntsqty"/>
  274. <col ref="cntsunit"/>
  275. <col ref="specvol"/>
  276. <col ref="specunit"/>
  277. <col ref="hospdrguvol"/>
  278. <col ref="hospdrguunit"/>
  279. <col ref="prcpqty"/>
  280. <col ref="prcpunit"/>
  281. <col ref="gnrlspcl" visibility="hidden"/>
  282. <col ref="prcpexchqty" style="text-align:right; "/>
  283. <col disabled="true" ref="calcmthdcd" type="combo">
  284. <choices>
  285. <itemset nodeset="/root/init/P0133list/P0133">
  286. <label ref="cdnm"/>
  287. <value ref="cdid"/>
  288. </itemset>
  289. </choices>
  290. </col>
  291. <col disabled="true" ref="grupsnglflag" type="combo">
  292. <choices>
  293. <itemset nodeset="/root/init/P0142list/P0142">
  294. <label ref="cdnm"/>
  295. <value ref="cdid"/>
  296. </itemset>
  297. </choices>
  298. </col>
  299. <col ref="exchqty"/>
  300. <col ref="deliveunit"/>
  301. <col ref="purcunit"/>
  302. <col ref="insucost" format="#,###" style="text-align:right; "/>
  303. <col ref="estmamt" format="#,###" style="text-align:right; "/>
  304. <col ref="upperlimit" format="#,###" style="text-align:right; "/>
  305. <col ref="goodunitcost" format="#,###" style="text-align:right; "/>
  306. <col ref="goodpurccost" format="#,###" style="text-align:right; "/>
  307. <col ref="gnrlspclnm" style="text-align:center; "/>
  308. <col ref="keepmthd" visibility="hidden"/>
  309. <col ref="keepmthdnm" style="text-align:center; "/>
  310. <col ref="pemtkeepmthd"/>
  311. <col ref="todd" visibility="hidden"/>
  312. <col disabled="true" ref="nonusetretresn" type="combo">
  313. <choices>
  314. <itemset nodeset="/root/init/R0356list/R0356">
  315. <label ref="cdnm"/>
  316. <value ref="cdid"/>
  317. </itemset>
  318. </choices>
  319. </col>
  320. <col ref="cmt"/>
  321. <col ref="purcqty" visibility="hidden"/>
  322. <col ref="specldrug" visibility="hidden"/>
  323. <col ref="drugkind" visibility="hidden"/>
  324. <col ref="allsizeyn" visibility="hidden"/>
  325. <col ref="drugtoddhis" visibility="hidden"/>
  326. <col ref="ifstatus" visibility="hidden"/>
  327. <col ref="prefromdd" visibility="hidden"/>
  328. <col ref="conflag" visibility="hidden"/>
  329. <col ref="mngtcls" visibility="hidden"/>
  330. <col ref="purccls" visibility="hidden"/>
  331. <col ref="statsflag" visibility="hidden"/>
  332. <col ref="ediunit" visibility="hidden"/>
  333. <col ref="ediexchqty" visibility="hidden"/>
  334. <script type="javascript" ev:event="xforms-select">
  335. <![CDATA[
  336. // '체크상태' 변화에 따른 status값 변경
  337. if((grd_data.row == 0) && (grd_data.col== grd_data.colRef("sel"))){
  338. for(var i = grd_data.fixedRows; i < grd_data.rows; i++){
  339. grd_data.addStatus(parseInt(i), "update");
  340. }
  341. }else if((grd_data.row != 0) && (grd_data.col== grd_data.colRef("sel"))){
  342. grd_data.addStatus(parseInt(grd_data.row), "update");
  343. }
  344. model.refresh();
  345. ]]>
  346. </script>
  347. <script type="javascript" ev:event="xforms-deselect">
  348. <![CDATA[
  349. // '체크상태' 변화에 따른 status값 변경
  350. if((grd_data.row == 0) && (grd_data.col== grd_data.colRef("sel"))){
  351. for(var i = grd_data.fixedRows; i < grd_data.rows; i++){
  352. grd_data.removeStatus(parseInt(i), "update");
  353. }
  354. }else if((grd_data.row != 0) && (grd_data.col== grd_data.colRef("sel"))){
  355. grd_data.removeStatus(parseInt(grd_data.row), "update");
  356. }
  357. model.refresh();
  358. ]]>
  359. </script>
  360. <script type="javascript" ev:event="xforms-value-changed">
  361. <![CDATA[
  362. grd_data.rebuildStyle();
  363. grd_data.focusColor= "#ffffff";
  364. if(grd_data.col == grd_data.colRef("fromdd")){
  365. var CompFromdd = model.getValue("/root/main/updategood/goodlist["+grd_data.row+"]/prefromdd");
  366. var sInstFromdd = model.getValue("/root/main/updategood/goodlist["+grd_data.row+"]/instfromdd");
  367. var sFromdd = model.getValue("/root/main/updategood/goodlist["+grd_data.row+"]/fromdd");
  368. if(sFromdd < sInstFromdd){
  369. messageBox("현재기관 적용일자보다 이전일자로 변경할수", "I004");
  370. model.setValue("/root/main/updategood/goodlist["+grd_data.row+"]/fromdd",CompFromdd);
  371. grd_data.refresh();
  372. return;
  373. }
  374. }
  375. if((grd_data.row != 0) && (grd_data.col== grd_data.colRef("drugfromdd"))){
  376. var drugfromdd = model.getValue("/root/main/updategood/goodlist["+grd_data.row+"]/drugfromdd");
  377. drugfromdd = drugfromdd.toDate("YYYYMMDD");
  378. model.setValue("/root/main/updategood/goodlist["+grd_data.row+"]/drugtoddhis", drugfromdd.getAddDate(-1).getDateFormat());
  379. model.refresh();
  380. }
  381. ]]>
  382. </script>
  383. </datagrid>
  384. <select1 id="cmb_asetflag" ref="/root/asetflag" visibility="hidden" appearance="minimal" style="left:835px; top:10px; width:30px; height:19px; ">
  385. <choices>
  386. <itemset>
  387. <label/>
  388. <value/>
  389. </itemset>
  390. </choices>
  391. </select1>
  392. <caption id="caption6" style="left:115px; top:16px; width:708px; height:13px; font-weight:bold; color:#ff0000; ">* 주의사항 : 신규코드를 이 화면에서 등록한 경우 반드시 개별 코드 조회하여 재고관리기준을 입력 저장해야 합니다.</caption>
  393. </group>
  394. <group id="grp_btn" scroll="auto" style="left:0px; top:450px; width:965px; height:30px; ">
  395. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:965px; y2:0px; "/>
  396. <button id="btn_insert" class="btn4_letter2" navindex="7" style="left:848px; top:7px; width:56px; height:22px; ">
  397. <caption>등록</caption>
  398. <script type="javascript" ev:event="DOMActivate">
  399. <![CDATA[
  400. grd_data.rebuildStyle();
  401. var chk = messageBox("물류정보를 갱신", "S001");
  402. var cnt = 0;
  403. if(chk == 6){
  404. for(var i = grd_data.fixedRows; i < grd_data.rows; i++){ // 체크박스 선택 유무 판단
  405. if(model.getValue("/root/main/updategood/goodlist["+i+"]/sel") == 'Y') {
  406. var CompFromdd = model.getValue("/root/main/updategood/goodlist["+i+"]/prefromdd");
  407. var sInstFromdd = model.getValue("/root/main/updategood/goodlist["+i+"]/instfromdd");
  408. var sFromdd = model.getValue("/root/main/updategood/goodlist["+i+"]/fromdd");
  409. if(sFromdd < sInstFromdd){
  410. messageBox("기관 적용일자보다 이전일자로 변경할수", "I004");
  411. grd_data.row =i;
  412. grd_data.col = grd_data.colRef("fromdd");
  413. grd_data.focusColor = "#ffff00";
  414. return;
  415. }
  416. model.setValue("/root/main/updategood/goodlist["+i+"]/ifstatus","S"); //"S" 등록
  417. grd_data.addStatus(i,"update");
  418. cnt ++;
  419. }
  420. }
  421. if(cnt != 0){
  422. var updateData = grd_data.getUpdateData("update");
  423. model.setValue("/root/send/save/gooddetlist", updateData);
  424. model.setValue("/root/send/drugdata/druginfo", updateData);
  425. submit("TXRSC08301"); //물류갱신 테이블에 업데이트
  426. submit("TXRSC08302"); //물품정보 테이블에 해당 물품을 insert
  427. fGetGoodList();
  428. }else{
  429. messageBox("선택된 사항이","I004");
  430. }
  431. grd_data.rebuildStyle();
  432. grd_data.focusColor= "#ffffff";
  433. }
  434. model.refresh();
  435. ]]>
  436. </script>
  437. </button>
  438. <button id="btn_close" class="btn4_letter2" navindex="8" style="left:909px; top:7px; width:56px; height:22px; ">
  439. <caption>닫기</caption>
  440. <script type="javascript" ev:event="DOMActivate">
  441. <![CDATA[
  442. window.close();
  443. ]]>
  444. </script>
  445. </button>
  446. <output id="output1" ref="/root/cnt" style="left:0px; top:5px; width:30px; height:19px; text-align:right; "/>
  447. <caption id="caption5" visibility="hidden" style="left:31px; top:5px; width:219px; height:19px; ">건 조회 되었습니다.</caption>
  448. </group>
  449. <group id="group1" style="left:0px; top:10px; width:965px; height:40px; ">
  450. <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:965px; height:40px; "/>
  451. <caption id="caption2" class="search_name" style="left:5px; top:10px; width:143px; height:17px; ">적용일자 검색구간 :</caption>
  452. <input id="ipt_fromdd" ref="/root/send/srchinfo/fromdd" class="input_search" navindex="1" inputtype="date" style="left:150px; top:10px; width:100px; height:19px; "/>
  453. <input id="ipt_todd" ref="/root/send/srchinfo/todd" class="input_search" navindex="2" inputtype="date" style="left:265px; top:10px; width:100px; height:19px; "/>
  454. <caption id="caption3" class="search_name" style="left:380px; top:10px; width:90px; height:17px; ">약품코드 :</caption>
  455. <input id="ipt_goodcd" ref="/root/send/srchinfo/goodcd" class="input_search" navindex="3" style="left:470px; top:10px; width:100px; height:19px; ">
  456. <script type="javascript" ev:event="onkeyup">
  457. <![CDATA[
  458. inputEnterKey("btn_sea","DOMActivate");
  459. ]]>
  460. </script>
  461. </input>
  462. <caption id="caption4" class="search_name" visibility="hidden" style="left:590px; top:12px; width:95px; height:17px; ">구 분 1 :</caption>
  463. <select1 id="rdo_chggubn" ref="/root/send/srchinfo/chggubn" navindex="4" visibility="hidden" overflow="visible" appearance="full" cols="3" rows="1" style="left:680px; top:13px; width:140px; height:16px; border-style:none; ">
  464. <choices>
  465. <item>
  466. <label>전체</label>
  467. <value>A</value>
  468. </item>
  469. <item>
  470. <label>신규</label>
  471. <value>I</value>
  472. </item>
  473. <item>
  474. <label>변경</label>
  475. <value>U</value>
  476. </item>
  477. </choices>
  478. </select1>
  479. <button id="btn_sea" class="btn1_letter2" navindex="5" style="left:895px; top:10px; width:56px; height:22px; ">
  480. <caption>조회</caption>
  481. <script type="javascript" ev:event="DOMActivate">
  482. <![CDATA[
  483. var fromdd = model.getValue("/root/send/srchinfo/fromdd");
  484. var todd = model.getValue("/root/send/srchinfo/todd");
  485. if(fromdd != "" || todd != ""){
  486. if(fromdd == ""){
  487. messageBox("검색구간을 입력하지","E007");
  488. model.setFocus("ipt_fromdd");
  489. return;
  490. }else if(todd == ""){
  491. messageBox("검색구간을 입력하지","E007");
  492. model.setFocus("ipt_todd");
  493. return;
  494. }
  495. }
  496. fGetGoodList();
  497. //model.refresh();
  498. ]]>
  499. </script>
  500. </button>
  501. <caption id="caption7" style="left:250px; top:10px; width:15px; height:20px; text-align:center; ">~</caption>
  502. </group>
  503. </xhtml:body>
  504. </xhtml:html>