SMRPB10000_발령사항등록및처리.xrw 108 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046
  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. <gvnoffcordmast>
  11. <gvnoffcordmastlist/>
  12. </gvnoffcordmast>
  13. <gvnoffcorddetl>
  14. <gvnoffcorddetllist/>
  15. <gvnoffcordcdlist/>
  16. </gvnoffcorddetl>
  17. <gvnoffcorddetldata>
  18. <gvnoffcorddetllist/>
  19. </gvnoffcorddetldata>
  20. <concroffcord>
  21. <concroffcordlist/>
  22. </concroffcord>
  23. <supdept>
  24. <supdeptlist/>
  25. </supdept>
  26. </main>
  27. <init>
  28. <validation/>
  29. <emplinfo>
  30. <emplno/>
  31. <emplnm/>
  32. </emplinfo>
  33. </init>
  34. <send>
  35. <gvnoffcordmast>
  36. <gvnoffcordfromdd/>
  37. <gvnoffcordtodd/>
  38. <gvnoffcordflag/>
  39. <gvnoffcorddetlflag/>
  40. <cnfmyn/>
  41. <prfshipflag/>
  42. <holyordflag/>
  43. <instcd/>
  44. </gvnoffcordmast>
  45. <gvnoffcorddetl>
  46. <gvnoffcordno/>
  47. <emplno/>
  48. <gvnoffcordflag/>
  49. <gvnoffcorddetlflag/>
  50. <gvnoffcorddd/>
  51. <instcd/>
  52. </gvnoffcorddetl>
  53. <save>
  54. <gvnoffcordmastlist/>
  55. <gvnoffcorddetllist/>
  56. </save>
  57. <concroffcord>
  58. <emplno/>
  59. </concroffcord>
  60. <supdept>
  61. <instcd/>
  62. <gvnoffcorddd/>
  63. <deptcd/>
  64. </supdept>
  65. </send>
  66. <hidden/>
  67. <temp>
  68. <frompage/>
  69. <topage/>
  70. </temp>
  71. </root>
  72. </instance>
  73. <script type="javascript" ev:event="xforms-ready">
  74. <![CDATA[
  75. model.removeNodeset(grd_gvnoffcordmastlist.nodeset);
  76. model.removeNodeset(grd_gvnoffcorddetllist.nodeset);
  77. model.removeNodeset(grd_gvnoffcordcdlist.nodeset);
  78. model.removeNodeset(grd_concroffcordlist.nodeset);
  79. misfMsterDetailSet(grd_gvnoffcordmastlist,null, "TRRPB10001" ,"Y");
  80. misfMsterDetailSet(grd_gvnoffcorddetllist,grd_gvnoffcordmastlist, "TRRPB10002","Y" );
  81. misfMsterDetailSet(grd_gvnoffcordcdlist,grd_gvnoffcordmastlist, "TRRPB10002","N" );
  82. misfComboComCdList("R0091",cmb_gvnoffcordflag_s);
  83. misfComboComCdList("R0058",cmb_prfshipflag_s);
  84. misfComboInstCdListMulti("cmb_instcd1",getCurrentDate(),"","N","Y");
  85. // misfComboComCdListMulti("R0066,R0058,Z0007,R0090,R0098,R0147,R0091","cmb_holyordflag,cmb_prfshipflag_i,cmb_instcd1,cmb_gvnoffcorddetlflag_i,cmb_payclscd,cmb_retireresn,cmb_gvnoffcordflag_i");
  86. misfComboComCdListMulti("R0066,R0058,R0090,R0098,R0147,R0091,R0097,R0401","cmb_holyordflag,cmb_prfshipflag_i,cmb_gvnoffcorddetlflag_i,cmb_payclscd,cmb_retireresn,cmb_gvnoffcordflag_i,cmb_payclsprfshipflag,cmb_educd");
  87. misfComboCopyItemSet(cmb_holyordflag, "", grd_gvnoffcordmastlist, "holyordflag");
  88. misfComboCopyItemSet(cmb_prfshipflag_i, "", grd_gvnoffcordmastlist, "prfshipflag");
  89. //misfComboCopyItemSet(cmb_prfshipflag_s, "", cmb_prfshipflag_i, "");
  90. misfComboCopyItemSet(cmb_instcd1,"",cmb_instcd2,"");
  91. misfComboCopyItemSet(cmb_holyordflag,"",cmb_holyordflag_i,"");
  92. misfComboCopyItemSet(cmb_gvnoffcordflag_i, "", grd_gvnoffcordmastlist, "gvnoffcordflag");
  93. //misfComboCopyItemSet(cmb_gvnoffcordflag_s, "", cmb_gvnoffcordflag_i, "");
  94. misfComboCopyItemSet(cmb_instcd1,"",cmb_dutplceinst,"");
  95. misfComboCopyItemSet(cmb_instcd1,"",cmb_payinst,"");
  96. misfComboCopyItemSet(cmb_instcd1,"",cmb_instcd,"");
  97. misfComboCopyItemSet(cmb_instcd1,"",grd_gvnoffcordmastlist,"instcd");
  98. var nowyy = new Date();
  99. var gvnodate = nowyy.getDateFormat();
  100. ipt_gvnoffcordfromdd.value =gvnodate;
  101. ipt_gvnoffcordtodd.value =gvnodate;
  102. addGridComboItemAll("cmb_gvnoffcordflag_s","전체","%","above");
  103. addGridComboItemAll("cmb_prfshipflag_s","전체","%","above");
  104. cmb_gvnoffcordflag_s.value = "%";
  105. cmb_prfshipflag_s.value = "%";
  106. cmb_cnfmyn_s.value = "%";
  107. cmb_instcd.value = getUserInfo("dutplceinstcd");
  108. model.refresh();
  109. ]]>
  110. </script>
  111. <submission id="TRRPB10001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gvnoffcordmast" resultref="/root/main/gvnoffcordmast"/>
  112. <submission id="TRRPB10002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gvnoffcorddetl" resultref="/root/main/gvnoffcorddetl"/>
  113. <submission id="TXRPB10001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  114. <submission id="TXRPB10002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  115. <submission id="TXRPB10003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  116. <submission id="TRRPB10004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/concroffcord" resultref="/root/main/concroffcord"/>
  117. <submission id="TRRPZ10003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/supdept" resultref="/root/main/supdept"/>
  118. </model>
  119. <script type="javascript">
  120. <![CDATA[
  121. var GVN_TARGET_NODE = "/root/main/gvnoffcorddetldata";
  122. var GVN_SOURCE_NODE = "/root/main/gvnoffcorddetl";
  123. function deptsetting(pUnitYn)
  124. {
  125. model.setValue("/root/send/supdept/instcd", cmb_instcd1.value);
  126. model.setValue("/root/send/supdept/gvnoffcorddd", ipt_gvnoffcorddd.value);
  127. if (pUnitYn == "Y") {
  128. model.setValue("/root/send/supdept/deptcd", ipt_unitcd.value);
  129. }
  130. else {
  131. model.setValue("/root/send/supdept/deptcd", ipt_teamcd.value);
  132. }
  133. submit("TRRPZ10003");
  134. model.setValue(ipt_deptcd.attribute("ref"), model.getValue("/root/main/supdept/supdeptlist/deptcd"));
  135. model.setValue(ipt_deptcdnm.attribute("ref"), model.getValue("/root/main/supdept/supdeptlist/deptnm"));
  136. if (pUnitYn == "Y") {
  137. model.setValue(ipt_teamcd.attribute("ref"), model.getValue("/root/main/supdept/supdeptlist/teamcd"));
  138. model.setValue(ipt_teamnm.attribute("ref"), model.getValue("/root/main/supdept/supdeptlist/teamnm"));
  139. }
  140. }
  141. function dutdeptsetting(pUnitYn)
  142. {
  143. model.setValue("/root/send/supdept/instcd", cmb_dutplceinst.value);
  144. model.setValue("/root/send/supdept/gvnoffcorddd", ipt_gvnoffcorddd.value);
  145. if (pUnitYn == "Y") {
  146. model.setValue("/root/send/supdept/deptcd", ipt_dutunitcd.value);
  147. }
  148. else {
  149. model.setValue("/root/send/supdept/deptcd", ipt_dutteamcd.value);
  150. }
  151. submit("TRRPZ10003");
  152. model.setValue(ipt_dutdeptcd.attribute("ref"), model.getValue("/root/main/supdept/supdeptlist/deptcd"));
  153. model.setValue(ipt_dutdeptnm.attribute("ref"), model.getValue("/root/main/supdept/supdeptlist/deptnm"));
  154. if (pUnitYn == "Y") {
  155. model.setValue(ipt_dutteamcd.attribute("ref"), model.getValue("/root/main/supdept/supdeptlist/teamcd"));
  156. model.setValue(ipt_dutteamnm.attribute("ref"), model.getValue("/root/main/supdept/supdeptlist/teamnm"));
  157. }
  158. }
  159. ]]>
  160. </script>
  161. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  162. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  163. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  164. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  165. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  166. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  167. </xhtml:head>
  168. <xhtml:body style="margin-left:8; margin-right:8; ">
  169. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  170. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">발령사항등록및처리</caption>
  171. </group>
  172. <switch id="switch1" class="sw_box" style="left:0px; top:12px; width:1195px; height:755px; border-style:solid; ">
  173. <case id="case1" selected="true">
  174. <group id="grp_btn" scroll="auto" style="left:0px; top:0px; width:1193px; height:26px; ">
  175. <line id="line75" class="line_6" style="x1:0px; y1:25px; x2:1193px; y2:25px; "/>
  176. <button id="btn_save" class="btn4_letter2" style="left:1137px; top:3px; width:56px; height:22px; ">
  177. <caption>저장</caption>
  178. <script type="javascript" ev:event="DOMActivate">
  179. <![CDATA[
  180. // var emplno = ipt_emplno.currentText;
  181. //
  182. // if (emplno == null || emplno == "" ) {
  183. // messageBox("사원번호를 등록 하십시요 . 저장 ", "E001");
  184. // return;
  185. // }
  186. /* Grid의 DATA와 각 Control의 값을 비교해서 수정 되었으면 Grid에 Copy후 Grid의 상태를 바꿔준다 */
  187. misfGridRowStatusChange(grd_gvnoffcorddetllist, GVN_SOURCE_NODE, GVN_TARGET_NODE);
  188. model.refresh();
  189. for (var i = grd_gvnoffcorddetllist.rows - 1 ; i >= grd_gvnoffcorddetllist.fixedRows; i--) {
  190. var emplno = grd_gvnoffcorddetllist.valueMatrix(i, grd_gvnoffcorddetllist.colRef("emplno"));
  191. if (emplno == null || emplno == "" ) {
  192. misfGridIUD(grd_gvnoffcorddetllist, "D");
  193. }
  194. }
  195. misfSave("TXRPB10001");
  196. btn_search.dispatch("DOMActivate");
  197. ]]>
  198. </script>
  199. </button>
  200. </group>
  201. <group id="group3" scroll="auto" style="left:0px; top:35px; width:1193; height:715px; ">
  202. <datagrid id="grd_concroffcordlist" nodeset="/root/main/concroffcord/concroffcordlist" visibility="hidden" caption="발령일자^발령번호^근무기관^근무부서^직위^직책^비고^사원번호^일련번호^근무기관코드^직책코드^직위코드|발령일자^발령번호^근무기관^근무부서^직위^직책^비고^사원번호^일련번호^근무기관코드^직책코드^직위코드" colsep="^" colwidth="107, 104, 153, 130, 137, 160, 352, 29, 31, 43, 37, 37, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:535px; width:1193px; height:172px; ">
  203. <col disabled="true" ref="gvnoffcorddd" type="inputdate"/>
  204. <col ref="gvnoffcordno"/>
  205. <col ref="dutplceinstnm"/>
  206. <col ref="dutunitnm"/>
  207. <col ref="jobposnm"/>
  208. <col ref="jobrespnm"/>
  209. <col ref="cmt"/>
  210. <col ref="emplno" visibility="hidden"/>
  211. <col ref="seqno" visibility="hidden"/>
  212. <col ref="dutplceinst" visibility="hidden"/>
  213. <col ref="jobrespcd" visibility="hidden"/>
  214. <col ref="jobpospcd" visibility="hidden"/>
  215. <col ref="dutdeptcd" visibility="hidden"/>
  216. <col ref="dutteamcd" visibility="hidden"/>
  217. <col ref="dutunitcd" visibility="hidden"/>
  218. <col ref="dutdeptnm" visibility="hidden"/>
  219. <col ref="dutteamnm" visibility="hidden"/>
  220. <col ref="dutunitnm" visibility="hidden"/>
  221. <script type="javascript" ev:event="ondblclick">
  222. <![CDATA[
  223. var gvnoffcordflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcordflag"));
  224. var gvnoffcorddetlflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcorddetlflag"));
  225. if ( gvnoffcorddetlflag == "025" || gvnoffcorddetlflag == "015" || gvnoffcorddetlflag == "040") {
  226. model.setValue(ipt_jobrespcd.attribute("ref"), grd_concroffcordlist.valueMatrix(grd_concroffcordlist.row, grd_concroffcordlist.colRef("jobrespcd")));
  227. model.setValue(ipt_jobrespcdnm.attribute("ref"), grd_concroffcordlist.valueMatrix(grd_concroffcordlist.row, grd_concroffcordlist.colRef("jobrespnm")));
  228. model.setValue(cmb_dutplceinst.attribute("ref"), grd_concroffcordlist.valueMatrix(grd_concroffcordlist.row, grd_concroffcordlist.colRef("dutplceinst")));
  229. //model.setValue(ipt_dutdeptcd.attribute("ref"), grd_concroffcordlist.valueMatrix(grd_concroffcordlist.row, grd_concroffcordlist.colRef("dutdeptcd")));
  230. //model.setValue(ipt_dutdeptnm.attribute("ref"), grd_concroffcordlist.valueMatrix(grd_concroffcordlist.row, grd_concroffcordlist.colRef("dutdeptnm")));
  231. //model.setValue(ipt_dutteamcd.attribute("ref"), grd_concroffcordlist.valueMatrix(grd_concroffcordlist.row, grd_concroffcordlist.colRef("dutteamcd")));
  232. //model.setValue(ipt_dutteamnm.attribute("ref"), grd_concroffcordlist.valueMatrix(grd_concroffcordlist.row, grd_concroffcordlist.colRef("dutteamnm")));
  233. model.setValue(ipt_dutunitcd.attribute("ref"), grd_concroffcordlist.valueMatrix(grd_concroffcordlist.row, grd_concroffcordlist.colRef("dutunitcd")));
  234. model.setValue(ipt_dutunitnm.attribute("ref"), grd_concroffcordlist.valueMatrix(grd_concroffcordlist.row, grd_concroffcordlist.colRef("dutunitnm")));
  235. dutdeptsetting("Y");
  236. model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/concroffcordno", grd_concroffcordlist.valueMatrix(grd_concroffcordlist.row, grd_concroffcordlist.colRef("gvnoffcordno")));
  237. model.refresh();
  238. grd_concroffcordlist.attribute("visibility") = "hidden";
  239. }
  240. ]]>
  241. </script>
  242. </datagrid>
  243. <datagrid id="grd_gvnoffcorddetllist" nodeset="/root/main/gvnoffcorddetl/gvnoffcorddetllist" caption="사번^성명^주민번호^처리^기간^기간^소속부서^직군^위험코드^직종^직위^직책^신직급^년차^구직급^호봉구분^호봉^승급구분^겸직^퇴직사유^비고^발령번호^성직구분^교직구분^발령구분^발령세부구분^주민번호1^주민번호2^기관^부서명^팀^팀명^유닛^유닛명^근무지^근무지명^직군명^직열명^직종명^직위명^직책명^신직급명^구직급명^발령일^처리여부OLD^근무기관^급여기관^근무부서^근무부서명^근무팀^근무팀명^근무유닛^근무유닛명^email^핸드폰^입사일^이전기관^이전부서^이전근무기관^이전근무부서^이전from^이전to^퇴직사유^겸직발령번호^원소속기관^원소속부서^원소속세부기관^원소속팀^원소속유닛^caption1^caption2^pwd|사번^성명^주민번호^처리^시작일자^종료일자^소속부서^직군^위험코드^직종^직위^직책^신직급^년차^구직급^호봉구분^호봉^승급구분^겸직^퇴직사유^비고^발령번호^성직구분^교직구분^발령구분^발령세부구분^주민번호1^주민번호2^기관^부서명^팀^팀명^유닛^유닛명^근무지^근무지명^직군명^직열명^직종명^직위명^직책명^신직급명^구직급명^발령일^처리여부OLD^근무기관^급여기관^근무부서^근무부서명^근무팀^근무팀명^근무유닛^근무유닛명^email^핸드폰^입사일^이전기관^이전부서^이전근무기관^이전근무부서^이전from^이전to^퇴직사유^겸직발령번호^원소속기관^원소속부서^원소속세부기관^원소속팀^원소속유닛^caption1^caption2^pwd" colsep="^" colwidth="68, 58, 91, 24, 89, 88, 68, 68, 64, 69, 62, 60, 60, 25, 55, 64, 25, 31, 24, 31, 217, 36, 28, 27, 26, 43, 37, 38, 33, 28, 22, 28, 31, 28, 38, 47, 28, 29, 33, 31, 28, 34, 30, 33, 32, 32, 34, 30, 31, 29, 32, 34, 32, 31, 28, 35, 30, 34, 42, 40, 39, 32, 32, 34, 34, 29, 31, 31, 34, 100, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:295px; width:1193px; height:205px; ">
  244. <col ref="emplno" type="output"/>
  245. <col ref="emplnm" type="output"/>
  246. <col ref="rregno" type="output"/>
  247. <col checkvalue="Y,N" ref="tretyn" type="checkbox"/>
  248. <col disabled="true" ref="termfromdd" type="inputdate"/>
  249. <col disabled="true" ref="termtodd" type="inputdate"/>
  250. <col ref="unitnm" type="output"/>
  251. <col ref="grupjoblnnm" type="output" visibility="hidden"/>
  252. <col ref="joblnnm" type="output"/>
  253. <col ref="jobkindnm" type="output"/>
  254. <col ref="jobposnm" type="output"/>
  255. <col ref="jobrespnm" type="output"/>
  256. <col ref="njobgradnm" type="output"/>
  257. <col ref="anual" type="output"/>
  258. <col ref="ojobgradnm" type="output"/>
  259. <col ref="payclsprfshipflagnm" type="output" style="text-align:center; "/>
  260. <col ref="payclscd" type="output"/>
  261. <col ref="gradupmm" type="output"/>
  262. <col checkvalue="Y,N" disabled="true" ref="concroffcyn" type="checkbox"/>
  263. <col ref="retireresn" type="output"/>
  264. <col ref="cmt" type="output"/>
  265. <col ref="gvnoffcordno" type="output" visibility="hidden"/>
  266. <col ref="holyordflag" visibility="hidden"/>
  267. <col ref="prfshipflag" visibility="hidden"/>
  268. <col ref="gvnoffcordflag" visibility="hidden"/>
  269. <col ref="gvnoffcorddetlflag" visibility="hidden"/>
  270. <col ref="rregno1" visibility="hidden"/>
  271. <col ref="rregno2" visibility="hidden"/>
  272. <col ref="instcd" visibility="hidden"/>
  273. <col ref="deptcd" visibility="hidden"/>
  274. <col ref="teamcd" visibility="hidden"/>
  275. <col ref="teamnm" visibility="hidden"/>
  276. <col ref="unitcd" visibility="hidden"/>
  277. <col ref="deptnm" visibility="hidden"/>
  278. <col ref="dutplcedeptcd" visibility="hidden"/>
  279. <col ref="dutplcedeptnm" visibility="hidden"/>
  280. <col ref="grupjoblncd" visibility="hidden"/>
  281. <col ref="joblncd" visibility="hidden"/>
  282. <col ref="jobkindcd" visibility="hidden"/>
  283. <col ref="jobposcd" visibility="hidden"/>
  284. <col ref="jobrespcd" visibility="hidden"/>
  285. <col ref="njobgradcd" visibility="hidden"/>
  286. <col ref="ojobgradcd" visibility="hidden"/>
  287. <col ref="gvnoffcorddd" visibility="hidden"/>
  288. <col ref="oldtretyn" visibility="hidden"/>
  289. <col ref="dutplceinst" visibility="hidden"/>
  290. <col ref="payinst" visibility="hidden"/>
  291. <col ref="dutdeptcd" visibility="hidden"/>
  292. <col ref="dutdeptnm" visibility="hidden"/>
  293. <col ref="dutteamcd" visibility="hidden"/>
  294. <col ref="dutteamnm" visibility="hidden"/>
  295. <col ref="dutunitcd" visibility="hidden"/>
  296. <col ref="dutunitnm" visibility="hidden"/>
  297. <col ref="email" visibility="hidden"/>
  298. <col ref="oldmpphonno" visibility="hidden"/>
  299. <col ref="entcodd" visibility="hidden"/>
  300. <col ref="oldmainordfild" visibility="hidden"/>
  301. <col ref="oldjobposcd" visibility="hidden"/>
  302. <col ref="oldjobkindcd" visibility="hidden"/>
  303. <col ref="oldjobrespcd" visibility="hidden"/>
  304. <col ref="retireresn" visibility="hidden"/>
  305. <col ref="concroffcordno" visibility="hidden"/>
  306. <col ref="oldprfshipflag" visibility="hidden"/>
  307. <col ref="olddutunitcd" visibility="hidden"/>
  308. <col ref="orginstcd" visibility="hidden"/>
  309. <col ref="orgdeptcd" visibility="hidden"/>
  310. <col ref="orgdetlinst" visibility="hidden"/>
  311. <col ref="orgteamcd" visibility="hidden"/>
  312. <col ref="orgunitcd" visibility="hidden"/>
  313. <col ref="payclsprfshipflag" visibility="hidden"/>
  314. <col ref="educd" visibility="hidden"/>
  315. <script type="javascript" ev:event="onrowchanged">
  316. <![CDATA[
  317. var tretyn = grd_gvnoffcorddetllist.valueMatrix(grd_gvnoffcorddetllist.row, grd_gvnoffcorddetllist.colRef("oldtretyn"));
  318. if (tretyn == "Y") {
  319. btn_grddelgvnoffcorddetllist.disabled = true;
  320. }
  321. else {
  322. btn_grddelgvnoffcorddetllist.disabled = false;
  323. }
  324. model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]");
  325. rpbfGvnoffcordEditYNSet(grd_gvnoffcordcdlist.nodeset, GVN_TARGET_NODE + "/gvnoffcorddetllist");
  326. if (grd_gvnoffcorddetllist.valueMatrix(grd_gvnoffcorddetllist.row, grd_gvnoffcorddetllist.colRef("oldtretyn")) == "Y") {
  327. btn_savedetl.disabled = true;
  328. btn_save.disabled = true;
  329. }
  330. else {
  331. btn_savedetl.disabled = false;
  332. btn_save.disabled = false;
  333. }
  334. cmb_holyordflag_i.disabled = true;
  335. cmb_prfshipflag_i.disabled = true;
  336. model.refresh();
  337. ipt_emplnoi.value = ipt_emplno.currentText;
  338. ipt_emplnmi.value = ipt_emplnm.currentText;
  339. ]]>
  340. </script>
  341. </datagrid>
  342. <select1 id="cmb_holyordflag" ref="/root/send/gvnoffcordmast/holyordflag" class="combo_default" navindex="6" visibility="hidden" appearance="minimal" style="left:873px; top:8px; width:74px; height:19px; ">
  343. <choices>
  344. <itemset>
  345. <label/>
  346. <value/>
  347. </itemset>
  348. </choices>
  349. </select1>
  350. <line id="line5" class="line_2" style="x1:0px; y1:656px; x2:1193px; y2:656px; "/>
  351. <line id="line4" class="line_2" style="x1:0px; y1:632px; x2:1193px; y2:632px; "/>
  352. <line id="line3" class="line_2" style="x1:0px; y1:608px; x2:1193px; y2:608px; "/>
  353. <line id="line2" class="line_2" style="x1:0px; y1:560px; x2:1193px; y2:560px; "/>
  354. <line id="line8" class="line_2" style="x1:0px; y1:584px; x2:1193px; y2:584px; "/>
  355. <line id="line1" class="line_3" style="x1:0px; y1:704px; x2:1193px; y2:704px; "/>
  356. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  357. <line id="line20" class="line_1" style="x1:0px; y1:58px; x2:1193px; y2:58px; "/>
  358. <caption id="caption72" class="tit_2" style="left:5px; top:275px; width:144px; height:13px; ">DETAIL</caption>
  359. <line id="line21" class="line_1" style="x1:0px; y1:290px; x2:1193px; y2:290px; "/>
  360. <caption id="caption73" class="tit_2" style="left:5px; top:44px; width:144px; height:13px; ">MASTER</caption>
  361. <caption id="caption41" class="search_name" style="left:209px; top:9px; width:86px; height:17px; ">발령일자 :</caption>
  362. <line id="line15" class="line_1" style="x1:0px; y1:532px; x2:1193px; y2:532px; "/>
  363. <caption id="caption46" class="search_name" style="left:495px; top:9px; width:86px; height:17px; ">발령구분 :</caption>
  364. <caption id="caption47" class="search_name" style="left:798px; top:9px; width:86px; height:17px; ">처리여부 :</caption>
  365. <caption id="caption48" class="search_n_b" style="left:387px; top:11px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  366. <caption id="caption49" class="search_name" style="left:953px; top:9px; width:91px; height:17px; ">급여분류 :</caption>
  367. <button id="btn_search" class="btn1_letter2" style="left:1132px; top:7px; width:56px; height:22px; ">
  368. <caption>조회</caption>
  369. <script type="javascript" ev:event="DOMActivate">
  370. <![CDATA[
  371. var fromdd = ipt_gvnoffcordfromdd.value;
  372. var todd = ipt_gvnoffcordtodd.value;
  373. var gvno = cmb_gvnoffcordflag_s.value;
  374. if ( fromdd == null || fromdd == "" ) {
  375. messageBox("발령 시작 조회 일자가 없습니다. 조회 ","E001");
  376. return;
  377. }
  378. if ( todd == null || todd == "" ) {
  379. messageBox("발령 종료 조회 일자가 없습니다. 조회 ","E001");
  380. return;
  381. }
  382. if ( gvno == null || gvno == "" ) {
  383. messageBox("발령 구분이 없습니다. 조회 ","E001");
  384. return;
  385. }
  386. misfMsterDetailRetrieve();
  387. model.resetInstanceNode(GVN_TARGET_NODE);
  388. ipt_emplnoi.value = "";
  389. ipt_emplnmi.value = "";
  390. ]]>
  391. </script>
  392. </button>
  393. <line id="line6" class="line_4" style="x1:1126px; y1:7px; x2:1126px; y2:29px; "/>
  394. <caption id="caption81" class="cell_1" style="left:560px; top:610px; width:65px; height:23px; vertical-align:middle; ">직종</caption>
  395. <caption id="caption71" class="cell_1" style="left:0px; top:562px; width:82px; height:23px; vertical-align:middle; ">발령일자</caption>
  396. <caption id="caption60" class="cell_1" style="left:1008px; top:610px; width:82px; height:23px; vertical-align:middle; ">승급구분</caption>
  397. <button id="btn_emplsearch" class="icon_search" style="left:160px; top:541px; width:16px; height:16px; ">
  398. <caption/>
  399. <script type="javascript" ev:event="DOMActivate">
  400. <![CDATA[
  401. var gvnoffcorddd = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcorddd"));
  402. var gvnoffcordflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcordflag"));
  403. var gvnoffcorddetlflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcorddetlflag"));
  404. var prfshipflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("prfshipflag"));
  405. var holyordflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("holyordflag"));
  406. if (gvnoffcorddd == null || gvnoffcorddd == "") {
  407. messageBox("발령 일자가 없습니다. 등록","E001");
  408. return;
  409. }
  410. if (gvnoffcordflag == null || gvnoffcordflag == "") {
  411. messageBox("발령 구분이 없습니다. 등록","E001");
  412. return;
  413. }
  414. if (gvnoffcorddetlflag == null || gvnoffcorddetlflag == "") {
  415. messageBox("발령 세부 구분이 없습니다. 등록","E001");
  416. return;
  417. }
  418. if (prfshipflag == null || prfshipflag == "") {
  419. messageBox("급여분류가 없습니다. 등록","E001");
  420. return;
  421. }
  422. if (holyordflag == null || holyordflag == "") {
  423. messageBox("직원 구분이 없습니다. 등록","E001");
  424. return;
  425. }
  426. /* 사원번호 Help 화면 Open
  427. misfOpenPopUpList(화면종류Code, OPEN하는 Control, 공통코드, 리턴받을 Instance명) */
  428. if (grd_gvnoffcorddetllist.rowStatus(grd_gvnoffcorddetllist.row) != "1") {
  429. misfGridIUD(grd_gvnoffcorddetllist, "A");
  430. model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
  431. rpbfGvnoffcordEditYNSet(grd_gvnoffcordcdlist.nodeset, GVN_TARGET_NODE + "/gvnoffcorddetllist");
  432. }
  433. var recv_list = "emplno,emplnm,holyordflag,prfshipflag,rregno1,rregno2,instcd,deptcd,deptnm,jobposcd,jobposnm,jobrespcd,jobrespnm," ;
  434. recv_list = recv_list + "grupjoblncd,grupjoblnnm,joblncd,joblnnm,jobkindcd,jobkindnm,concroffcyn,ojobgradcd,ojobgradnm,njobgradcd,njobgradnm,";
  435. recv_list = recv_list + "grdeupflag,retireresn,cmt,payclscd,anual,payinst,dutplceinst,dutdeptcd,dutdeptnm,dutteamcd,dutteamnm,dutunitcd,dutunitnm,teamcd,teamnm,unitcd,unitnm,";
  436. recv_list = recv_list + "orginstcd,orgdeptcd,orgdetlinst,orgteamcd,orgunitcd,gradupmm,payclsprfshipflag,educd";
  437. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","N");
  438. model.setValue(ipt_emplnoi.attribute("ref"), model.getValue(ipt_emplno.attribute("ref")));
  439. model.setValue(ipt_emplnmi.attribute("ref"), model.getValue(ipt_emplnm.attribute("ref")));
  440. model.refresh();
  441. var emplno = ipt_emplnoi.value;
  442. var prfshipflag = model.getValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/prfshipflag");
  443. model.setValue(ipt_termfromdd.attribute("ref"), model.getValue(ipt_gvnoffcorddd.attribute("ref")));
  444. model.setValue(ipt_termtodd.attribute("ref"), "");
  445. if (rpbCheckEmplNo (grd_gvnoffcorddetllist, ipt_emplno.value) == "Y" ||
  446. (gvnoffcorddetlflag != "020" && gvnoffcorddetlflag != "065" && prfshipflag != grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("prfshipflag"))) ||
  447. (gvnoffcorddetlflag != "020" && gvnoffcorddetlflag != "065" && holyordflag != grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("holyordflag"))) ) {
  448. if (prfshipflag != grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("prfshipflag")) ) {
  449. messageBox("Master쪽 급여분류하고 일치 하지 않습니다. 등록","E001");
  450. }
  451. else if (holyordflag != grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("holyordflag")) ) {
  452. messageBox("Master쪽 직원구분하고 일치 하지 않습니다. 등록","E001");
  453. }
  454. else {
  455. messageBox("입력한 사원입니다. 등록","E001");
  456. }
  457. var node = instance1.selectNodes(GVN_TARGET_NODE + "/gvnoffcorddetllist/*");
  458. for (var i = 0; i < node.length; i++) {
  459. model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/" + node.item(i).nodeName,"");
  460. }
  461. model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
  462. model.refresh();
  463. return;
  464. }
  465. else {
  466. if (gvnoffcorddetlflag == "024" || gvnoffcorddetlflag == "008" ) { //겸직, 보임일경우 겸직유무 Setting
  467. if (gvnoffcorddetlflag == "024"){
  468. model.setValue(rdo_concroffcyn.attribute("ref"), "Y");
  469. }
  470. else if ((prfshipflag == "11" || prfshipflag == "21") && gvnoffcorddetlflag == "008") {
  471. model.setValue("/root/send/concroffcord/emplno", emplno);
  472. submit("TRRPB10004");
  473. if (grd_concroffcordlist.rows > 0) {
  474. model.setValue(rdo_concroffcyn.attribute("ref"), "Y");
  475. }
  476. else {
  477. model.setValue(rdo_concroffcyn.attribute("ref"), "N");
  478. }
  479. }
  480. else {
  481. model.setValue(rdo_concroffcyn.attribute("ref"), "N");
  482. }
  483. }
  484. else {
  485. model.setValue(rdo_concroffcyn.attribute("ref"), "N");
  486. }
  487. if (gvnoffcorddetlflag == "025" || gvnoffcorddetlflag == "015" || gvnoffcorddetlflag == "040") { //겸직해임, 보직해임일경우 겸직발령내역 조회
  488. model.setValue("/root/send/concroffcord/emplno", emplno);
  489. submit("TRRPB10004");
  490. if (grd_concroffcordlist.rows > 0) {
  491. grd_concroffcordlist.attribute("visibility") = "visible";
  492. }
  493. }
  494. btn_savedetl.disabled = false;
  495. btn_save.disabled = false;
  496. }
  497. var prfshipflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("prfshipflag"));
  498. var holyordflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("holyordflag"));
  499. cmb_prfshipflag_i.value = prfshipflag;
  500. cmb_holyordflag_i.value = holyordflag;
  501. cmb_holyordflag_i.disabled = true;
  502. cmb_prfshipflag_i.disabled = true;
  503. if (cmb_prfshipflag_i.value == "51") {
  504. rdo_grdeupflag.value = "";
  505. rdo_grdeupflag.disabled = true;
  506. }
  507. model.refresh();
  508. ]]>
  509. </script>
  510. </button>
  511. <caption id="caption83" class="cell_1" visibility="hidden" style="left:880px; top:650px; width:65px; height:23px; vertical-align:middle; ">직군</caption>
  512. <caption id="caption50" class="search_n_b" style="left:189px; top:685px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  513. <caption id="caption62" class="cell_1" style="left:812px; top:658px; width:82px; height:47px; vertical-align:middle; ">비고</caption>
  514. <caption id="caption51" class="cell_1" style="left:308px; top:562px; width:65px; height:23px; text-align:left; vertical-align:middle; ">소속기관</caption>
  515. <caption id="caption52" class="cell_1" style="left:1008px; top:634px; width:82px; height:23px; vertical-align:middle; ">퇴직사유</caption>
  516. <caption id="caption74" class="cell_1" style="left:308px; top:538px; width:65px; height:23px; vertical-align:middle; ">주민번호</caption>
  517. <caption id="caption53" class="cell_1" style="left:308px; top:634px; width:65px; height:23px; vertical-align:middle; ">부(실)</caption>
  518. <caption id="caption42" class="cell_1" style="left:0px; top:538px; width:82px; height:23px; vertical-align:middle; ">사번</caption>
  519. <caption id="caption54" class="cell_1" style="left:812px; top:562px; width:82px; height:23px; vertical-align:middle; ">구직급/호봉</caption>
  520. <caption id="caption43" class="tit_2" style="left:5px; top:517px; width:118px; height:13px; ">등록 및 수정사항</caption>
  521. <caption id="caption77" class="cell_1" style="left:812px; top:538px; width:82px; height:23px; vertical-align:middle; ">직책</caption>
  522. <caption id="caption66" class="cell_1" style="left:0px; top:658px; width:82px; height:23px; vertical-align:middle; ">급여분류</caption>
  523. <caption id="caption44" class="cell_1" style="left:0px; top:682px; width:82px; height:23px; vertical-align:middle; ">기간</caption>
  524. <caption id="caption56" class="cell_1" style="left:812px; top:586px; width:82px; height:23px; vertical-align:middle; ">신직급/년차</caption>
  525. <caption id="caption45" class="cell_1" style="left:560px; top:634px; width:65px; height:23px; vertical-align:middle; ">직위</caption>
  526. <caption id="caption79" class="cell_1" style="left:560px; top:658px; width:65px; height:23px; vertical-align:middle; ">위험코드</caption>
  527. <caption id="caption69" class="cell_1" style="left:0px; top:586px; width:82px; height:23px; vertical-align:middle; ">발령구분</caption>
  528. <caption id="caption59" class="search_n_b" style="left:460px; top:541px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  529. <caption id="caption1" class="cell_1" style="left:0px; top:610px; width:82px; height:23px; vertical-align:middle; ">발령세부구분</caption>
  530. <caption id="caption2" class="cell_1" visibility="hidden" style="left:954px; top:665px; width:40px; height:23px; vertical-align:middle; ">기관2</caption>
  531. <caption id="caption3" class="cell_1" visibility="hidden" style="left:954px; top:665px; width:40px; height:23px; vertical-align:middle; ">부서2</caption>
  532. <caption id="caption4" class="cell_1" visibility="hidden" style="left:954px; top:665px; width:40px; height:23px; vertical-align:middle; ">직책2</caption>
  533. <caption id="caption5" class="cell_1" visibility="hidden" style="left:952px; top:665px; width:42px; height:23px; vertical-align:middle; ">직위2</caption>
  534. <caption id="caption7" class="cell_1" style="left:812px; top:610px; width:82px; height:23px; vertical-align:middle; ">겸직유무</caption>
  535. <input id="ipt_gvnoffcordfromdd" ref="/root/send/gvnoffcordmast/gvnoffcordfromdd" class="input_s_essential" navindex="1" inputtype="date" style="left:294px; top:8px; width:90px; height:19px; ">
  536. <script type="javascript" ev:event="xforms-value-changed">
  537. <![CDATA[
  538. var instcd = cmb_instcd1.value;
  539. if( getStringLength(ipt_gvnoffcordfromdd.value) == "8" ) {
  540. model.removeNodeset(cmb_instcd1.attribute("ref"));
  541. model.makeNode("/root/send/gvnoffcordmast/instcd");
  542. misfComboInstCdListMulti("cmb_instcd1",ipt_gvnoffcordfromdd.value,"","N","Y");
  543. cmb_instcd1.value = instcd;
  544. model.refresh();
  545. }
  546. ]]>
  547. </script>
  548. </input>
  549. <input id="ipt_gvnoffcordtodd" ref="/root/send/gvnoffcordmast/gvnoffcordtodd" class="input_s_essential" navindex="2" inputtype="date" style="left:400px; top:8px; width:90px; height:19px; "/>
  550. <button id="btn_rowinsert_mast" class="btn2_letter3" style="left:1008px; top:38px; width:53px; height:19px; ">
  551. <caption>행삭제</caption>
  552. <script type="javascript" ev:event="DOMActivate">
  553. <![CDATA[
  554. if (grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("oldcnfmyn")) == "Y") {
  555. messageBox("발령처리된 자료 입니다. 삭제","E001");
  556. return;
  557. }
  558. misfGridIUD(grd_gvnoffcordmastlist, "D");
  559. misfSave("TXRPB10001");
  560. ]]>
  561. </script>
  562. </button>
  563. <button id="btn_excelsave_mast" class="btn2_letter4" style="left:1063px; top:38px; width:64px; height:19px; ">
  564. <caption>엑셀저장</caption>
  565. <script type="javascript" ev:event="DOMActivate">
  566. <![CDATA[
  567. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  568. if (fileName != "")
  569. {
  570. grd_gvnoffcordmastlist.saveExcel(fileName);
  571. }
  572. ]]>
  573. </script>
  574. </button>
  575. <datagrid id="grd_gvnoffcordmastlist" nodeset="/root/main/gvnoffcordmast/gvnoffcordmastlist" caption="발령번호^발령구분^발령세부구분^발령세부구분명^발령일자^직원구분^급여분류^확정여부^등록기관^발령내용^처리자^처리일시^기관코드^확정여부OLD|발령번호^발령구분^발령세부구분^발령세부구분명^발령일자^직원구분^급여분류^확정여부^등록기관^발령내용^처리자^처리일시^기관코드^확정여부OLD^기관코드" colsep="^" colwidth="99, 92, 61, 129, 102, 106, 111, 34, 100, 158, 86, 77, 100, 32" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:63px; width:1193px; height:203px; ">
  576. <col ref="gvnoffcordno"/>
  577. <col id="gvnoffcordflag" disabled="true" ref="gvnoffcordflag" type="combo">
  578. <choices>
  579. <itemset>
  580. <label/>
  581. <value/>
  582. </itemset>
  583. </choices>
  584. </col>
  585. <col id="gvnoffcorddetlflag" ref="gvnoffcorddetlflag" type="inputbutton">
  586. <choices>
  587. <itemset nodeset="/root/init/grd_gvnoffcordmastlist/gvnoffcorddetl/gvnoffcorddetllist">
  588. <label ref="gvnoffcordflagnm"/>
  589. <value ref="gvnoffcorddetlflag"/>
  590. </itemset>
  591. </choices>
  592. </col>
  593. <col ref="gvnoffcordflagnm"/>
  594. <col ref="gvnoffcorddd" type="inputdate"/>
  595. <col id="holyordflag" ref="holyordflag" type="combo">
  596. <choices>
  597. <itemset>
  598. <label/>
  599. <value/>
  600. </itemset>
  601. </choices>
  602. </col>
  603. <col id="prfshipflag" ref="prfshipflag" type="combo">
  604. <choices>
  605. <itemset>
  606. <label/>
  607. <value/>
  608. </itemset>
  609. </choices>
  610. </col>
  611. <col checkvalue="Y,N" ref="cnfmyn" type="checkbox"/>
  612. <col ref="instcd" type="combo">
  613. <choices>
  614. <itemset>
  615. <label/>
  616. <value/>
  617. </itemset>
  618. </choices>
  619. </col>
  620. <col ref="gvnoffcordcnts" type="input"/>
  621. <col ref="tretpsn"/>
  622. <col ref="tretdt"/>
  623. <col ref="instcd" visibility="hidden"/>
  624. <col ref="oldcnfmyn" visibility="hidden"/>
  625. <script type="javascript" ev:event="onrowchanged">
  626. <![CDATA[
  627. var cnfmyn = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("oldcnfmyn"));
  628. if (cnfmyn == "Y") {
  629. btn_rowinsert_mast.disabled = true;
  630. }
  631. else {
  632. btn_rowinsert_mast.disabled = false;
  633. }
  634. var node = instance1.selectNodes(GVN_TARGET_NODE + "/gvnoffcorddetllist/*");
  635. for (var i = 0; i < node.length; i++) {
  636. model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/" + node.item(i).nodeName,"");
  637. }
  638. misfMsterDetailRetrieve();
  639. model.refresh();
  640. ]]>
  641. </script>
  642. <script type="javascript" ev:event="xforms-value-changed">
  643. <![CDATA[
  644. if (grd_gvnoffcordmastlist.colAttribute(grd_gvnoffcordmastlist.col,"ref") == "gvnoffcorddetlflag" ) { //발령세부구분
  645. var recv_list = "gvnoffcorddetlflag,gvnoffcordflagnm";
  646. var argument = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcordflag"));
  647. rpbfGvnoValiCheck(argument, recv_list);
  648. model.refresh();
  649. if (grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcorddetlflag")) != "") {
  650. // model.setValue("/root/send/gvnoffcorddetl/gvnoffcordflag",grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcordflag")));
  651. // model.setValue("/root/send/gvnoffcorddetl/gvnoffcorddetlflag",grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcorddetlflag")));
  652. // model.refresh();
  653. // submit("TRRPB10002");
  654. grd_gvnoffcordmastlist.dispatch("onrowchanged");
  655. }
  656. // var gvnoffcordflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row , grd_gvnoffcordmastlist.col);
  657. // rpbfComboGvnoffOrddetl(gvnoffcordflag, "grd_gvnoffcordmastlist");
  658. }
  659. ]]>
  660. </script>
  661. <script type="javascript" ev:event="onbuttonclick">
  662. <![CDATA[
  663. if (grd_gvnoffcordmastlist.colAttribute(grd_gvnoffcordmastlist.col,"ref") == "gvnoffcorddetlflag" ) { //발령세부구분
  664. var recv_list = "gvnoffcorddetlflag,gvnoffcordflagnm";
  665. rpbfOpenPopUpList("SPRPB10001", grd_gvnoffcordmastlist, recv_list,"gvnoffcordflag","N");
  666. model.refresh();
  667. if (grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcorddetlflag")) != "") {
  668. // model.setValue("/root/send/gvnoffcorddetl/gvnoffcordflag",grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcordflag")));
  669. // model.setValue("/root/send/gvnoffcorddetl/gvnoffcorddetlflag",grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcorddetlflag")));
  670. // model.refresh();
  671. //misfMsterDetailRetrieve();
  672. //submit("TRRPB10002");
  673. grd_gvnoffcordmastlist.dispatch("onrowchanged");
  674. }
  675. }
  676. ]]>
  677. </script>
  678. </datagrid>
  679. <button id="btn_rowinsert_detl" class="btn2_letter3" visibility="hidden" style="left:953px; top:269px; width:53px; height:19px; ">
  680. <caption>행추가</caption>
  681. <script type="javascript" ev:event="DOMActivate">
  682. <![CDATA[
  683. misfGridIUD(grd_gvnoffcorddetllist, "A");
  684. model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
  685. rpbfGvnoffcordEditYNSet(grd_gvnoffcordcdlist.nodeset, GVN_TARGET_NODE + "/gvnoffcorddetllist");
  686. model.setFocus("ipt_emplno");
  687. model.refresh();
  688. ]]>
  689. </script>
  690. </button>
  691. <button id="btn_excelsave_detl" class="btn2_letter4" style="left:1063px; top:269px; width:64px; height:19px; ">
  692. <caption>엑셀저장</caption>
  693. <script type="javascript" ev:event="DOMActivate">
  694. <![CDATA[
  695. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  696. if (fileName != "")
  697. {
  698. grd_gvnoffcorddetllist.saveExcel(fileName);
  699. }
  700. ]]>
  701. </script>
  702. </button>
  703. <button id="btn_exceload" class="btn2_letter4" visibility="hidden" style="left:1129px; top:269px; width:64px; height:19px; ">
  704. <caption>엑셀입력</caption>
  705. <script type="javascript" ev:event="DOMActivate">
  706. <![CDATA[
  707. var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  708. grd_gvnoffcorddetllist.loadExcel(fileName, selectValue2, true);
  709. grd_gvnoffcorddetllist.deleteRow(1);
  710. grd_gvnoffcorddetllist.refresh();
  711. ]]>
  712. </script>
  713. </button>
  714. <input id="ipt_emplno" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/emplno" class="input_default" navindex="20" visibility="hidden" style="left:84px; top:540px; width:69px; height:19px; ">
  715. <script type="javascript" ev:event="xforms-value-changed">
  716. <![CDATA[
  717. /* 인사정보 Validation Check
  718. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  719. //model.refresh();
  720. // var emplno = ipt_emplno.value;
  721. //
  722. // if (grd_gvnoffcorddetllist.rowStatus(grd_gvnoffcorddetllist.row) != "1") {
  723. // misfGridIUD(grd_gvnoffcorddetllist, "A");
  724. //
  725. // model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
  726. // rpbfGvnoffcordEditYNSet(grd_gvnoffcordcdlist.nodeset, GVN_TARGET_NODE + "/gvnoffcorddetllist");
  727. // }
  728. //
  729. // model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/emplno", emplno);
  730. //
  731. // model.refresh();
  732. //
  733. // var recv_list = "emplno,emplnm,holyordflag,prfshipflag,rregno1,rregno2,instcd,deptcd,deptnm,jobposcd,jobposnm,jobrespcd,jobrespnm," ;
  734. // recv_list = recv_list + "grupjoblncd,grupjoblnnm,joblncd,joblncnm,jobkindcd,jobkindnm,concroffcyn,ojobgradcd,ojobgradnm,njobgradcd,njobgradnm,";
  735. // recv_list = recv_list + "grdeupflag,retireresn,cmt,payclscd,anual,payinst,dutplceinst,dutdeptcd,dutdeptnm,dutteamcd,dutteamnm,dutunitcd,dutunitnm,teamcd,teamnm,unitcd,unitnm";
  736. // rpbfValidationCheck("EMPLNO", recv_list);
  737. //
  738. // if (rpbCheckEmplNo (grd_gvnoffcorddetllist, emplno) == "Y") {
  739. // messageBox("입력한 사원입니다. 등록","E001");
  740. // var node = instance1.selectNodes(GVN_TARGET_NODE + "/gvnoffcorddetllist/*");
  741. // for (var i = 0; i < node.length; i++) {
  742. // model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/" + node.item(i).nodeName,"");
  743. // }
  744. // model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
  745. // }
  746. // model.refresh();
  747. ]]>
  748. </script>
  749. </input>
  750. <input id="ipt_emplnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/emplnm" class="input_default" navindex="21" visibility="hidden" style="left:180px; top:539px; width:125px; height:19px; ">
  751. <script type="javascript" ev:event="xforms-value-changed">
  752. <![CDATA[
  753. // var emplnm = ipt_emplnm.value;
  754. // if (grd_gvnoffcorddetllist.rowStatus(grd_gvnoffcorddetllist.row) != "1") {
  755. // misfGridIUD(grd_gvnoffcorddetllist, "A");
  756. // model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
  757. // rpbfGvnoffcordEditYNSet(grd_gvnoffcordcdlist.nodeset, GVN_TARGET_NODE + "/gvnoffcorddetllist");
  758. // }
  759. //
  760. // model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/emplnm", emplnm);
  761. //
  762. // /* 인사정보 Validation Check
  763. // misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  764. // var recv_list = "emplno,emplnm,holyordflag,prfshipflag,rregno1,rregno2,instcd,deptcd,deptnm,jobposcd,jobposnm,jobrespcd,jobrespnm," ;
  765. // recv_list = recv_list + "grupjoblncd,grupjoblnnm,joblncd,joblncnm,jobkindcd,jobkindnm,concroffcyn,ojobgradcd,ojobgradnm,njobgradcd,njobgradnm,";
  766. // recv_list = recv_list + "grdeupflag,retireresn,cmt,payclscd,anual,payinst,dutplceinst,dutdeptcd,dutdeptnm,dutteamcd,dutteamnm,dutunitcd,dutunitnm,teamcd,teamnm,unitcd,unitnm";
  767. // rpbfValidationCheck("EMPLNM", recv_list);
  768. //
  769. // if (rpbCheckEmplNo (grd_gvnoffcorddetllist, ipt_emplno.value) == "Y") {
  770. // messageBox("입력한 사원입니다. 등록","E001");
  771. // var node = instance1.selectNodes(GVN_TARGET_NODE + "/gvnoffcorddetllist/*");
  772. // for (var i = 0; i < node.length; i++) {
  773. // model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/" + node.item(i).nodeName,"");
  774. // }
  775. // model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
  776. // }
  777. // model.refresh();
  778. ]]>
  779. </script>
  780. </input>
  781. <input id="ipt_gvnoffcorddd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/gvnoffcorddd" class="input_s_essential" disabled="true" navindex="22" inputtype="date" style="left:84px; top:564px; width:222px; height:19px; "/>
  782. <select1 id="cmb_gvnoffcordflag_s" ref="/root/send/gvnoffcordmast/gvnoffcordflag" class="combo_s_essential" navindex="3" appearance="minimal" style="left:580px; top:8px; width:100px; height:19px; ">
  783. <choices>
  784. <itemset>
  785. <label/>
  786. <value/>
  787. </itemset>
  788. </choices>
  789. <script type="javascript" ev:event="xforms-value-changed">
  790. <![CDATA[
  791. misfGridInit(grd_gvnoffcordmastlist);
  792. misfGridInit(grd_gvnoffcorddetllist);
  793. misfGridInit(grd_gvnoffcordcdlist);
  794. model.resetInstanceNode(GVN_TARGET_NODE);
  795. ipt_emplnoi.value = "";
  796. ipt_emplnmi.value = "";
  797. /* 발령구분 선택시 발령 세부구분 자료를 Setting,한다 */
  798. var gvnoffcordflag = model.getValue(cmb_gvnoffcordflag_s.attribute("ref"));
  799. rpbfComboGvnoffOrddetl(gvnoffcordflag, "cmb_gvnoffcorddetlflag_s");
  800. var fromdd = ipt_gvnoffcordfromdd.value;
  801. var todd = ipt_gvnoffcordtodd.value;
  802. if (fromdd != null && fromdd != "" && todd != null || todd != "") {
  803. btn_search.dispatch("DOMActivate");
  804. }
  805. //misfComboCopyItemSet(cmb_gvnoffcorddetlflag_s, "", grd_gvnoffcordmastlist, "gvnoffcorddetlflag");
  806. ]]>
  807. </script>
  808. </select1>
  809. <select1 id="cmb_gvnoffcorddetlflag_s" ref="/root/send/gvnoffcordmast/gvnoffcorddetlflag" class="combo_default" navindex="4" appearance="minimal" style="left:682px; top:8px; width:110px; height:19px; ">
  810. <choices>
  811. <itemset>
  812. <label/>
  813. <value/>
  814. </itemset>
  815. </choices>
  816. </select1>
  817. <select1 id="cmb_cnfmyn_s" ref="/root/send/gvnoffcordmast/cnfmyn" class="combo_default" navindex="5" appearance="minimal" style="left:883px; top:8px; width:65px; height:19px; ">
  818. <choices>
  819. <item>
  820. <label>전체</label>
  821. <value>%</value>
  822. </item>
  823. <item>
  824. <label>처리</label>
  825. <value>Y</value>
  826. </item>
  827. <item>
  828. <label>미처리</label>
  829. <value>N</value>
  830. </item>
  831. </choices>
  832. </select1>
  833. <select1 id="cmb_gvnoffcordflag_i" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/gvnoffcordflag" class="combo_default" disabled="true" navindex="23" appearance="minimal" style="left:84px; top:588px; width:222px; height:19px; ">
  834. <choices>
  835. <itemset>
  836. <label/>
  837. <value/>
  838. </itemset>
  839. </choices>
  840. </select1>
  841. <select1 id="cmb_gvnoffcorddetlflag_i" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/gvnoffcorddetlflag" class="combo_default" disabled="true" navindex="24" appearance="minimal" style="left:84px; top:612px; width:222px; height:19px; ">
  842. <choices>
  843. <itemset>
  844. <label/>
  845. <value/>
  846. </itemset>
  847. </choices>
  848. </select1>
  849. <select1 id="cmb_prfshipflag_i" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/prfshipflag" class="combo_default" disabled="true" navindex="26" appearance="minimal" style="left:84px; top:660px; width:222px; height:19px; ">
  850. <choices>
  851. <itemset>
  852. <label/>
  853. <value/>
  854. </itemset>
  855. </choices>
  856. </select1>
  857. <input id="ipt_termfromdd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/termfromdd" class="input_s_essential" disabled="true" navindex="27" inputtype="date" style="left:84px; top:684px; width:101px; height:19px; "/>
  858. <input id="ipt_termtodd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/termtodd" class="input_s_essential" disabled="true" navindex="28" inputtype="date" style="left:205px; top:684px; width:101px; height:19px; "/>
  859. <input id="ipt_rrgstno1" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/rregno1" class="input_essential" disabled="true" navindex="29" style="left:375px; top:540px; width:81px; height:19px; "/>
  860. <input id="ipt_rrgstno2" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/rregno2" class="input_essential" disabled="true" navindex="30" style="left:476px; top:540px; width:81px; height:19px; "/>
  861. <select1 id="cmb_instcd1" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/instcd" class="combo_default" disabled="true" navindex="31" appearance="minimal" style="left:375px; top:564px; width:182px; height:19px; ">
  862. <choices>
  863. <itemset>
  864. <label/>
  865. <value/>
  866. </itemset>
  867. </choices>
  868. </select1>
  869. <select1 id="cmb_instcd2" class="combo_default" disabled="true" visibility="hidden" appearance="minimal" style="left:971px; top:665px; width:23px; height:19px; ">
  870. <choices>
  871. <itemset>
  872. <label/>
  873. <value/>
  874. </itemset>
  875. </choices>
  876. </select1>
  877. <input id="ipt_deptcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/deptcd" class="input_default" disabled="true" navindex="32" style="left:375px; top:636px; width:69px; height:19px; ">
  878. <script type="javascript" ev:event="xforms-value-changed">
  879. <![CDATA[
  880. /* 부서코드,명 입력시 Validation Check
  881. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  882. misfValidationCheck("02", "", "deptcd,deptnm" );
  883. model.refresh();
  884. ]]>
  885. </script>
  886. </input>
  887. <input id="ipt_deptcd2" class="input_default" disabled="true" visibility="hidden" style="left:966px; top:665px; width:28px; height:19px; "/>
  888. <input id="ipt_deptcdnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/deptnm" class="input_default" disabled="true" navindex="33" style="left:469px; top:636px; width:89px; height:19px; ">
  889. <script type="javascript" ev:event="xforms-value-changed">
  890. <![CDATA[
  891. /* 부서코드,명 입력시 Validation Check
  892. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  893. misfValidationCheck("02", "", "deptcd,deptnm" );
  894. model.refresh();
  895. ]]>
  896. </script>
  897. </input>
  898. <input id="ipt_deptcdnm2" class="input_default" disabled="true" visibility="hidden" style="left:974px; top:665px; width:20px; height:19px; "/>
  899. <input id="ipt_jobposcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/jobposcd" class="input_default" disabled="true" navindex="44" style="left:627px; top:636px; width:64px; height:19px; ">
  900. <script type="javascript" ev:event="xforms-value-changed">
  901. <![CDATA[
  902. misfValidationCheck("03", "R0062", "jobposcd,jobposnm" );
  903. model.refresh();
  904. ]]>
  905. </script>
  906. </input>
  907. <input id="ipt_jobposcd2" class="input_default" disabled="true" visibility="hidden" style="left:966px; top:665px; width:28px; height:19px; "/>
  908. <input id="ipt_jobposcdnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/jobposnm" class="input_default" disabled="true" navindex="45" style="left:715px; top:636px; width:93px; height:19px; ">
  909. <script type="javascript" ev:event="xforms-value-changed">
  910. <![CDATA[
  911. misfValidationCheck("03", "R0062", "jobposcd,jobposnm" );
  912. model.refresh();
  913. ]]>
  914. </script>
  915. </input>
  916. <input id="ipt_jobposcdnm2" class="input_default" disabled="true" visibility="hidden" style="left:975px; top:665px; width:19px; height:19px; "/>
  917. <input id="ipt_jobrespcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/jobrespcd" class="input_default" disabled="true" navindex="46" style="left:897px; top:540px; width:64px; height:19px; ">
  918. <script type="javascript" ev:event="xforms-value-changed">
  919. <![CDATA[
  920. misfValidationCheck("03", "R0063", "jobrespcd,jobrespnm" );
  921. model.refresh();
  922. ]]>
  923. </script>
  924. </input>
  925. <input id="ipt_jobrespcd2" class="input_default" disabled="true" visibility="hidden" style="left:971px; top:665px; width:23px; height:19px; "/>
  926. <input id="ipt_jobrespcdnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/jobrespnm" class="input_default" disabled="true" navindex="47" style="left:985px; top:540px; width:206px; height:19px; ">
  927. <script type="javascript" ev:event="xforms-value-changed">
  928. <![CDATA[
  929. misfValidationCheck("03", "R0063", "jobrespcd,jobrespnm" );
  930. model.refresh();
  931. ]]>
  932. </script>
  933. </input>
  934. <input id="ipt_jobrespcdnm2" class="input_default" disabled="true" visibility="hidden" style="left:979px; top:665px; width:15px; height:19px; "/>
  935. <input id="ipt_grupjoblncd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/grupjoblncd" class="input_default" disabled="true" navindex="38" visibility="hidden" style="left:947px; top:652px; width:64px; height:19px; ">
  936. <script type="javascript" ev:event="xforms-value-changed">
  937. <![CDATA[
  938. misfValidationCheck("03", "R0059", "grupjoblncd,grupjoblnnm" );
  939. model.refresh();
  940. ]]>
  941. </script>
  942. </input>
  943. <input id="ipt_grupjoblncdnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/grupjoblnnm" class="input_default" disabled="true" navindex="39" visibility="hidden" style="left:1035px; top:652px; width:93px; height:19px; ">
  944. <script type="javascript" ev:event="xforms-value-changed">
  945. <![CDATA[
  946. misfValidationCheck("03", "R0059", "grupjoblncd,grupjoblnnm" );
  947. model.refresh();
  948. ]]>
  949. </script>
  950. </input>
  951. <input id="ipt_joblncd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/joblncd" class="input_default" disabled="true" navindex="40" style="left:627px; top:660px; width:64px; height:19px; ">
  952. <script type="javascript" ev:event="xforms-value-changed">
  953. <![CDATA[
  954. misfValidationCheck("03", "R0060", "joblncd,joblnnm" );
  955. model.refresh();
  956. ]]>
  957. </script>
  958. </input>
  959. <input id="ipt_joblncdnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/joblnnm" class="input_default" disabled="true" navindex="41" style="left:715px; top:660px; width:93px; height:19px; ">
  960. <script type="javascript" ev:event="xforms-value-changed">
  961. <![CDATA[
  962. misfValidationCheck("03", "R0060", "joblncd,joblnnm" );
  963. model.refresh();
  964. ]]>
  965. </script>
  966. </input>
  967. <input id="ipt_jobkindcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/jobkindcd" class="input_default" disabled="true" navindex="42" style="left:627px; top:612px; width:64px; height:19px; ">
  968. <script type="javascript" ev:event="xforms-value-changed">
  969. <![CDATA[
  970. misfValidationCheck("03", "R0061", "jobkindcd,jobkindnm" );
  971. model.refresh();
  972. ]]>
  973. </script>
  974. </input>
  975. <input id="ipt_jobkindcdnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/jobkindnm" class="input_default" disabled="true" navindex="43" style="left:715px; top:612px; width:93px; height:19px; ">
  976. <script type="javascript" ev:event="xforms-value-changed">
  977. <![CDATA[
  978. misfValidationCheck("03", "R0061", "jobkindcd,jobkindnm" );
  979. model.refresh();
  980. ]]>
  981. </script>
  982. </input>
  983. <select1 id="rdo_concroffcyn" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/concroffcyn" class="radio_search" disabled="true" navindex="54" overflow="visible" appearance="full" cols="2" itemheight="18" itemwidth="53" style="left:897px; top:611px; width:90px; height:19px; text-align:center; border-style:solid; ">
  984. <choices>
  985. <item>
  986. <label>Yes</label>
  987. <value>Y</value>
  988. </item>
  989. <item>
  990. <label>No</label>
  991. <value>N</value>
  992. </item>
  993. </choices>
  994. <script type="javascript" ev:event="xforms-value-changed">
  995. <![CDATA[
  996. rdo_delyncd.select(rdo_delyn.focusIndex);
  997. ]]>
  998. </script>
  999. </select1>
  1000. <input id="ipt_ojobgradcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/ojobgradcd" class="input_default" disabled="true" navindex="48" style="left:897px; top:564px; width:64px; height:19px; ">
  1001. <script type="javascript" ev:event="xforms-value-changed">
  1002. <![CDATA[
  1003. misfValidationCheck("03", "R0064", "ojobgradcd,ojobgradnm" );
  1004. model.refresh();
  1005. ]]>
  1006. </script>
  1007. </input>
  1008. <input id="ipt_ojobgradcdnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/ojobgradnm" class="input_default" disabled="true" navindex="49" style="left:985px; top:564px; width:105px; height:19px; ">
  1009. <script type="javascript" ev:event="xforms-value-changed">
  1010. <![CDATA[
  1011. misfValidationCheck("03", "R0064", "ojobgradcd,ojobgradnm" );
  1012. model.refresh();
  1013. ]]>
  1014. </script>
  1015. </input>
  1016. <input id="ipt_njobgradcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/njobgradcd" class="input_default" disabled="true" navindex="50" style="left:897px; top:588px; width:64px; height:19px; ">
  1017. <script type="javascript" ev:event="xforms-value-changed">
  1018. <![CDATA[
  1019. misfValidationCheck("03", "R0064", "njobgradcd,njobgradnm" );
  1020. model.refresh();
  1021. ]]>
  1022. </script>
  1023. </input>
  1024. <input id="ipt_njobgradcdnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/njobgradnm" class="input_default" disabled="true" navindex="51" style="left:985px; top:588px; width:105px; height:19px; ">
  1025. <script type="javascript" ev:event="xforms-value-changed">
  1026. <![CDATA[
  1027. misfValidationCheck("03", "R0064", "njobgradcd,njobgradnm" );
  1028. model.refresh();
  1029. ]]>
  1030. </script>
  1031. </input>
  1032. <input id="ipt_anual" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/anual" class="input_default" disabled="true" navindex="53" style="left:1093px; top:588px; width:98px; height:19px; "/>
  1033. <select1 id="rdo_grdeupflag" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/gradupmm" class="radio_search" disabled="true" navindex="55" overflow="visible" appearance="full" cols="2" itemheight="18" itemwidth="43" style="left:1093px; top:611px; width:90px; height:19px; text-align:center; border-style:solid; ">
  1034. <choices>
  1035. <item>
  1036. <label>1월</label>
  1037. <value>01</value>
  1038. </item>
  1039. <item>
  1040. <label>7월</label>
  1041. <value>07</value>
  1042. </item>
  1043. </choices>
  1044. </select1>
  1045. <select1 id="cmb_retireresn" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/retireresn" class="combo_default" disabled="true" navindex="56" appearance="minimal" style="left:1093px; top:636px; width:98px; height:19px; ">
  1046. <choices>
  1047. <itemset>
  1048. <label/>
  1049. <value/>
  1050. </itemset>
  1051. </choices>
  1052. </select1>
  1053. <textarea id="tra_cmt" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/cmt" navindex="57" style="left:897px; top:658px; width:293px; height:43px; "/>
  1054. <button id="btn_deptcdhelp" class="icon_search" disabled="true" style="left:448px; top:635px; width:16px; height:16px; ">
  1055. <caption/>
  1056. <script type="javascript" ev:event="DOMActivate">
  1057. <![CDATA[
  1058. var recv_list = "deptcd,deptnm";
  1059. var instcd = cmb_instcd1.value;
  1060. rpbfOpenDeptCdHelp(ipt_deptcd,recv_list,instcd,"instcd");
  1061. model.refresh();
  1062. ]]>
  1063. </script>
  1064. </button>
  1065. <button id="btn_deptcdhelp2" class="icon_search" disabled="true" visibility="hidden" style="left:978px; top:665px; width:16px; height:16px; ">
  1066. <caption/>
  1067. </button>
  1068. <button id="btn_jobposcdhelp" class="icon_search" disabled="true" style="left:695px; top:638px; width:16px; height:16px; ">
  1069. <caption/>
  1070. <script type="javascript" ev:event="DOMActivate">
  1071. <![CDATA[
  1072. var recv_list = "jobposcd,jobposnm";
  1073. rpbfOpenComCdHelp(ipt_jobposcd,"R0062", recv_list);
  1074. model.refresh();
  1075. ]]>
  1076. </script>
  1077. </button>
  1078. <button id="btn_jobposcdhelp2" class="icon_search" disabled="true" visibility="hidden" style="left:978px; top:665px; width:16px; height:16px; ">
  1079. <caption/>
  1080. </button>
  1081. <button id="btn_jobrespcdhelp" class="icon_search" disabled="true" style="left:964px; top:542px; width:16px; height:16px; ">
  1082. <caption/>
  1083. <script type="javascript" ev:event="DOMActivate">
  1084. <![CDATA[
  1085. var recv_list = "jobrespcd,jobrespnm";
  1086. rpbfOpenComCdHelp(ipt_jobrespcd,"R0063", recv_list);
  1087. model.refresh();
  1088. ]]>
  1089. </script>
  1090. </button>
  1091. <button id="btn_jobrespcdhelp2" class="icon_search" disabled="true" visibility="hidden" style="left:978px; top:665px; width:16px; height:16px; ">
  1092. <caption/>
  1093. </button>
  1094. <button id="btn_grupjoblncdhelp" class="icon_search" disabled="true" visibility="hidden" style="left:1015px; top:654px; width:16px; height:16px; ">
  1095. <caption/>
  1096. <script type="javascript" ev:event="DOMActivate">
  1097. <![CDATA[
  1098. var recv_list = "grupjoblncd,grupjoblnnm";
  1099. rpbfOpenComCdHelp(ipt_grupjoblncd,"R0059", recv_list);
  1100. model.refresh();
  1101. ]]>
  1102. </script>
  1103. </button>
  1104. <button id="btn_joblncdhelp" class="icon_search" disabled="true" style="left:695px; top:659px; width:16px; height:16px; ">
  1105. <caption/>
  1106. <script type="javascript" ev:event="DOMActivate">
  1107. <![CDATA[
  1108. var recv_list = "joblncd,joblnnm";
  1109. rpbfOpenComCdHelp(ipt_joblncd,"R0060", recv_list);
  1110. model.refresh();
  1111. ]]>
  1112. </script>
  1113. </button>
  1114. <button id="btn_jobkindcdhelp" class="icon_search" disabled="true" style="left:695px; top:614px; width:16px; height:16px; ">
  1115. <caption/>
  1116. <script type="javascript" ev:event="DOMActivate">
  1117. <![CDATA[
  1118. var recv_list = "jobkindcd,jobkindnm";
  1119. rpbfOpenComCdHelp(ipt_jobkindcd,"R0061", recv_list);
  1120. model.refresh();
  1121. ]]>
  1122. </script>
  1123. </button>
  1124. <button id="btn_ojobgradcdhelp" class="icon_search" disabled="true" style="left:964px; top:567px; width:16px; height:16px; ">
  1125. <caption/>
  1126. <script type="javascript" ev:event="DOMActivate">
  1127. <![CDATA[
  1128. var recv_list = "ojobgradcd,ojobgradnm";
  1129. rpbfOpenComCdHelp(ipt_ojobgradcd,"R0064", recv_list);
  1130. model.refresh();
  1131. ]]>
  1132. </script>
  1133. </button>
  1134. <button id="btn_njobgradcdhelp" class="icon_search" disabled="true" style="left:964px; top:591px; width:16px; height:16px; ">
  1135. <caption/>
  1136. <script type="javascript" ev:event="DOMActivate">
  1137. <![CDATA[
  1138. var recv_list = "njobgradcd,njobgradnm";
  1139. rpbfOpenComCdHelp(ipt_njobgradcd,"R0064", recv_list);
  1140. model.refresh();
  1141. ]]>
  1142. </script>
  1143. </button>
  1144. <select1 id="cmb_prfshipflag_s" ref="/root/send/gvnoffcordmast/prfshipflag" class="combo_default" navindex="7" appearance="minimal" style="left:1038px; top:8px; width:85px; height:19px; ">
  1145. <choices>
  1146. <itemset>
  1147. <label/>
  1148. <value/>
  1149. </itemset>
  1150. </choices>
  1151. </select1>
  1152. <button id="button1" class="btn2_letter3" style="left:953px; top:38px; width:53px; height:19px; ">
  1153. <caption>행추가</caption>
  1154. <script type="javascript" ev:event="DOMActivate">
  1155. <![CDATA[
  1156. misfGridIUD(grd_gvnoffcordmastlist, "A");
  1157. grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("holyordflag")) = "1";
  1158. grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("prfshipflag")) = "41";
  1159. if (cmb_gvnoffcorddetlflag_s.value != "") {
  1160. grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcordflagnm")) = cmb_gvnoffcorddetlflag_s.label;
  1161. grd_gvnoffcordmastlist.dispatch("onrowchanged");
  1162. }
  1163. ]]>
  1164. </script>
  1165. </button>
  1166. <caption id="caption8" class="search_name" visibility="hidden" style="left:788px; top:9px; width:86px; height:17px; ">성직구분 :</caption>
  1167. <select1 id="cmb_holyordflag_i" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/holyordflag" class="combo_default" disabled="true" navindex="25" appearance="minimal" style="left:84px; top:636px; width:222px; height:19px; ">
  1168. <choices>
  1169. <itemset>
  1170. <label/>
  1171. <value/>
  1172. </itemset>
  1173. </choices>
  1174. </select1>
  1175. <caption id="caption9" class="cell_1" style="left:0px; top:634px; width:82px; height:23px; vertical-align:middle; ">직원구분</caption>
  1176. <button id="btn_grddelgvnoffcorddetllist" class="btn2_letter3" style="left:1008px; top:269px; width:53px; height:19px; ">
  1177. <caption>행삭제</caption>
  1178. <script type="javascript" ev:event="DOMActivate">
  1179. <![CDATA[
  1180. if (grd_gvnoffcorddetllist.valueMatrix(grd_gvnoffcorddetllist.row, grd_gvnoffcorddetllist.colRef("oldtretyn")) == "Y") {
  1181. messageBox("인사 마스터에 반영이 되어서 삭제 ", "E001");
  1182. return;
  1183. }
  1184. // var noderow = grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1;
  1185. // var colno = grd_gvnoffcorddetllist.colRef("oldtretyn");
  1186. // var colref = grd_gvnoffcorddetllist.colAttribute(colno, "ref");
  1187. // if (model.getValue(grd_gvnoffcorddetllist.nodeset + "[" + noderow + "]/" + colref) == "Y") {
  1188. // messageBox("인사 마스터에 반영이 되어서 삭제 ", "E001");
  1189. // return;
  1190. // }
  1191. misfGridIUD(grd_gvnoffcorddetllist, "D");
  1192. rpbNodeDeleteTret(grd_gvnoffcorddetllist, GVN_TARGET_NODE + "/gvnoffcorddetllist");
  1193. ipt_emplnoi.value = "";
  1194. ipt_emplnmi.value = "";
  1195. model.refresh();
  1196. misfSave("TXRPB10001");
  1197. // model.copyNode(GVN_TARGET_NODE,GVN_SOURCE_NODE + "[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
  1198. //
  1199. // model.setFocus("ipt_emplno");
  1200. // model.refresh();
  1201. ]]>
  1202. </script>
  1203. </button>
  1204. <button id="btn_savedetl" class="btn5_letter2" style="left:1151px; top:511px; width:42px; height:19px; ">
  1205. <caption>저장</caption>
  1206. <script type="javascript" ev:event="DOMActivate">
  1207. <![CDATA[
  1208. //유닛코드가 바뀌면 근무지 부서코드도 바뀐다.
  1209. //rpbfDutPlceDeptCdSet();
  1210. if(!isRequiredControls("cmb_prfshipflag_i") )return false;
  1211. var unitcd = model.getValue(ipt_dutunitcd.attribute("ref"));
  1212. var oldunitcd = model.getValue(ipt_olddutunitcd.attribute("ref"));
  1213. if (unitcd != oldunitcd) {
  1214. model.setValue(ipt_dutplcedeptcd.attribute("ref"), unitcd);
  1215. ipt_dutplcedeptcd.refresh();
  1216. }
  1217. btn_save.dispatch("DOMActivate");
  1218. ]]>
  1219. </script>
  1220. </button>
  1221. <button id="btn_appgrid" class="btn2_letter2" visibility="hidden" style="left:1041px; top:511px; width:42px; height:19px; ">
  1222. <caption>적용</caption>
  1223. <script type="javascript" ev:event="DOMActivate">
  1224. <![CDATA[
  1225. misfGridRowStatusChange(grd_gvnoffcorddetllist, GVN_SOURCE_NODE, GVN_TARGET_NODE);
  1226. model.refresh();
  1227. ]]>
  1228. </script>
  1229. </button>
  1230. <button id="btn_gvnoffcordtret" class="btn5_letter6" style="left:865px; top:38px; width:86px; height:19px; ">
  1231. <caption>일괄발령처리</caption>
  1232. <script type="javascript" ev:event="DOMActivate">
  1233. <![CDATA[
  1234. var submit_node = model.children("TXRPB10002").attribute("ref")
  1235. if ( messageBox("발령 처리", "S001") == "6") {
  1236. model.setValue(submit_node + "/gvnoffcordmastlist" , grd_gvnoffcordmastlist.getUpdateData());
  1237. submit("TXRPB10002");
  1238. grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("oldcnfmyn")) = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("cnfmyn"));
  1239. for (var i = grd_gvnoffcorddetllist.fixedRows; i < grd_gvnoffcorddetllist.rows; i++ ) {
  1240. grd_gvnoffcorddetllist.valueMatrix(i, grd_gvnoffcorddetllist.colRef("oldtretyn")) = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("cnfmyn"));
  1241. grd_gvnoffcorddetllist.valueMatrix(i, grd_gvnoffcorddetllist.colRef("tretyn")) = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("cnfmyn"));
  1242. }
  1243. rpbfGridClearStatus(grd_gvnoffcordmastlist);
  1244. btn_save.dispatch("DOMActivate");
  1245. }
  1246. ]]>
  1247. </script>
  1248. </button>
  1249. <button id="btn_gvnoffcorddetltret" class="btn5_letter6" style="left:865px; top:269px; width:86px; height:19px; ">
  1250. <caption>개인발령처리</caption>
  1251. <script type="javascript" ev:event="DOMActivate">
  1252. <![CDATA[
  1253. var submit_node = model.children("TXRPB10003").attribute("ref")
  1254. if ( messageBox("발령 처리", "S001") == "6") {
  1255. model.setValue(submit_node + "/gvnoffcorddetllist" , grd_gvnoffcorddetllist.getUpdateData());
  1256. submit("TXRPB10003");
  1257. for (var i = grd_gvnoffcorddetllist.fixedRows; i < grd_gvnoffcorddetllist.rows; i++ ) {
  1258. grd_gvnoffcorddetllist.valueMatrix(i, grd_gvnoffcorddetllist.colRef("oldtretyn")) = grd_gvnoffcorddetllist.valueMatrix(i, grd_gvnoffcorddetllist.colRef("tretyn"));
  1259. }
  1260. rpbfGridClearStatus(grd_gvnoffcorddetllist);
  1261. btn_save.dispatch("DOMActivate");
  1262. }
  1263. ]]>
  1264. </script>
  1265. </button>
  1266. <button id="button5" class="btn2_letter4" style="left:1129px; top:38px; width:64px; height:19px; ">
  1267. <caption>엑셀입력</caption>
  1268. <script type="javascript" ev:event="DOMActivate">
  1269. <![CDATA[
  1270. var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  1271. grd_gvnoffcorddetllist.loadExcel(fileName, selectValue2, true);
  1272. grd_gvnoffcorddetllist.deleteRow(1);
  1273. grd_gvnoffcorddetllist.refresh();
  1274. ]]>
  1275. </script>
  1276. </button>
  1277. <caption id="caption10" class="cell_1" style="left:308px; top:658px; width:65px; height:23px; vertical-align:middle; ">과(팀)</caption>
  1278. <input id="ipt_teamnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/teamnm" class="input_default" disabled="true" navindex="35" style="left:469px; top:660px; width:89px; height:19px; ">
  1279. <script type="javascript" ev:event="xforms-value-changed">
  1280. <![CDATA[
  1281. /* 부서코드,명 입력시 Validation Check
  1282. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  1283. misfValidationCheck("02", "", "teamcd,teamnm" ,cmb_instcd1.value,"instcd","", cmb_instcd1.value);
  1284. deptsetting("N");
  1285. model.refresh();
  1286. ]]>
  1287. </script>
  1288. </input>
  1289. <input id="ipt_teamcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/teamcd" class="input_default" disabled="true" navindex="34" style="left:375px; top:660px; width:69px; height:19px; ">
  1290. <script type="javascript" ev:event="xforms-value-changed">
  1291. <![CDATA[
  1292. /* 부서코드,명 입력시 Validation Check
  1293. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  1294. misfValidationCheck("02", "", "teamcd,teamnm" ,cmb_instcd1.value,"instcd","", cmb_instcd1.value);
  1295. deptsetting("N");
  1296. model.refresh();
  1297. ]]>
  1298. </script>
  1299. </input>
  1300. <button id="btn_teamcdhelp" class="icon_search" disabled="true" style="left:448px; top:659px; width:16px; height:16px; ">
  1301. <caption/>
  1302. <script type="javascript" ev:event="DOMActivate">
  1303. <![CDATA[
  1304. var recv_list = "teamcd,teamnm";
  1305. var instcd = cmb_instcd1.value;
  1306. rpbfOpenDeptCdHelp(ipt_teamcd,recv_list,instcd,"instcd");
  1307. deptsetting("N");
  1308. model.refresh();
  1309. ]]>
  1310. </script>
  1311. </button>
  1312. <button id="btn_unitcdhelp" class="icon_search" disabled="true" style="left:448px; top:683px; width:16px; height:16px; ">
  1313. <caption/>
  1314. <script type="javascript" ev:event="DOMActivate">
  1315. <![CDATA[
  1316. var recv_list = "unitcd,unitnm";
  1317. var instcd = cmb_instcd1.value;
  1318. rpbfOpenDeptCdHelp(ipt_unitcd,recv_list,instcd,"instcd");
  1319. deptsetting("Y");
  1320. model.refresh();
  1321. ]]>
  1322. </script>
  1323. </button>
  1324. <caption id="caption11" class="cell_1" style="left:308px; top:682px; width:65px; height:23px; vertical-align:middle; ">부서</caption>
  1325. <input id="ipt_unitnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/unitnm" class="input_default" disabled="true" navindex="37" style="left:469px; top:684px; width:89px; height:19px; ">
  1326. <script type="javascript" ev:event="xforms-value-changed">
  1327. <![CDATA[
  1328. /* 부서코드,명 입력시 Validation Check
  1329. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  1330. misfValidationCheck("02", "", "unitcd,unitnm" ,cmb_instcd1.value,"instcd","", cmb_instcd1.value);
  1331. deptsetting("Y");
  1332. model.refresh();
  1333. ]]>
  1334. </script>
  1335. </input>
  1336. <input id="ipt_unitcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/unitcd" class="input_default" disabled="true" navindex="36" style="left:375px; top:684px; width:69px; height:19px; ">
  1337. <script type="javascript" ev:event="xforms-value-changed">
  1338. <![CDATA[
  1339. /* 부서코드,명 입력시 Validation Check
  1340. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  1341. misfValidationCheck("02", "", "unitcd,unitnm" ,cmb_instcd1.value,"instcd","", cmb_instcd1.value);
  1342. deptsetting("Y");
  1343. model.refresh();
  1344. ]]>
  1345. </script>
  1346. </input>
  1347. <datagrid id="grd_gvnoffcordcdlist" nodeset="/root/main/gvnoffcorddetl/gvnoffcordcdlist" visibility="hidden" caption="발령세부구분^기관^현상태^부서^팀^유닛^근무지기관^근무지부서^성직구분^교직구분^직군^직렬^직종^직책^직위^구직급^신직급^호봉^년차^시작일자^종료일자^입사일자^퇴사일자^CMC입사일^수습일자^최초임용일^승급월^퇴직사유^발령구분^성명^주민번호^caption1^caption2|발령세부구분^기관^현상태^부서^팀^유닛^근무지기관^근무지부서^성직구분^교직구분^직군^직렬^직종^직책^직위^구직급^신직급^호봉^년차^시작일자^종료일자^입사일자^퇴사일자^CMC입사일^수습일자^최초임용일^승급월^퇴직사유^발령구분^성명^주민번호^caption1^caption2" colsep="^" colwidth="79, 24, 32, 25, 23, 23, 46, 40, 40, 37, 25, 22, 23, 23, 20, 30, 31, 24, 24, 30, 32, 31, 31, 33, 31, 31, 30, 33, 27, 36, 34, 39, 32" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:150px; width:1193px; height:90px; ">
  1348. <col ref="gvnoffcorddetlflag" type="output" _key="true"/>
  1349. <col ref="instcdyn" type="output"/>
  1350. <col ref="preststatcdyn" type="output"/>
  1351. <col ref="deptcdyn" type="output"/>
  1352. <col ref="teamcdyn" type="output"/>
  1353. <col ref="unitcdyn" type="output"/>
  1354. <col ref="dutplceinstcdyn" type="output"/>
  1355. <col ref="dutplcedeptcdyn" type="output"/>
  1356. <col ref="holyordflagyn" type="output"/>
  1357. <col ref="prfshipflagyn" type="output"/>
  1358. <col ref="grupjoblncdyn" type="output"/>
  1359. <col ref="joblncdyn" type="output" style="left:550px; top:43px; width:22px; height:23px; "/>
  1360. <col ref="jobkindcdyn" type="output"/>
  1361. <col ref="jobrespcdyn" type="output"/>
  1362. <col ref="jobposcdyn" type="output"/>
  1363. <col ref="ojobgradcdyn" type="output"/>
  1364. <col ref="njobgradcdyn" type="output"/>
  1365. <col ref="payclscdyn" type="output"/>
  1366. <col ref="anualyn" type="output"/>
  1367. <col ref="termfromddyn" type="output"/>
  1368. <col ref="termtoddyn" type="output"/>
  1369. <col ref="entcoddyn" type="output"/>
  1370. <col ref="retireddyn" type="output"/>
  1371. <col ref="cmcentcoddyn" type="output"/>
  1372. <col ref="probatnddyn" type="output"/>
  1373. <col ref="fstappntddyn" type="output"/>
  1374. <col ref="gradupmmyn" type="output"/>
  1375. <col ref="retireresnyn" type="output"/>
  1376. <col ref="gvnoffcordflag" visibility="visible"/>
  1377. <col ref="nameyn" type="output"/>
  1378. <col ref="rregnoyn" type="output"/>
  1379. <col ref="payclsprfshipflagyn" type="output"/>
  1380. <col ref="educdyn" type="output"/>
  1381. </datagrid>
  1382. <input id="ipt_dutplcedeptcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/dutplcedeptcd" class="input_default" disabled="true" visibility="hidden" style="left:965px; top:660px; width:14px; height:19px; "/>
  1383. <caption id="caption13" class="cell_1" style="left:308px; top:586px; width:65px; height:23px; text-align:left; vertical-align:middle; ">근무기관</caption>
  1384. <select1 id="cmb_dutplceinst" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/dutplceinst" class="combo_default" disabled="true" navindex="31" appearance="minimal" style="left:375px; top:588px; width:182px; height:19px; ">
  1385. <choices>
  1386. <itemset>
  1387. <label/>
  1388. <value/>
  1389. </itemset>
  1390. </choices>
  1391. </select1>
  1392. <select1 id="cmb_payinst" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/payinst" class="combo_default" disabled="true" navindex="31" appearance="minimal" style="left:375px; top:612px; width:182px; height:19px; ">
  1393. <choices>
  1394. <itemset>
  1395. <label/>
  1396. <value/>
  1397. </itemset>
  1398. </choices>
  1399. </select1>
  1400. <caption id="caption14" class="cell_1" style="left:308px; top:610px; width:65px; height:23px; text-align:left; vertical-align:middle; ">급여기관</caption>
  1401. <input id="ipt_dutteamnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/dutteamnm" class="input_default" disabled="true" navindex="35" style="left:715px; top:564px; width:93px; height:19px; ">
  1402. <script type="javascript" ev:event="xforms-value-changed">
  1403. <![CDATA[
  1404. /* 부서코드,명 입력시 Validation Check
  1405. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  1406. misfValidationCheck("02", "", "dutteamcd,dutteamnm" ,cmb_dutplceinst.value,"instcd","", cmb_dutplceinst.value);
  1407. dutdeptsetting("N");
  1408. model.refresh();
  1409. ]]>
  1410. </script>
  1411. </input>
  1412. <input id="ipt_dutdeptnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/dutdeptnm" class="input_default" disabled="true" navindex="33" style="left:715px; top:540px; width:93px; height:19px; ">
  1413. <script type="javascript" ev:event="xforms-value-changed">
  1414. <![CDATA[
  1415. /* 부서코드,명 입력시 Validation Check
  1416. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  1417. misfValidationCheck("02", "", "dutdeptcd,dutdeptnm" );
  1418. model.refresh();
  1419. ]]>
  1420. </script>
  1421. </input>
  1422. <input id="ipt_dutteamcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/dutteamcd" class="input_default" disabled="true" navindex="34" style="left:627px; top:564px; width:64px; height:19px; ">
  1423. <script type="javascript" ev:event="xforms-value-changed">
  1424. <![CDATA[
  1425. /* 부서코드,명 입력시 Validation Check
  1426. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  1427. misfValidationCheck("02", "", "dutteamcd,dutteamnm" ,cmb_dutplceinst.value,"instcd","", cmb_dutplceinst.value);
  1428. dutdeptsetting("N");
  1429. model.refresh();
  1430. ]]>
  1431. </script>
  1432. </input>
  1433. <button id="btn_dutteamcd" class="icon_search" disabled="true" style="left:695px; top:566px; width:16px; height:16px; ">
  1434. <caption/>
  1435. <script type="javascript" ev:event="DOMActivate">
  1436. <![CDATA[
  1437. var recv_list = "dutteamcd,dutteamnm";
  1438. var instcd = cmb_dutplceinst.value;
  1439. rpbfOpenDeptCdHelp(ipt_dutteamcd,recv_list,instcd,"instcd");
  1440. dutdeptsetting("N");
  1441. model.refresh();
  1442. ]]>
  1443. </script>
  1444. </button>
  1445. <button id="btn_dutdeptcd" class="icon_search" disabled="true" style="left:695px; top:542px; width:16px; height:16px; ">
  1446. <caption/>
  1447. <script type="javascript" ev:event="DOMActivate">
  1448. <![CDATA[
  1449. var recv_list = "dutdeptcd,dutdeptnm";
  1450. var instcd = cmb_dutplceinst.value;
  1451. rpbfOpenDeptCdHelp(ipt_dutdeptcd,recv_list,instcd,"instcd");
  1452. model.refresh();
  1453. ]]>
  1454. </script>
  1455. </button>
  1456. <caption id="caption12" class="cell_1" style="left:560px; top:538px; width:65px; height:23px; vertical-align:middle; ">근무부(실)</caption>
  1457. <caption id="caption15" class="cell_1" style="left:560px; top:562px; width:65px; height:23px; vertical-align:middle; ">근무과(팀)</caption>
  1458. <caption id="caption16" class="cell_1" style="left:560px; top:586px; width:65px; height:23px; vertical-align:middle; ">근무부서</caption>
  1459. <input id="ipt_dutunitnm" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/dutunitnm" class="input_default" disabled="true" navindex="37" style="left:715px; top:588px; width:93px; height:19px; ">
  1460. <script type="javascript" ev:event="xforms-value-changed">
  1461. <![CDATA[
  1462. /* 부서코드,명 입력시 Validation Check
  1463. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  1464. misfValidationCheck("02", "", "dutunitcd,dutunitnm" ,cmb_dutplceinst.value,"instcd","", cmb_dutplceinst.value);
  1465. dutdeptsetting("Y");
  1466. //유닛코드가 바뀌면 근무지 부서코드도 바뀐다.
  1467. //rpbfDutPlceDeptCdSet();
  1468. model.refresh();
  1469. ]]>
  1470. </script>
  1471. </input>
  1472. <input id="ipt_dutunitcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/dutunitcd" class="input_default" disabled="true" navindex="36" style="left:627px; top:588px; width:64px; height:19px; ">
  1473. <script type="javascript" ev:event="xforms-value-changed">
  1474. <![CDATA[
  1475. /* 부서코드,명 입력시 Validation Check
  1476. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  1477. misfValidationCheck("02", "", "dutunitcd,dutunitnm" ,cmb_dutplceinst.value,"instcd","", cmb_dutplceinst.value);
  1478. dutdeptsetting("Y");
  1479. //유닛코드가 바뀌면 근무지 부서코드도 바뀐다.
  1480. //rpbfDutPlceDeptCdSet();
  1481. model.refresh();
  1482. ]]>
  1483. </script>
  1484. </input>
  1485. <input id="ipt_dutdeptcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/dutdeptcd" class="input_default" disabled="true" navindex="32" style="left:627px; top:540px; width:64px; height:19px; ">
  1486. <script type="javascript" ev:event="xforms-value-changed">
  1487. <![CDATA[
  1488. /* 부서코드,명 입력시 Validation Check
  1489. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  1490. misfValidationCheck("02", "", "dutdeptcd,dutdeptnm" );
  1491. model.refresh();
  1492. ]]>
  1493. </script>
  1494. </input>
  1495. <button id="btn_dutunitcd" class="icon_search" disabled="true" style="left:695px; top:590px; width:16px; height:16px; ">
  1496. <caption/>
  1497. <script type="javascript" ev:event="DOMActivate">
  1498. <![CDATA[
  1499. var recv_list = "dutunitcd,dutunitnm";
  1500. var instcd = cmb_dutplceinst.value;
  1501. rpbfOpenDeptCdHelp(ipt_dutunitcd,recv_list,instcd,"instcd");
  1502. dutdeptsetting("Y");
  1503. //유닛코드가 바뀌면 근무지 부서코드도 바뀐다.
  1504. //rpbfDutPlceDeptCdSet();
  1505. model.refresh();
  1506. ]]>
  1507. </script>
  1508. </button>
  1509. <select1 id="cmb_payclscd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/payclscd" class="combo_default" disabled="false" navindex="31" appearance="minimal" style="left:1093px; top:564px; width:98px; height:19px; ">
  1510. <choices>
  1511. <itemset>
  1512. <label/>
  1513. <value/>
  1514. </itemset>
  1515. </choices>
  1516. </select1>
  1517. <input id="ipt_emplnoi" ref="/root/init/emplinfo/emplno" class="input_default" navindex="20" style="left:84px; top:540px; width:72px; height:19px; ">
  1518. <script type="javascript" ev:event="xforms-value-changed">
  1519. <![CDATA[
  1520. /* 인사정보 Validation Check
  1521. misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  1522. //model.refresh();
  1523. var gvnoffcorddd = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcorddd"));
  1524. var gvnoffcordflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcordflag"));
  1525. var gvnoffcorddetlflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcorddetlflag"));
  1526. var prfshipflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("prfshipflag"));
  1527. var holyordflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("holyordflag"));
  1528. if (gvnoffcorddd == null || gvnoffcorddd == "") {
  1529. messageBox("발령 일자가 없습니다. 등록","E001");
  1530. return;
  1531. }
  1532. if (gvnoffcordflag == null || gvnoffcordflag == "") {
  1533. messageBox("발령 구분이 없습니다. 등록","E001");
  1534. return;
  1535. }
  1536. if (gvnoffcorddetlflag == null || gvnoffcorddetlflag == "") {
  1537. messageBox("발령 세부 구분이 없습니다. 등록","E001");
  1538. return;
  1539. }
  1540. if (prfshipflag == null || prfshipflag == "") {
  1541. messageBox("교직 구분이 없습니다. 등록","E001");
  1542. return;
  1543. }
  1544. if (holyordflag == null || holyordflag == "") {
  1545. messageBox("성직 구분이 없습니다. 등록","E001");
  1546. return;
  1547. }
  1548. var emplno = ipt_emplnoi.value;
  1549. var emplnm = ipt_emplnmi.value;
  1550. if (grd_gvnoffcorddetllist.rowStatus(grd_gvnoffcorddetllist.row) != "1") {
  1551. misfGridIUD(grd_gvnoffcorddetllist, "A");
  1552. model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
  1553. rpbfGvnoffcordEditYNSet(grd_gvnoffcordcdlist.nodeset, GVN_TARGET_NODE + "/gvnoffcorddetllist");
  1554. }
  1555. model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/emplno", emplno);
  1556. model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/emplnm", emplnm);
  1557. ipt_emplnoi.attribute("ref") = "/root/main/gvnoffcorddetldata/gvnoffcorddetllist/emplno";
  1558. model.refresh();
  1559. var recv_list = "emplno,emplnm,holyordflag,prfshipflag,rregno1,rregno2,instcd,deptcd,deptnm,jobposcd,jobposnm,jobrespcd,jobrespnm," ;
  1560. recv_list = recv_list + "grupjoblncd,grupjoblnnm,joblncd,joblnnm,jobkindcd,jobkindnm,concroffcyn,ojobgradcd,ojobgradnm,njobgradcd,njobgradnm,";
  1561. recv_list = recv_list + "grdeupflag,retireresn,cmt,payclscd,anual,payinst,dutplceinst,dutdeptcd,dutdeptnm,dutteamcd,dutteamnm,dutunitcd,dutunitnm,teamcd,teamnm,unitcd,unitnm,";
  1562. recv_list = recv_list + "orginstcd,orgdeptcd,orgdetlinst,orgteamcd,orgunitcd,gradupmm";
  1563. rpbfValidationCheck("EMPLNO", recv_list);
  1564. model.refresh();
  1565. if (rpbCheckEmplNo (grd_gvnoffcorddetllist, emplno) == "Y" ||
  1566. (gvnoffcorddetlflag != "020" && gvnoffcorddetlflag != "065" && prfshipflag != cmb_prfshipflag_i.value) ||
  1567. (gvnoffcorddetlflag != "020" && gvnoffcorddetlflag != "065" && holyordflag != cmb_holyordflag_i.value) ) {
  1568. if (prfshipflag != cmb_prfshipflag_i.value) {
  1569. messageBox("Master쪽 교직구분하고 일치 하지 않습니다. 등록","E001");
  1570. }
  1571. else if (holyordflag != cmb_holyordflag_i.value) {
  1572. messageBox("Master쪽 성직구분하고 일치 하지 않습니다. 등록","E001");
  1573. }
  1574. else {
  1575. messageBox("입력한 사원입니다. 등록","E001");
  1576. }
  1577. var node = instance1.selectNodes(GVN_TARGET_NODE + "/gvnoffcorddetllist/*");
  1578. for (var i = 0; i < node.length; i++) {
  1579. model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/" + node.item(i).nodeName,"");
  1580. }
  1581. model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
  1582. model.refresh();
  1583. return;
  1584. }
  1585. else {
  1586. if (gvnoffcorddetlflag == "024" || gvnoffcorddetlflag == "008" ) { //겸직, 보임일경우 겸직유무 Setting
  1587. if (gvnoffcorddetlflag == "024"){
  1588. model.setValue(rdo_concroffcyn.attribute("ref"), "Y");
  1589. }
  1590. else if ((prfshipflag == "11" || prfshipflag == "21") && gvnoffcorddetlflag == "008") {
  1591. model.setValue("/root/send/concroffcord/emplno", emplno);
  1592. submit("TRRPB10004");
  1593. if (grd_concroffcordlist.rows > 0) {
  1594. model.setValue(rdo_concroffcyn.attribute("ref"), "Y");
  1595. }
  1596. else {
  1597. model.setValue(rdo_concroffcyn.attribute("ref"), "N");
  1598. }
  1599. }
  1600. else {
  1601. model.setValue(rdo_concroffcyn.attribute("ref"), "N");
  1602. }
  1603. }
  1604. else {
  1605. model.setValue(rdo_concroffcyn.attribute("ref"), "N");
  1606. }
  1607. if (gvnoffcorddetlflag == "025" || gvnoffcorddetlflag == "015" || gvnoffcorddetlflag == "040") { //겸직해임, 보직해임일경우 겸직발령내역 조회
  1608. model.setValue("/root/send/concroffcord/emplno", emplno);
  1609. submit("TRRPB10004");
  1610. if (grd_concroffcordlist.rows > 0) {
  1611. grd_concroffcordlist.attribute("visibility") = "visible";
  1612. }
  1613. }
  1614. btn_savedetl.disabled = false;
  1615. btn_save.disabled = false;
  1616. }
  1617. ipt_emplnoi.attribute("ref") = "/root/init/emplinfo/emplno";
  1618. model.setValue(ipt_emplnmi.attribute("ref"), model.getValue(ipt_emplnm.attribute("ref")));
  1619. model.setValue(ipt_termfromdd.attribute("ref"), model.getValue(ipt_gvnoffcorddd.attribute("ref")));
  1620. model.setValue(ipt_termtodd.attribute("ref"), "");
  1621. var prfshipflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("prfshipflag"));
  1622. var holyordflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("holyordflag"));
  1623. cmb_prfshipflag_i.value = prfshipflag;
  1624. cmb_holyordflag_i.value = holyordflag;
  1625. cmb_holyordflag_i.disabled = true;
  1626. cmb_prfshipflag_i.disabled = true;
  1627. if (cmb_prfshipflag_i.value == "51") {
  1628. rdo_grdeupflag.value = "";
  1629. rdo_grdeupflag.disabled = true;
  1630. }
  1631. model.refresh();
  1632. ]]>
  1633. </script>
  1634. </input>
  1635. <input id="ipt_emplnmi" ref="/root/init/emplinfo/emplnm" class="input_default" disabled="true" navindex="21" style="left:180px; top:539px; width:126px; height:19px; ">
  1636. <script type="javascript" ev:event="xforms-value-changed">
  1637. <![CDATA[
  1638. ipt_emplnm.value = ipt_emplnmi.value;
  1639. ipt_emplnm.refresh();
  1640. // var gvnoffcorddd = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcorddd"));
  1641. // var gvnoffcordflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcordflag"));
  1642. // var gvnoffcorddetlflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("gvnoffcorddetlflag"));
  1643. // var prfshipflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("prfshipflag"));
  1644. // var holyordflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("holyordflag"));
  1645. //
  1646. // if (gvnoffcorddd == null || gvnoffcorddd == "") {
  1647. // messageBox("발령 일자가 없습니다. 등록","E001");
  1648. // return;
  1649. // }
  1650. //
  1651. // if (gvnoffcordflag == null || gvnoffcordflag == "") {
  1652. // messageBox("발령 구분이 없습니다. 등록","E001");
  1653. // return;
  1654. // }
  1655. //
  1656. // if (gvnoffcorddetlflag == null || gvnoffcorddetlflag == "") {
  1657. // messageBox("발령 세부 구분이 없습니다. 등록","E001");
  1658. // return;
  1659. // }
  1660. //
  1661. //
  1662. // if (prfshipflag == null || prfshipflag == "") {
  1663. // messageBox("교직 구분이 없습니다. 등록","E001");
  1664. // return;
  1665. // }
  1666. //
  1667. // if (holyordflag == null || holyordflag == "") {
  1668. // messageBox("성직 구분이 없습니다. 등록","E001");
  1669. // return;
  1670. // }
  1671. //
  1672. // var emplno = ipt_emplnoi.value;
  1673. // var emplnm = ipt_emplnmi.value;
  1674. //
  1675. // if (grd_gvnoffcorddetllist.rowStatus(grd_gvnoffcorddetllist.row) != "1") {
  1676. // misfGridIUD(grd_gvnoffcorddetllist, "A");
  1677. // model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
  1678. // rpbfGvnoffcordEditYNSet(grd_gvnoffcordcdlist.nodeset, GVN_TARGET_NODE + "/gvnoffcorddetllist");
  1679. // }
  1680. //
  1681. // model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/emplno", emplno);
  1682. // model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/emplnm", emplnm);
  1683. // ipt_emplnmi.attribute("ref") = "/root/main/gvnoffcorddetldata/gvnoffcorddetllist/emplnm";
  1684. // model.refresh();
  1685. //
  1686. // /* 인사정보 Validation Check
  1687. // misfValidationCheck(Validation 종류(부서코드, 공통코드, 우편번호...), 공통코드군, 자료를 받을 Instance Node(콤마로 분류해서 넘기면됨)) */
  1688. // var recv_list = "emplno,emplnm,holyordflag,prfshipflag,rregno1,rregno2,instcd,deptcd,deptnm,jobposcd,jobposnm,jobrespcd,jobrespnm," ;
  1689. // recv_list = recv_list + "grupjoblncd,grupjoblnnm,joblncd,joblnnm,jobkindcd,jobkindnm,concroffcyn,ojobgradcd,ojobgradnm,njobgradcd,njobgradnm,";
  1690. // recv_list = recv_list + "grdeupflag,retireresn,cmt,payclscd,anual,payinst,dutplceinst,dutdeptcd,dutdeptnm,dutteamcd,dutteamnm,dutunitcd,dutunitnm,teamcd,teamnm,unitcd,unitnm,";
  1691. // recv_list = recv_list + "orginstcd,orgdeptcd,orgdetlinst,orgteamcd,orgunitcd";
  1692. // rpbfValidationCheck("EMPLNM", recv_list);
  1693. //
  1694. // model.refresh();
  1695. // var prfshipflag = model.getValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/prfshipflag");
  1696. //
  1697. // if (rpbCheckEmplNo (grd_gvnoffcorddetllist, ipt_emplno.value) == "Y") {
  1698. // messageBox("입력한 사원입니다. 등록","E001");
  1699. // var node = instance1.selectNodes(GVN_TARGET_NODE + "/gvnoffcorddetllist/*");
  1700. // for (var i = 0; i < node.length; i++) {
  1701. // model.setValue(GVN_TARGET_NODE + "/gvnoffcorddetllist/" + node.item(i).nodeName,"");
  1702. // }
  1703. // model.copyNode(GVN_TARGET_NODE + "/gvnoffcorddetllist" ,GVN_SOURCE_NODE + "/gvnoffcorddetllist[" + (grd_gvnoffcorddetllist.row - grd_gvnoffcorddetllist.fixedRows + 1) + "]" );
  1704. // }
  1705. // else {
  1706. // if (gvnoffcorddetlflag == "024" || gvnoffcorddetlflag == "008" ) { //겸직, 보임일경우 겸직유무 Setting
  1707. // if (gvnoffcorddetlflag == "024"){
  1708. // model.setValue(rdo_concroffcyn.attribute("ref"), "Y");
  1709. // }
  1710. // else if ((prfshipflag == "11" || prfshipflag == "21") && gvnoffcorddetlflag == "008") {
  1711. // model.setValue("/root/send/concroffcord/emplno", emplno);
  1712. // submit("TRRPB10004");
  1713. //
  1714. // if (grd_concroffcordlist.rows > 0) {
  1715. // model.setValue(rdo_concroffcyn.attribute("ref"), "Y");
  1716. // }
  1717. // else {
  1718. // model.setValue(rdo_concroffcyn.attribute("ref"), "N");
  1719. // }
  1720. //
  1721. // }
  1722. // else {
  1723. // model.setValue(rdo_concroffcyn.attribute("ref"), "N");
  1724. // }
  1725. // }
  1726. // else {
  1727. // model.setValue(rdo_concroffcyn.attribute("ref"), "N");
  1728. // }
  1729. //
  1730. // if (gvnoffcorddetlflag == "025" || gvnoffcorddetlflag == "015" || gvnoffcorddetlflag == "040") { //겸직해임, 보직해임일경우 겸직발령내역 조회
  1731. // model.setValue("/root/send/concroffcord/emplno", emplno);
  1732. // submit("TRRPB10004");
  1733. //
  1734. // if (grd_concroffcordlist.rows > 0) {
  1735. // grd_concroffcordlist.attribute("visibility") = "visible";
  1736. // }
  1737. // }
  1738. //
  1739. // btn_savedetl.disabled = false;
  1740. // btn_save.disabled = false;
  1741. // }
  1742. // ipt_emplnmi.attribute("ref") = "/root/init/emplinfo/emplnm";
  1743. // model.setValue(ipt_emplnoi.attribute("ref"), model.getValue(ipt_emplno.attribute("ref")));
  1744. //
  1745. // model.setValue(ipt_termfromdd.attribute("ref"), model.getValue(ipt_gvnoffcorddd.attribute("ref")));
  1746. // model.setValue(ipt_termtodd.attribute("ref"), "");
  1747. //
  1748. // var prfshipflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("prfshipflag"));
  1749. // var holyordflag = grd_gvnoffcordmastlist.valueMatrix(grd_gvnoffcordmastlist.row, grd_gvnoffcordmastlist.colRef("holyordflag"));
  1750. // cmb_prfshipflag_i.value = prfshipflag;
  1751. // cmb_holyordflag_i.value = holyordflag;
  1752. //
  1753. // cmb_holyordflag_i.disabled = true;
  1754. // cmb_prfshipflag_i.disabled = true;
  1755. //
  1756. // model.refresh();
  1757. ]]>
  1758. </script>
  1759. </input>
  1760. <input id="ipt_concroffcordno" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/concroffcordno" class="input_default" disabled="true" navindex="50" visibility="hidden" style="left:940px; top:670px; width:25px; height:19px; "/>
  1761. <button id="btn_concroffc" class="btn2_letter4" style="left:1085px; top:511px; width:64px; height:19px; ">
  1762. <caption>겸직자료</caption>
  1763. <script type="javascript" ev:event="DOMActivate">
  1764. <![CDATA[
  1765. if (grd_concroffcordlist.attribute("visibility") == "visible") {
  1766. grd_concroffcordlist.attribute("visibility") = "hidden"
  1767. }
  1768. else {
  1769. model.setValue("/root/send/concroffcord/emplno", ipt_emplnoi.currentText);
  1770. submit("TRRPB10004");
  1771. grd_concroffcordlist.attribute("visibility") = "visible"
  1772. }
  1773. ]]>
  1774. </script>
  1775. </button>
  1776. <caption id="caption17" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">등록기관:</caption>
  1777. <select1 id="cmb_instcd" ref="/root/send/gvnoffcordmast/instcd" class="combo_default" navindex="7" appearance="minimal" style="left:85px; top:8px; width:120px; height:19px; ">
  1778. <choices>
  1779. <itemset>
  1780. <label/>
  1781. <value/>
  1782. </itemset>
  1783. </choices>
  1784. </select1>
  1785. <input id="ipt_olddutunitcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/olddutunitcd" class="input_default" disabled="true" navindex="50" visibility="hidden" style="left:910px; top:670px; width:25px; height:19px; "/>
  1786. <input id="ipt_orginstcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/orginstcd" class="input_default" disabled="true" navindex="50" visibility="hidden" style="left:1010px; top:665px; width:25px; height:19px; "/>
  1787. <input id="ipt_orgdeptcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/orgdeptcd" class="input_default" disabled="true" navindex="50" visibility="hidden" style="left:1035px; top:665px; width:25px; height:19px; "/>
  1788. <input id="ipt_orgdetlinst" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/orgdetlinst" class="input_default" disabled="true" navindex="50" visibility="hidden" style="left:1060px; top:665px; width:25px; height:19px; "/>
  1789. <input id="ipt_orgteamcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/orgteamcd" class="input_default" disabled="true" navindex="50" visibility="hidden" style="left:1085px; top:665px; width:25px; height:19px; "/>
  1790. <input id="ipt_orgunitcd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/orgunitcd" class="input_default" disabled="true" navindex="50" visibility="hidden" style="left:1110px; top:665px; width:25px; height:19px; "/>
  1791. <line id="line7" class="line_2" style="x1:0px; y1:680px; x2:1193px; y2:680px; "/>
  1792. <input id="ipt_frompage" ref="/root/temp/frompage" format="#,###" style="left:495px; top:269px; width:45px; height:19px; text-align:center; "/>
  1793. <input id="ipt_topage" ref="/root/temp/topage" format="#,###" style="left:550px; top:269px; width:45px; height:19px; text-align:center; "/>
  1794. <caption id="caption18" style="left:540px; top:269px; width:10px; height:20px; ">-</caption>
  1795. <button id="btn_select" class="btn2_letter4" navindex="4" style="left:600px; top:269px; width:64px; height:19px; text-align:left; ">
  1796. <caption>일부선택</caption>
  1797. <script type="javascript" ev:event="DOMActivate">
  1798. <![CDATA[
  1799. if (grd_gvnoffcorddetllist.rows - grd_gvnoffcorddetllist.fixedRows <= 0) return;
  1800. var frompage = parseFloat(ipt_frompage.value);
  1801. var topage = parseFloat(ipt_topage.value);
  1802. if (frompage == null || frompage == 0 || frompage == "0" || frompage == "") {
  1803. messageBox("시작 순번을","C001");
  1804. return;
  1805. }
  1806. //alert(topage);
  1807. if (topage== null || topage == 0 || topage == "0" || topage == "") {
  1808. messageBox("마지막 순번을 ","C001");
  1809. return;
  1810. }
  1811. for (var i = frompage+1 ; i <= topage+1 ; i++) {
  1812. if (grd_gvnoffcorddetllist.valueMatrix(i, grd_gvnoffcorddetllist.colRef("tretyn")) != "Y") {
  1813. grd_gvnoffcorddetllist.valueMatrix(i, grd_gvnoffcorddetllist.colRef("tretyn")) = "Y";
  1814. grd_gvnoffcorddetllist.rowStatus(i) = "2";
  1815. }
  1816. }
  1817. //model.refresh();
  1818. ]]>
  1819. </script>
  1820. </button>
  1821. <button id="btn_unselect" class="btn2_letter6" navindex="4" style="left:670px; top:269px; width:64px; height:19px; text-align:left; ">
  1822. <caption>일부선택취소</caption>
  1823. <script type="javascript" ev:event="DOMActivate">
  1824. <![CDATA[
  1825. if (grd_gvnoffcorddetllist.rows - grd_gvnoffcorddetllist.fixedRows <= 0) return;
  1826. var frompage = parseFloat(ipt_frompage.value);
  1827. var topage = parseFloat(ipt_topage.value);
  1828. if (frompage == null || frompage == 0 || frompage == "0" || frompage == "") {
  1829. messageBox("시작 순번을","C001");
  1830. return;
  1831. }
  1832. //alert(topage);
  1833. if (topage== null || topage == 0 || topage == "0" || topage == "") {
  1834. messageBox("마지막 순번을 ","C001");
  1835. return;
  1836. }
  1837. for (var i = frompage+1 ; i <= topage+1 ; i++) {
  1838. if (grd_gvnoffcorddetllist.valueMatrix(i, grd_gvnoffcorddetllist.colRef("tretyn")) == "Y") {
  1839. grd_gvnoffcorddetllist.valueMatrix(i, grd_gvnoffcorddetllist.colRef("tretyn")) = "N";
  1840. grd_gvnoffcorddetllist.rowStatus(i) = "2";
  1841. }
  1842. }
  1843. //model.refresh();
  1844. ]]>
  1845. </script>
  1846. </button>
  1847. <caption id="caption19" class="cell_1" style="left:812px; top:634px; width:82px; height:23px; vertical-align:middle; ">호봉구분</caption>
  1848. <select1 id="cmb_payclsprfshipflag" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/payclsprfshipflag" class="combo_default" disabled="true" appearance="minimal" style="left:897px; top:636px; width:110px; height:19px; ">
  1849. <choices>
  1850. <itemset>
  1851. <label/>
  1852. <value/>
  1853. </itemset>
  1854. </choices>
  1855. </select1>
  1856. <select1 id="cmb_educd" ref="/root/main/gvnoffcorddetldata/gvnoffcorddetllist/educd" class="combo_default" disabled="true" navindex="29" appearance="minimal" editmode="inputsearch" style="left:627px; top:684px; width:181px; height:19px; ">
  1857. <choices>
  1858. <itemset>
  1859. <label/>
  1860. <value/>
  1861. </itemset>
  1862. </choices>
  1863. </select1>
  1864. <caption id="caption85" class="cell_1" style="left:560px; top:682px; width:65px; height:23px; vertical-align:middle; ">교육코드</caption>
  1865. </group>
  1866. </case>
  1867. <case id="case2"/>
  1868. </switch>
  1869. </xhtml:body>
  1870. </xhtml:html>