SMICI03000_CRCC임상검사비.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <list>
  11. <item>
  12. <chk/>
  13. <instcd/>
  14. <orgsubjno/>
  15. <subjnm/>
  16. <reqyymm/>
  17. <reqseqno/>
  18. <usernm/>
  19. <rcptdd/>
  20. <uncoamt/>
  21. <bugt/>
  22. <bal/>
  23. <depobal/>
  24. <ordamtreqcnfmflag/>
  25. <depoamt/>
  26. <apptot/>
  27. <subjno/>
  28. <subjid/>
  29. <respstdyempno/>
  30. </item>
  31. </list>
  32. <detllist>
  33. <item>
  34. <subjno/>
  35. <subjnoseqno/>
  36. <orddd/>
  37. <orddeptcd/>
  38. <orddrid/>
  39. <pid/>
  40. <rcptdd/>
  41. <rcpttm/>
  42. <uncoamt/>
  43. </item>
  44. </detllist>
  45. <excellist>
  46. <item>
  47. <subjno/>
  48. <instcd/>
  49. <reqyymm/>
  50. <reqseqno/>
  51. <pid/>
  52. <rcptdd/>
  53. <rcptno/>
  54. <rcptseqno/>
  55. <seqno/>
  56. <rcptstat/>
  57. <ordtype/>
  58. <orddd/>
  59. <orddeptcd/>
  60. <orddrid/>
  61. <dschdd/>
  62. <insukind/>
  63. <suppkind/>
  64. <uncorcptflag/>
  65. <uncocls/>
  66. <uncocd/>
  67. <uncoamt/>
  68. <rcptamt/>
  69. <debtamt/>
  70. <endyn/>
  71. <empid/>
  72. <rcptexecdd/>
  73. <rcpttm/>
  74. <rcptrid/>
  75. <apprsn/>
  76. <remfact/>
  77. <ordamtreqcnfmflag/>
  78. <subjnoseqno/>
  79. <flag/>
  80. </item>
  81. </excellist>
  82. </main>
  83. <send>
  84. <instcd/>
  85. <rcptstartdd/>
  86. <rcptenddd/>
  87. <respstdyempno/>
  88. <ordamtreqcnfmflag/>
  89. <orgsubjno/>
  90. <rcptdd/>
  91. <senddata/>
  92. </send>
  93. <init>
  94. <baseinfo>
  95. <instinfo>
  96. <instcd/>
  97. <hospnm/>
  98. </instinfo>
  99. </baseinfo>
  100. </init>
  101. </root>
  102. </instance>
  103. <submission id="TRICI03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  104. <submission id="TRICI03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/detllist"/>
  105. <submission id="TRICI03003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/excellist"/>
  106. <submission id="TXICI03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  107. <submission id="TXICI03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/excellist"/>
  108. <script type="javascript" ev:event="xforms-ready">
  109. <![CDATA[
  110. submit("TRIRZ00000");
  111. astfAddCombo("/root/init/baseinfo","instinfo","instcd,hospnm",",전체");
  112. model.setValue("/root/send/rcptstartdd", (((getCurrentDate()).toDate("YYYYMMDD")).getAddDate(-1,"M")).getDateFormat("YYYYMMDD"));
  113. model.setValue("/root/send/rcptenddd", getCurrentDate());
  114. button1.selected = true;
  115. model.toggle("case1");
  116. submit("TRICI03001");
  117. for ( var i = 0; i < datagrid1.rows; i++ ) {
  118. for ( var j =0; j <datagrid1.colRef("ordamtreqcnfmflag"); j++ ) {
  119. if ( model.getValue("/root/main/list/item["+ i +"]/ordamtreqcnfmflag") == 'Y' ) {
  120. datagrid1.isReadOnly(i, datagrid1.colRef("ordamtreqcnfmflag")) = true;
  121. datagrid1.isReadOnly(i, datagrid1.colRef("chk")) = true;
  122. datagrid1.rowStyle(i, "all", "background-color") = "#ffd799";
  123. }
  124. }
  125. }
  126. ]]>
  127. </script>
  128. <submission id="TRIRZ00000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init" replace="instance" resultref="/root/init/baseinfo"/>
  129. </model>
  130. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  131. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  132. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  133. <script type="javascript" src="../../../crc/clinicresearchweb/js/ZME00100.js"/>
  134. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  135. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  136. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  137. <script type="javascript">
  138. <![CDATA[
  139. function fCheck(){
  140. for ( var i = 1 ; i < datagrid3.rows; i++ ) {
  141. if ( model.getValue("/root/main/excellist/item[" + i + "]/subjno") == '') {
  142. messageBox("과제번호는", "I003");
  143. return false;
  144. }
  145. if ( model.getValue("/root/main/excellist/item[" + i + "]/instcd") == '') {
  146. messageBox("병원코드는", "I003");
  147. return false;
  148. }
  149. if ( model.getValue("/root/main/excellist/item[" + i + "]/reqyymm") == '' || (model.getValue("/root/main/excellist/item[" + i + "]/reqyymm")).length != 6 ) {
  150. messageBox("청구년월은", "I003");
  151. return false;
  152. }
  153. if ( model.getValue("/root/main/excellist/item[" + i + "]/reqseqno") == '') {
  154. messageBox("청구차수는", "I003");
  155. return false;
  156. }
  157. if ( model.getValue("/root/main/excellist/item[" + i + "]/pid") == '') {
  158. messageBox("환자ID는", "I003");
  159. return false;
  160. }
  161. if ( model.getValue("/root/main/excellist/item[" + i + "]/rcptdd") == '') {
  162. messageBox("영수증 처리일자는", "I003");
  163. return false;
  164. }
  165. if ( model.getValue("/root/main/excellist/item[" + i + "]/rcptseqno") == '') {
  166. messageBox("영수증 번호는", "I003");
  167. return false;
  168. }
  169. if ( model.getValue("/root/main/excellist/item[" + i + "]/seqno") == '') {
  170. messageBox("영수증번호별 일련번호는", "I003");
  171. return false;
  172. }
  173. if ( model.getValue("/root/main/excellist/item[" + i + "]/rcptstat") == '') {
  174. messageBox("수납상태는", "I003");
  175. return false;
  176. }
  177. if ( model.getValue("/root/main/excellist/item[" + i + "]/ordtype") == '') {
  178. messageBox("진료형태는", "I003");
  179. return false;
  180. }
  181. if ( model.getValue("/root/main/excellist/item[" + i + "]/orddd") == '') {
  182. messageBox("외래등록일자는", "I003");
  183. return false;
  184. }
  185. if ( model.getValue("/root/main/excellist/item[" + i + "]/uncorcptflag") == '') {
  186. messageBox("미수정산구분은", "I003");
  187. return false;
  188. }
  189. if ( model.getValue("/root/main/excellist/item[" + i + "]/uncocls") == '') {
  190. messageBox("미수분류는", "I003");
  191. return false;
  192. }
  193. if ( model.getValue("/root/main/excellist/item[" + i + "]/uncocd") == '') {
  194. messageBox("미수코드는", "I003");
  195. return false;
  196. }
  197. if ( model.getValue("/root/main/excellist/item[" + i + "]/uncoamt") == '') {
  198. messageBox("미수금액은", "I003");
  199. return false;
  200. }
  201. if ( model.getValue("/root/main/excellist/item[" + i + "]/rcptamt") == '') {
  202. messageBox("미수수납금액은", "I003");
  203. return false;
  204. }
  205. if ( model.getValue("/root/main/excellist/item[" + i + "]/debtamt") == '') {
  206. messageBox("대손처리금액은", "I003");
  207. return false;
  208. }
  209. }
  210. }
  211. ]]>
  212. </script>
  213. </xhtml:head>
  214. <xhtml:body guideline="2,801;">
  215. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:14px; ">
  216. <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">임상검사비</caption>
  217. </group>
  218. <switch id="switch1" style="left:0px; top:90px; width:1195px; height:690px; ">
  219. <case id="case1" selected="true">
  220. <datagrid id="datagrid1" nodeset="/root/main/list/item" caption="^해당병원^과제번호^과제명^청구년월^청구차수^시험책임자^검사일자^임상검사비예산^청구액^임상검사비잔액^수납확인^caption1^caption2^caption3^caption4^caption5" colsep="^" colwidth="35, 98, 101, 291, 89, 73, 72, 75, 100, 74, 100, 76, 38, 43, 35, 26, 25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:35px; width:1185px; height:650px; ">
  221. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  222. <col disabled="true" ref="instcd" type="combo" style="text-align:center; ">
  223. <choices>
  224. <itemset nodeset="/root/init/baseinfo/instinfo">
  225. <label ref="hospnm"/>
  226. <value ref="instcd"/>
  227. </itemset>
  228. </choices>
  229. </col>
  230. <col ref="orgsubjno"/>
  231. <col ref="subjnm"/>
  232. <col ref="reqyymm" format="yyyy-mm" style="text-align:center; "/>
  233. <col ref="reqseqno" style="text-align:right; "/>
  234. <col ref="usernm" style="text-align:center; "/>
  235. <col ref="rcptdd" format="yyyy-mm" style="text-align:center; "/>
  236. <col ref="bugt" format="(-)#,###" style="text-align:right; "/>
  237. <col ref="uncoamt" format="(-)#,###" style="text-align:right; "/>
  238. <col ref="bal" format="(-)#,###" style="text-align:right; "/>
  239. <col class="gridcombo" ref="ordamtreqcnfmflag" type="combo">
  240. <choices>
  241. <item>
  242. <label>확인</label>
  243. <value>Y</value>
  244. </item>
  245. <item>
  246. <label>미확인</label>
  247. <value>N</value>
  248. </item>
  249. </choices>
  250. </col>
  251. <col ref="depoamt" visibility="hidden"/>
  252. <col ref="apptot" visibility="hidden"/>
  253. <col ref="subjno" visibility="hidden"/>
  254. <col ref="subjid" visibility="hidden"/>
  255. <col ref="respstdyempno" visibility="hidden"/>
  256. <script type="javascript" ev:event="ondblclick">
  257. <![CDATA[
  258. model.setValue("/root/send/orgsubjno", model.getValue("/root/main/list/item["+ datagrid1.row +"]/orgsubjno"));
  259. model.setValue("/root/send/rcptdd", model.getValue("/root/main/list/item["+ datagrid1.row +"]/rcptdd"));
  260. submit("TRICI03002");
  261. model.toggle("case2");
  262. button3.selected = true;
  263. ]]>
  264. </script>
  265. <script type="javascript" ev:event="xforms-value-changed">
  266. <![CDATA[
  267. if ( datagrid1.col == datagrid1.colRef("ordamtreqcnfmflag") ) {
  268. model.setValue("/root/main/list/item["+ datagrid1.row +"]/chk", "Y");
  269. }
  270. model.refresh();
  271. ]]>
  272. </script>
  273. </datagrid>
  274. <caption id="caption2" class="tit_2" style="left:5px; top:15px; width:113px; height:13px; ">임사검사비 내역</caption>
  275. <line id="line2" class="line_1" style="x1:5px; y1:30px; x2:1190px; y2:30px; "/>
  276. <button id="button2" class="btn4_letter2" style="left:1130px; top:5px; width:56px; height:22px; ">
  277. <caption>저장</caption>
  278. <script type="javascript" ev:event="DOMActivate">
  279. <![CDATA[
  280. var message = "";
  281. for ( var i = 1; i < datagrid1.rows; i++ ) {
  282. if ( model.getValue("/root/main/list/item["+ i +"]/chk") == 'Y' ) {
  283. if ( parseInt(model.getValue("/root/main/list/item["+ i +"]/uncoamt")) > parseInt(model.getValue("/root/main/list/item["+ i +"]/bugt"))
  284. || parseInt(model.getValue("/root/main/list/item["+ i +"]/uncoamt")) > parseInt(model.getValue("/root/main/list/item["+ i +"]/bal"))
  285. || parseInt(model.getValue("/root/main/list/item["+ i+"]/uncoamt")) > parseInt(model.getValue("/root/main/list/item["+ i +"]/depobal")) ) {
  286. message += "★ 과제번호 : " + model.getValue("/root/main/list/item["+ i +"]/orgsubjno") + "\n";
  287. }
  288. }
  289. }
  290. if ( message != '' ) {
  291. if (messageBox( message + "\n" + "임상검사비 예산 혹은 잔액이 부족합니다.", "Q003") != 6 ){
  292. return;
  293. }
  294. }
  295. var nodeList = instance1.selectNodes("/root/main/list/item[chk='Y']");
  296. var rCSV = getNodeListCSV(nodeList);
  297. model.removeNodeset("/root/send/senddata");
  298. model.makeNode("/root/send/senddata");
  299. model.setValue("/root/send/senddata", rCSV);
  300. submit("TXICI03001");
  301. submit("TRICI03001");
  302. for ( var i = 0; i < datagrid1.rows; i++ ) {
  303. for ( var j =0; j <datagrid1.colRef("ordamtreqcnfmflag"); j++ ) {
  304. if ( model.getValue("/root/main/list/item["+ i +"]/ordamtreqcnfmflag") == 'Y' ) {
  305. datagrid1.isReadOnly(i, datagrid1.colRef("chk")) = true;
  306. datagrid1.isReadOnly(i, datagrid1.colRef("ordamtreqcnfmflag")) = true;
  307. datagrid1.rowStyle(i, "all", "background-color") = "#ffd799";
  308. }
  309. }
  310. }
  311. ]]>
  312. </script>
  313. </button>
  314. </case>
  315. <case id="case2">
  316. <caption id="caption1" class="tit_2" style="left:5px; top:15px; width:144px; height:14px; ">임상검사비 상세 내역</caption>
  317. <line id="line1" class="line_1" style="x1:5px; y1:30px; x2:1190px; y2:30px; "/>
  318. <datagrid id="datagrid2" nodeset="/root/main/detllist/item" caption="과제번호^일련번호^검사일자^진료과^진료의사^환자번호^수납일자^수납시간^청구금액" colsep="^" colwidth="111, 64, 100, 128, 88, 78, 86, 78, 83" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:35px; width:1185px; height:650px; ">
  319. <col ref="subjno"/>
  320. <col ref="subjnoseqno"/>
  321. <col ref="orddd" format="yyyy-mm-dd" style="text-align:right; "/>
  322. <col ref="orddeptcd"/>
  323. <col ref="orddrid" style="text-align:center; "/>
  324. <col ref="pid" style="text-align:center; "/>
  325. <col ref="rcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  326. <col ref="rcpttm" format="hh:nn:ss" style="text-align:center; "/>
  327. <col ref="uncoamt" format="#,###" style="text-align:right; "/>
  328. </datagrid>
  329. </case>
  330. <case id="case3">
  331. <caption id="caption3" class="tit_2" style="left:5px; top:15px; width:149px; height:14px; ">임사검사비 액샐 입력</caption>
  332. <line id="line4" class="line_1" style="x1:5px; y1:30px; x2:1190px; y2:30px; "/>
  333. <datagrid id="datagrid3" nodeset="/root/main/excellist/item" caption="과제번호^병원코드^청구년월^청구차수^환자ID^영수증처리일자^영수증번호^영수증일련번호^영수증번호별일련번호^수납상태^진료형태^외래등록일자^진료과코드^진료의^퇴원일자^보험유형^보조유형^미수정산구분^미수구분^미수코드^미수금액^미수수납금액^대손처리금액^종결여부^직원공제미수^수납수행일자^수납시간^수납자ID^적용사유^참고사항^진료비수납확인유무^subjnoseqno^flag" colsep="^" colwidth="110, 58, 79, 76, 72, 100, 79, 100, 135, 78, 74, 90, 86, 100, 90, 71, 70, 78, 75, 71, 100, 100, 100, 66, 100, 90, 80, 85, 100, 100, 119, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:35px; width:1185px; height:650px; ">
  334. <col ref="subjno" type="input" style="text-align:center; "/>
  335. <col ref="instcd" type="input" style="text-align:center; "/>
  336. <col ref="reqyymm" type="input" format="yyyy-mm" style="text-align:center; "/>
  337. <col ref="reqseqno" type="input" maxlength="2" style="text-align:right; "/>
  338. <col ref="pid" type="input" style="text-align:center; "/>
  339. <col ref="rcptdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  340. <col ref="rcptno" type="input" style="text-align:center; "/>
  341. <col ref="rcptseqno" type="input" style="text-align:center; "/>
  342. <col ref="seqno" type="input" style="text-align:center; "/>
  343. <col ref="rcptstat" type="input" style="text-align:center; "/>
  344. <col ref="ordtype" type="input" style="text-align:center; "/>
  345. <col ref="orddd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  346. <col ref="orddeptcd" type="input" style="text-align:center; "/>
  347. <col ref="orddrid" type="input" style="text-align:center; "/>
  348. <col ref="dschdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  349. <col ref="insukind" type="input" style="text-align:center; "/>
  350. <col ref="suppkind" type="input" style="text-align:center; "/>
  351. <col ref="uncorcptflag" type="input" style="text-align:center; "/>
  352. <col ref="uncocls" type="input" style="text-align:center; "/>
  353. <col ref="uncocd" type="input" style="text-align:center; "/>
  354. <col ref="uncoamt" type="input" format="(-)#,###" style="text-align:right; "/>
  355. <col ref="rcptamt" type="input" format="(-)#,###" style="text-align:right; "/>
  356. <col ref="debtamt" type="input" format="(-)#,###" style="text-align:right; "/>
  357. <col ref="endyn" type="input" style="text-align:center; "/>
  358. <col ref="empid" type="input" style="text-align:center; "/>
  359. <col ref="rcptexecdd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
  360. <col ref="rcpttm" type="input" format="hh:nn:ss" style="text-align:center; "/>
  361. <col ref="rcptrid" type="input" style="text-align:center; "/>
  362. <col ref="apprsn" type="input"/>
  363. <col ref="remfact" type="input"/>
  364. <col ref="ordamtreqcnfmflag" type="input" style="text-align:center; "/>
  365. <col ref="subjnoseqno" visibility="hidden"/>
  366. <col ref="flag" visibility="hidden"/>
  367. </datagrid>
  368. <button id="button5" class="btn2_letter4" style="left:1045px; top:8px; width:64px; height:19px; ">
  369. <caption>엑셀입력</caption>
  370. <script type="javascript" ev:event="DOMActivate">
  371. <![CDATA[
  372. datagrid3.rebuildStyle();
  373. var fileName = window.fileDialog("open", "|", true, "", "", "Excel Files(*.xls)|*.xls");
  374. datagrid3.loadExcel(fileName);
  375. for ( var i = datagrid3.fixedRows; i < datagrid3.rows; i++ ) {
  376. datagrid3.rowStatus(i) = 1;
  377. model.setValue("/root/main/excellist/item[" + i + "]/flag", "i");
  378. }
  379. datagrid3.refresh();
  380. ]]>
  381. </script>
  382. </button>
  383. <button id="button6" class="btn4_letter2" style="left:1120px; top:6px; width:56px; height:22px; ">
  384. <caption>저장</caption>
  385. <script type="javascript" ev:event="DOMActivate">
  386. <![CDATA[
  387. if ( fCheck() == false ) {
  388. return;
  389. }
  390. model.setValue("/root/send/senddata", datagrid3.getUpdateData());
  391. submit("TXICI03002");
  392. ]]>
  393. </script>
  394. </button>
  395. <button id="button7" class="btn2_letter3" style="left:925px; top:8px; width:53px; height:19px; ">
  396. <caption>행추가</caption>
  397. <script type="javascript" ev:event="DOMActivate">
  398. <![CDATA[
  399. datagrid3.addRow();
  400. model.setValue("/root/main/excellist/item[" + datagrid3.row + "]/flag", "i");
  401. datagrid3.refresh();
  402. ]]>
  403. </script>
  404. </button>
  405. <button id="button8" class="btn2_letter3" style="left:985px; top:8px; width:53px; height:19px; ">
  406. <caption>행삭제</caption>
  407. <script type="javascript" ev:event="DOMActivate">
  408. <![CDATA[
  409. //datagrid3.deleteRow(datagrid3.row);
  410. datagrid3.addStatus(datagrid3.row, "delete" );
  411. if ( model.getValue("/root/main/excellist/item[" + datagrid3.row + "]/flag") == 'i') {
  412. datagrid3.deleteRow(datagrid3.row);
  413. }
  414. ]]>
  415. </script>
  416. </button>
  417. </case>
  418. </switch>
  419. <button id="button1" class="btn_sw" group="tab" selected="true" style="left:100px; top:68px; width:115px; height:22px; ">
  420. <caption>임상검사비 내역</caption>
  421. <script type="javascript" ev:event="DOMActivate">
  422. <![CDATA[
  423. model.toggle("case1");
  424. button1.selected = true;
  425. submit("TRICI03001");
  426. ]]>
  427. </script>
  428. </button>
  429. <button id="button3" class="btn_sw" group="tab" selected="true" style="left:215px; top:68px; width:100px; height:22px; ">
  430. <caption>상세내역</caption>
  431. <script type="javascript" ev:event="DOMActivate">
  432. <![CDATA[
  433. model.toggle("case2");
  434. button3.selected = true;
  435. ]]>
  436. </script>
  437. </button>
  438. <group id="group1" style="left:0px; top:20px; width:1194px; height:35px; vertical-align:top; ">
  439. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  440. <button id="button4" class="btn1_letter2" navindex="4" style="left:1124px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  441. <caption>조회</caption>
  442. <script type="javascript" ev:event="DOMActivate">
  443. <![CDATA[
  444. if ( button1.selected == true ) {
  445. submit("TRICI03001");
  446. for ( var i = 0; i < datagrid1.rows; i++ ) {
  447. for ( var j =0; j <datagrid1.colRef("ordamtreqcnfmflag"); j++ ) {
  448. if ( model.getValue("/root/main/list/item["+ i +"]/ordamtreqcnfmflag") == 'Y' ) {
  449. datagrid1.isReadOnly(i, datagrid1.colRef("ordamtreqcnfmflag")) = true;
  450. datagrid1.isReadOnly(i, datagrid1.colRef("chk")) = true;
  451. datagrid1.rowStyle(i, "all", "background-color") = "#ffd799";
  452. }
  453. }
  454. }
  455. } else {
  456. submit("TRICI03003");
  457. }
  458. ]]>
  459. </script>
  460. </button>
  461. <caption id="caption7" class="search_name" style="left:15px; top:7; width:91px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">병원선택 :</caption>
  462. <select1 id="combo2" ref="/root/send/instcd" appearance="minimal" style="left:105px; top:7px; width:120px; height:19px; ">
  463. <choices>
  464. <itemset nodeset="/root/init/baseinfo/instinfo">
  465. <label ref="hospnm"/>
  466. <value ref="instcd"/>
  467. </itemset>
  468. </choices>
  469. </select1>
  470. <caption id="caption8" class="search_name" style="left:260px; top:7; width:130px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">연구비확인여부 :</caption>
  471. <caption id="caption9" class="search_name" style="left:510px; top:7px; width:91px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">검사일자 :</caption>
  472. <caption id="caption10" class="search_name" style="left:870px; top:7px; width:104px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">시험책임자 :</caption>
  473. <select1 id="combo3" ref="/root/send/ordamtreqcnfmflag" appearance="minimal" style="left:390px; top:7px; width:80px; height:19px; ">
  474. <choices>
  475. <item>
  476. <label>전체</label>
  477. <value/>
  478. </item>
  479. <item>
  480. <label>확인</label>
  481. <value>Y</value>
  482. </item>
  483. <item>
  484. <label>미확인</label>
  485. <value>N</value>
  486. </item>
  487. </choices>
  488. </select1>
  489. <input id="input1" ref="/root/send/rcptstartdd" inputtype="date" style="left:605px; top:7px; width:100px; height:19px; "/>
  490. <input id="input2" ref="/root/send/rcptenddd" inputtype="date" style="left:730px; top:7px; width:100px; height:19px; "/>
  491. <caption id="caption11" style="left:710px; top:7px; width:20px; height:20px; font-weight:bold; ">~</caption>
  492. <input id="input3" ref="/root/send/respstdyempno" style="left:975px; top:7px; width:100px; height:19px; "/>
  493. <line id="line3" class="line_4" style="x1:1105px; y1:5px; x2:1105px; y2:30px; "/>
  494. </group>
  495. <button id="button9" class="btn_sw" group="tab" selected="true" style="left:0px; top:68px; width:100px; height:22px; ">
  496. <caption>엑셀입력</caption>
  497. <script type="javascript" ev:event="DOMActivate">
  498. <![CDATA[
  499. model.toggle("case3");
  500. button9.selected = true;
  501. ]]>
  502. </script>
  503. </button>
  504. </xhtml:body>
  505. </xhtml:html>