SMPIE02000_산재지급결정통지서(I020)조회.xrw 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. 2011.04.12 / 최초작성 / 김상민
  4. -->
  5. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  6. <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">
  7. <xhtml:head>
  8. <xhtml:title>산재지급결정통지서(I020)조회</xhtml:title>
  9. <model id="model1">
  10. <instance id="instance1">
  11. <root xmlns="">
  12. <main>
  13. <grid>
  14. <gridlisti201>
  15. <i201/>
  16. </gridlisti201>
  17. <gridlisti202>
  18. <i202/>
  19. <gridlisti201detail>
  20. <clamcnt/>
  21. <clamamt/>
  22. <paycnt/>
  23. <payamt/>
  24. <adjtcnt/>
  25. <adjtamt/>
  26. <impsscnt/>
  27. <impssamt/>
  28. <retecnt/>
  29. <reteamt/>
  30. </gridlisti201detail>
  31. </gridlisti202>
  32. <gridlisti203>
  33. <i203/>
  34. </gridlisti203>
  35. </grid>
  36. </main>
  37. <send>
  38. <i201>
  39. <fromnotidd/>
  40. <tonotidd/>
  41. <clamno/>
  42. <acptno/>
  43. <cmpyflag/>
  44. </i201>
  45. <i202>
  46. <acptno/>
  47. <dg/>
  48. </i202>
  49. <i203>
  50. <acptno/>
  51. <dg/>
  52. <docuseqno/>
  53. </i203>
  54. <searchgridrow>
  55. <docuseqno/>
  56. <patnm/>
  57. </searchgridrow>
  58. </send>
  59. <init>
  60. <P0504list>
  61. <P0504>
  62. <cdid/>
  63. <cdnm/>
  64. </P0504>
  65. </P0504list>
  66. <P0505list>
  67. <P0505>
  68. <cdid/>
  69. <cdnm/>
  70. </P0505>
  71. </P0505list>
  72. </init>
  73. <hidden>
  74. </hidden>
  75. <popupdata>
  76. <popupmenu>
  77. <grd_i201>
  78. <item>
  79. <name>산재지급결정통지서 삭제</name>
  80. <func>fDeleteI020</func>
  81. </item>
  82. </grd_i201>
  83. </popupmenu>
  84. </popupdata>
  85. </root>
  86. </instance>
  87. <script type="javascript" ev:event="xforms-ready">
  88. <![CDATA[
  89. // 공통코드
  90. CommCode_Load();
  91. /*
  92. var fromacptym = model.getValue("/root/send/fromacptym");
  93. if (fromacptym != "") {
  94. submit("TRPIE01900");
  95. }
  96. else {
  97. // 초기화
  98. fInitialize();
  99. }
  100. */
  101. fInitialize();
  102. ]]>
  103. </script>
  104. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  105. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  106. <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" resultref="/root/init/clamdg"/>
  107. <submission id="TRPIE02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/i201" replace="instance" resultref="/root/main/grid/gridlisti201"/>
  108. <submission id="TRPIE02002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/i202" replace="instance" resultref="/root/main/grid/gridlisti202"/>
  109. <submission id="TRPIE02003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/i203" replace="instance" resultref="/root/main/grid/gridlisti203"/>
  110. </model>
  111. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  112. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  113. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  114. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  115. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  116. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  117. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  118. <script type="javascript" src="../../../com/instantmsgweb/js/ZMI001.js"/>
  119. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  120. <script type="javascript">
  121. <![CDATA[
  122. // 공통코드
  123. function CommCode_Load() {
  124. // P0272 접수구분(산재심결/지불결정)
  125. zbcfGetCodeList(new Array("P0504","P0505"),
  126. new Array("/root/init/P0504list","/root/init/P0505list"));
  127. model.refresh();
  128. }
  129. // 초기화
  130. function fInitialize() {
  131. var today = getCurrentDate();
  132. model.resetInstanceNode("/root/send");
  133. model.setValue("/root/send/i201/fromnotidd", today); // 시작일
  134. model.setValue("/root/send/i201/tonotidd", today); // 종료일
  135. ipt_clamno.value = "" // 청구번호
  136. ipt_acptno.value = "" // 접수번호
  137. model.setValue("/root/send/i201/cmpyflag", "-");
  138. // 그리드 공라인 없애기
  139. model.removeNodeset("/root/main/grid/gridlisti201");
  140. model.removeNodeset("/root/main/grid/gridlisti202");
  141. model.removeNodeset("/root/main/grid/gridlisti203");
  142. model.refresh();
  143. // 포커스 이동
  144. model.setFocus("ipt_fromnotidd");
  145. }
  146. function fSearch(){
  147. if ((ipt_fromnotidd.currentText == "" && ipt_clamno.currentText == "" && ipt_acptno.currentText == "") ||
  148. (ipt_tonotidd.currentText == "" && ipt_clamno.currentText == "" && ipt_acptno.currentText == "")) {
  149. messageBox("[기간 ]또는 [청구번호/접수번호]를","C001");
  150. }
  151. else {
  152. // 그리드 공라인 없애기
  153. model.removeNodeset("/root/main/grid/gridlisti201");
  154. model.removeNodeset("/root/main/grid/gridlisti202");
  155. model.removeNodeset("/root/main/grid/gridlisti203");
  156. model.resetInstanceNode("/root/main/grid/gridlisti202/gridlisti201detail");
  157. submit("TRPIE02001");
  158. fSearch_Step();
  159. }
  160. model.refresh();
  161. }
  162. function fSearch_Step() {
  163. var rtn = null;
  164. if (grd_i201.rows > 1) {
  165. var selectedrow = 1; // 무조건 첫번째 선택한 row를 날린다.
  166. grd_i201.isSelected(selectedrow) = true;
  167. var acptno = grd_i201.valueMatrix(selectedrow, grd_i201.colRef("acptno")); // 접수번호
  168. var dg = grd_i201.valueMatrix(selectedrow, grd_i201.colRef("dg")); // 차수
  169. model.setValue("/root/send/i202/acptno",acptno);
  170. model.setValue("/root/send/i202/dg",dg);
  171. rtn = submit("TRPIE02002");
  172. }
  173. var rtn = null;
  174. if (grd_i202.rows > 1) {
  175. var selectedrow = 1; // 무조건 첫번째 선택한 row를 날린다.
  176. grd_i202.isSelected(selectedrow) = true;
  177. grd_i202.row = selectedrow;
  178. var acptno = grd_i202.valueMatrix(selectedrow, grd_i202.colRef("acptno")); // 접수번호
  179. var dg = grd_i202.valueMatrix(selectedrow, grd_i202.colRef("dg")); // 차수
  180. var docuseqno = grd_i202.valueMatrix(selectedrow, grd_i202.colRef("docuseqno")); // 명일련
  181. model.setValue("/root/send/i203/acptno",acptno);
  182. model.setValue("/root/send/i203/dg",dg);
  183. model.setValue("/root/send/i203/docuseqno",docuseqno);
  184. rtn = submit("TRPIE02003");
  185. }
  186. }
  187. // 청구년월 차수 기간 체크
  188. function fChkClamym()
  189. {
  190. var fromym = model.getValue("/root/send/fromacptym");
  191. var toym = model.getValue("/root/send/toacptym");
  192. var check = model.getValue("/root/send/termflag");
  193. if(check == "2"){
  194. if ( fromym != toym ){
  195. cmb_clamdgfrom.value = "";
  196. cmb_clamdgto.value = "";
  197. cmb_clamdgfrom.disabled = true;
  198. cmb_clamdgto.disabled = true;
  199. }else{
  200. cmb_clamdgfrom.disabled = false;
  201. cmb_clamdgto.disabled = false;
  202. cmb_clamdgfrom.select(0);
  203. cmb_clamdgto.select(0);
  204. }
  205. cmb_clamdgto.refresh();
  206. cmb_clamdgfrom.refresh();
  207. }
  208. }
  209. function fDeleteI020(){
  210. if (grd_i201.row >= grd_i201.fixedRows ) {
  211. // 1. 삭제할 접수반송증 데이터를 만든다.
  212. var rows = grd_i201.selectedRows;
  213. var cnt = 1;
  214. for (var i = 0; i < rows; i++) {
  215. var sel = grd_i201.selectedRow(i);
  216. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/openflag", "i020");
  217. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/rsrvflag", "Y");
  218. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/uncoflag", "Y");
  219. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/cutflag", "Y");
  220. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/judgdg", model.getValue("root/main/grid/gridlisti201/i201[" + sel + "]/dg"));
  221. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/acptno", model.getValue("/root/main/grid/gridlisti201/i201[" + sel + "]/acptno"));
  222. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/acptseqno", model.getValue("/root/main/grid/gridlisti201/i201[" + sel + "]/acptseqno"));
  223. model.makeValue("/root/hidden/sppie00810/list/data[" + cnt + "]/clamno", model.getValue("/root/main/grid/gridlisti201/i201[" + sel + "]/clamno"));
  224. cnt++;
  225. }
  226. // 2. 수신테이블 삭제 팝업 호출
  227. modal("SPPIE00810", "", "10", "10", "SPPIE00810", "/root/hidden/sppie00810" ,"/root/main", "", "");
  228. fSearch();
  229. }
  230. }
  231. ]]>
  232. </script>
  233. </xhtml:head>
  234. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  235. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  236. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">산재지급결정통지서(I020)조회</caption>
  237. </group>
  238. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  239. <group id="group5" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
  240. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  241. <caption id="caption30" class="search_name" style="left:315px; top:21px; width:90px; height:17px; ">접수번호 :</caption>
  242. <caption id="caption31" style="left:188px; top:22px; width:15px; height:15px; ">~</caption>
  243. <button id="btn_research" class="btn1_letter2" navindex="9" style="left:1123px; top:19px; width:56px; height:22px; ">
  244. <caption>조회</caption>
  245. <script type="javascript" ev:event="DOMActivate">
  246. <![CDATA[
  247. fSearch();
  248. ]]>
  249. </script>
  250. </button>
  251. <line id="line26" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:54px; border-color:#ffe4bb; border-left-style:solid; "/>
  252. <caption id="caption34" class="search_name" style="left:776px; top:21px; width:90px; height:17px; ">사업구분 :</caption>
  253. <caption id="caption35" class="search_name" style="left:540px; top:21px; width:90px; height:17px; ">청구번호 :</caption>
  254. <input id="ipt_clamno" ref="/root/send/i201/clamno" class="input_search" navindex="5" imemode="disabled" maxlength="12" style="left:630px; top:21px; width:100px; height:19px; "/>
  255. <select1 id="cmb_cmpyflag" ref="/root/send/i201/cmpyflag" class="combo_search" navindex="4" appearance="minimal" style="left:865px; top:21px; width:100px; height:19px; ">
  256. <choices>
  257. <itemset nodeset="/root/init/P0504list/P0504">
  258. <label ref="cdnm"/>
  259. <value ref="cdid"/>
  260. </itemset>
  261. </choices>
  262. </select1>
  263. <input id="ipt_tonotidd" ref="/root/send/i201/tonotidd" class="input_search" navindex="3" inputtype="date" style="left:202px; top:21px; width:85px; height:19px; ">
  264. <script type="javascript" ev:event="xforms-value-changed">
  265. <![CDATA[
  266. ]]>
  267. </script>
  268. </input>
  269. <input id="ipt_fromnotidd" ref="/root/send/i201/fromnotidd" class="input_search" navindex="2" inputtype="date" style="left:99px; top:21px; width:85px; height:19px; ">
  270. <script type="javascript" ev:event="xforms-value-changed">
  271. <![CDATA[
  272. ]]>
  273. </script>
  274. </input>
  275. <caption id="cap_toacptym" class="search_name" style="left:5px; top:22px; width:112px; height:17px; ">통지일자 :</caption>
  276. <input id="ipt_acptno" ref="/root/send/i201/acptno" class="input_search" navindex="6" imemode="disabled" maxlength="15" style="left:405px; top:21px; width:100px; height:19px; ">
  277. <script type="javascript" ev:event="onkeypress">
  278. <![CDATA[
  279. if (event.keyCode == "13") {
  280. setInputNodeCurText();
  281. fSearch();
  282. }
  283. ]]>
  284. </script>
  285. </input>
  286. </group>
  287. <caption id="cap_i201" class="tit_2" style="left:5px; top:80px; width:70px; height:14px; ">I020.1</caption>
  288. <button id="btn_i201excel" class="btn2_letter4" navindex="10" style="left:1081px; top:75px; width:64px; height:19px; ">
  289. <caption>엑셀저장</caption>
  290. <script type="javascript" ev:event="DOMActivate">
  291. <![CDATA[
  292. var today = getCurrentDate(); // 엑셀파일이름에오늘날짜를 넣기위해 받아옴
  293. // 그리드 제목을 선택하면 저장이 안된다.
  294. if (grd_i201.rows == 1) {
  295. return;
  296. }
  297. var fileName = window.fileDialog("save", ",", false, "I020.1_산재지급결정통지서(청구서)_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  298. if (fileName != "")
  299. {
  300. grd_i201.saveExcel(fileName, "SheetName", true, true, "", "", "");
  301. }
  302. ]]>
  303. </script>
  304. </button>
  305. <line id="line_i201" class="line_1" style="x1:1px; y1:95px; x2:1193px; y2:95px; "/>
  306. <datagrid id="grd_i201" nodeset="/root/main/grid/gridlisti201/i201" caption="접수번호^차수^서식번호^청구기관코드^사업구분^발송번호^청구번호^접수일자^통지일자^개산지급일자^소득세^주민세^공제총액^지급결정액^실지급액^개산지급액^정산차액^분할내역^통지사항^acptseqno" colsep="^" colwidth="120, 50, 100, 85, 120, 90, 100, 85, 85, 85, 100, 100, 100, 100, 100, 100, 100, 100, 300, 100" dataheight="23" defaultrows="2" ellipsis="true" explorerbar="sortshowmove" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="35" rowsep="|" navindex="12" style="left:0px; top:100px; width:1194px; height:245px; ">
  307. <col ref="acptno" type="input" style="left:0px; top:23px; width:83px; height:23px; text-align:center; "/>
  308. <col ref="dg" style="text-align:center; "/>
  309. <col ref="docuno" style="text-align:center; "/>
  310. <col ref="healcareinstcd" style="text-align:center; "/>
  311. <col ref="cmpyflag" type="combo" style="text-align:center; ">
  312. <choices>
  313. <itemset nodeset="/root/init/P0504list/P0504">
  314. <label ref="cdnm"/>
  315. <value ref="cdid"/>
  316. </itemset>
  317. </choices>
  318. </col>
  319. <col ref="sendno" style="text-align:center; "/>
  320. <col ref="clamno" style="text-align:center; "/>
  321. <col ref="acptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  322. <col ref="notidd" format="yyyy-mm-dd" style="text-align:center; "/>
  323. <col ref="calcpaydd" format="yyyy-mm-dd" style="text-align:center; "/>
  324. <col ref="incmtax" format="(-)#,###" style="text-align:right; "/>
  325. <col ref="resdntax" format="(-)#,###" style="text-align:right; "/>
  326. <col ref="dedutotamt" format="(-)#,###" style="text-align:right; "/>
  327. <col ref="pdeciamt" format="(-)#,###" style="text-align:right; "/>
  328. <col ref="orgpayamt" format="(-)#,###" style="text-align:right; "/>
  329. <col ref="calcpayamt" format="(-)#,###" style="text-align:right; "/>
  330. <col ref="calcdiffamt" format="(-)#,###" style="text-align:right; "/>
  331. <col ref="midspec" style="text-align:right; "/>
  332. <col ref="notifact" style="text-align:right; "/>
  333. <col ref="acptseqno" visibility="hidden"/>
  334. <script type="javascript" ev:event="onclick">
  335. <![CDATA[
  336. model.resetInstanceNode("/root/main/grid/gridlisti203/i203");
  337. var rtn = null;
  338. if (grd_i201.isCell(event.target) && grd_i201.row >= grd_i201.fixedRows) {
  339. var selectedrow = grd_i201.selectedRow(0); // 무조건 첫번째 선택한 row를 날린다.
  340. var acptno = grd_i201.valueMatrix(selectedrow, grd_i201.colRef("acptno")); // 접수번호
  341. var dg = grd_i201.valueMatrix(selectedrow, grd_i201.colRef("dg")); // 차수
  342. model.setValue("/root/send/i202/acptno",acptno);
  343. model.setValue("/root/send/i202/dg",dg);
  344. rtn = submit("TRPIE02002");
  345. if (grd_i202.rows > 1) {
  346. var selectedrow = 1; // 무조건 첫번째 선택한 row를 날린다.
  347. grd_i202.isSelected(selectedrow) = true;
  348. grd_i202.row = selectedrow;
  349. var acptno = grd_i202.valueMatrix(selectedrow, grd_i202.colRef("acptno")); // 접수번호
  350. var dg = grd_i202.valueMatrix(selectedrow, grd_i202.colRef("dg")); // 차수
  351. var docuseqno = grd_i202.valueMatrix(selectedrow, grd_i202.colRef("docuseqno")); // 명일련
  352. model.setValue("/root/send/i203/acptno",acptno);
  353. model.setValue("/root/send/i203/dg",dg);
  354. model.setValue("/root/send/i203/docuseqno",docuseqno);
  355. rtn = submit("TRPIE02003");
  356. }
  357. }
  358. ]]>
  359. </script>
  360. <script type="javascript" ev:event="oncopy">
  361. <![CDATA[
  362. grid_oncopy();
  363. ]]>
  364. </script>
  365. <script type="javascript" ev:event="onaftersort">
  366. <![CDATA[
  367. grd_i201.gridToInstance(); // Sort 된 Grid 상의 Data 순서와 Instance Node 상의 Data 순서를 동일하게 맞춰준다.
  368. ]]>
  369. </script>
  370. <script type="javascript" ev:event="onmousedown">
  371. <![CDATA[
  372. if (event.button == 3) { // 3 : 오른쪽 버튼
  373. if (grd_i201.isCell(event.target) && grd_i201.mouseRow >= grd_i201.fixedrows) {
  374. setPopupMenu("grd_i201", false, "/root/popupdata/popupmenu/grd_i201/item", "name", "func"); // (tfHelper.js) 컨트롤에서 사용자 팝업 설정 함수
  375. }
  376. }
  377. ]]>
  378. </script>
  379. </datagrid>
  380. <caption id="cap_i202" class="tit_2" style="left:300px; top:359px; width:70px; height:14px; ">I020.2</caption>
  381. <button id="btn_i202excel" class="btn2_letter4" navindex="13" style="left:1125px; top:354px; width:64px; height:19px; ">
  382. <caption>엑셀저장</caption>
  383. <script type="javascript" ev:event="DOMActivate">
  384. <![CDATA[
  385. var today = getCurrentDate(); // 엑셀파일이름에오늘날짜를 넣기위해 받아옴
  386. // 그리드 제목을 선택하면 저장이 안된다.
  387. if (grd_i202.rows == 1) {
  388. return;
  389. }
  390. var fileName = window.fileDialog("save", ",", false, "I020.2_산재지급결정통지서(명세서)_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  391. if (fileName != "")
  392. {
  393. grd_i202.saveExcel(fileName, "SheetName", true, true, "", "", "");
  394. }
  395. ]]>
  396. </script>
  397. </button>
  398. <line id="line_i202" class="line_1" style="x1:295px; y1:374px; x2:1194px; y2:374px; "/>
  399. <datagrid id="grd_i202" nodeset="/root/main/grid/gridlisti202/i202" caption="접수번호^차수^명일련^산재근로자성명^진료구분^재해발생일자^진료기간^청구액^조정액^지급액^불능액^보류액^실진료일수^불능사유^통지사유^통지사항" colsep="^" colwidth="100, 100, 80, 100, 89, 110, 120, 110, 100, 100, 100, 100, 100, 120, 250" dataheight="23" defaultrows="2" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="35" rowsep="|" navindex="15" style="left:295px; top:379px; width:899px; height:177px; ">
  400. <col ref="acptno" type="input" style="text-align:center; "/>
  401. <col ref="dg" style="text-align:center; "/>
  402. <col ref="docuseqno" style="text-align:center; "/>
  403. <col ref="inducswknm" style="text-align:center; "/>
  404. <col ref="ordfalg" style="text-align:center; "/>
  405. <col ref="accdntdd" style="text-align:center; "/>
  406. <col ref="ordterm" style="text-align:center; "/>
  407. <col ref="clamamt" format="(-)#,###" style="text-align:right; "/>
  408. <col ref="adjtamt" format="(-)#,###" style="text-align:right; "/>
  409. <col ref="payamt" format="(-)#,###" style="text-align:right; "/>
  410. <col ref="impssamt" format="(-)#,###" style="text-align:right; "/>
  411. <col ref="reteamt" format="(-)#,###" style="text-align:right; "/>
  412. <col ref="realorddays" style="text-align:center; "/>
  413. <col ref="impssresn" style="text-align:left; "/>
  414. <col ref="notifact" style="text-align:left; "/>
  415. <script type="javascript" ev:event="onclick">
  416. <![CDATA[
  417. var rtn = null;
  418. if (grd_i202.isCell(event.target) && grd_i202.row >= grd_i202.fixedRows) {
  419. var selectedrow = grd_i202.selectedRow(0); // 무조건 첫번째 선택한 row를 날린다.
  420. var acptno = grd_i202.valueMatrix(selectedrow, grd_i202.colRef("acptno")); // 접수번호
  421. var dg = grd_i202.valueMatrix(selectedrow, grd_i202.colRef("dg")); // 차수
  422. var docuseqno = grd_i202.valueMatrix(selectedrow, grd_i202.colRef("docuseqno")); // 명일련
  423. model.setValue("/root/send/i203/acptno",acptno);
  424. model.setValue("/root/send/i203/dg",dg);
  425. model.setValue("/root/send/i203/docuseqno",docuseqno);
  426. rtn = submit("TRPIE02003");
  427. }
  428. ]]>
  429. </script>
  430. <script type="javascript" ev:event="oncopy">
  431. <![CDATA[
  432. grid_oncopy();
  433. ]]>
  434. </script>
  435. </datagrid>
  436. <caption id="cap_i203" class="tit_2" style="left:295px; top:564px; width:70px; height:14px; ">I020.3</caption>
  437. <line id="line_i203" class="line_1" style="x1:295px; y1:579px; x2:1194px; y2:579px; "/>
  438. <datagrid id="grd_i203" nodeset="/root/main/grid/gridlisti203/i203" caption="줄번호^항목번호^코드구분^코드^코드명^정정코드^정정코드명^단가^정정단가^수량^인정수량^일수^인정일수^총인정수량^금액^조정금액^조정불능코드^조정사유" colsep="^" colwidth="61, 75, 80, 100, 120, 100, 120, 100, 100, 65, 65, 65, 65, 70, 100, 100, 100, 204" dataheight="23" defaultrows="2" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="35" rowsep="|" navindex="17" style="left:295px; top:584px; width:899px; height:154px; ">
  439. <col ref="lnno" style="text-align:center; "/>
  440. <col ref="item" style="text-align:center; "/>
  441. <col ref="cdflag" style="text-align:center; "/>
  442. <col ref="cd" style="text-align:center; "/>
  443. <col ref="cdnm" style="text-align:center; "/>
  444. <col ref="crrctncd" style="text-align:center; "/>
  445. <col ref="crrctnnm" style="text-align:center; "/>
  446. <col ref="unitcost" format="#,###.##" style="text-align:right; "/>
  447. <col ref="crrctcost" format="#,###.##" style="text-align:right; "/>
  448. <col ref="qty" format="#,###.##" style="text-align:center; "/>
  449. <col ref="rcogqty" format="#,###.##" style="text-align:center; "/>
  450. <col ref="dayno" style="text-align:center; "/>
  451. <col ref="rcogdayno" style="text-align:center; "/>
  452. <col ref="totrcogqty" format="#,###.##" style="text-align:center; "/>
  453. <col ref="amt" format="#,###" style="text-align:right; "/>
  454. <col ref="adjtamt" format="#,###" style="text-align:right; "/>
  455. <col ref="adjimpsscd" type="combo" style="text-align:center; ">
  456. <choices>
  457. <itemset nodeset="/root/init/P0505list/P0505">
  458. <label ref="cdnm"/>
  459. <value ref="cdid"/>
  460. </itemset>
  461. </choices>
  462. </col>
  463. <col ref="impssresn" style="text-align:left; "/>
  464. <script type="javascript" ev:event="oncopy">
  465. <![CDATA[
  466. grid_oncopy();
  467. ]]>
  468. </script>
  469. </datagrid>
  470. <caption id="cap_i201detail" class="tit_2" style="left:5px; top:359px; width:70px; height:14px; ">I020.1</caption>
  471. <line id="line_i201detail" class="line_1" style="x1:3px; y1:373px; x2:285px; y2:373px; "/>
  472. <caption id="cap_detail1" class="cell_1" style="left:3px; top:378px; width:129px; height:23px; vertical-align:middle; "/>
  473. <caption id="cap_detailcnt" class="cell_1" style="left:134px; top:378px; width:58px; height:23px; text-align:center; vertical-align:middle; ">건수</caption>
  474. <caption id="cap_detailamt" class="cell_1" style="left:193px; top:378px; width:91px; height:23px; text-align:center; vertical-align:middle; ">금액</caption>
  475. <line id="line_detail" class="line_2" style="x1:3px; y1:400px; x2:285px; y2:400px; "/>
  476. <caption id="cap_detailclam" class="cell_1" style="left:3px; top:402px; width:129px; height:23px; text-align:left; vertical-align:middle; ">청구</caption>
  477. <input id="ipt_clamcnt" ref="/root/main/grid/gridlisti202/gridlisti201detail/clamcnt" class="input_default" navindex="18" style="left:134px; top:404px; width:58px; height:19px; text-align:right; "/>
  478. <input id="ipt_clamamt" ref="/root/main/grid/gridlisti202/gridlisti201detail/clamamt" class="input_default" navindex="19" format="#,###" style="left:193px; top:404px; width:92px; height:19px; text-align:right; "/>
  479. <line id="line_clam" class="line_2" style="x1:3px; y1:425px; x2:284px; y2:425px; "/>
  480. <caption id="cap_detailjudgspec" class="cell_1" style="left:3px; top:427px; width:129px; height:23px; vertical-align:middle; ">지급</caption>
  481. <input id="ipt_paycnt" ref="/root/main/grid/gridlisti202/gridlisti201detail/paycnt" class="input_default" navindex="20" style="left:134px; top:429px; width:58px; height:19px; text-align:right; "/>
  482. <input id="ipt_payamt" ref="/root/main/grid/gridlisti202/gridlisti201detail/payamt" class="input_default" navindex="21" format="#,###" style="left:193px; top:429px; width:92px; height:19px; text-align:right; "/>
  483. <line id="line_judgspec" class="line_2" style="x1:3px; y1:450px; x2:284px; y2:450px; "/>
  484. <caption id="cap_detailpimpsi" class="cell_1" style="left:3px; top:452px; width:129px; height:23px; vertical-align:middle; ">조정</caption>
  485. <input id="ipt_adjtcnt" ref="/root/main/grid/gridlisti202/gridlisti201detail/adjtcnt" class="input_default" navindex="22" style="left:134px; top:454px; width:58px; height:19px; text-align:right; background-color:#ff99cc; "/>
  486. <input id="ipt_adjtamt" ref="/root/main/grid/gridlisti202/gridlisti201detail/adjtamt" class="input_default" navindex="23" format="#,###" style="left:193px; top:454px; width:92px; height:19px; text-align:right; background-color:#ff99cc; "/>
  487. <line id="line_pimpsi" class="line_2" style="x1:3px; y1:475px; x2:284px; y2:475px; "/>
  488. <caption id="cap_detailprete" class="cell_1" style="left:3px; top:477px; width:129px; height:23px; vertical-align:middle; ">불능</caption>
  489. <input id="ipt_impsscnt" ref="/root/main/grid/gridlisti202/gridlisti201detail/impsscnt" class="input_default" navindex="24" style="left:134px; top:479px; width:58px; height:19px; text-align:right; "/>
  490. <input id="ipt_impssamt" ref="/root/main/grid/gridlisti202/gridlisti201detail/impssamt" class="input_default" navindex="25" format="#,###" style="left:193px; top:479px; width:92px; height:19px; text-align:right; "/>
  491. <line id="line_prete" class="line_2" style="x1:3px; y1:500px; x2:284px; y2:500px; "/>
  492. <caption id="cap_detailcutfact" class="cell_1" style="left:3px; top:502px; width:129px; height:23px; vertical-align:middle; ">보류</caption>
  493. <input id="ipt_retecnt" ref="/root/main/grid/gridlisti202/gridlisti201detail/retecnt" class="input_default" navindex="26" style="left:134px; top:504px; width:58px; height:19px; text-align:right; background-color:#ff99cc; "/>
  494. <input id="ipt_reteamt" ref="/root/main/grid/gridlisti202/gridlisti201detail/reteamt" class="input_default" navindex="27" format="#,###" style="left:193px; top:504px; width:92px; height:19px; text-align:right; background-color:#ff99cc; "/>
  495. <line id="line_cutfact" class="line_2" style="x1:3px; y1:525px; x2:284px; y2:525px; "/>
  496. <line id="line_pdeci" class="line_2" style="x1:3px; y1:525px; x2:284px; y2:525px; "/>
  497. <line id="line_cutrate" class="line_3" style="x1:3px; y1:526px; x2:285px; y2:526px; "/>
  498. <button id="button10" class="btn2_letter3" style="left:970px; top:75px; width:53px; height:19px; ">
  499. <caption>열카피</caption>
  500. <script type="javascript" ev:event="onclick">
  501. <![CDATA[
  502. grd_i201.attribute("selectionmode") = "bycol";
  503. grd_i202.attribute("selectionmode") = "bycol";
  504. grd_i203.attribute("selectionmode") = "bycol";
  505. ]]>
  506. </script>
  507. </button>
  508. <button id="button11" class="btn2_letter3" style="left:1025px; top:75px; width:53px; height:19px; ">
  509. <caption>행카피</caption>
  510. <script type="javascript" ev:event="onclick">
  511. <![CDATA[
  512. grd_i201.attribute("selectionmode") = "byrow";
  513. grd_i202.attribute("selectionmode") = "byrow";
  514. grd_i203.attribute("selectionmode") = "byrow";
  515. ]]>
  516. </script>
  517. </button>
  518. <button id="button13" class="btn2_letter3" style="left:915px; top:75px; width:53px; height:19px; ">
  519. <caption>셀카피</caption>
  520. <script type="javascript" ev:event="onclick">
  521. <![CDATA[
  522. grd_i201.attribute("selectionmode") = "free";
  523. grd_i202.attribute("selectionmode") = "free";
  524. grd_i203.attribute("selectionmode") = "free";
  525. ]]>
  526. </script>
  527. </button>
  528. <button id="button5" class="btn2_letter2" navindex="14" style="left:1147px; top:75px; width:42px; height:19px; ">
  529. <caption>출력</caption>
  530. <script type="javascript" ev:event="DOMActivate">
  531. <![CDATA[
  532. exeReportPreview("RPPIE02000", "XMLSTR", "","", "false","","","","","false");
  533. ]]>
  534. </script>
  535. </button>
  536. </group>
  537. <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  538. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  539. </group>
  540. </xhtml:body>
  541. </xhtml:html>