SMRPH00700_년차조정처리.xrw 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871
  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>SMRPH00700_년차조정처리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <promotnflaglist>
  11. <gradupym/>
  12. <instcd/>
  13. <payclsprfshipflag/>
  14. <deptnm/>
  15. <emplno/>
  16. <emplnm/>
  17. <jobrespnm/>
  18. <jobposnm/>
  19. <jobkindnm/>
  20. <ojobgradnm/>
  21. <njobgradnm/>
  22. <payclscd/>
  23. <graduppaycls/>
  24. <gradupmm/>
  25. <anual/>
  26. <limyn/>
  27. <limcd/>
  28. <limresn/>
  29. <cmt/>
  30. <entcodd/>
  31. <grupjoblncd/>
  32. <joblncd/>
  33. <preststatcd/>
  34. <brthdd/>
  35. <gndr/>
  36. <gvnoffcordtretyn/>
  37. <promotngradupflag/>
  38. <deptcd/>
  39. <teamcd/>
  40. <unitcd/>
  41. <jobkindcd/>
  42. <jobposcd/>
  43. <jobrespcd/>
  44. <ojobgradcd/>
  45. <njobgradcd/>
  46. <oldlimyn/>
  47. <oldgvnoffcordtretyn/>
  48. </promotnflaglist>
  49. <listdetail>
  50. <gradupym/>
  51. <instcd/>
  52. <payclsprfshipflag/>
  53. <deptnm/>
  54. <emplno/>
  55. <emplnm/>
  56. <jobrespnm/>
  57. <jobposnm/>
  58. <jobkindnm/>
  59. <ojobgradnm/>
  60. <njobgradnm/>
  61. <payclscd/>
  62. <graduppaycls/>
  63. <gradupmm/>
  64. <anual/>
  65. <limyn/>
  66. <limcd/>
  67. <limresn/>
  68. <cmt/>
  69. <entcodd/>
  70. <grupjoblncd/>
  71. <joblncd/>
  72. <preststatcd/>
  73. <brthdd/>
  74. <gndr/>
  75. <gvnoffcordtretyn/>
  76. <promotngradupflag/>
  77. <deptcd/>
  78. <teamcd/>
  79. <unitcd/>
  80. <jobkindcd/>
  81. <jobposcd/>
  82. <jobrespcd/>
  83. <ojobgradcd/>
  84. <njobgradcd/>
  85. <oldlimyn/>
  86. <oldgvnoffcordtretyn/>
  87. <adjtyearno/>
  88. <prfshipflag/>
  89. <dutunitcd/>
  90. <dutunitnm/>
  91. <dutplceinst/>
  92. </listdetail>
  93. </main>
  94. <send>
  95. <searchcond>
  96. <gradupym/>
  97. <instcd/>
  98. <deptcd/>
  99. <deptnm/>
  100. <emplno/>
  101. <emplnm/>
  102. <limyn/>
  103. <limcd/>
  104. <workgbn/>
  105. <payclsprfshipflag/>
  106. <promotngradupflag/>
  107. <iudflag/>
  108. <yyworkgbn/>
  109. </searchcond>
  110. <promotnflaglist/>
  111. </send>
  112. <init>
  113. <promconf>
  114. <label>예</label>
  115. <value>Y</value>
  116. <label>아니오</label>
  117. <value>N</value>
  118. </promconf>
  119. <cnfmyn>
  120. <label>전체</label>
  121. <value/>
  122. <label>예</label>
  123. <value>Y</value>
  124. <label>아니오</label>
  125. <value>N</value>
  126. </cnfmyn>
  127. <spref/>
  128. <totcount/>
  129. </init>
  130. <hidden/>
  131. <spreflist>
  132. <spref>
  133. <errormsg/>
  134. <errflag/>
  135. </spref>
  136. </spreflist>
  137. </root>
  138. </instance>
  139. <script type="javascript" ev:event="xforms-ready">
  140. <![CDATA[
  141. misfMsterDetailSet(grd_promotnflaglist,null,"TRRPH00600","Y");
  142. misfGridInit(grd_promotnflaglist);
  143. var curdate = getCurrentDate();
  144. var cvtdate = curdate.toDate("YYYYMM");
  145. model.setValue(ipt_gradupym.attribute("ref") , cvtdate.getAddDate(0,"M").getDateFormat("YYYYMM"));
  146. misfComboComCdList('R0211', cmb_limcd_rsn,'');
  147. misfComboComCdList('R0211', cmb_limcd,'Y');
  148. misfComboComCdList("R0058",cmb_payclsprfshipflag,'Y');
  149. misfComboComCdList("R0058",cmb_payclsprfshipflag_d,'');
  150. // misfComboComCdList('Z0007', cmb_instcd,'Y');
  151. misfComboInstCdListMulti("cmb_instcd",getCurrentDate(),"","Y");
  152. misfComboCopyItemSet(cmb_instcd, "", cmb_instcd_d, "");
  153. misfComboCopyItemSet(cmb_limcd_rsn, "", grd_promotnflaglist, "limcd");
  154. misfComboCopyItemSet(cmb_payclsprfshipflag_d, "", grd_promotnflaglist, "payclsprfshipflag");
  155. misfComboCopyItemSet(cmb_instcd, "", grd_promotnflaglist, "instcd");
  156. model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
  157. btn_save.disabled = !(checkAuth("X"));
  158. misfGetUserAuth();
  159. if(DUTY_RANK_YN =='Y'){
  160. btn_anual.disabled = false;
  161. btn_target.disabled = false;
  162. btn_save.disabled = false;
  163. if(getUserInfo("dutplceinstcd") =='001'){
  164. cmb_instcd.disabled = false;
  165. }else{
  166. cmb_instcd.disabled = true;
  167. }
  168. //misfSetReadOnlyCol(grd_grd01, "trgtpsncnfmyn", false);
  169. }else{
  170. btn_anual.disabled = true;
  171. btn_target.disabled = true;
  172. cmb_instcd.disabled = true;
  173. btn_save.disabled = true;
  174. //misfSetReadOnlyCol(grd_grd01, "trgtpsncnfmyn", true);
  175. }
  176. model.refresh();
  177. ]]>
  178. </script>
  179. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  180. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  181. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  182. <script type="javascript" src="../../../mis/promotnmngtweb/js/RPH001.js"/>
  183. <script type="javascript" src="../../../mis/purccommonweb/js/PURC.js"/>
  184. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  185. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  186. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  187. <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
  188. <script type="javascript">
  189. <![CDATA[
  190. function fEnableUpdateButton() {
  191. btn_insert.disabled = true;
  192. btn_update.disabled = false;
  193. }
  194. function fEnableInsertButton(){
  195. btn_insert.disabled = false;
  196. btn_update.disabled = true;
  197. ipt_emplno_d.disabled=false;
  198. ipt_emplnm_d.disabled=false;
  199. btn_emplno.disabled=false;
  200. ipt_gradupym_d.disabled = false;
  201. }
  202. ]]>
  203. </script>
  204. <submission id="TRRPH00600" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/promotnflaglist"/>
  205. <submission id="TXRPH00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchcond" resultref="/root/spreflist"/>
  206. <submission id="TXRPH00600" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/promotnflaglist"/>
  207. <submission id="TXRPH00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchcond" resultref="/root/spreflist"/>
  208. </model>
  209. </xhtml:head>
  210. <xhtml:body guideline="2,474;2,589;2,592;1,1434;" style="margin-left:8; margin-right:8; ">
  211. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  212. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">년차조정처리</caption>
  213. </group>
  214. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:732px; ">
  215. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  216. <caption id="cap_gradupym" class="search_name" style="left:15px; top:19px; width:86px; height:17px; ">승급년월 :</caption>
  217. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:27px; width:56px; height:22px; ">
  218. <caption>조회</caption>
  219. <script type="javascript" ev:event="DOMActivate">
  220. <![CDATA[
  221. if ( !isRequiredControls("ipt_gradupym") ) return;
  222. model.setValue("/root/send/searchcond/promotngradupflag","2");
  223. misfMsterDetailRetrieve();
  224. var totcount=0;
  225. for(var i = grd_promotnflaglist.fixedRows ; i < grd_promotnflaglist.rows ; i++ ){
  226. totcount=totcount+1;
  227. }
  228. totcount= totcount;
  229. model.setValue("/root/init/totcount",totcount);
  230. model.refresh();
  231. ]]>
  232. </script>
  233. </button>
  234. <line id="line13" class="line_4" style="x1:1110px; y1:17px; x2:1110px; y2:61px; "/>
  235. <caption id="caption278" class="tit_2" style="left:5px; top:79px; width:87px; height:14px; ">사원 리스트</caption>
  236. <line id="line207" class="line_1" style="x1:0px; y1:98px; x2:1195px; y2:98px; "/>
  237. <!--datagrid id="promotnflaglist" nodeset="/root/main/promotnflaglist" caption="기관^부서" colwidth="60, 65" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" colsep="^" style="left:0px; top:74px; width:1195px; height:433px; ">
  238. <col ref="instcd"/>
  239. <col ref="deptcd"/>
  240. </datagrid-->
  241. <line id="line205" class="line_2" style="x1:0px; y1:638px; x2:1193px; y2:638px; "/>
  242. <line id="line206" class="line_2" style="x1:0px; y1:663px; x2:1193px; y2:663px; "/>
  243. <line id="line204" class="line_2" style="x1:0px; y1:613px; x2:1193px; y2:613px; "/>
  244. <caption id="caption283" class="tit_2" style="left:5px; top:567px; width:118px; height:13px; ">등록 및 수정사항</caption>
  245. <line id="line203" class="line_1" style="x1:0px; y1:585px; x2:1193px; y2:585px; "/>
  246. <caption id="cap_instnm" class="search_name" style="left:250px; top:19px; width:110px; height:17px; ">기 관 :</caption>
  247. <input id="ipt_gradupym" ref="/root/send/searchcond/gradupym" class="input_s_essential" inputtype="date" format="yyyy-mm" style="left:105px; top:18px; width:125px; height:19px; ">
  248. <script type="javascript" ev:event="xforms-value-changed">
  249. <![CDATA[
  250. var instcd = cmb_instcd.value;
  251. if( getStringLength(ipt_gradupym.value) == "6" ) {
  252. misfComboInstCdListMulti("cmb_instcd",ipt_gradupym.value+"31","","Y");
  253. cmb_instcd.value = instcd;
  254. cmb_instcd.refresh();
  255. }
  256. ]]>
  257. </script>
  258. </input>
  259. <button id="btn_emplnohelp" class="icon_search" style="left:689px; top:44px; width:16px; height:16px; ">
  260. <caption>
  261. <script type="javascript" ev:event="DOMActivate">
  262. <![CDATA[
  263. var precv_list = "emplno" + "," + "emplnm";
  264. //alert(precv_list);
  265. rpbfOpenPopUpList("SPRPB00101", ipt_emplno,precv_list,"ipt_systemflag",'Y');
  266. model.refresh();
  267. ]]>
  268. </script>
  269. </caption>
  270. </button>
  271. <caption id="caption16" class="search_name" style="left:520px; top:45px; width:86px; height:17px; ">사원번호 :</caption>
  272. <input id="ipt_emplno" ref="/root/send/searchcond/emplno" class="input_default" style="left:606px; top:43px; width:80px; height:19px; "/>
  273. <input id="ipt_emplnm" ref="/root/send/searchcond/emplnm" class="input_default" style="left:710px; top:43px; width:127px; height:19px; "/>
  274. <button id="btn_emplno" class="icon_search" style="left:154px; top:617px; width:16px; height:16px; ">
  275. <caption/>
  276. <script type="javascript" ev:event="DOMActivate">
  277. <![CDATA[
  278. var recv_list = "emplno,emplnm,dutplceinst,anual,dutunitcd,dutunitnm,teamcd,unitcd,jobkindcd,jobkindnm,jobposcd,jobposnm,jobrespcd,jobrespnm";
  279. recv_list = recv_list+",payclscd,entcodd,grupjoblncd,joblncd,preststatcd,brthdd,gndr,njobgradcd,njobgradnm,prfshipflag,gradupmm,ojobgradcd,ojobgradnm";
  280. rpbfOpenPopUpList("SPRPB00101", ipt_emplno_d, recv_list,"","N");
  281. cmb_payclsprfshipflag_d.value=ipt_prfshipflag.value;
  282. var dutplceinst = model.getValue("/root/main/listdetail/dutplceinst");
  283. var dutnuitcd = model.getValue("/root/main/listdetail/dutunitcd");
  284. var dutnuitnm = model.getValue("/root/main/listdetail/dutunitnm");
  285. model.makeValue("/root/main/listdetail/instcd",dutplceinst);
  286. model.makeValue("/root/main/listdetail/deptcd",dutnuitcd);
  287. model.makeValue("/root/main/listdetail/deptnm",dutnuitnm);
  288. model.refresh();
  289. //misfOpenPopUpList("01", ipt_emplno,"", recv_list) ;
  290. ]]>
  291. </script>
  292. </button>
  293. <caption id="caption10" style="left:772px; top:616px; width:26px; height:20px; text-align:center; vertical-align:bottom; ">년차</caption>
  294. <select1 id="cmb_instcd" ref="/root/send/searchcond/instcd" class="combo_default" appearance="minimal" itemcount="10" style="left:364px; top:18px; width:140px; height:19px; ">
  295. <choices>
  296. <itemset>
  297. <label/>
  298. <value/>
  299. </itemset>
  300. </choices>
  301. </select1>
  302. <line id="line6" class="line_3" style="x1:0px; y1:718px; x2:1193px; y2:718px; "/>
  303. <button id="button19" class="btn2_letter4" style="left:1120px; top:75px; width:64px; height:19px; ">
  304. <caption>엑셀저장</caption>
  305. <script type="javascript" ev:event="DOMActivate">
  306. <![CDATA[
  307. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  308. if (fileName != "")
  309. {
  310. grd_promotnflaglist.saveExcel(fileName, "SheetName", true, true, "", "");
  311. }
  312. ]]>
  313. </script>
  314. </button>
  315. <!--button id="button3" class="btn2_letter3" style="left:955px; top:48px; width:53px; height:19px; ">
  316. <caption>행추가</caption>
  317. <script type="javascript" ev:event="DOMActivate">
  318. <![CDATA[
  319. ]]>
  320. </script>
  321. </button>
  322. <button id="button4" class="btn2_letter3" style="left:1010px; top:48px; width:53px; height:19px; ">
  323. <caption>행삭제</caption>
  324. <script type="javascript" ev:event="DOMActivate">
  325. <![CDATA[
  326. ]]>
  327. </script>
  328. </button-->
  329. <input id="input7" ref="/root/main/listdetail/ojobgradnm" class="input_default" visibility="hidden" editable="false" style="left:610px; top:565px; width:35px; height:19px; "/>
  330. <input id="input8" ref="/root/main/listdetail/anual" class="input_default" editable="false" style="left:806px; top:616px; width:47px; height:19px; "/>
  331. <input id="input20" ref="/root/main/listdetail/limresn" class="input_default" style="left:860px; top:667px; width:285px; height:19px; "/>
  332. <caption id="caption11" class="cell_1" style="left:0px; top:665px; width:82px; height:23px; vertical-align:middle; ">부서</caption>
  333. <input id="ipt_emplno_d" ref="/root/main/listdetail/emplno" class="input_default" disabled="false" editable="false" style="left:85px; top:616px; width:65px; height:19px; "/>
  334. <caption id="cap_promotnflag_d" class="cell_1" style="left:857px; top:590px; width:82px; height:23px; vertical-align:middle; ">직위</caption>
  335. <caption id="caption4" class="cell_1" style="left:572px; top:615px; width:82px; height:23px; vertical-align:middle; ">직급</caption>
  336. <caption id="cap_ojobgradcd_d" class="cell_1" style="left:285px; top:615px; width:82px; height:23px; vertical-align:middle; ">입사일</caption>
  337. <select1 id="cmb_limcd_rsn" ref="/root/main/listdetail/limcd" class="combo_default" appearance="minimal" style="left:658px; top:667px; width:195px; height:19px; ">
  338. <choices>
  339. <itemset>
  340. <label/>
  341. <value/>
  342. </itemset>
  343. </choices>
  344. </select1>
  345. <input id="input2" ref="/root/main/listdetail/jobkindnm" class="input_default" editable="false" style="left:658px; top:591px; width:195px; height:19px; "/>
  346. <input id="input3" ref="/root/main/listdetail/deptnm" class="input_default" editable="false" style="left:85px; top:667px; width:195px; height:19px; "/>
  347. <input id="ipt_emplnm_d" ref="/root/main/listdetail/emplnm" class="input_default" editable="false" style="left:175px; top:616px; width:105px; height:19px; "/>
  348. <caption id="cap_emplno_d" class="cell_1" style="left:0px; top:615px; width:82px; height:23px; vertical-align:middle; ">사번</caption>
  349. <caption id="caption9" class="cell_1" style="left:0px; top:640px; width:82px; height:23px; vertical-align:middle; ">기관</caption>
  350. <input id="input4" ref="/root/main/listdetail/jobposnm" class="input_default" editable="false" style="left:944px; top:591px; width:195px; height:19px; "/>
  351. <input id="input5" ref="/root/main/listdetail/jobrespnm" class="input_default" editable="false" style="left:944px; top:616px; width:195px; height:19px; "/>
  352. <caption id="caption20" class="cell_1" style="left:285px; top:590px; width:82px; height:23px; vertical-align:middle; ">교직구분</caption>
  353. <caption id="caption21" class="cell_1" style="left:572px; top:590px; width:82px; height:23px; vertical-align:middle; ">직종</caption>
  354. <caption id="cap_limyn" class="cell_1" style="left:857px; top:640px; width:82px; height:23px; vertical-align:middle; ">처리여부</caption>
  355. <select1 id="cmb_instcd_d" ref="/root/main/listdetail/instcd" class="combo_default" appearance="minimal" itemcount="10" style="left:85px; top:642px; width:195px; height:19px; ">
  356. <choices>
  357. <itemset>
  358. <label/>
  359. <value/>
  360. </itemset>
  361. </choices>
  362. </select1>
  363. <select1 id="rdo_limyn" ref="/root/main/listdetail/limyn" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:944px; top:643px; width:180px; height:16px; text-align:center; border-style:none; ">
  364. <choices>
  365. <itemset nodeset="/root/init/promconf">
  366. <label ref="label"/>
  367. <value ref="value"/>
  368. </itemset>
  369. </choices>
  370. </select1>
  371. <button id="btn_update" class="btn2_letter2" navindex="13" style="left:1090px; top:563px; width:42px; height:19px; ">
  372. <caption>수정</caption>
  373. <script type="javascript" ev:event="DOMActivate">
  374. <![CDATA[
  375. if(!isRequiredControls("ipt_gradupym_d","ipt_emplno_d" ,"ipt_graduppaycls", "rdo_limyn"))return;
  376. if(rdo_limyn.value=='N' && cmb_limcd_rsn.value==""){
  377. messageBox("승급불가 사유는 ","I003");
  378. return;
  379. }
  380. var cur_row = grd_promotnflaglist.row; // 행 번호 가져오기
  381. if (cur_row > 0) {
  382. // 그리드에 추가
  383. model.copyNode("/root/main/promotnflaglist["+cur_row+"]","/root/main/listdetail");
  384. grd_promotnflaglist.addStatus(cur_row,"update"); // 행을 업데이트 상태로 변경
  385. model.refresh();
  386. }
  387. ]]>
  388. </script>
  389. </button>
  390. <button id="button4" class="btn2_letter3" navindex="14" style="left:1135px; top:563px; width:53px; height:19px; ">
  391. <caption>지우기</caption>
  392. <script type="javascript" ev:event="DOMActivate">
  393. <![CDATA[
  394. fEnableInsertButton();
  395. model.resetInstanceNode("/root/main/listdetail");
  396. model.refresh();
  397. ]]>
  398. </script>
  399. </button>
  400. <button id="btn_insert" class="btn2_letter2" navindex="12" style="left:1045px; top:563px; width:42px; height:19px; ">
  401. <caption>추가</caption>
  402. <script type="javascript" ev:event="DOMActivate">
  403. <![CDATA[
  404. if(!isRequiredControls("ipt_gradupym_d","ipt_emplno_d" ,"ipt_adjtyearno","rdo_limyn"))return;
  405. if(rdo_limyn.value=='N' && cmb_limcd_rsn.value==""){
  406. messageBox("승급불가 사유는 ","I003");
  407. return;
  408. }
  409. ipt_promotngradupflag.value='2';
  410. //if (!fnullCheck()) return;
  411. grd_promotnflaglist.addrow(); // 입력할 행 추가.
  412. var cur_row = grd_promotnflaglist.row; // 추가된 행 번호 가져오기
  413. // 그리드에 추가
  414. model.copyNode("/root/main/promotnflaglist["+(cur_row-1)+"]","/root/main/listdetail");
  415. fEnableUpdateButton();
  416. model.refresh();
  417. ]]>
  418. </script>
  419. </button>
  420. <datagrid id="grd_promotnflaglist" nodeset="/root/main/promotnflaglist" caption="승진년월^기관^교직구분^부서^사원번호^성명^직책^직위^직종^직급^년차^조정&#xA;년차^조정&#xA;여부^처리&#xA;여부^불가&#xA;사유^불가사유기타사항^비고^입사일^승진발령일^직군^직렬^현재호봉^승급호봉^승급월^현근무상태^생일^성별^승급구분코드^부서코드^팀코드^유닛코드^직종코드^직위코드^직책코드^현직급코드^신직급코드^caption39|승진년월^기관^교직구분^부서^사원번호^성명^직책^직위^직종^직급^년차^조정&#xA;년차^조정&#xA;여부^처리&#xA;여부^불가&#xA;사유^불가사유기타사항^비고^입사일^승진발령일^직군^직렬^현재호봉^승급호봉^승급월^현근무상태^생일^성별^승급구분코드^부서코드^팀코드^유닛코드^직종코드^직위코드^직책코드^현직급코드^신직급코드^caption39" colsep="^" colwidth="21, 100, 81, 100, 81, 73, 67, 58, 73, 65, 41, 57, 41, 44, 87, 107, 92, 67, 100, 47, 35, 67, 59, 65, 72, 50, 40, 39, 100, 65, 57, 57, 100, 100, 100, 100, 100, 100" explorerbar="sortshow" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:103px; width:1190px; height:440px; ">
  421. <col ref="gradupym" visibility="hidden" format="yyyy-mm"/>
  422. <col id="instcd" ref="instcd" type="combo">
  423. <choices>
  424. <itemset>
  425. <label/>
  426. <value/>
  427. </itemset>
  428. </choices>
  429. </col>
  430. <col id="payclsprfshipflag" ref="payclsprfshipflag" type="combo">
  431. <choices>
  432. <itemset>
  433. <label/>
  434. <value/>
  435. </itemset>
  436. </choices>
  437. </col>
  438. <col ref="deptnm"/>
  439. <col ref="emplno"/>
  440. <col ref="emplnm"/>
  441. <col ref="jobrespnm"/>
  442. <col ref="jobposnm"/>
  443. <col ref="jobkindnm"/>
  444. <col ref="njobgradnm"/>
  445. <col ref="anual"/>
  446. <col ref="adjtyearno"/>
  447. <col checkvalue="Y,N" ref="limyn" type="checkbox" style="text-align:center; "/>
  448. <col ref="gvnoffcordtretyn" style="text-align:center; "/>
  449. <col id="limcd" ref="limcd" type="combo">
  450. <choices>
  451. <itemset>
  452. <label/>
  453. <value/>
  454. </itemset>
  455. </choices>
  456. </col>
  457. <col ref="limresn" type="input"/>
  458. <col ref="cmt" type="input"/>
  459. <col ref="entcodd" format="yyyy-mm-dd" style="text-align:center; "/>
  460. <col ref="promotngvnoffcorddd" format="yyyy-mm-dd" style="text-align:center; "/>
  461. <col ref="grupjoblncd" visibility="hidden"/>
  462. <col ref="joblncd" visibility="hidden"/>
  463. <col ref="payclscd" visibility="hidden" style="text-align:center; "/>
  464. <col ref="graduppaycls" visibility="hidden" style="text-align:center; "/>
  465. <col ref="gradupmm" visibility="hidden" style="text-align:center; "/>
  466. <col ref="preststatcd" visibility="hidden"/>
  467. <col ref="brthdd" visibility="hidden"/>
  468. <col ref="gndr" visibility="hidden"/>
  469. <col ref="promotngradupflag" visibility="hidden"/>
  470. <col ref="deptcd" visibility="hidden"/>
  471. <col ref="teamcd" visibility="hidden"/>
  472. <col ref="unitcd" visibility="hidden"/>
  473. <col ref="jobkindcd" visibility="hidden"/>
  474. <col ref="jobposcd" visibility="hidden"/>
  475. <col ref="jobrespcd" visibility="hidden"/>
  476. <col ref="ojobgradcd" visibility="hidden"/>
  477. <col ref="njobgradcd" visibility="hidden"/>
  478. <col ref="oldlimyn" visibility="hidden"/>
  479. <col ref="oldgvnoffcordtretyn" visibility="hidden"/>
  480. <script type="javascript" ev:event="onclick">
  481. <![CDATA[
  482. var cur_row = grd_promotnflaglist.row;
  483. if ( cur_row > 0 ) {
  484. fEnableUpdateButton();
  485. model.copyNode("/root/main/listdetail","/root/main/promotnflaglist["+(cur_row-1)+"]");
  486. ipt_emplno_d.disabled=true;
  487. ipt_emplnm_d.disabled=true;
  488. btn_emplno.disabled=true;
  489. ipt_gradupym_d.disabled = true;
  490. model.refresh();
  491. }
  492. ]]>
  493. </script>
  494. <script type="javascript" ev:event="onaftersort">
  495. <![CDATA[
  496. grd_promotnflaglist.gridToInstance();
  497. ]]>
  498. </script>
  499. </datagrid>
  500. <caption id="cap_prom_rsn" class="cell_1" style="left:572px; top:665px; width:82px; height:23px; vertical-align:middle; ">승급불가사유</caption>
  501. <input id="ipt_gradupym_d" ref="/root/main/listdetail/gradupym" inputtype="date" format="yyyy-mm" style="left:85px; top:591px; width:195px; height:19px; "/>
  502. <input id="input9" ref="/root/main/listdetail/deptcd" visibility="hidden" style="left:415px; top:560px; width:20; height:19px; "/>
  503. <input id="input12" ref="/root/main/listdetail/teamcd" visibility="hidden" style="left:445px; top:560px; width:20; height:19px; "/>
  504. <input id="input13" ref="/root/main/listdetail/unitcd" visibility="hidden" style="left:475px; top:560px; width:20; height:19px; "/>
  505. <input id="input14" ref="/root/main/listdetail/jobkindcd" visibility="hidden" style="left:505px; top:560px; width:20; height:19px; "/>
  506. <input id="input15" ref="/root/main/listdetail/jobposcd" visibility="hidden" style="left:535px; top:560px; width:20; height:19px; "/>
  507. <input id="input16" ref="/root/main/listdetail/jobrespcd" visibility="hidden" style="left:560px; top:560px; width:20; height:19px; "/>
  508. <input id="input17" ref="/root/main/listdetail/ojobgradcd" visibility="hidden" style="left:585px; top:560px; width:20; height:19px; "/>
  509. <input id="input18" ref="/root/main/listdetail/njobgradnm" style="left:660px; top:616px; width:105px; height:19px; "/>
  510. <input id="input21" ref="/root/main/listdetail/njobgradcd" visibility="hidden" style="left:670px; top:560px; width:20; height:19px; "/>
  511. <input id="input23" ref="/root/main/listdetail/payclscd" style="left:658px; top:642px; width:192px; height:19px; "/>
  512. <input id="input24" ref="/root/main/listdetail/gndr" visibility="hidden" style="left:850px; top:558px; width:20; height:19px; "/>
  513. <input id="input26" ref="/root/main/listdetail/entcodd" format="yyyy-mm-dd" style="left:372px; top:616px; width:190px; height:19px; "/>
  514. <input id="input27" ref="/root/main/listdetail/grupjoblncd" visibility="hidden" style="left:725px; top:558px; width:20; height:19px; "/>
  515. <input id="input28" ref="/root/main/listdetail/joblncd" visibility="hidden" style="left:755px; top:558px; width:20; height:19px; "/>
  516. <input id="input31" ref="/root/main/listdetail/preststatcd" visibility="hidden" style="left:780px; top:558px; width:20; height:19px; "/>
  517. <input id="input32" ref="/root/main/listdetail/brthdd" visibility="hidden" style="left:820px; top:558px; width:20; height:19px; "/>
  518. <line id="line1" class="line_2" style="x1:0px; y1:688px; x2:1193px; y2:688px; "/>
  519. <caption id="cap_gradupym_d" class="cell_1" style="left:0px; top:590px; width:82px; height:23px; vertical-align:middle; ">승급년월</caption>
  520. <input id="input33" ref="/root/main/listdetail/cmt" class="input_default" style="left:85px; top:693px; width:1060px; height:19px; "/>
  521. <caption id="caption7" class="cell_1" style="left:0px; top:690px; width:82px; height:23px; vertical-align:middle; ">비고</caption>
  522. <caption id="caption8" class="search_name" style="left:855px; top:20px; width:86px; height:17px; ">조정여부 :</caption>
  523. <select1 id="rdo_limyn_s" ref="/root/send/searchcond/limyn" class="radio_search" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:940px; top:20px; width:145px; height:16px; text-align:center; border-style:none; ">
  524. <choices>
  525. <itemset nodeset="/root/init/cnfmyn">
  526. <label ref="label"/>
  527. <value ref="value"/>
  528. </itemset>
  529. </choices>
  530. </select1>
  531. <caption id="caption12" class="search_name" style="left:250px; top:43px; width:135px; height:17px; ">년차제한사유 :</caption>
  532. <select1 id="cmb_limcd" ref="/root/send/searchcond/limcd" class="combo_default" appearance="minimal" style="left:364px; top:41px; width:140px; height:19px; ">
  533. <choices>
  534. <itemset>
  535. <label/>
  536. <value/>
  537. </itemset>
  538. </choices>
  539. </select1>
  540. <button id="button5" class="btn5_letter3" style="left:1065px; top:75px; width:53px; height:19px; ">
  541. <caption>행삭제</caption>
  542. <script type="javascript" ev:event="DOMActivate">
  543. <![CDATA[
  544. misfGridIUD(grd_promotnflaglist,"D");
  545. model.refresh();
  546. ]]>
  547. </script>
  548. </button>
  549. <caption id="caption1" class="search_name" style="left:520px; top:20px; width:85px; height:17px; ">부 서 :</caption>
  550. <input id="ipt_deptnm" ref="/root/send/searchcond/deptnm" class="input_default" style="left:710px; top:20px; width:125px; height:19px; ">
  551. <script type="javascript" ev:event="xforms-value-changed">
  552. <![CDATA[
  553. var pre_deptcd = model.getValue(ipt_deptcd.attribute("ref"))
  554. misfValidationCheck("02", "", "deptcd,deptnm" );
  555. model.refresh();
  556. ]]>
  557. </script>
  558. </input>
  559. <input id="ipt_deptcd" ref="/root/send/searchcond/deptcd" class="input_default" style="left:605px; top:20px; width:80px; height:19px; ">
  560. <script type="javascript" ev:event="xforms-value-changed">
  561. <![CDATA[
  562. var recv_list = "deptcd,deptnm";
  563. var instcd = cmb_instcd.value;
  564. var pre_deptcd = model.getValue(ipt_deptcd.attribute("ref"))
  565. misfValidationCheck("02", "", "deptcd,deptnm" );
  566. ]]>
  567. </script>
  568. </input>
  569. <button id="btn_deptcd" class="icon_search" style="left:689px; top:21px; width:16px; height:16px; ">
  570. <caption/>
  571. <script type="javascript" ev:event="DOMActivate">
  572. <![CDATA[
  573. var recv_list = "deptcd,deptnm";
  574. var instcd = cmb_instcd.value;
  575. var pre_deptcd = model.getValue(ipt_deptcd.attribute("ref"))
  576. rpvfOpenDeptCdHelp(ipt_deptnm,recv_list, instcd, "instcd");
  577. var cur_deptcd = model.getValue(ipt_deptcd.attribute("ref"));
  578. model.refresh();
  579. ]]>
  580. </script>
  581. </button>
  582. <select1 id="cmb_payclsprfshipflag" ref="/root/send/searchcond/payclsprfshipflag" class="combo_default" appearance="minimal" itemcount="10" style="left:105px; top:41px; width:125px; height:19px; ">
  583. <choices>
  584. <itemset>
  585. <label/>
  586. <value/>
  587. </itemset>
  588. </choices>
  589. </select1>
  590. <caption id="caption2" class="search_name" style="left:15px; top:40px; width:86px; height:17px; ">교직구분 :</caption>
  591. <caption id="cap_adjtyearno" class="cell_1" style="left:285px; top:640px; width:82px; height:23px; vertical-align:middle; ">조정년차</caption>
  592. <caption id="caption5" class="cell_1" style="left:572px; top:640px; width:82px; height:23px; vertical-align:middle; ">호봉</caption>
  593. <select1 id="cmb_payclsprfshipflag_d" ref="/root/main/listdetail/payclsprfshipflag" class="combo_default" appearance="minimal" itemcount="10" style="left:372px; top:591px; width:193px; height:19px; ">
  594. <choices>
  595. <itemset>
  596. <label/>
  597. <value/>
  598. </itemset>
  599. </choices>
  600. </select1>
  601. <caption id="caption13" class="cell_1" style="left:857px; top:615px; width:82px; height:23px; vertical-align:middle; ">직책</caption>
  602. <input id="ipt_graduppaycls" ref="/root/main/listdetail/graduppaycls" visibility="hidden" style="left:370px; top:553px; width:28px; height:19px; "/>
  603. <caption id="caption14" class="cell_1" style="left:285px; top:665px; width:82px; height:23px; vertical-align:middle; ">승급월</caption>
  604. <input id="input10" ref="/root/main/listdetail/gradupmm" inputtype="date" format="mm" style="left:372px; top:667px; width:193px; height:19px; "/>
  605. <input id="input6" ref="/root/main/listdetail/gvnoffcordtretyn" visibility="hidden" style="left:880px; top:565px; width:20px; height:19px; "/>
  606. <input id="ipt_promotngradupflag" ref="/root/main/listdetail/promotngradupflag" visibility="hidden" style="left:910px; top:565px; width:20px; height:19px; "/>
  607. <input id="input19" ref="/root/main/listdetail/oldgvnoffcordtretyn" visibility="hidden" style="left:965px; top:565px; width:20px; height:19px; "/>
  608. <input id="input22" ref="/root/main/listdetail/oldlimyn" visibility="hidden" style="left:935px; top:565px; width:20px; height:19px; "/>
  609. <button id="button6" class="btn2_letter4" style="left:999px; top:75px; width:64px; height:19px; ">
  610. <caption>전체취소</caption>
  611. <script type="javascript" ev:event="DOMActivate">
  612. <![CDATA[
  613. var updtdata = getGridUpdateData(grd_promotnflaglist);
  614. if (updtdata != "") {
  615. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 저장후","C002");
  616. return;
  617. }
  618. for (var i = grd_promotnflaglist.fixedRows; i < grd_promotnflaglist.rows; i++ ) {
  619. grd_promotnflaglist.valueMatrix(i, grd_promotnflaglist.colRef("limyn")) = 'N';
  620. if(grd_promotnflaglist.valueMatrix(i, grd_promotnflaglist.colRef("oldlimyn"))!=grd_promotnflaglist.valueMatrix(i, grd_promotnflaglist.colRef("limyn"))){
  621. grd_promotnflaglist.addStatus(i,"update");
  622. }else{
  623. grd_promotnflaglist.rowStatus(i) =0;
  624. }
  625. }
  626. ]]>
  627. </script>
  628. </button>
  629. <button id="button12" class="btn2_letter4" style="left:932px; top:75px; width:64px; height:19px; ">
  630. <caption>전체선택</caption>
  631. <script type="javascript" ev:event="DOMActivate">
  632. <![CDATA[
  633. var updtdata = getGridUpdateData(grd_promotnflaglist);
  634. if (updtdata != "") {
  635. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 저장후","C002");
  636. return;
  637. }
  638. for (var i = grd_promotnflaglist.fixedRows; i < grd_promotnflaglist.rows; i++ ) {
  639. grd_promotnflaglist.valueMatrix(i, grd_promotnflaglist.colRef("limyn")) = 'Y';
  640. if(grd_promotnflaglist.valueMatrix(i, grd_promotnflaglist.colRef("oldlimyn"))!=grd_promotnflaglist.valueMatrix(i, grd_promotnflaglist.colRef("limyn"))){
  641. grd_promotnflaglist.addStatus(i,"update");
  642. }else{
  643. grd_promotnflaglist.rowStatus(i) =0;
  644. }
  645. }
  646. ]]>
  647. </script>
  648. </button>
  649. <input id="ipt_adjtyearno" ref="/root/main/listdetail/adjtyearno" style="left:371px; top:642px; width:193px; height:19px; "/>
  650. <input id="input1" ref="/root/main/listdetail/graduppaycls" visibility="hidden" style="left:330px; top:553px; width:28px; height:19px; "/>
  651. <input id="ipt_prfshipflag" ref="/root/main/listdetail/prfshipflag" visibility="hidden" style="left:285px; top:553px; width:28px; height:19px; "/>
  652. <input id="input11" ref="/root/main/listdetail/dutunitcd" visibility="hidden" style="left:220px; top:554px; width:20px; height:19px; "/>
  653. <input id="input25" ref="/root/main/listdetail/dutunitnm" visibility="hidden" style="left:250px; top:554px; width:20px; height:19px; "/>
  654. <input id="input29" ref="/root/main/listdetail/dutplceinst" visibility="hidden" style="left:195px; top:554px; width:20px; height:19px; "/>
  655. <caption id="caption3" style="left:125px; top:75px; width:95px; height:20px; font-weight:bold; color:#0000ff; ">* 조회인원수:</caption>
  656. <output id="output1" ref="/root/init/totcount" style="left:210px; top:75px; width:110px; height:19px; font-weight:bold; color:#0000ff; "/>
  657. </group>
  658. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:28px; ">
  659. <button id="button16" class="btn3_letter2" style="left:0px; top:3px; width:56px; height:22px; ">
  660. <caption>출력</caption>
  661. </button>
  662. <line id="line4" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  663. <button id="btn_target" class="btn4_letter5" selected="dksemffudy?" style="left:1037px; top:3px; width:92px; height:22px; ">
  664. <caption>대상자산출</caption>
  665. <script type="javascript" ev:event="DOMActivate">
  666. <![CDATA[
  667. if ( !isRequiredControls("ipt_gradupym") ) return;
  668. var ret = messageBox("대상자산출 작업을 ","Q004");
  669. if (ret != 6) { // not OK
  670. return;
  671. } else {
  672. model.setValue("/root/send/searchcond/promotngradupflag","2");
  673. model.setValue("/root/send/searchcond/workgbn","D");
  674. submit("TXRPH00601");
  675. }
  676. var errormsg=model.getValue("/root/spreflist/spref/errormsg");
  677. var errflag=model.getValue("/root/spreflist/spref/errflag");
  678. if(errflag =='Y'){
  679. messageBox(errormsg,"E001");
  680. return;
  681. }
  682. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  683. messageBox("대상자산출 작업이 ","I002");
  684. btn_search.dispatch("DOMActivate");
  685. }
  686. ]]>
  687. </script>
  688. </button>
  689. <button id="btn_save" class="btn4_letter2" style="left:1130px; top:3px; width:56px; height:22px; ">
  690. <caption>저장</caption>
  691. <script type="javascript" ev:event="DOMActivate">
  692. <![CDATA[
  693. var updtdata = getGridUpdateData(grd_promotnflaglist);
  694. if (updtdata == "" ) {
  695. messageBox("변경된 데이터가","I004");
  696. return;
  697. }
  698. //alert(model.getValue("/root/send/uptprom/emplno"));
  699. var ret = messageBox("저장합니다.","Q003");
  700. if (ret != 6) { // not OK
  701. return;
  702. } else {
  703. misfSave("TXRPH00600");
  704. }
  705. model.setValue("/root/send/searchcond/promotngradupflag","2");
  706. misfMsterDetailRetrieve();
  707. fEnableInsertButton();
  708. model.refresh();
  709. ]]>
  710. </script>
  711. </button>
  712. <button id="btn_anual" class="btn4_letter4" style="left:956px; top:3px; width:80px; height:22px; ">
  713. <caption>년차조정</caption>
  714. <script type="javascript" ev:event="DOMActivate">
  715. <![CDATA[
  716. var updtdata = getGridUpdateData(grd_promotnflaglist);
  717. if (updtdata != "") {
  718. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 저장후","C002");
  719. return;
  720. }
  721. var ret = messageBox("년차조정 작업을 ","Q004");
  722. if (ret != 6) { // not OK
  723. return;
  724. } else {
  725. model.setValue("/root/send/searchcond/promotngradupflag","2");
  726. model.setValue("/root/send/searchcond/yyworkgbn",'Y');
  727. submit("TXRPH00602");
  728. }
  729. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  730. messageBox("년차조정 작업이 ","I002");
  731. btn_search.dispatch("DOMActivate");
  732. }
  733. ]]>
  734. </script>
  735. </button>
  736. <button id="btn_gnvoffcanbnt" class="btn4_letter6" style="left:618px; top:3px; width:104px; height:22px; ">
  737. <caption>일괄발령취소</caption>
  738. <script type="javascript" ev:event="DOMActivate">
  739. <![CDATA[
  740. var updtdata = getGridUpdateData(grd_promotnflaglist);
  741. if (updtdata != "") {
  742. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 저장후","C002");
  743. return;
  744. }
  745. if ( !isRequiredControls("ipt_gradupym") ) return;
  746. var ret = messageBox("년차불가발령 작업을 ","Q004");
  747. if (ret != 6) { // not OK
  748. return;
  749. } else {
  750. model.setValue("/root/send/searchcond/promotngradupflag","2");
  751. model.setValue("/root/send/searchcond/iudflag",'C');
  752. model.setValue("/root/send/searchcond/workgbn","G");
  753. submit("TXRPH00601");
  754. }
  755. var errormsg=model.getValue("/root/spreflist/spref/errormsg");
  756. var errflag=model.getValue("/root/spreflist/spref/errflag");
  757. if(errflag =='0'){
  758. messageBox(errormsg,"I004");
  759. return;
  760. }
  761. messageBox("년차불가발령취소 작업이 ","I002");
  762. btn_search.dispatch("DOMActivate");
  763. ]]>
  764. </script>
  765. </button>
  766. <button id="btn_gnvoffentbnt" class="btn4_letter8" style="left:723px; top:3px; width:128px; height:22px; ">
  767. <caption>일괄년차불가발령</caption>
  768. <script type="javascript" ev:event="DOMActivate">
  769. <![CDATA[
  770. var updtdata = getGridUpdateData(grd_promotnflaglist);
  771. if (updtdata != "") {
  772. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 저장후","C002");
  773. return;
  774. }
  775. if ( !isRequiredControls("ipt_gradupym") ) return;
  776. var ret = messageBox("년차불가발령 작업을 ","Q004");
  777. if (ret != 6) { // not OK
  778. return;
  779. } else {
  780. model.setValue("/root/send/searchcond/promotngradupflag","2");
  781. model.setValue("/root/send/searchcond/iudflag",'U');
  782. model.setValue("/root/send/searchcond/workgbn","G");
  783. submit("TXRPH00601");
  784. }
  785. var errormsg=model.getValue("/root/spreflist/spref/errormsg");
  786. var errflag=model.getValue("/root/spreflist/spref/errflag");
  787. if(errflag =='0'){
  788. messageBox(errormsg,"I004");
  789. return;
  790. }
  791. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  792. messageBox("년차불가발령 작업이 ","I002");
  793. btn_search.dispatch("DOMActivate");
  794. }
  795. ]]>
  796. </script>
  797. </button>
  798. <button id="button1" class="btn4_letter6" style="left:851px; top:3px; width:104px; height:22px; ">
  799. <caption>년차조정취소</caption>
  800. <script type="javascript" ev:event="DOMActivate">
  801. <![CDATA[
  802. var updtdata = getGridUpdateData(grd_promotnflaglist);
  803. if (updtdata != "") {
  804. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 저장후","C002");
  805. return;
  806. }
  807. var ret = messageBox("년차조정취소 작업을 ","Q004");
  808. if (ret != 6) { // not OK
  809. return;
  810. } else {
  811. model.setValue("/root/send/searchcond/promotngradupflag","2");
  812. model.setValue("/root/send/searchcond/yyworkgbn",'N');
  813. submit("TXRPH00602");
  814. }
  815. if (model.getValue(gvErrorMsgPath + "/type") != "error"){
  816. messageBox("년차조정취소 작업이 ","I002");
  817. btn_search.dispatch("DOMActivate");
  818. }
  819. ]]>
  820. </script>
  821. </button>
  822. </group>
  823. </xhtml:body>
  824. </xhtml:html>