SMRWY00100_전근무지자료등록.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  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. <bfdutplceempl>
  11. <emplinfolist>
  12. <emplno/>
  13. <emplnm/>
  14. <rregno/>
  15. <instnm/>
  16. <deptnm/>
  17. <grupjoblnnm/>
  18. <jobposnm/>
  19. <ojobgradnm/>
  20. <payclsnm/>
  21. <entcodd/>
  22. <retiredd/>
  23. <calcyy/>
  24. </emplinfolist>
  25. </bfdutplceempl>
  26. <bfdutplceform>
  27. <bfdutplceformlist>
  28. <emplno/>
  29. <emplnm/>
  30. <entrregno/>
  31. <trdnm/>
  32. <entcodd/>
  33. <retiredd/>
  34. <calcseq/>
  35. <calcyy/>
  36. <retireyn/>
  37. <selectcheck/>
  38. </bfdutplceformlist>
  39. </bfdutplceform>
  40. <bfdutplcedetail>
  41. <bfdutplcedetaillist>
  42. <calcflagnm/>
  43. <calcamt/>
  44. <emplno/>
  45. <entrregno/>
  46. <calcyy/>
  47. <calcflagcd/>
  48. <calcseq/>
  49. </bfdutplcedetaillist>
  50. </bfdutplcedetail>
  51. </main>
  52. <send>
  53. <save>
  54. <bfdutplceformlist/>
  55. <bfdutplcedetaillist/>
  56. </save>
  57. <searchfrorm>
  58. <emplno/>
  59. <emplnm/>
  60. <estbddstart/>
  61. <estbddend/>
  62. <calcyy/>
  63. <retireyn>Y</retireyn>
  64. <calcinst/>
  65. </searchfrorm>
  66. <bfdutplceempl>
  67. <emplno/>
  68. <calcyy/>
  69. <emplnm/>
  70. <retireyn/>
  71. </bfdutplceempl>
  72. <bfdutplceform>
  73. <emplno/>
  74. <entrregno/>
  75. <calcyy/>
  76. <calcseq/>
  77. <seqno/>
  78. </bfdutplceform>
  79. <calcflagsend>
  80. <calcyy/>
  81. <emplno/>
  82. <entrregno/>
  83. <calcseq/>
  84. </calcflagsend>
  85. </send>
  86. <init>
  87. </init>
  88. <temp/>
  89. </root>
  90. </instance>
  91. <script type="javascript" ev:event="xforms-ready">
  92. <![CDATA[
  93. fInitialize();
  94. fEnableInsertButton();
  95. misfGridInit(grd_emplinfolist);
  96. misfGridInit(grd_bfdutplceformlist);
  97. misfGridInit(grd_bfdutplcedetaillist);
  98. misfMsterDetailSet(grd_emplinfolist,null,"TRRWY00101","N");
  99. misfMsterDetailSet(grd_bfdutplceformlist,grd_emplinfolist, "TRRWY00102","Y" );
  100. misfMsterDetailSet(grd_bfdutplcedetaillist,grd_emplinfolist, "TRRWY00103","Y" );
  101. //btn_search.dispatch("DOMActivate");
  102. misfGetUserAuth();
  103. if (DUTY_PAY_YN == "Y" ) {
  104. cmb_calcinst.disabled = false;
  105. }
  106. else {
  107. cmb_calcinst.disabled = true;
  108. }
  109. model.refresh();
  110. btn_save.disabled = !(checkAuth("X"));
  111. //misfComboComCdListMulti("Z0007,R0099,R0112,R0130","cmb_instcd,cmb_paydeduflag,cmb_SalDfrayFlag,grd_paydedulist.timsamtflag");
  112. ]]>
  113. </script>
  114. <submission id="TRRWY00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchfrorm" resultref="/root/main/bfdutplceempl"/>
  115. <submission id="TXRWY00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  116. <submission id="TRRWY00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/bfdutplceempl" resultref="/root/main/bfdutplceform"/>
  117. <submission id="TRRWY00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/bfdutplceform" resultref="/root/main/bfdutplcedetail"/>
  118. <submission id="TRRWY00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/calcflagsend" resultref="/root/main/bfdutplcedetail"/>
  119. </model>
  120. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  121. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  122. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  123. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  124. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  125. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  126. <script type="javascript">
  127. <![CDATA[
  128. function fInitialize() {
  129. model.removeNodeset("/root/main/bfdutplceempl");
  130. model.removeNodeset("/root/main/bfdutplceform");
  131. model.removeNodeset("/root/main/bfdutplcedetail");
  132. model.setValue(cmb_calcinst.attribute("ref"), getUserInfo("dutplceinstcd"));
  133. misfComboInstCdListMulti("cmb_calcinst",getCurrentDate(),"","N");
  134. //model.resetInstanceNode("/root/send");
  135. var nowdate = getCurrentDate();
  136. var yy = nowdate.substring(0,4);
  137. model.refresh();
  138. ipt_calcyy.value =yy;
  139. }
  140. function fEnableInsertButton() {
  141. btn_insert.disabled = true;
  142. btn_delete.disabled = true;
  143. }
  144. function fSaveCheck(){
  145. var cur_row=grd_bfdutplceformlist.row ;
  146. var calcyy= grd_bfdutplceformlist.valueMatrix(cur_row, grd_bfdutplceformlist.colRef("calcyy"));
  147. var emplno=grd_bfdutplceformlist.valueMatrix(cur_row, grd_bfdutplceformlist.colRef("emplno"));
  148. var entrregno=grd_bfdutplceformlist.valueMatrix(cur_row, grd_bfdutplceformlist.colRef("entrregno"));
  149. var calcseq=grd_bfdutplceformlist.valueMatrix(cur_row, grd_bfdutplceformlist.colRef("calcseq"));
  150. var seqno = grd_bfdutplceformlist.valueMatrix(cur_row, grd_bfdutplceformlist.colRef("seqno"));
  151. for(i= grd_bfdutplcedetaillist.fixedRows; i < grd_bfdutplcedetaillist.rows;i++){
  152. grd_bfdutplcedetaillist.valueMatrix(i, grd_bfdutplcedetaillist.colRef("calcyy")) = calcyy;
  153. grd_bfdutplcedetaillist.valueMatrix(i, grd_bfdutplcedetaillist.colRef("emplno")) = emplno;
  154. grd_bfdutplcedetaillist.valueMatrix(i, grd_bfdutplcedetaillist.colRef("entrregno")) = entrregno;
  155. grd_bfdutplcedetaillist.valueMatrix(i, grd_bfdutplcedetaillist.colRef("calcseq")) = calcseq;
  156. grd_bfdutplcedetaillist.valueMatrix(i, grd_bfdutplcedetaillist.colRef("seqno")) = seqno;
  157. }
  158. return true;
  159. }
  160. function fSettringPreDetailRetr(cur_row)
  161. {
  162. if(grd_bfdutplceformlist.rows - grd_bfdutplceformlist.fixedRows < 0)return;
  163. var calcyy= grd_bfdutplceformlist.valueMatrix(cur_row, grd_bfdutplceformlist.colRef("calcyy"));
  164. var emplno=grd_bfdutplceformlist.valueMatrix(cur_row, grd_bfdutplceformlist.colRef("emplno"));
  165. var entrregno=grd_bfdutplceformlist.valueMatrix(cur_row, grd_bfdutplceformlist.colRef("entrregno"));
  166. var calcseq=grd_bfdutplceformlist.valueMatrix(cur_row, grd_bfdutplceformlist.colRef("calcseq"));
  167. var seqno=grd_bfdutplceformlist.valueMatrix(cur_row, grd_bfdutplceformlist.colRef("seqno"));
  168. model.setValue("/root/send/bfdutplceform/calcyy",calcyy);
  169. model.setValue("/root/send/bfdutplceform/emplno",emplno);
  170. model.setValue("/root/send/bfdutplceform/entrregno",entrregno);
  171. model.setValue("/root/send/bfdutplceform/calcseq",calcseq);
  172. model.setValue("/root/send/bfdutplceform/seqno",seqno);
  173. submit("TRRWY00103");
  174. }
  175. ]]>
  176. </script>
  177. </xhtml:head>
  178. <xhtml:body>
  179. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  180. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">전근무지자료등록</caption>
  181. </group>
  182. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  183. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  184. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  185. <caption>조회</caption>
  186. <script type="javascript" ev:event="DOMActivate">
  187. <![CDATA[
  188. if(ipt_calcyy.value==""){
  189. messageBox("정산년도는","I003");
  190. return;
  191. }
  192. if (ipt_emplno.value == "" && ipt_estbddstart.value == "") {
  193. messageBox("입사 일자는","I003");
  194. return;
  195. }
  196. if (ipt_emplno.value == "" && ipt_estbddend.value == "") {
  197. messageBox("입사 일자는","I003");
  198. return;
  199. }
  200. misfMsterDetailRetrieve();
  201. fSettringPreDetailRetr(grd_bfdutplceformlist.fixedRows);
  202. grd_bfdutplceformlist.colDisabled (4) = true;
  203. grd_bfdutplceformlist.colDisabled (5) = true;
  204. ]]>
  205. </script>
  206. </button>
  207. <line id="line13" class="line_4" style="x1:1110px; y1:16px; x2:1110px; y2:38px; "/>
  208. <caption id="caption278" class="tit_2" style="left:5px; top:54px; width:157px; height:13px; ">사원리스트</caption>
  209. <line id="line207" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
  210. <line id="line1" class="line_1" style="x1:0px; y1:420px; x2:835px; y2:420px; "/>
  211. <caption id="caption1" class="tit_2" style="left:5px; top:405px; width:198px; height:13px; ">전근무지자료내역</caption>
  212. <caption id="cap_deduym" class="search_name" style="left:15px; top:19; width:94px; height:17px; ">기준년도 :</caption>
  213. <input id="ipt_calcyy" ref="/root/send/searchfrorm/calcyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:100px; top:18px; width:100px; height:19px; "/>
  214. <caption id="cap_emplno" class="search_name" style="left:465px; top:19px; width:86px; height:17px; ">사원번호 :</caption>
  215. <input id="ipt_emplnm" ref="/root/send/searchfrorm/emplnm" class="input_default" navindex="21" style="left:644px; top:18px; width:150px; height:19px; ">
  216. <script type="javascript" ev:event="onkeyup">
  217. <![CDATA[
  218. if (ipt_emplnm.currentText != null && ipt_emplnm.currentText != "" ) {
  219. inputEnterKey("ipt_emplnm", "xforms-value-changed");
  220. inputEnterKey("btn_search", "DOMActivate");
  221. }
  222. ]]>
  223. </script>
  224. <script type="javascript" ev:event="xforms-value-changed">
  225. <![CDATA[
  226. var recv_list = "emplno,emplnm";
  227. rpbfValidationCheck("EMPLNM", recv_list);
  228. model.refresh();
  229. ]]>
  230. </script>
  231. </input>
  232. <input id="ipt_emplno" ref="/root/send/searchfrorm/emplno" class="input_default" navindex="20" style="left:551px; top:18px; width:69px; height:19px; ">
  233. <script type="javascript" ev:event="onkeyup">
  234. <![CDATA[
  235. if (ipt_emplno.currentText != null && ipt_emplno.currentText != "" ) {
  236. inputEnterKey("ipt_emplno", "xforms-value-changed");
  237. inputEnterKey("btn_search", "DOMActivate");
  238. }
  239. ]]>
  240. </script>
  241. <script type="javascript" ev:event="xforms-value-changed">
  242. <![CDATA[
  243. var recv_list = "emplno,emplnm";
  244. rpbfValidationCheck("EMPLNO", recv_list);
  245. model.refresh();
  246. ]]>
  247. </script>
  248. </input>
  249. <button id="btn_emplsearch" class="icon_search" style="left:624px; top:18px; width:16px; height:16px; ">
  250. <caption/>
  251. <script type="javascript" ev:event="DOMActivate">
  252. <![CDATA[
  253. var recv_list = "emplno,emplnm";
  254. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  255. model.refresh();
  256. if (model.getValue(ipt_emplno.attribute("ref")).length > 0) {
  257. btn_search.dispatch("DOMActivate");
  258. }
  259. ]]>
  260. </script>
  261. </button>
  262. <datagrid id="grd_emplinfolist" nodeset="/root/main/bfdutplceempl/emplinfolist" caption="사원번호^성명^주민번호^소속기관^부서^직원분류^직위^직급^호봉^임용일자^퇴직일자^정산년도|사원번호^성명^주민번호^소속기관^부서^직원분류^직위^직급^호봉^임용일자^퇴직일자^정산년도" colsep="^" colwidth="100, 100, 113, 100, 130, 100, 100, 100, 80, 100, 100, 100" dataheight="25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:74px; width:1195px; height:321px; ">
  263. <col ref="emplno" type="output" maxlength="20" style="text-align:center; "/>
  264. <col imemode="hangul" ref="emplnm" type="output" style="text-align:center; "/>
  265. <col ref="rregno" type="output" style="text-align:center; "/>
  266. <col ref="instnm" type="output"/>
  267. <col ref="deptnm" type="output" style="text-align:right; "/>
  268. <col ref="grupjoblnnm" type="output"/>
  269. <col ref="jobposnm" type="output" style="text-align:center; "/>
  270. <col ref="ojobgradnm" type="output" maxlength="100"/>
  271. <col ref="payclsnm" type="output"/>
  272. <col ref="entcodd" type="output" format="yyyy-mm-dd"/>
  273. <col ref="retiredd" type="output" format="yyyy-mm-dd"/>
  274. <col ref="calcyy" visibility="hidden"/>
  275. <col ref="retireyn" visibility="hidden"/>
  276. <script type="javascript" ev:event="onrowchanged">
  277. <![CDATA[
  278. misfMsterDetailRetrieve();
  279. if(grd_emplinfolist.rows>0){
  280. btn_insert.disabled = false;
  281. btn_delete.disabled = false;
  282. }
  283. ]]>
  284. </script>
  285. </datagrid>
  286. <datagrid id="grd_bfdutplceformlist" nodeset="/root/main/bfdutplceform/bfdutplceformlist" caption="사원번호^성명^정산년도^정산차수^사업자등록번호^상호명^입사일^퇴사일^중도퇴직여부^순번|사원번호^성명^정산년도^정산차수^사업자등록번호^상호명^입사일^퇴사일^중도퇴직여부^순번" colsep="^" colwidth="77, 70, 65, 62, 117, 174, 114, 116, 85, 26" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:425px; width:835px; height:309px; ">
  287. <col ref="emplno" _key="true" style="text-align:center; "/>
  288. <col ref="emplnm" style="text-align:center; "/>
  289. <col disabled="true" ref="calcyy" type="output" format="yyyy" _key="true" style="text-align:center; "/>
  290. <col ref="calcseq" type="output" maxlength="1" style="text-align:center; "/>
  291. <col ref="entrregno" type="input" maxlength="20" _key="true" style="text-align:center; "/>
  292. <col ref="trdnm" type="input" maxlength="30"/>
  293. <col ref="entcodd" type="inputdate"/>
  294. <col ref="retiredd" type="inputdate"/>
  295. <col checkvalue="Y,N" ref="retireyn" type="checkbox" visibility="hidden"/>
  296. <col ref="seqno" visibility="hidden"/>
  297. <script type="javascript" ev:event="ondblclick">
  298. <![CDATA[
  299. var cur_row=grd_bfdutplceformlist.row;
  300. var status=grd_bfdutplceformlist.rowStatus(cur_row);
  301. if(status =="0")fSettringPreDetailRetr(grd_bfdutplceformlist.row);
  302. ]]>
  303. </script>
  304. </datagrid>
  305. <datagrid id="grd_bfdutplcedetaillist" nodeset="/root/main/bfdutplcedetail/bfdutplcedetaillist" caption="정산구분^금액^사원번호^정산년도^사업자등록번호^정산구분코드^caption1|정산구분^금액^사원번호^정산년도^사업자등록번호^정산구분코드^caption1" colsep="^" colwidth="200, 125, 80, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:840px; top:425px; width:355px; height:309px; padding-right:5; ">
  306. <col disabled="true" ref="calcflagnm"/>
  307. <col ref="calcamt" type="input" format="#,###" maxlength="10" style="text-align:right; "/>
  308. <col ref="emplno" visibility="hidden" _key="true"/>
  309. <col ref="entrregno" visibility="hidden" _key="true"/>
  310. <col ref="calcyy" visibility="hidden" _key="true"/>
  311. <col ref="calcflagcd" visibility="hidden" _key="true"/>
  312. <col ref="calcseq" visibility="hidden" _key="true"/>
  313. <col ref="seqno" visibility="hidden"/>
  314. </datagrid>
  315. <caption id="caption2" class="tit_2" style="left:845; top:405px; width:198px; height:13px; ">전근무지자료세부내역</caption>
  316. <line id="line2" class="line_1" style="x1:840px; y1:420px; x2:1195px; y2:420px; "/>
  317. <button id="btn_delete" class="btn2_letter3" style="left:715px; top:399px; width:53px; height:19px; ">
  318. <caption>행삭제</caption>
  319. <script type="javascript" ev:event="DOMActivate">
  320. <![CDATA[
  321. var rowcnt = grd_bfdutplcedetaillist.rows;
  322. if(rowcnt ==1){
  323. messageBox("세부내역이 존재 하므로 삭제 ", "E001");
  324. return;
  325. }
  326. misfGridIUD(grd_bfdutplceformlist, "D");
  327. for( var i = 1 ; i< rowcnt ; i++)
  328. {
  329. grd_bfdutplcedetaillist.addStatus(i,"delete");
  330. }
  331. grd_bfdutplcedetaillist.colDisabled (2) = true;
  332. ]]>
  333. </script>
  334. </button>
  335. <button id="btn_insert" class="btn2_letter3" style="left:659px; top:399px; width:53px; height:19px; ">
  336. <caption>행추가</caption>
  337. <script type="javascript" ev:event="DOMActivate">
  338. <![CDATA[
  339. if(!isRequiredControls("ipt_calcyy"))return;
  340. var updtdata = getGridUpdateData(grd_bfdutplcedetaillist);
  341. if (updtdata != "") {
  342. messageBox("작업 중인 내용이 있습니다. 저장후","C001");
  343. return;
  344. }
  345. misfGridIUD(grd_bfdutplceformlist, "A");
  346. var crow=grd_bfdutplceformlist.row ;
  347. grd_bfdutplceformlist.colDisabled (4) = false;
  348. grd_bfdutplceformlist.colDisabled (5) = false;
  349. var cur_row=grd_bfdutplceformlist.row;
  350. var calcyy=grd_bfdutplceformlist.valueMatrix(grd_bfdutplceformlist.row, grd_bfdutplceformlist.colRef("calcyy"));
  351. model.setValue("/root/send/calcflagsend/calcyy",calcyy);
  352. submit("TRRWY00104");
  353. var rowcnt = grd_bfdutplcedetaillist.rows;
  354. for( var i = 1 ; i< rowcnt ; i++)
  355. {
  356. grd_bfdutplcedetaillist.addStatus(i,"insert");
  357. }
  358. grd_bfdutplcedetaillist.colDisabled (2) = false;
  359. ]]>
  360. </script>
  361. </button>
  362. <button id="btn_excelsave" class="btn2_letter4" style="left:771px; top:399px; width:64px; height:19px; ">
  363. <caption>엑셀저장</caption>
  364. <script type="javascript" ev:event="DOMActivate">
  365. <![CDATA[
  366. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  367. if (fileName != "")
  368. {
  369. grd_bfdutplceformlist.saveExcel(fileName, "SheetName", true, true, "", "");
  370. }
  371. ]]>
  372. </script>
  373. </button>
  374. <button id="btn_exceldetail" class="btn2_letter4" style="left:1130px; top:399px; width:64px; height:19px; ">
  375. <caption>엑셀저장</caption>
  376. <script type="javascript" ev:event="DOMActivate">
  377. <![CDATA[
  378. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  379. if (fileName != "")
  380. {
  381. grd_bfdutplcedetaillist.saveExcel(fileName, "SheetName", true, true, "", "");
  382. }
  383. ]]>
  384. </script>
  385. </button>
  386. <caption id="caption3" class="search_name" style="left:800px; top:19px; width:86px; height:17px; ">입사일자:</caption>
  387. <input id="ipt_estbddstart" ref="/root/send/searchfrorm/estbddstart" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:885px; top:18px; width:100px; height:19px; "/>
  388. <caption id="caption59" class="search_n_b" style="left:989px; top:20px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  389. <input id="ipt_estbddend" ref="/root/send/searchfrorm/estbddend" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:1005px; top:18px; width:100px; height:19px; "/>
  390. <select1 id="cmb_calcinst" ref="/root/send/searchfrorm/calcinst" class="combo_s_essential" appearance="minimal" style="left:295px; top:18px; width:125px; height:19px; ">
  391. <choices>
  392. <itemset>
  393. <label/>
  394. <value/>
  395. </itemset>
  396. </choices>
  397. </select1>
  398. <caption id="caption8" class="search_name" style="left:240px; top:19px; width:61px; height:17px; ">기관:</caption>
  399. </group>
  400. <group id="grp_btn" scroll="auto" style="left:0px; top:12; width:1195px; height:27px; ">
  401. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3; width:56px; height:22px; ">
  402. <caption>저장</caption>
  403. <script type="javascript" ev:event="DOMActivate">
  404. <![CDATA[
  405. if(!checkKeyColumn("grd_bfdutplceformlist"))return;
  406. if(!fSaveCheck())return;
  407. var updtdata = getGridUpdateData(grd_bfdutplceformlist);
  408. var updtdatadetail = getGridUpdateData(grd_bfdutplcedetaillist);
  409. if (updtdata == "" && updtdatadetail =="") {
  410. messageBox("변경된 데이터가","I004");
  411. return;
  412. }
  413. var status=grd_bfdutplcedetaillist.rowStatus(1);
  414. misfSave("TXRWY00101");
  415. if(status =="4"){
  416. misfGridInit(grd_bfdutplcedetaillist);
  417. }
  418. grd_bfdutplceformlist.colDisabled (4) = true;
  419. grd_bfdutplceformlist.colDisabled (5) = true;
  420. ]]>
  421. </script>
  422. </button>
  423. <button id="btn_init" class="btn4_letter3" style="left:1069px; top:3; width:68px; height:22px; ">
  424. <caption>초기화</caption>
  425. <script type="javascript" ev:event="DOMActivate">
  426. <![CDATA[
  427. var updtdata = getGridUpdateData(grd_bfdutplceformlist);
  428. var updtdata2 = getGridUpdateData(grd_bfdutplcedetaillist);
  429. if (updtdata != "" ||updtdata2 =="") {
  430. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
  431. if (ret != 6) { // not OK
  432. return;
  433. }
  434. }
  435. fInitialize();
  436. fEnableInsertButton();
  437. ]]>
  438. </script>
  439. </button>
  440. <line id="line9" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  441. </group>
  442. </xhtml:body>
  443. </xhtml:html>