SMRPD01300_법정근로시간외조정.xrw 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853
  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. <cutlawdutovttmadjt/>
  11. <userschemngtdeptlist>
  12. <emplno/>
  13. <emplnm/>
  14. <dutplcedeptcd/>
  15. <dutplcedeptn/>
  16. </userschemngtdeptlist>
  17. <doucheckcnt>
  18. <emplno/>
  19. <dutym/>
  20. </doucheckcnt>
  21. </main>
  22. <send>
  23. <search>
  24. <instcd/>
  25. <dutym_ss/>
  26. <dutym_ee/>
  27. <dutdeptcd_s/>
  28. <dutdeptnm_s/>
  29. <emplno/>
  30. <emplnm/>
  31. <retrkind>psn</retrkind>
  32. </search>
  33. <empllist>
  34. <emplno/>
  35. </empllist>
  36. <savelist>
  37. <cutlawdutovttmadjt/>
  38. <workgbn/>
  39. </savelist>
  40. <popworkgbn/>
  41. </send>
  42. <init/>
  43. <temp>
  44. </temp>
  45. </root>
  46. </instance>
  47. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  51. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  52. <script type="javascript" src="../../../mis/dligclaznsmngtweb/js/RPD001.js"/>
  53. <script type="javascript" src="../../../mis/pubwelfmngtweb/js/RPS001.js"/>
  54. <script type="javascript" ev:event="xforms-ready">
  55. <![CDATA[
  56. fInitialize();
  57. model.refresh();
  58. ]]>
  59. </script>
  60. <submission id="TRRPD01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/cutlawdutovttmadjt"/>
  61. <submission id="TXRPD01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/temp/doucheckcnt"/>
  62. <submission id="TRRPD01303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savelist" resultref="/root/main/doucheckcnt"/>
  63. <submission id="TRRPD01305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/empllist" resultref="/root/main/userschemngtdeptlist"/>
  64. </model>
  65. <script type="javascript">
  66. <![CDATA[
  67. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  68. function fInitialize()
  69. {
  70. misfGridInit(grd_cutlawdutovttmadjt);
  71. misfGridInit(grd_userschemngtdeptlist);
  72. misfGridInit(grd_doucheckcnt);
  73. model.removeNodeset("/root/main/cutlawdutovttmadjt");
  74. model.removeNodeset("/root/main/userschemngtdeptlist");
  75. model.resetInstanceNode("/root/send");
  76. misfMsterDetailSet(grd_cutlawdutovttmadjt,null,"TRRPD01301","Y");
  77. misfGetAndSetUserInfo();
  78. misfGetUserAuth();
  79. ipt_appfromdd.value = getCurrentDate().substr(0, 6);
  80. ipt_apptodd.value = getCurrentDate().substr(0, 6);
  81. // misfComboComCdListMulti("Z0007","cmb_instcd");
  82. misfComboInstCdListMulti("cmb_instcd",ipt_appfromdd.value+getCurrentDate().substr(6, 2),"","Y");
  83. // rpdfSetControlAuth();
  84. rpdfComboCdList(cmb_dutplce); // 권한별 근무부서 세팅
  85. rpdfSetDutUnitCombo();
  86. cmb_instcd.value = getUserInfo("dutplceinstcd");
  87. // ipt_appfromdd.value = fcalcDate();
  88. // ipt_apptodd.value = fcalcDate();
  89. ipt_popworkgbn.value = "SMRPD01300";
  90. btn_creatdone.disabled = true;
  91. btn_donecancel.disabled = true;
  92. btn_save.disabled = true;
  93. //화면 권한 설정
  94. btn_save.disabled = !(checkAuth("X"));
  95. btn_search.dispatch("DOMActivate");
  96. model.refresh();
  97. }
  98. function faddDay(yyyy, mm, dd, pDay) // 년, 월, 일, 계산할 일자 (년도는 반드시 4자리로 입력)
  99. {
  100. var oDate; // 리턴할 날짜 객체 선언
  101. dd = dd*1;// pDay*1; // 날짜 계산
  102. mm--; // 월은 0~11 이므로 하나 빼준다
  103. oDate = new Date(yyyy, mm, dd) // 계산된 날짜 객체 생성 (객체에서 자동 계산)
  104. return oDate;
  105. }
  106. function fcalcDate()
  107. {
  108. var cDate;
  109. var y,m,d;
  110. var now = new Date();
  111. var y = now.getYear();
  112. var m = now.getMonth() + 1;
  113. var d= now.getDate();
  114. cDate = faddDay(y, m, d, 1)
  115. yr = cDate.getFullYear();
  116. mName = cDate.getMonth() + 1;
  117. dName = cDate.getDate();
  118. if (yr < 100)
  119. year=("19" + yr).toString();
  120. else
  121. year=yr.toString();
  122. if (mName <10)
  123. month = ("0" + mName).toString();
  124. else
  125. month = mName.toString();
  126. if (dName <10)
  127. day = ("0" + dName).toString();
  128. else
  129. day = dName.toString();
  130. return year + month + day;
  131. }
  132. function fgrdButtonControl()
  133. {
  134. var cur_row=grd_cutlawdutovttmadjt.rows-2;
  135. if(cur_row >0)
  136. {
  137. null_check1 = model.getValue(grd_cutlawdutovttmadjt.attribute("nodeset")+"[" + 1 + "]/paydeducretendyn");
  138. null_check2 = model.getValue(grd_cutlawdutovttmadjt.attribute("nodeset")+"[" + 1 + "]/payappyn");
  139. if(null_check2 =='Y')
  140. {
  141. btn_donecancel.disabled = true;
  142. btn_creatdone.disabled = true;
  143. btn_save.disabled = true;
  144. }
  145. else if(null_check1 =='Y')
  146. {
  147. btn_donecancel.disabled = false;
  148. btn_creatdone.disabled = true;
  149. btn_save.disabled = true;
  150. }
  151. else
  152. {
  153. btn_donecancel.disabled = true;
  154. btn_creatdone.disabled = false;
  155. btn_save.disabled = false;
  156. }
  157. }
  158. else
  159. {
  160. btn_donecancel.disabled = true;
  161. btn_creatdone.disabled = true;
  162. btn_save.disabled = false;
  163. }
  164. }
  165. function fsaveCheckNull()
  166. {
  167. for(i=2; i< grd_cutlawdutovttmadjt.rows; i++)
  168. {
  169. var check_emplno=model.getValue(grd_cutlawdutovttmadjt.attribute("nodeset") + "[" + (i - 1) + "]/emplno");
  170. var check_ovt150=model.getValue(grd_cutlawdutovttmadjt.attribute("nodeset") + "[" + (i - 1) + "]/ovtmworkextnbiztm150_v");
  171. var check_ovt100=model.getValue(grd_cutlawdutovttmadjt.attribute("nodeset") + "[" + (i - 1) + "]/ovtmworkextnbiztm100_v");
  172. var check_ovt50=model.getValue(grd_cutlawdutovttmadjt.attribute("nodeset") + "[" + (i - 1) + "]/ovtmworkextnbiztm50_v");
  173. if(check_emplno =="")
  174. {
  175. messageBox("사원번호는","I003");
  176. return false;
  177. }
  178. /*if(check_ovt150 =="" && check_ovt100 =="" && check_ovt50=="" ){
  179. messageBox("연장근로시간","I003");
  180. return false;
  181. }*/
  182. }
  183. return true;
  184. }
  185. function fsaveCheckValue()
  186. {
  187. for(i=2; i< grd_cutlawdutovttmadjt.rows; i++)
  188. {
  189. var check_emplno = model.getValue(grd_cutlawdutovttmadjt.attribute("nodeset") + "[" + (i - 1) + "]/emplno");
  190. var paydeducretendyn = model.getValue(grd_cutlawdutovttmadjt.attribute("nodeset") +" [" + (i - 1) + "]/paydeducretendyn");
  191. var status = grd_cutlawdutovttmadjt.rowStatus(i);
  192. if(status=="2"||status=="4")
  193. {
  194. if(paydeducretendyn =='Y')
  195. {
  196. messageBox("급여생성이 완료된 건은 수정","E001");
  197. return false;
  198. }
  199. }
  200. }
  201. return true;
  202. }
  203. ]]>
  204. </script>
  205. </xhtml:head>
  206. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  207. <group id="group1" style="left:0px; top:0px; width:1195; height:13px; ">
  208. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">법정근로시간외수정</caption>
  209. </group>
  210. <group id="listGroup" scroll="auto" style="left:0px; top:38; width:1195px; height:744px; ">
  211. <group id="group2" style="left:0px; top:10px; width:1195px; height:55px; vertical-align:top; ">
  212. <select1 id="cmb_dutplce" ref="/root/send/search/dutunitcd" class="combo_s_essential" visibility="hidden" appearance="minimal" style="left:100px; top:30px; width:79px; height:19px; ">
  213. <choices>
  214. <itemset>
  215. <label/>
  216. <value/>
  217. </itemset>
  218. </choices>
  219. </select1>
  220. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:55px; "/>
  221. <caption id="caption2" class="search_name" style="left:370px; top:7px; width:86px; height:17px; ">정산년월 :</caption>
  222. <button id="btn_search" class="btn1_letter2" style="left:1129px; top:16px; width:56px; height:22px; ">
  223. <caption>조회</caption>
  224. <script type="javascript" ev:event="DOMActivate">
  225. <![CDATA[
  226. if(ipt_appfromdd.value=="")
  227. {
  228. messageBox("정산년월은","I003");
  229. return;
  230. }
  231. model.setValue("/root/send/search/retrkind", "psn");
  232. submit("TRRPD01301");
  233. fgrdButtonControl();
  234. grd_cutlawdutovttmadjt.colDisabled (1) = true;
  235. grd_cutlawdutovttmadjt.colDisabled (3) = true;
  236. ]]>
  237. </script>
  238. </button>
  239. <line id="line13" class="line_4" style="top:7; x1:1115px; y1:7px; x2:1115px; y2:49px; border-left-style:solid; "/>
  240. <caption id="caption3" class="search_name" style="left:14px; top:32px; width:106px; height:17px; ">부 서 :</caption>
  241. <button id="btn_dutdept" class="icon_search" style="left:181px; top:32px; width:16px; height:16px; ">
  242. <caption/>
  243. <script type="javascript" ev:event="DOMActivate">
  244. <![CDATA[
  245. misfOpenPopUpList("02", ipt_dutdeptcd,"","dutdeptcd_s,dutdeptnm_s", cmb_instcd.value + "," + ipt_appfromdd.value+"31", "instcd,basedd");
  246. //misfOpenPopUpList("02", ipt_dutdeptcd,"","dutdeptcd_s,dutdeptnm_s", cmb_instcd.value , "instcd");
  247. model.refresh();
  248. ]]>
  249. </script>
  250. </button>
  251. <input id="ipt_dutdeptnm" ref="/root/send/search/dutdeptnm_s" class="input_search" navindex="3" style="left:201px; top:30px; width:124px; height:19px; ">
  252. <script type="javascript" ev:event="xforms-value-changed">
  253. <![CDATA[
  254. misfValidationCheck("02", "", "dutdeptcd_s,dutdeptnm_s", cmb_instcd.value, "instcd" );
  255. model.refresh();
  256. ]]>
  257. </script>
  258. <script type="javascript" ev:event="onkeypress">
  259. <![CDATA[
  260. if(event.keyCode == 13)
  261. {
  262. ipt_dutdeptnm.value = ipt_dutdeptnm.currentText;
  263. misfValidationCheck("02", "", "dutdeptcd_s,dutdeptnm_s", cmb_instcd.value, "instcd" );
  264. model.refresh();
  265. }
  266. ]]>
  267. </script>
  268. </input>
  269. <input id="ipt_dutdeptcd" ref="/root/send/search/dutdeptcd_s" class="input_search" navindex="2" maxlength="10" style="left:102px; top:30px; width:76px; height:19px; text-align:center; ">
  270. <script type="javascript" ev:event="xforms-value-changed">
  271. <![CDATA[
  272. misfValidationCheck("02", "", "dutdeptcd_s,dutdeptnm_s", cmb_instcd.value, "instcd" );
  273. model.refresh();
  274. ]]>
  275. </script>
  276. <script type="javascript" ev:event="onkeypress">
  277. <![CDATA[
  278. if(event.keyCode == 13)
  279. {
  280. ipt_dutdeptcd.value = ipt_dutdeptcd.currentText;
  281. misfValidationCheck("02", "", "dutdeptcd_s,dutdeptnm_s", cmb_instcd.value, "instcd" );
  282. model.refresh();
  283. }
  284. ]]>
  285. </script>
  286. </input>
  287. <input id="ipt_appfromdd" ref="/root/send/search/dutym_ss" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:460px; top:6px; width:100px; height:19px; ">
  288. <script type="javascript" ev:event="xforms-value-changed">
  289. <![CDATA[
  290. var instcd = cmb_instcd.value;
  291. if( getStringLength(ipt_appfromdd.value) == "6" ) {
  292. model.removeNodeset(cmb_instcd.attribute("ref"));
  293. model.makeNode("/root/send/search/instcd");
  294. misfComboInstCdListMulti("cmb_instcd",ipt_appfromdd.value+"31","","Y");
  295. cmb_instcd.value = instcd;
  296. model.refresh();
  297. }
  298. ]]>
  299. </script>
  300. </input>
  301. <button id="button3" class="icon_search" style="left:535px; top:32px; width:16px; height:16px; ">
  302. <caption/>
  303. <script type="javascript" ev:event="DOMActivate">
  304. <![CDATA[
  305. misfOpenPopUpList("22", ipt_emplno, "", "emplno,emplnm");
  306. model.refresh();
  307. ]]>
  308. </script>
  309. </button>
  310. <input id="ipt_emplnm" ref="/root/send/search/emplnm" class="input_search" disabled="true" navindex="3" style="left:556px; top:30px; width:120px; height:19px; "/>
  311. <caption id="caption5" class="search_name" style="left:370px; top:31px; width:86px; height:17px; ">사원번호 :</caption>
  312. <input id="ipt_emplno" ref="/root/send/search/emplno" class="input_search" navindex="2" maxlength="8" style="left:460px; top:30px; width:70px; height:19px; text-align:center; ">
  313. <script type="javascript" ev:event="xforms-value-changed">
  314. <![CDATA[
  315. if(ipt_emplno.value!=""){
  316. misfValidationCheck("01-1", "", "emplno,emplnm" );
  317. model.refresh();
  318. }
  319. ]]>
  320. </script>
  321. </input>
  322. <input id="ipt_emplno_s" ref="/root/send/empllist/emplno" class="input_search" navindex="2" visibility="hidden" style="left:1050px; top:30px; width:20px; height:19px; "/>
  323. <input id="ipt_workgbn" ref="/root/send/savelist/workgbn" class="input_search" navindex="2" visibility="hidden" style="left:1070px; top:30px; width:20px; height:19px; "/>
  324. <input id="ipt_popworkgbn" ref="/root/send/popworkgbn" class="input_search" navindex="2" visibility="hidden" style="left:1090px; top:30px; width:20px; height:19px; "/>
  325. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_search" navindex="1" appearance="minimal" style="left:102px; top:6px; width:223px; height:19px; ">
  326. <choices>
  327. <itemset>
  328. <label/>
  329. <value/>
  330. </itemset>
  331. </choices>
  332. </select1>
  333. <caption id="caption8" class="search_name" style="left:14px; top:7px; width:86px; height:17px; ">소속기관 :</caption>
  334. <input id="ipt_apptodd" ref="/root/send/search/dutym_ee" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:576px; top:6px; width:100px; height:19px; ">
  335. <script type="javascript" ev:event="xforms-value-changed">
  336. <![CDATA[
  337. ]]>
  338. </script>
  339. </input>
  340. <caption id="cation1" style="left:563px; top:9px; width:15px; height:17px; ">~</caption>
  341. </group>
  342. <line id="line7" class="line_1" style="left:0; x1:0px; y1:90px; x2:1195px; y2:90px; "/>
  343. <caption id="caption25" class="tit_2" style="left:5px; top:75px; width:151px; height:13px; ">시간외 근로시간</caption>
  344. <button id="btn_excelsave" class="btn2_letter4" style="left:1131px; top:69px; width:64px; height:19px; ">
  345. <caption>엑셀저장</caption>
  346. <script type="javascript" ev:event="DOMActivate">
  347. <![CDATA[
  348. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  349. if (fileName != "")
  350. {
  351. grd_cutlawdutovttmadjt.saveExcel(fileName, "SheetName", true, true, "", "");
  352. }
  353. ]]>
  354. </script>
  355. </button>
  356. <datagrid id="grd_cutlawdutovttmadjt" nodeset="/root/main/cutlawdutovttmadjt" caption="사원번호^성 명^근무지부서^수술실당직일수^수술실당직일수^수술실당직일수^수술실당직일수^수술실당직일수^특근연장근로시간^특근연장근로시간^특근연장근로시간^연장(전월착오분)^연장(전월착오분)^연장(전월착오분)^명절 근무^개원기념^연장&#xA;근무시간^야간&#xA;근무^인계&#xA;150^조출&#xA;150^간호부당직^행정당직일수^행정당직일수^시간제근무^시간제근무^급여&#xA;생성&#xA;여부^급여&#xA;반영&#xA;여부^비고|사원번호^성 명^근무지부서^근무^심야^연장^당직횟수^대기^150^100^50+^150^100^50+^ 50+^100^연장&#xA;근무시간^야간&#xA;근무^인계&#xA;150^조출&#xA;150^간호부당직^주간^야간^시간^분^급여&#xA;생성&#xA;여부^급여&#xA;반영&#xA;여부^비고" colsep="^" colwidth="96, 68, 100, 0, 60, 60, 60, 0, 60, 0, 60, 60, 0, 60, 60, 60, 60, 50, 50, 50, 47, 50, 49, 47, 32, 40, 40, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="100" rowsep="|" tooltip="true" style="left:0px; top:95px; width:1195px; height:649px; text-align:center; ">
  357. <col ref="emplno" type="inputbutton" style="text-align:center; "/>
  358. <col ref="emplnm"/>
  359. <col ref="dutplcedeptnm" type="inputbutton"/>
  360. <col ref="oproomngdttm_v" type="input" format="(-)99:99" maxlength="1" style="text-align:right; padding-right:2; "/>
  361. <col ref="oproomfringdttm_v" style="text-align:right; padding-right:2; "/>
  362. <col ref="oproomsatngdttm_v" style="text-align:right; padding-right:2; "/>
  363. <col ref="oproomholingdttm_v" format="#,###" style="text-align:right; padding-right:2; "/>
  364. <col ref="oproomwaitngdttm_v" type="input" visibility="hidden" format="#,###" maxlength="1" style="text-align:center; "/>
  365. <col ref="ovtmworkextnbiztm150_v" format="(-)#,###.#" style="text-align:right; padding-right:2; "/>
  366. <col ref="ovtmworkextnbiztm100_v" type="input" format="(-)99:99" style="text-align:center; "/>
  367. <col ref="ovtmworkextnbiztm50_v" format="(-)#,###.#" style="text-align:right; padding-right:2; "/>
  368. <col ref="extnnigtbfmmstktm150" type="input" style="text-align:right; padding-right:2; "/>
  369. <col ref="extnnigtbfmmstktm100_v" type="input" format="(-)99:99" style="text-align:center; "/>
  370. <col ref="extnnigtbfmmstktm50" type="input" style="text-align:right; padding-right:2; "/>
  371. <col ref="opnofhospmemotm150_v" format="#,###" style="text-align:right; padding-right:2; "/>
  372. <col ref="opnofhospmemotm100_v" format="#,###" style="text-align:right; padding-right:2; "/>
  373. <col ref="holiduttm_v" style="text-align:right; padding-right:2; "/>
  374. <col ref="nigtlabrtm_v" style="text-align:right; padding-right:2; "/>
  375. <col ref="tranalwntm_v" style="text-align:right; padding-right:2; "/>
  376. <col ref="earlyattdnctm150_v" style="text-align:right; padding-right:2; "/>
  377. <col ref="adminngdtdayno" style="text-align:right; padding-right:2; "/>
  378. <col ref="overweektm_v" format="#,###" style="text-align:center; "/>
  379. <col ref="adminngdtnigtno" format="#,###" style="text-align:center; "/>
  380. <col ref="tmbizcondworktm" format="#,###" style="text-align:center; "/>
  381. <col ref="tmbizcondworkmnt" format="#,###" style="text-align:center; "/>
  382. <col ref="paydeducretendyn" style="text-align:center; "/>
  383. <col ref="payappyn" style="text-align:center; "/>
  384. <col ref="cmt"/>
  385. <col ref="dutplceinstcd" visibility="hidden"/>
  386. <col ref="oproomngdttm" visibility="hidden"/>
  387. <col ref="oproomfringdttm" visibility="hidden"/>
  388. <col ref="oproomsatngdttm" visibility="hidden"/>
  389. <col ref="oproomholingdttm" visibility="hidden"/>
  390. <col ref="oproomwaitngdttm" visibility="hidden"/>
  391. <col ref="overweektm" visibility="hidden"/>
  392. <col ref="overweekmnt" visibility="hidden"/>
  393. <col ref="ovtmworkextnbiztm150" visibility="hidden"/>
  394. <col ref="ovtmworkextnbizmnt150" visibility="hidden"/>
  395. <col ref="ovtmworkextnbiztm100" visibility="hidden"/>
  396. <col ref="ovtmworkextnbizmnt100" visibility="hidden"/>
  397. <col ref="ovtmworkextnbiztm50" visibility="hidden"/>
  398. <col ref="ovtmworkextnbizmnt50" visibility="hidden"/>
  399. <col ref="extnnigtbfmmstktm150_v" visibility="hidden"/>
  400. <col ref="extnnigtbfmmstkmnt150" visibility="hidden"/>
  401. <col ref="extnnigtbfmmstktm100" visibility="hidden"/>
  402. <col ref="extnnigtbfmmstkmnt100" visibility="hidden"/>
  403. <col ref="extnnigtbfmmstktm50_v" visibility="hidden"/>
  404. <col ref="extnnigtbfmmstkmnt50" visibility="hidden"/>
  405. <col ref="opnofhospmemotm150" visibility="hidden"/>
  406. <col ref="opnofhospmemomnt150" visibility="hidden"/>
  407. <col ref="opnofhospmemotm100" visibility="hidden"/>
  408. <col ref="opnofhospmemomnt100" visibility="hidden"/>
  409. <col ref="holiduttm" visibility="hidden"/>
  410. <col ref="holidutmnt" visibility="hidden"/>
  411. <col ref="tranalwntm" visibility="hidden"/>
  412. <col ref="tranalwnmnt" visibility="hidden"/>
  413. <col ref="earlyattdnctm150" visibility="hidden"/>
  414. <col ref="earlyattdncmnt150" visibility="hidden"/>
  415. <col ref="nigtlabrtm" visibility="hidden"/>
  416. <col ref="nigtlabrmnt" visibility="hidden"/>
  417. <col ref="dutym" visibility="hidden"/>
  418. <col ref="instnm" visibility="hidden"/>
  419. <col ref="instcd" visibility="hidden"/>
  420. <col ref="dutplceinstnm" visibility="hidden"/>
  421. <col ref="deptcd" visibility="hidden"/>
  422. <col ref="deptnm" visibility="hidden"/>
  423. <col ref="dutdeptcd" visibility="hidden"/>
  424. <col ref="dutdeptnm" visibility="hidden"/>
  425. <col ref="dutplcedeptcd" visibility="hidden"/>
  426. <script type="javascript" ev:event="onbuttonclick">
  427. <![CDATA[
  428. var cur_row=grd_cutlawdutovttmadjt.row;
  429. if (grd_cutlawdutovttmadjt.col == 1) {//사원번호 버튼을 눌렀을 때
  430. var recv_list = "emplno,emplnm,instnm,instcd,dutplceinstnm,dutplceinstcd,deptcd,deptnm,dutdeptcd,dutdeptnm,";
  431. recv_list =recv_list +"dutplcedeptnm,dutplcedeptcd";
  432. misfOpenPopUpList("21", grd_cutlawdutovttmadjt,"",recv_list);
  433. }
  434. if (grd_cutlawdutovttmadjt.col == 3) {
  435. ipt_emplno_s.value=grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,1);
  436. if(ipt_emplno_s.value==""){
  437. messageBox("해당 사원을","C001");
  438. }else{
  439. submit("TRRPD01305");
  440. var cur_rows=grd_userschemngtdeptlist.rows-1;
  441. if(cur_rows == 0){
  442. return;
  443. }else if(cur_rows == 1){
  444. var dutplcedeptcd= model.getValue(grd_userschemngtdeptlist.attribute("nodeset")+"["+1+"]/dutplcedeptcd");
  445. var dutplcedeptnm= model.getValue(grd_userschemngtdeptlist.attribute("nodeset")+"["+1+"]/dutplcedeptnm");
  446. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("dutplcedeptcd"))=dutplcedeptcd;
  447. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("dutplcedeptnm"))=dutplcedeptnm;
  448. }else{
  449. misfOpenPopUpList("20",grd_cutlawdutovttmadjt,"","emplno,emplnm,dutplcedeptcd,dutplcedeptnm");
  450. }
  451. misfGridInit(grd_userschemngtdeptlist);
  452. }
  453. }
  454. ]]>
  455. </script>
  456. <script type="javascript" ev:event="xforms-value-changed">
  457. <![CDATA[
  458. var cur_row = grd_cutlawdutovttmadjt.row;
  459. if(grd_cutlawdutovttmadjt.col == 4){
  460. var check_dd= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,4);
  461. var dd=parseFloat(check_dd*8);
  462. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("oproomngdttm")) =dd;
  463. }
  464. if(grd_cutlawdutovttmadjt.col == 5){
  465. var check_dd= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,5);
  466. var dd=parseFloat(check_dd*8);
  467. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("oproomfringdttm")) =dd;
  468. }
  469. if(grd_cutlawdutovttmadjt.col == 6){
  470. var check_dd= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,6);
  471. var dd=parseFloat(check_dd*8);
  472. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("oproomsatngdttm")) =dd;
  473. }
  474. if(grd_cutlawdutovttmadjt.col == 7){
  475. var check_dd= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,7);
  476. var dd=parseFloat(check_dd*8);
  477. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("oproomholingdttm")) =dd;
  478. }
  479. if(grd_cutlawdutovttmadjt.col == 8){
  480. var check_dd= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,8);
  481. var dd=parseFloat(check_dd*8);
  482. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("oproomwaitngdttm")) =dd;
  483. }
  484. //신청일자 및 시간 유효성 체크
  485. // if(grd_cutlawdutovttmadjt.col == 9)
  486. // {
  487. // var check_h= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,9);
  488. // check_hh=check_h.substring(0,2);
  489. // check_mm=check_h.substring(2,4);
  490. // if(parseInt(check_mm) >59 || check_h.length!=4 )
  491. // {
  492. // messageBox("주초과 시간 입력형식이 ","E004");
  493. // grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("overweektm_v")) ="";
  494. // }
  495. // else
  496. // {
  497. // grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("overweektm")) =check_hh;
  498. // grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("overweekmnt")) =check_mm;
  499. // }
  500. // }
  501. if(grd_cutlawdutovttmadjt.col == 9)
  502. {
  503. var check_h= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,9);
  504. check_hh=check_h.substring(0,2);
  505. check_mm=check_h.substring(2,4);
  506. if(parseInt(check_mm) >59 || check_h.length!=4 )
  507. {
  508. messageBox("연장근로시간 입력형식이 ","E004");
  509. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("ovtmworkextnbiztm150_v")) ="";
  510. }
  511. else
  512. {
  513. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("ovtmworkextnbiztm150")) =check_hh;
  514. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("ovtmworkextnbizmnt150")) =check_mm;
  515. }
  516. }
  517. if(grd_cutlawdutovttmadjt.col == 10)
  518. {
  519. var check_h= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,10);
  520. check_hh=check_h.substring(0,2);
  521. check_mm=check_h.substring(2,4);
  522. if(parseInt(check_mm) >59 || check_h.length!=4 )
  523. {
  524. messageBox("연장근로시간 입력형식이 ","E004");
  525. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("ovtmworkextnbiztm100_v")) ="";
  526. }
  527. else
  528. {
  529. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("ovtmworkextnbiztm100")) =check_hh;
  530. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("ovtmworkextnbizmnt100")) =check_mm;
  531. }
  532. }
  533. if(grd_cutlawdutovttmadjt.col == 11)
  534. {
  535. var check_h= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,11);
  536. check_hh=check_h.substring(0,2);
  537. check_mm=check_h.substring(2,4);
  538. if(parseInt(check_mm) >59 || check_h.length!=4)
  539. {
  540. messageBox("연장근로시간 입력형식이 ","E004");
  541. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("ovtmworkextnbiztm50_v")) ="";
  542. }
  543. else
  544. {
  545. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("ovtmworkextnbiztm50")) = check_hh;
  546. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("ovtmworkextnbizmnt50")) = check_mm;
  547. }
  548. }
  549. if(grd_cutlawdutovttmadjt.col == 12)
  550. {
  551. // var check_h= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,13);
  552. //
  553. // check_hh = check_h.substr(0, check_h.length - 2);
  554. // check_mm = check_h.substr(check_h.length - 2, 2);
  555. //
  556. // if(parseInt(check_mm) > 59)
  557. // {
  558. // messageBox("연장(전월착오분)시간 입력형식이 ","E004");
  559. // grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("extnnigtbfmmstktm150_v")) ="";
  560. // }
  561. // else
  562. // {
  563. // grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("extnnigtbfmmstktm150")) = check_hh;
  564. // grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("extnnigtbfmmstkmnt150")) = check_mm;
  565. // }
  566. }
  567. if(grd_cutlawdutovttmadjt.col == 13)
  568. {
  569. var check_h= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,13);
  570. check_hh=check_h.substring(0,2);
  571. check_mm=check_h.substring(2,4);
  572. if(parseInt(check_mm) >59 || check_h.length!=4)
  573. {
  574. messageBox("연장(전월착오분)시간 입력형식이 ","E004");
  575. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("extnnigtbfmmstktm100_v")) ="";
  576. }
  577. else
  578. {
  579. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("extnnigtbfmmstktm100")) = check_hh;
  580. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("extnnigtbfmmstkmnt100")) = check_mm;
  581. }
  582. }
  583. if(grd_cutlawdutovttmadjt.col == 14)
  584. {
  585. // var check_h= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,15);
  586. //
  587. // check_hh = check_h.substr(0, check_h.length - 2);
  588. // check_mm = check_h.substr(check_h.length - 2, 2);
  589. //
  590. // if(parseInt(check_mm) > 59)
  591. // {
  592. // messageBox("연장(전월착오분)시간 입력형식이 ","E004");
  593. // grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("extnnigtbfmmstktm50_v")) = "";
  594. // }
  595. // else
  596. // {
  597. // grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("extnnigtbfmmstktm50")) = check_hh;
  598. // grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("extnnigtbfmmstkmnt50")) = check_mm;
  599. // }
  600. }
  601. if(grd_cutlawdutovttmadjt.col == 15){
  602. var check_h= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,15);
  603. check_hh=check_h.substring(0,2);
  604. check_mm=check_h.substring(2,4);
  605. if(parseInt(check_mm) >59 || check_h.length!=4 ){
  606. messageBox("개원기념근로시간 입력형식이 ","E004");
  607. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("opnofhospmemotm150_v")) ="";
  608. }else{
  609. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("opnofhospmemotm150")) =check_hh;
  610. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("opnofhospmemomnt150")) =check_mm;
  611. }
  612. }
  613. if(grd_cutlawdutovttmadjt.col == 16){
  614. var check_h= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,16);
  615. check_hh=check_h.substring(0,2);
  616. check_mm=check_h.substring(2,4);
  617. if(parseInt(check_mm) >59 || check_h.length!=4 ){
  618. messageBox("개원기념근로시간 입력형식이 ","E004");
  619. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("opnofhospmemotm100_v")) ="";
  620. }else{
  621. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("opnofhospmemotm100")) =check_hh;
  622. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("opnofhospmemomnt100")) =check_mm;
  623. }
  624. }
  625. if(grd_cutlawdutovttmadjt.col == 17){
  626. var check_h= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,17);
  627. check_hh=check_h.substring(0,2);
  628. check_mm=check_h.substring(2,4);
  629. if(parseInt(check_mm) >59 || check_h.length!=4 ){
  630. messageBox("휴일근무시간 입력형식이 ","E004");
  631. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("holiduttm_v")) ="";
  632. }else{
  633. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("holiduttm")) =check_hh;
  634. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("holidutmnt")) =check_mm;
  635. }
  636. }
  637. if(grd_cutlawdutovttmadjt.col == 18){
  638. var check_h= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,18);
  639. check_hh=check_h.substring(0,2);
  640. check_mm=check_h.substring(2,4);
  641. if(parseInt(check_mm) >59 || check_h.length!=4 ){
  642. messageBox("야간근무시간 입력형식이 ","E004");
  643. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("nigtlabrtm_v")) ="";
  644. }else{
  645. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("nigtlabrtm")) =check_hh;
  646. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("nigtlabrmnt")) =check_mm;
  647. }
  648. }
  649. if(grd_cutlawdutovttmadjt.col == 19){
  650. var check_h= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,19);
  651. check_hh=check_h.substring(0,2);
  652. check_mm=check_h.substring(2,4);
  653. if(parseInt(check_mm) >59 || check_h.length!=4 ){
  654. messageBox("인계근무시간 입력형식이 ","E004");
  655. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("tranalwntm_v")) ="";
  656. }else{
  657. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("tranalwntm")) =check_hh;
  658. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("tranalwnmnt")) =check_mm;
  659. }
  660. }
  661. if(grd_cutlawdutovttmadjt.col == 20){
  662. var check_h= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,20);
  663. check_hh=check_h.substring(0,2);
  664. check_mm=check_h.substring(2,4);
  665. if(parseInt(check_mm) >59 || check_h.length!=4 ){
  666. messageBox("조출근무시간 입력형식이 ","E004");
  667. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("earlyattdnctm150_v")) ="";
  668. }else{
  669. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("earlyattdnctm150")) =check_hh;
  670. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("earlyattdncmnt150")) =check_mm;
  671. }
  672. }
  673. if(grd_cutlawdutovttmadjt.col ==24){
  674. var check_h= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,24);
  675. if(check_h.length >3){
  676. messageBox("시간제근무시간입력형식이 ","E004");
  677. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("tmbizcondworktm")) ="";
  678. }
  679. }
  680. if(grd_cutlawdutovttmadjt.col ==25){
  681. var check_mm= grd_cutlawdutovttmadjt.valueMatrix(grd_cutlawdutovttmadjt.row,25);
  682. if(parseInt(check_mm) >59 || check_mm.length !=2){
  683. messageBox("시간제근무시간입력형식이 ","E004");
  684. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("tmbizcondworktm")) ="";
  685. }
  686. }
  687. ]]>
  688. </script>
  689. </datagrid>
  690. <datagrid id="grd_userschemngtdeptlist" nodeset="/root/main/userschemngtdeptlist" visibility="hidden" caption="사번^성명^근무부서^근무부서명" colsep="^" colwidth="100, 100, 100, 106" mergecellsfixedrows="bycolrec" rowsep="|" style="left:525px; top:555px; width:335px; height:100px; ">
  691. <col ref="emplno"/>
  692. <col ref="emplnm"/>
  693. <col ref="dutplcedeptcd"/>
  694. <col ref="dutplcedeptn"/>
  695. </datagrid>
  696. <datagrid id="grd_doucheckcnt" nodeset="/root/main/doucheckcnt" visibility="hidden" caption="사번^근무월" colsep="^" colwidth="100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:925px; top:555px; width:225px; height:85px; ">
  697. <col ref="emplno"/>
  698. <col ref="dutym"/>
  699. </datagrid>
  700. <button id="btn_grddel" class="btn2_letter3" style="left:1076px; top:69px; width:53px; height:19px; ">
  701. <caption>행삭제</caption>
  702. <script type="javascript" ev:event="DOMActivate">
  703. <![CDATA[
  704. misfGridIUD(grd_cutlawdutovttmadjt,"D");
  705. model.refresh();
  706. ]]>
  707. </script>
  708. </button>
  709. <button id="btn_grdadd" class="btn2_letter3" style="left:1022px; top:69px; width:53px; height:19px; ">
  710. <caption>행추가</caption>
  711. <script type="javascript" ev:event="DOMActivate">
  712. <![CDATA[
  713. var dutym=ipt_appfromdd.value.substring(0,6);
  714. if(dutym==""){
  715. messageBox("정산년월은","I003");
  716. return;
  717. }
  718. misfGridIUD(grd_cutlawdutovttmadjt, "A");
  719. var cur_row=grd_cutlawdutovttmadjt.row;
  720. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("paydeducretendyn")) ="N";
  721. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("payappyn")) ="N";
  722. grd_cutlawdutovttmadjt.valueMatrix(cur_row, grd_cutlawdutovttmadjt.colRef("dutym")) =dutym;
  723. grd_cutlawdutovttmadjt.colDisabled (1) = false;
  724. grd_cutlawdutovttmadjt.colDisabled (3) = false;
  725. ]]>
  726. </script>
  727. </button>
  728. </group>
  729. <group id="group4" scroll="auto" style="left:0px; top:12px; width:1195px; height:27; ">
  730. <button id="button38" class="btn4_letter3" style="left:854px; top:3px; width:68px; height:22px; ">
  731. <caption>초기화</caption>
  732. <script type="javascript" ev:event="DOMActivate">
  733. <![CDATA[
  734. var updtdata = getGridUpdateData(grd_cutlawdutovttmadjt);
  735. if (updtdata != "") {
  736. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 초기화 작업을","Q003");
  737. if (ret != 6) { // not OK
  738. return;
  739. }
  740. }
  741. fInitialize();
  742. ]]>
  743. </script>
  744. </button>
  745. <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  746. <button id="btn_creatdone" class="btn4_letter6" style="left:925px; top:3px; width:104px; height:22px; ">
  747. <caption>급여생성완료</caption>
  748. <script type="javascript" ev:event="DOMActivate">
  749. <![CDATA[
  750. ipt_workgbn.value="C";
  751. if(ipt_workgbn.value =="C"){
  752. for(i=2;i < grd_cutlawdutovttmadjt.rows;i++){
  753. grd_cutlawdutovttmadjt.addStatus(i,"update");
  754. }
  755. misfSave("TXRPD01301");
  756. }
  757. btn_search.dispatch("DOMActivate");
  758. model.refresh();
  759. ]]>
  760. </script>
  761. </button>
  762. <button id="btn_donecancel" class="btn4_letter6" style="left:1032px; top:3px; width:104px; height:22px; ">
  763. <caption>급여생성취소</caption>
  764. <script type="javascript" ev:event="DOMActivate">
  765. <![CDATA[
  766. ipt_workgbn.value="F";
  767. if(ipt_workgbn.value =="F"){
  768. for(i=2;i < grd_cutlawdutovttmadjt.rows;i++){
  769. grd_cutlawdutovttmadjt.addStatus(i,"update");
  770. }
  771. misfSave("TXRPD01301");
  772. }
  773. btn_search.dispatch("DOMActivate");
  774. model.refresh();
  775. ]]>
  776. </script>
  777. </button>
  778. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
  779. <caption>저장</caption>
  780. <script type="javascript" ev:event="DOMActivate">
  781. <![CDATA[
  782. var updtdata = getGridUpdateData(grd_cutlawdutovttmadjt);
  783. if (updtdata == "" ) {
  784. messageBox("변경된 데이터가","I004");
  785. return;
  786. }
  787. if(!fsaveCheckValue())return;
  788. if(!fsaveCheckNull())return;
  789. misGetDouList("TRRPD01303");
  790. if(grd_doucheckcnt.rows >1 ){
  791. messageBox("자료가 ","E006");
  792. misfGridInit(grd_doucheckcnt);
  793. return;
  794. }
  795. ipt_workgbn.value="A";
  796. if(ipt_workgbn.value =="A"){
  797. misfSave("TXRPD01301");
  798. }
  799. grd_cutlawdutovttmadjt.colDisabled (1) = true;
  800. grd_cutlawdutovttmadjt.colDisabled (3) = true;
  801. ]]>
  802. </script>
  803. </button>
  804. </group>
  805. </xhtml:body>
  806. </xhtml:html>