SMRPB11000_증명서.xrw 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005
  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. <validation>
  11. <empllist/>
  12. </validation>
  13. <carer>
  14. <carerlist/>
  15. </carer>
  16. <crtfct>
  17. <crtfctlist/>
  18. </crtfct>
  19. <list>
  20. <crtfctlist>
  21. <issno/>
  22. <crtfctkind/>
  23. <appflag/>
  24. <emplno/>
  25. <emplnm/>
  26. <rregno/>
  27. <prfshipflag/>
  28. <jobrespcd/>
  29. <dutplceinst/>
  30. <dutunitcd/>
  31. <jobposcd/>
  32. <issresn/>
  33. <preststatcd/>
  34. <issdd/>
  35. <appdd/>
  36. <residnczipcd1/>
  37. <residnczipcd2/>
  38. <residncaddr/>
  39. <publicgbn/>
  40. <isscnt/>
  41. <amt/>
  42. <issyn/>
  43. <appym/>
  44. <rregno3/>
  45. <dutunitnm/>
  46. <issinstcd/>
  47. <seqno/>
  48. <cmt/>
  49. <deptnm/>
  50. <retiredd/>
  51. <travelfromdd/>
  52. <traveltodd/>
  53. <travelplace/>
  54. <resdnrgstareazipcd1/>
  55. <resdnrgstareazipcd2/>
  56. <resdnrgstareaaddr/>
  57. </crtfctlist>
  58. </list>
  59. <prnlist>
  60. <crtfctlist/>
  61. </prnlist>
  62. <emplnogvnmove>
  63. <emplnogvnmovelist/>
  64. </emplnogvnmove>
  65. </main>
  66. <init>
  67. </init>
  68. <send>
  69. <appym/>
  70. <crtfctkind/>
  71. <dutplceinstcd/>
  72. <crtfctlist/>
  73. <papercheck/>
  74. <prnflag/>
  75. <emplno/>
  76. <seqno/>
  77. <appym/>
  78. <issinstnm/>
  79. <rownum/>
  80. <emplnogvnmove>
  81. <emplno/>
  82. </emplnogvnmove>
  83. <fromdd/>
  84. <todd/>
  85. <gb/>
  86. </send>
  87. <hidden/>
  88. <temp/>
  89. </root>
  90. </instance>
  91. <script type="javascript" ev:event="xforms-ready">
  92. <![CDATA[
  93. misfGridInit(grd_crtfctlist);
  94. misfGridInit(grd_emplnogvnmovelist);
  95. misfMsterDetailSet(grd_crtfctlist, null, "TRRPB11001", "Y");
  96. misfMsterDetailSet(grd_emplnogvnmovelist, grd_crtfctlist, "TRRPB00122", "N");
  97. // var today = getCurrentDate();
  98. // var cur_yymm = parseInt(today.substring(0, 6));
  99. // model.setValue("/root/send/appym", cur_yymm);
  100. var curdate = getCurrentDate();
  101. model.setValue(ipt_fromdd.attribute("ref") , curdate);
  102. model.setValue(ipt_todd.attribute("ref") , curdate);
  103. model.setValue("/root/send/dutplceinstcd", getUserInfo("dutplceinstcd"));
  104. ipt_appym_search.refresh();
  105. model.setFocus("ipt_emplno");
  106. // misfComboInstCdListMulti("grd_crtfctlist.dutplceinst,grd_crtfctlist.issinstcd",ipt_fromdd.value,"","Y");
  107. misfGridComboComCdList("Z0007",grd_crtfctlist,"dutplceinst");
  108. misfGridComboComCdList("Z0007",grd_crtfctlist,"issinstcd");
  109. misfGridComboComCdList("R0070",grd_crtfctlist,"preststatcd");
  110. misfGridComboComCdList("R0063",grd_crtfctlist,"jobrespcd");
  111. misfGridComboComCdList("R0062",grd_crtfctlist,"jobposcd");
  112. misfGridComboComCdList("R0058",grd_crtfctlist,"prfshipflag");
  113. misfComboComCdListMulti("Z0007,R0058,R0062,R0063,R0070" , "cmb_dutplceinst,cmb_prfshipflag,cmb_jobposcd,cmb_jobrespcd,cmb_preststatcd")
  114. cmb_dutplceinst.refresh();
  115. btn_search.dispatch("DOMActivate");
  116. grd_crtfctlist.row = 1;
  117. grd_crtfctlist.select(1, 1, 1, grd_crtfctlist.colRef("jobrespcd")) = true;
  118. model.refresh();
  119. ]]>
  120. </script>
  121. <submission id="TRRPB11001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/crtfct"/>
  122. <submission id="TXRPB11001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/crtfctlist" resultref="/root/temp"/>
  123. <submission id="TRRPB11002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prnlist"/>
  124. <submission id="TRRPB11003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/carer"/>
  125. <submission id="TRRPB00122" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/emplnogvnmove" resultref="/root/main/emplnogvnmove"/>
  126. </model>
  127. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  128. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  129. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  130. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  131. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  132. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  133. <script type="javascript" src="../../../mis/paybnusmngtweb/js/RWP001.js"/>
  134. <script type="javascript">
  135. <![CDATA[
  136. function fAllControlDefaultSetting(){
  137. model.setValue("/root/main/list/crtfctlist/crtfctkind", "1");
  138. model.setValue("/root/main/list/crtfctlist/appflag", "N" );
  139. model.setValue("/root/main/list/crtfctlist/publicgbn", "2");
  140. model.setValue("/root/main/list/crtfctlist/isscnt", "1");
  141. model.setValue("/root/main/list/crtfctlist/issyn", "N");
  142. model.setValue("/root/main/list/crtfctlist/amt", "500");
  143. model.refresh()
  144. }
  145. function fAllControlDisabled(check){
  146. rdo_crtfctkind.disabled = check;
  147. ipt_emplno.disabled = check;
  148. btn_emplsearch.disabled = check;
  149. rdo_publicgbn.disabled = check;
  150. ipt_isscnt.disabled = check;
  151. ipt_issresn.disabled = check;
  152. ipt_cmt.disabled = check;
  153. ipt_deptnm.disabled = check;
  154. }
  155. function fAutoSelectRow(){
  156. var sNodeLength = instance1.selectSingleNode("/root/main/crtfct/crtfctlist").length;
  157. var sSeqno = model.getValue("/root/send/rownum");
  158. for(var i=1 ; i <= sNodeLength ; i++)
  159. {
  160. var node = instance1.selectSingleNode("/root/main/crtfct/crtfctlist[" + i + "]/seqno");
  161. if(node.text == sSeqno)
  162. {
  163. grd_crtfctlist.row = i;
  164. grd_crtfctlist.select(i, 1, i, grd_crtfctlist.colRef("jobrespcd")) = true;
  165. grd_crtfctlist.dispatch("onrowchanged");
  166. model.refresh();
  167. return;
  168. }
  169. }
  170. }
  171. ]]>
  172. </script>
  173. </xhtml:head>
  174. <xhtml:body style="margin-left:8; margin-right:8; ">
  175. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  176. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">증명서발급처리</caption>
  177. </group>
  178. <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  179. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1193px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  180. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:17px; width:56px; height:22px; ">
  181. <caption>조회</caption>
  182. <script type="javascript" ev:event="DOMActivate">
  183. <![CDATA[
  184. // model.resetInstanceNode("/root/main/list/crtfctlist");
  185. misfGridInit(grd_crtfctlist);
  186. model.removeNodeset(cmb_dutplceinst.attribute("ref"));
  187. // misfComboComCdListMulti("Z0007" , "cmb_dutplceinst")
  188. // misfGridComboComCdList("Z0007",grd_crtfctlist,"dutplceinst");
  189. // misfComboInstCdListMulti("cmb_dutplceinst", ipt_fromdd.value,"","Y");
  190. // misfComboInstCdListMulti("grd_crtfctlist.dutplceinst", ipt_fromdd.value,"","Y");
  191. misfMsterDetailRetrieve();
  192. misfSetReadOnlyCol(grd_crtfctlist, "appflag,crtfctkind,dutplceinst,issinstcd,publicgbn,preststatcd,prfshipflag,jobposcd,jobrespcd,issyn", true);
  193. fAllControlDisabled(true);
  194. grd_crtfctlist.gridToInstance();
  195. ]]>
  196. </script>
  197. </button>
  198. <line id="line13" class="line_4" style="x1:1120px; y1:15; x2:1120px; y2:39; "/>
  199. <caption id="cap_crtfctkind" class="search_name" style="left:380px; top:18px; width:99px; height:17px; ">증명서종류 :</caption>
  200. <select1 id="cmb_crtfctkind_search" ref="/root/send/crtfctkind" class="combo_s_essential" appearance="minimal" style="left:486px; top:18px; width:125px; height:19px; ">
  201. <choices>
  202. <item>
  203. <label>전체</label>
  204. <value/>
  205. </item>
  206. <item>
  207. <label>재직증명서</label>
  208. <value>1</value>
  209. </item>
  210. <item>
  211. <label>경력증명서</label>
  212. <value>2</value>
  213. </item>
  214. <item>
  215. <label>출장증명서</label>
  216. <value>3</value>
  217. </item>
  218. </choices>
  219. </select1>
  220. <caption id="cap_appym" class="search_name" style="left:10px; top:18px; width:85px; height:17px; ">년 도 :</caption>
  221. <input id="ipt_appym_search" ref="/root/send/appym" class="input_default" visibility="hidden" inputtype="date" format="yyyy-mm" style="left:260px; top:35px; width:94px; height:19px; text-align:center; vertical-align:middle; "/>
  222. <caption id="caption28" class="tit_2" style="left:5px; top:53px; width:144px; height:14px; ">인원현황</caption>
  223. <line id="line193" class="line_1" style="x1:0; y1:71; x2:1195; y2:71; "/>
  224. <input id="ipt_dutplceinstcd" ref="/root/send/dutplceinstcd" visibility="hidden" style="left:655px; top:18px; width:100px; height:19px; "/>
  225. <datagrid id="grd_crtfctlist" nodeset="/root/main/crtfct/crtfctlist" caption="출력구분^년 도^발급번호^증명서종류^기 관^부 서^부서명^부서명^사 번^주민등록번호^성 명^신청번호^발급기관^신청일자^발급일자^발급여부^우편번호^우편번호^주소^매수^금액^발급사유^공사구분^근무상태^직원구분^직위^직책^비고^tmp(민번)^caption1^caption2^퇴사일자^caption3^caption4^caption5" colsep="^" colwidth="70, 75, 90, 100, 120, 99, 133, 198, 80, 100, 80, 80, 120, 100, 100, 70, 50, 50, 299, 75, 80, 230, 80, 80, 80, 80, 80, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:76px; width:1195px; height:260px; ">
  226. <col ref="appflag" type="combo" style="text-align:center; ">
  227. <choices>
  228. <item>
  229. <label>출력</label>
  230. <value>Y</value>
  231. </item>
  232. <item>
  233. <label>미출력</label>
  234. <value>N</value>
  235. </item>
  236. </choices>
  237. </col>
  238. <col ref="appym" format="yyyy-mm" style="text-align:center; "/>
  239. <col ref="issno" style="text-align:right; padding-right:10; "/>
  240. <col ref="crtfctkind" type="combo" style="text-align:center; ">
  241. <choices>
  242. <item>
  243. <label>재직증명서</label>
  244. <value>1</value>
  245. </item>
  246. <item>
  247. <label>경력증명서</label>
  248. <value>2</value>
  249. </item>
  250. <item>
  251. <label>출장증명서</label>
  252. <value>3</value>
  253. </item>
  254. </choices>
  255. </col>
  256. <col ref="dutplceinst" type="combo" style="text-align:center; ">
  257. <choices>
  258. <itemset>
  259. <label/>
  260. <value/>
  261. </itemset>
  262. </choices>
  263. </col>
  264. <col ref="dutunitcd" visibility="hidden" style="text-align:center; "/>
  265. <col ref="dutunitnm" visibility="hidden" style="text-align:center; "/>
  266. <col ref="deptnm"/>
  267. <col ref="emplno" style="text-align:center; "/>
  268. <col ref="rregno" format="999999-9999999" style="text-align:center; "/>
  269. <col ref="emplnm" style="text-align:center; "/>
  270. <col ref="seqno" style="text-align:right; padding-right:10; "/>
  271. <col ref="issinstcd" type="combo">
  272. <choices>
  273. <itemset>
  274. <label/>
  275. <value/>
  276. </itemset>
  277. </choices>
  278. </col>
  279. <col ref="appdd" format="yyyy-mm-dd" style="text-align:center; "/>
  280. <col ref="issdd" format="yyyy-mm-dd" style="text-align:center; "/>
  281. <col ref="issyn" type="combo" style="text-align:center; ">
  282. <choices>
  283. <item>
  284. <label>발급</label>
  285. <value>Y</value>
  286. </item>
  287. <item>
  288. <label>미발급</label>
  289. <value>N</value>
  290. </item>
  291. </choices>
  292. </col>
  293. <col ref="residnczipcd1" style="text-align:center; "/>
  294. <col ref="residnczipcd2" style="text-align:center; "/>
  295. <col ref="residncaddr" style="text-align:left; padding-left:5; "/>
  296. <col ref="isscnt" style="text-align:right; padding-right:5; "/>
  297. <col ref="amt" format="#,###" style="text-align:right; padding-right:5; "/>
  298. <col ref="issresn" style="text-align:left; padding-left:5; "/>
  299. <col ref="publicgbn" type="combo" style="text-align:center; ">
  300. <choices>
  301. <item>
  302. <label>공적</label>
  303. <value>1</value>
  304. </item>
  305. <item>
  306. <label>사적</label>
  307. <value>2</value>
  308. </item>
  309. </choices>
  310. </col>
  311. <col ref="preststatcd" type="combo" style="text-align:center; ">
  312. <choices>
  313. <itemset>
  314. <label/>
  315. <value/>
  316. </itemset>
  317. </choices>
  318. </col>
  319. <col ref="prfshipflag" type="combo" style="text-align:center; ">
  320. <choices>
  321. <itemset>
  322. <label/>
  323. <value/>
  324. </itemset>
  325. </choices>
  326. </col>
  327. <col ref="jobposcd" type="combo" style="text-align:center; ">
  328. <choices>
  329. <itemset>
  330. <label/>
  331. <value/>
  332. </itemset>
  333. </choices>
  334. </col>
  335. <col ref="jobrespcd" type="combo" style="text-align:center; ">
  336. <choices>
  337. <itemset>
  338. <label/>
  339. <value/>
  340. </itemset>
  341. </choices>
  342. </col>
  343. <col ref="cmt"/>
  344. <col ref="rregno3" visibility="hidden"/>
  345. <col ref="dutteamcd" visibility="hidden"/>
  346. <col ref="dutteamnm" visibility="hidden"/>
  347. <col ref="retiredd" visibility="hidden"/>
  348. <col ref="travelfromdd" visibility="hidden"/>
  349. <col ref="traveltodd" visibility="hidden"/>
  350. <col ref="travelplace" visibility="hidden"/>
  351. <script type="javascript" ev:event="onrowchanged">
  352. <![CDATA[
  353. var cur_row = grd_crtfctlist.row;
  354. model.copyNode("/root/main/list/crtfctlist", "/root/main/crtfct/crtfctlist["+ cur_row + "]");
  355. misfMsterDetailRetrieve();
  356. if (model.getValue("/root/main/list/crtfctlist/crtfctkind") == "3"){
  357. caption14.visible = true;
  358. caption21.visible = true;
  359. input1.visible = true;
  360. input2.visible = true;
  361. input3.visible = true;
  362. }else{
  363. caption14.visible = false;
  364. caption21.visible = false;
  365. input1.visible = false;
  366. input2.visible = false;
  367. input3.visible = false;
  368. }
  369. model.refresh();
  370. ]]>
  371. </script>
  372. <script type="javascript" ev:event="onaftersort">
  373. <![CDATA[
  374. grd_crtfctlist.gridToInstance();
  375. ]]>
  376. </script>
  377. </datagrid>
  378. <group id="group3" style="left:0px; top:366px; width:1195px; height:210px; ">
  379. <shape id="roundrect2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:1px; width:1195px; height:204px; "/>
  380. <button id="btn_domizipcd" class="icon_search" disabled="true" visibility="hidden" style="left:245px; top:111px; width:16px; height:16px; ">
  381. <caption/>
  382. <script type="javascript" ev:event="DOMActivate">
  383. <![CDATA[
  384. /* 우편번호 Help화면 Popup */
  385. var sZipcd1 = ipt_zipcd1.value;
  386. var sZipcd2 = ipt_zipcd2.value;
  387. var recv_list = "zipcd1,zipcd2";
  388. rpbfOpenZipCdHelp(ipt_zipcd1, recv_list);
  389. if(sZipcd1 != ipt_zipcd1.value || sZipcd2 != ipt_zipcd2.value){
  390. ipt_addr.value = "";
  391. }
  392. model.refresh();
  393. ]]>
  394. </script>
  395. </button>
  396. <select1 id="rdo_issyn" ref="/root/main/list/crtfctlist/issyn" disabled="true" overflow="visible" appearance="full" cols="2" style="left:358px; top:137px; width:115px; height:20px; border-style:none; ">
  397. <choices>
  398. <item>
  399. <label>발급</label>
  400. <value>Y</value>
  401. </item>
  402. <item>
  403. <label>미발급</label>
  404. <value>N</value>
  405. </item>
  406. </choices>
  407. </select1>
  408. <input id="ipt_amt" ref="/root/main/list/crtfctlist/amt" disabled="true" navindex="5" maxlength="10" style="left:1013px; top:111px; width:177px; height:19px; "/>
  409. <input id="ipt_issdd" ref="/root/main/list/crtfctlist/issdd" disabled="true" navindex="5" inputtype="date" maxlength="10" style="left:728; top:86px; width:197; height:19px; "/>
  410. <select1 id="rdo_publicgbn" ref="/root/main/list/crtfctlist/publicgbn" disabled="true" overflow="visible" appearance="full" cols="2" style="left:93px; top:86px; width:100px; height:20px; border-style:none; ">
  411. <choices>
  412. <item>
  413. <label>공 적</label>
  414. <value>1</value>
  415. </item>
  416. <item>
  417. <label>사 적</label>
  418. <value>2</value>
  419. </item>
  420. </choices>
  421. <script type="javascript" ev:event="xforms-value-changed">
  422. <![CDATA[
  423. if(rdo_publicgbn.value == "1"){
  424. ipt_amt.value = "0";
  425. }
  426. else if(rdo_publicgbn.value == "2"){
  427. ipt_amt.value = parseInt(ipt_isscnt.value) * 500;
  428. }
  429. ipt_amt.refresh();
  430. ]]>
  431. </script>
  432. </select1>
  433. <select1 id="cmb_prfshipflag" ref="/root/main/list/crtfctlist/prfshipflag" class="combo_s_essential" disabled="true" navindex="5" appearance="minimal" maxlength="10" style="left:728; top:36px; width:197; height:19px; ">
  434. <choices>
  435. <itemset>
  436. <label/>
  437. <value/>
  438. </itemset>
  439. </choices>
  440. </select1>
  441. <input id="ipt_issno" ref="/root/main/list/crtfctlist/issno" disabled="true" navindex="5" maxlength="10" style="left:93px; top:11px; width:180; height:19px; "/>
  442. <select1 id="cmb_dutplceinst" ref="/root/main/list/crtfctlist/dutplceinst" class="combo_s_essential" disabled="true" navindex="5" appearance="minimal" maxlength="10" style="left:93px; top:61px; width:180px; height:19px; ">
  443. <choices>
  444. <itemset>
  445. <label/>
  446. <value/>
  447. </itemset>
  448. </choices>
  449. </select1>
  450. <caption id="cap_educcd" class="cell_1" style="left:275; top:10px; width:80px; height:23px; vertical-align:middle; ">증명서종류</caption>
  451. <select1 id="cmb_jobrespcd" ref="/root/main/list/crtfctlist/jobrespcd" class="combo_s_essential" disabled="true" navindex="5" appearance="minimal" maxlength="10" style="left:1013px; top:61px; width:177px; height:19px; ">
  452. <choices>
  453. <itemset>
  454. <label/>
  455. <value/>
  456. </itemset>
  457. </choices>
  458. </select1>
  459. <caption id="cap_depthngnm" class="cell_1" style="left:10px; top:10px; width:80px; height:23px; vertical-align:middle; ">발급 번호</caption>
  460. <caption id="caption20" class="cell_1" style="left:275px; top:135px; width:80px; height:23px; vertical-align:middle; ">발급 여부</caption>
  461. <select1 id="rdo_appflag" ref="/root/main/list/crtfctlist/appflag" disabled="true" overflow="visible" appearance="full" cols="2" style="left:93px; top:137px; width:115px; height:20px; border-style:none; ">
  462. <choices>
  463. <item>
  464. <label>출력</label>
  465. <value>Y</value>
  466. </item>
  467. <item>
  468. <label>미출력</label>
  469. <value>N</value>
  470. </item>
  471. </choices>
  472. </select1>
  473. <input id="ipt_issresn" ref="/root/main/list/crtfctlist/issresn" disabled="true" navindex="5" maxlength="15" style="left:358px; top:86px; width:285px; height:19px; "/>
  474. <input id="ipt_isscnt" ref="/root/main/list/crtfctlist/isscnt" disabled="true" navindex="5" imemode="disabled" maxlength="10" style="left:728; top:111px; width:197; height:19px; ">
  475. <script type="javascript" ev:event="xforms-value-changed">
  476. <![CDATA[
  477. if(rdo_publicgbn.value == "1"){
  478. ipt_amt.value = "0";
  479. }
  480. else if(rdo_publicgbn.value == "2"){
  481. ipt_amt.value = parseInt(ipt_isscnt.value) * 500;
  482. }
  483. ipt_amt.refresh();
  484. ]]>
  485. </script>
  486. </input>
  487. <caption id="caption10" class="cell_1" style="left:930px; top:35px; width:80px; height:23px; vertical-align:middle; ">근무 상태</caption>
  488. <input id="ipt_seqno" ref="/root/main/list/crtfctlist/seqno" visibility="hidden" style="left:595px; top:10px; width:20px; height:19px; "/>
  489. <input id="ipt_residnczipcd1" ref="/root/main/list/crtfctlist/residnczipcd1" disabled="true" maxlength="3" format="999" style="left:93px; top:111px; width:60px; height:19px; "/>
  490. <caption id="caption33" style="left:157; top:112px; width:20px; height:20px; text-align:center; ">~</caption>
  491. <caption id="caption11" class="cell_1" style="left:930px; top:60px; width:80px; height:23px; vertical-align:middle; ">직 책</caption>
  492. <caption id="cap_rregno" class="cell_1" style="left:275; top:35px; width:80px; height:23px; vertical-align:middle; ">주민 번호</caption>
  493. <caption id="caption2" class="cell_1" style="left:10px; top:135px; width:80px; height:23px; vertical-align:middle; ">출력 구분</caption>
  494. <caption id="caption3" class="cell_1" style="left:930px; top:110px; width:80px; height:23px; vertical-align:middle; ">금 액</caption>
  495. <input id="ipt_residnczipcd2" ref="/root/main/list/crtfctlist/residnczipcd2" disabled="true" maxlength="3" format="999" style="left:178; top:111px; width:60px; height:19px; "/>
  496. <caption id="caption12" class="cell_1" style="left:645; top:85px; width:80px; height:23px; vertical-align:middle; ">발급 일자</caption>
  497. <input id="ipt_rregno" ref="/root/main/list/crtfctlist/rregno" disabled="true" navindex="5" format="999999-9999999" style="left:358px; top:36px; width:285px; height:19px; "/>
  498. <input id="ipt_emplnm" ref="/root/main/list/crtfctlist/emplnm" class="input_essential" disabled="true" navindex="21" style="left:188px; top:36px; width:85; height:19px; "/>
  499. <caption id="cap_emplno" class="cell_1" style="left:10px; top:35px; width:80px; height:23px; vertical-align:middle; ">사원 번호</caption>
  500. <input id="ipt_dutunitnm" ref="/root/main/list/crtfctlist/dutunitnm" navindex="5" visibility="hidden" style="left:615px; top:10px; width:22px; height:19px; "/>
  501. <input id="ipt_residncaddr" ref="/root/main/list/crtfctlist/residncaddr" disabled="true" navindex="5" maxlength="10" style="left:358px; top:111px; width:285; height:19px; "/>
  502. <input id="ipt_appdd" ref="/root/main/list/crtfctlist/appdd" disabled="true" navindex="5" inputtype="date" maxlength="10" style="left:1013px; top:86px; width:177px; height:19px; "/>
  503. <caption id="caption5" class="cell_1" style="left:10px; top:60px; width:80px; height:23px; vertical-align:middle; ">기 관</caption>
  504. <select1 id="cmb_jobposcd" ref="/root/main/list/crtfctlist/jobposcd" class="combo_s_essential" disabled="true" navindex="5" appearance="minimal" maxlength="10" style="left:728px; top:61px; width:197px; height:19px; ">
  505. <choices>
  506. <itemset>
  507. <label/>
  508. <value/>
  509. </itemset>
  510. </choices>
  511. </select1>
  512. <caption id="caption15" class="cell_1" style="left:930px; top:85px; width:80px; height:23px; vertical-align:middle; ">신청 일자</caption>
  513. <input id="ipt_emplno" ref="/root/main/list/crtfctlist/emplno" class="input_essential" disabled="true" navindex="20" maxlength="10" style="left:93px; top:36px; width:69px; height:19px; ">
  514. <script type="javascript" ev:event="xforms-value-changed">
  515. <![CDATA[
  516. var recv_list = "dutunitnm,emplno,emplnm,rregno3,dutplceinst,prfshipflag,jobrespcd,dutunitcd,dutunitnm,dutteamcd,dutteamnm,jobposcd,preststatcd,residnczipcd1,residnczipcd2,residncaddr,retiredd";
  517. rpbfValidationCheck("EMPLNO", recv_list);
  518. /*
  519. model.setValue("/root/main/list/crtfctlist/residnczipcd1", model.getValue("/root/main/list/crtfctlist/resdnrgstareazipcd1"));
  520. model.setValue("/root/main/list/crtfctlist/residnczipcd2", model.getValue("/root/main/list/crtfctlist/resdnrgstareazipcd2"));
  521. model.setValue("/root/main/list/crtfctlist/residncaddr", model.getValue("/root/main/list/crtfctlist/resdnrgstareaaddr"));
  522. */
  523. if(cmb_prfshipflag.value == "71") {
  524. messageBox("상기 근로자는 파견직 근로자입니다. 확인후 처리하십시오.","E999");
  525. model.setValue("/root/main/list/crtfctlist/appflag","");
  526. model.setValue("/root/main/list/crtfctlist/crtfctkind","");
  527. model.setValue("/root/main/list/crtfctlist/dutplceinst","");
  528. model.setValue("/root/main/list/crtfctlist/dutunitcd","");
  529. model.setValue("/root/main/list/crtfctlist/dutunitnm","");
  530. model.setValue("/root/main/list/crtfctlist/emplno","");
  531. model.setValue("/root/main/list/crtfctlist/emplnm","");
  532. model.setValue("/root/main/list/crtfctlist/issyn","");
  533. model.setValue("/root/main/list/crtfctlist/residnczipcd1","");
  534. model.setValue("/root/main/list/crtfctlist/residnczipcd2","");
  535. model.setValue("/root/main/list/crtfctlist/residncaddr","");
  536. model.setValue("/root/main/list/crtfctlist/isscnt","");
  537. model.setValue("/root/main/list/crtfctlist/amt","");
  538. model.setValue("/root/main/list/crtfctlist/publicgbn","");
  539. model.setValue("/root/main/list/crtfctlist/preststatcd","");
  540. model.setValue("/root/main/list/crtfctlist/prfshipflag","");
  541. model.setValue("/root/main/list/crtfctlist/jobposcd","");
  542. model.setValue("/root/main/list/crtfctlist/jobrespcd","");
  543. model.setValue("/root/main/list/crtfctlist/rregno3","");
  544. model.setValue("/root/main/list/crtfctlist/dutteamcd","");
  545. model.setValue("/root/main/list/crtfctlist/dutteamnm","");
  546. model.setValue("/root/main/list/crtfctlist/retiredd","");
  547. model.refresh();
  548. return;
  549. }
  550. model.setValue("/root/main/list/crtfctlist/rregno",model.getValue("/root/main/list/crtfctlist/rregno3"));
  551. var teamcd = model.getValue("/root/main/list/crtfctlist/dutteamcd");
  552. var unitcd = model.getValue("/root/main/list/crtfctlist/dutunitcd");
  553. if( teamcd == unitcd || teamcd == "" ) {
  554. model.setValue("/root/main/list/crtfctlist/deptnm",model.getValue("/root/main/list/crtfctlist/dutunitnm"));
  555. }
  556. else {
  557. var deptnm = model.getValue("/root/main/list/crtfctlist/dutteamnm") + "(" + model.getValue("/root/main/list/crtfctlist/dutunitnm") + ")";
  558. model.setValue("/root/main/list/crtfctlist/deptnm",deptnm) ;
  559. }
  560. model.refresh();
  561. ]]>
  562. </script>
  563. <script type="javascript" ev:event="onkeyup">
  564. <![CDATA[
  565. inputEnterKey("ipt_emplno", "xforms-value-changed");
  566. ]]>
  567. </script>
  568. </input>
  569. <input id="ipt_dutunitcd" ref="/root/main/list/crtfctlist/dutunitcd" visibility="hidden" style="left:490px; top:10px; width:25px; height:19px; "/>
  570. <caption id="caption16" class="cell_1" style="left:275; top:85px; width:80px; height:23px; vertical-align:middle; ">용 도</caption>
  571. <caption id="caption7" class="cell_1" style="left:645; top:35px; width:80px; height:23px; vertical-align:middle; ">직원 구분</caption>
  572. <caption id="caption17" class="cell_1" style="left:275; top:110px; width:80px; height:23px; vertical-align:middle; ">주 소</caption>
  573. <caption id="caption8" class="cell_1" style="left:645; top:60px; width:80px; height:23px; vertical-align:middle; ">직 위</caption>
  574. <caption id="caption18" class="cell_1" style="left:645; top:110px; width:80px; height:23px; vertical-align:middle; ">매 수</caption>
  575. <caption id="caption9" class="cell_1" style="left:275; top:60px; width:80px; height:23px; vertical-align:middle; ">부 서</caption>
  576. <input id="ipt_issinstcd" ref="/root/main/list/crtfctlist/issinstcd" visibility="hidden" style="left:535px; top:10px; width:30px; height:19px; "/>
  577. <input id="ipt_rregno3" ref="/root/main/list/crtfctlist/rregno3" visibility="hidden" style="left:565px; top:10px; width:30px; height:19px; "/>
  578. <input id="ipt_appym" ref="/root/main/list/crtfctlist/appym" disabled="true" visibility="hidden" inputtype="date" style="left:510px; top:10px; width:30px; height:19px; "/>
  579. <caption id="caption19" class="cell_1" style="left:10px; top:85px; width:80px; height:23px; vertical-align:middle; ">공 / 사 적</caption>
  580. <caption id="cap_esidnczipcd1" class="cell_1" style="left:10px; top:110px; width:80px; height:23px; vertical-align:middle; ">우편 번호</caption>
  581. <select1 id="cmb_preststatcd" ref="/root/main/list/crtfctlist/preststatcd" class="combo_s_essential" disabled="true" navindex="5" appearance="minimal" maxlength="10" style="left:1013px; top:36px; width:87px; height:19px; ">
  582. <choices>
  583. <itemset>
  584. <label/>
  585. <value/>
  586. </itemset>
  587. </choices>
  588. </select1>
  589. <button id="btn_emplsearch" class="icon_search" disabled="true" style="left:167; top:38; width:16px; height:16px; ">
  590. <caption/>
  591. <script type="javascript" ev:event="DOMActivate">
  592. <![CDATA[
  593. model.makeNode(ipt_dutunitnm.attribute("ref"));
  594. var recv_list = "dutunitnm,emplno,emplnm,rregno3,dutplceinst,prfshipflag,jobrespcd,dutunitcd,dutunitnm,dutteamcd,dutteamnm,jobposcd,preststatcd,residnczipcd1,residnczipcd2,residncaddr,retiredd";
  595. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, recv_list,"","Y");
  596. /*
  597. model.setValue("/root/main/list/crtfctlist/residnczipcd1", model.getValue("/root/main/list/crtfctlist/resdnrgstareazipcd1"));
  598. model.setValue("/root/main/list/crtfctlist/residnczipcd2", model.getValue("/root/main/list/crtfctlist/resdnrgstareazipcd2"));
  599. model.setValue("/root/main/list/crtfctlist/residncaddr", model.getValue("/root/main/list/crtfctlist/resdnrgstareaaddr"));
  600. */
  601. if(cmb_prfshipflag.value == "71") {
  602. messageBox("상기 근로자는 파견직 근로자입니다. 확인후 처리하십시오.","E999");
  603. model.setValue("/root/main/list/crtfctlist/appflag","");
  604. model.setValue("/root/main/list/crtfctlist/crtfctkind","");
  605. model.setValue("/root/main/list/crtfctlist/dutplceinst","");
  606. model.setValue("/root/main/list/crtfctlist/dutunitcd","");
  607. model.setValue("/root/main/list/crtfctlist/dutunitnm","");
  608. model.setValue("/root/main/list/crtfctlist/emplno","");
  609. model.setValue("/root/main/list/crtfctlist/emplnm","");
  610. model.setValue("/root/main/list/crtfctlist/issyn","");
  611. model.setValue("/root/main/list/crtfctlist/residnczipcd1","");
  612. model.setValue("/root/main/list/crtfctlist/residnczipcd2","");
  613. model.setValue("/root/main/list/crtfctlist/residncaddr","");
  614. model.setValue("/root/main/list/crtfctlist/isscnt","");
  615. model.setValue("/root/main/list/crtfctlist/amt","");
  616. model.setValue("/root/main/list/crtfctlist/publicgbn","");
  617. model.setValue("/root/main/list/crtfctlist/preststatcd","");
  618. model.setValue("/root/main/list/crtfctlist/prfshipflag","");
  619. model.setValue("/root/main/list/crtfctlist/jobposcd","");
  620. model.setValue("/root/main/list/crtfctlist/jobrespcd","");
  621. model.setValue("/root/main/list/crtfctlist/rregno3","");
  622. model.setValue("/root/main/list/crtfctlist/dutteamcd","");
  623. model.setValue("/root/main/list/crtfctlist/dutteamnm","");
  624. model.setValue("/root/main/list/crtfctlist/retiredd","");
  625. model.refresh();
  626. return;
  627. }
  628. model.setValue("/root/main/list/crtfctlist/rregno",model.getValue("/root/main/list/crtfctlist/rregno3"));
  629. // model.setValue("/root/send/instcd", cmb_instcd.value);
  630. // ipt_rregno.refresh();
  631. var teamcd = model.getValue("/root/main/list/crtfctlist/dutteamcd");
  632. var unitcd = model.getValue("/root/main/list/crtfctlist/dutunitcd");
  633. if( teamcd == unitcd || teamcd == "" ) {
  634. model.setValue("/root/main/list/crtfctlist/deptnm",model.getValue("/root/main/list/crtfctlist/dutunitnm"));
  635. }
  636. else {
  637. var deptnm = model.getValue("/root/main/list/crtfctlist/dutteamnm") + "(" + model.getValue("/root/main/list/crtfctlist/dutunitnm") + ")";
  638. model.setValue("/root/main/list/crtfctlist/deptnm",deptnm) ;
  639. }
  640. model.refresh();
  641. ]]>
  642. </script>
  643. </button>
  644. <select1 id="rdo_crtfctkind" ref="/root/main/list/crtfctlist/crtfctkind" disabled="true" overflow="visible" appearance="full" cols="3" style="left:358px; top:12px; width:147px; height:20px; border-style:none; ">
  645. <choices>
  646. <item>
  647. <label>재 직</label>
  648. <value>1</value>
  649. </item>
  650. <item>
  651. <label>경 력</label>
  652. <value>2</value>
  653. </item>
  654. <item>
  655. <label>출 장</label>
  656. <value>3</value>
  657. </item>
  658. </choices>
  659. <script type="javascript" ev:event="xforms-value-changed">
  660. <![CDATA[
  661. if (model.getValue("/root/main/list/crtfctlist/crtfctkind") == "3"){
  662. caption14.visible = true;
  663. caption21.visible = true;
  664. input1.visible = true;
  665. input2.visible = true;
  666. input3.visible = true;
  667. }else{
  668. caption14.visible = false;
  669. caption21.visible = false;
  670. input1.visible = false;
  671. input2.visible = false;
  672. input3.visible = false;
  673. }
  674. model.refresh();
  675. ]]>
  676. </script>
  677. </select1>
  678. <input id="ipt_cmt" ref="/root/main/list/crtfctlist/cmt" disabled="true" navindex="5" maxlength="10" style="left:93px; top:165px; width:1097px; height:19px; "/>
  679. <caption id="caption1" class="cell_1" style="left:10px; top:164px; width:80px; height:23px; vertical-align:middle; ">비고</caption>
  680. <input id="ipt_deptnm" ref="/root/main/list/crtfctlist/deptnm" disabled="true" navindex="5" style="left:358px; top:61px; width:285px; height:19px; "/>
  681. <input id="ipt_retiredd" ref="/root/main/list/crtfctlist/retiredd" disabled="true" navindex="5" visibility="visible" format="yyyy-mm-dd" style="left:1102px; top:36px; width:88px; height:19px; "/>
  682. <caption id="caption14" class="cell_1" visibility="hidden" style="left:645px; top:10px; width:80px; height:23px; vertical-align:middle; ">출장 기간</caption>
  683. <input id="input1" ref="/root/main/list/crtfctlist/travelfromdd" visibility="hidden" inputtype="date" style="left:728px; top:11px; width:95px; height:19px; text-align:center; "/>
  684. <input id="input2" ref="/root/main/list/crtfctlist/traveltodd" visibility="hidden" inputtype="date" style="left:827px; top:11px; width:95px; height:19px; text-align:center; "/>
  685. <caption id="caption21" class="cell_1" visibility="hidden" style="left:930px; top:10px; width:80px; height:23px; vertical-align:middle; ">출 장 지</caption>
  686. <input id="input3" ref="/root/main/list/crtfctlist/travelplace" visibility="hidden" style="left:1013px; top:11px; width:177px; height:19px; "/>
  687. <input id="input4" ref="/root/main/list/crtfctlist/resdnrgstareazipcd1" disabled="true" visibility="hidden" maxlength="3" format="999" style="left:515px; top:135px; width:60px; height:19px; "/>
  688. <input id="input5" ref="/root/main/list/crtfctlist/resdnrgstareazipcd2" disabled="true" visibility="hidden" maxlength="3" format="999" style="left:580px; top:135px; width:60px; height:19px; "/>
  689. <input id="input6" ref="/root/main/list/crtfctlist/resdnrgstareaaddr" disabled="true" navindex="5" visibility="hidden" maxlength="10" style="left:645px; top:135px; width:285px; height:19px; "/>
  690. </group>
  691. <caption id="caption4" class="tit_2" style="left:5px; top:350px; width:144px; height:13px; ">증명서 신청 메뉴</caption>
  692. <button id="button2" class="btn2_letter3" style="left:997; top:50px; width:53px; height:19px; ">
  693. <caption>행추가</caption>
  694. <script type="javascript" ev:event="DOMActivate">
  695. <![CDATA[
  696. misfGridIUD(grd_crtfctlist, "A");
  697. grd_crtfctlist.dispatch("onrowchanged");
  698. misfSetReadOnlyCol(grd_crtfctlist, "appflag,crtfctkind,dutplceinst,issinstcd,publicgbn,preststatcd,prfshipflag,jobposcd,jobrespcd,issyn", true);
  699. fAllControlDisabled(false);
  700. fAllControlDefaultSetting();
  701. ]]>
  702. </script>
  703. </button>
  704. <button id="button3" class="btn2_letter3" style="left:1052; top:50px; width:53px; height:19px; ">
  705. <caption>행삭제</caption>
  706. <script type="javascript" ev:event="DOMActivate">
  707. <![CDATA[
  708. if(messageBox("신청하신 데이터가 삭제 됩니다. ","Q003") != 6)
  709. return;
  710. if(grd_crtfctlist.valueMatrix(grd_crtfctlist.row, grd_crtfctlist.colRef("issyn")) == 'Y'){
  711. messageBox("이미 발급된 신청서는 취소 ", "E001");
  712. }
  713. else {
  714. misfGridIUD(grd_crtfctlist, "D");
  715. btn_save.dispatch("DOMActivate");
  716. grd_crtfctlist.row = 1;
  717. grd_crtfctlist.select(1, 1, 1, grd_crtfctlist.colRef("jobrespcd")) = true;
  718. grd_crtfctlist.dispatch("onrowchanged");
  719. // model.resetInstanceNode("/root/main/crtfctkindtmp/crtfctkindlist");
  720. }
  721. model.refresh();
  722. fAllControlDisabled(true);
  723. ]]>
  724. </script>
  725. </button>
  726. <button id="button1" class="btn2_letter2" style="left:1107; top:50px; width:42px; height:19px; ">
  727. <caption>수정</caption>
  728. <script type="javascript" ev:event="DOMActivate">
  729. <![CDATA[
  730. // if(grd_crtfctlist.valueMatrix(grd_crtfctlist.row, grd_crtfctlist.colRef("issyn")) == 'Y'){
  731. // messageBox("이미 발급된 신청서는 수정 ", "E001");
  732. // }
  733. // else {
  734. rdo_crtfctkind.disabled = false;
  735. rdo_publicgbn.disabled = false;
  736. ipt_isscnt.disabled = false;
  737. ipt_issresn.disabled = false;
  738. ipt_cmt.disabled = false;
  739. // }
  740. model.refresh();
  741. ]]>
  742. </script>
  743. </button>
  744. <button id="btn_save" class="btn4_letter2" style="left:1135px; top:342px; width:56px; height:22px; ">
  745. <caption>저장</caption>
  746. <script type="javascript" ev:event="DOMActivate">
  747. <![CDATA[
  748. if(!isRequiredControls("ipt_emplno")) return;
  749. // 퇴직자는 재직 증명서 신청 X
  750. if(cmb_preststatcd.value == "06" )
  751. {
  752. if(rdo_crtfctkind.value == "1")
  753. {
  754. if( ipt_retiredd.value < getCurrentDate() ) {
  755. messageBox("퇴직자는 재직증명서를 신청 ", "E001");
  756. return;
  757. }
  758. }
  759. }
  760. else if(cmb_preststatcd.value != "06")
  761. {
  762. if(rdo_crtfctkind.value == "2")
  763. {
  764. messageBox("재직자는 경력증명서를 신청 ", "E001");
  765. return;
  766. }
  767. }
  768. /* 새로운 데이터를 입력시 */
  769. if(grd_crtfctlist.rowStatus(grd_crtfctlist.row) == 1)
  770. {
  771. // 나머지 입력값 세팅
  772. ipt_appdd.value = getCurrentDate();
  773. ipt_appym.value = getCurrentDate();
  774. ipt_issinstcd.value = getUserInfo("dutplceinstcd");
  775. model.copyNode("/root/main/crtfct/crtfctlist[" + grd_crtfctlist.row + "]", "/root/main/list/crtfctlist");
  776. grd_crtfctlist.refresh();
  777. var updtdata = getGridUpdateData(grd_crtfctlist);
  778. if (updtdata == "")
  779. {
  780. messageBox("변경된 데이터가","I004");
  781. fAllControlDisabled(true);
  782. return;
  783. }
  784. misfSave("TXRPB11001");
  785. grd_crtfctlist.clearStatus();
  786. model.resetInstanceNode("/root/main/list/crtfctlist");
  787. fAllControlDisabled(true);
  788. btn_search.dispatch("DOMActivate");
  789. grd_crtfctlist.select(1, 1, 1, grd_crtfctlist.colRef("jobrespcd")) = true;
  790. grd_crtfctlist.dispatch("onrowchanged");
  791. model.refresh();
  792. return;
  793. }
  794. /* 조회된 데이터를 수정 할때 */
  795. else if(grd_crtfctlist.rowStatus(grd_crtfctlist.row) == 0)
  796. {
  797. misfGridRowStatusChange(grd_crtfctlist, "/root/main/crtfct" , "/root/main/list");
  798. grd_crtfctlist.refresh();
  799. var updtdata = getGridUpdateData(grd_crtfctlist);
  800. if (updtdata == "")
  801. {
  802. messageBox("변경된 데이터가","I004");
  803. fAllControlDisabled(true);
  804. return;
  805. }
  806. misfSave("TXRPB11001");
  807. grd_crtfctlist.clearStatus();
  808. model.setValue("/root/send/rownum", grd_crtfctlist.valueMatrix(grd_crtfctlist.row, grd_crtfctlist.colRef("seqno")));
  809. model.resetInstanceNode("/root/main/list/crtfctlist");
  810. fAllControlDisabled(true);
  811. btn_search.dispatch("DOMActivate");
  812. fAutoSelectRow();
  813. }
  814. /* 조회된 데이터를 삭제 할때 */
  815. else if(grd_crtfctlist.rowStatus(grd_crtfctlist.row) == 4)
  816. {
  817. misfSave("TXRPB11001");
  818. model.resetInstanceNode("/root/main/list/crtfctlist");
  819. fAllControlDisabled(true);
  820. btn_search.dispatch("DOMActivate");
  821. grd_crtfctlist.select(1, 1, 1, grd_crtfctlist.colRef("jobrespcd")) = true;
  822. grd_crtfctlist.dispatch("onrowchanged");
  823. model.refresh();
  824. return;
  825. }
  826. ]]>
  827. </script>
  828. </button>
  829. <button id="button4" class="btn5_letter2" style="left:1151; top:50px; width:42px; height:19px; ">
  830. <caption>출력</caption>
  831. <script type="javascript" ev:event="DOMActivate">
  832. <![CDATA[
  833. var sSearchData = grd_crtfctlist.rows - grd_crtfctlist.fixedRows;
  834. if(sSearchData <= 0 )
  835. {
  836. messageBox("조회된 ","E013") ;
  837. return;
  838. }
  839. //model.setValue("/root/send/papercheck", messageBox("양식지를 사용 ", "S001"));
  840. model.setValue("/root/send/papercheck", "7");
  841. if(model.getValue("/root/send/papercheck") == "2")
  842. {
  843. return;
  844. }
  845. model.setValue("/root/send/prnflag", rdo_crtfctkind.value);
  846. model.setValue("/root/send/emplno",ipt_emplno.value);
  847. model.setValue("/root/send/seqno", ipt_seqno.value);
  848. model.setValue("/root/send/appym",ipt_appym.value);
  849. // 출력버튼을 눌렀을때 발급여부, 출력구분, 발급 일자날짜 자동 세팅
  850. rdo_appflag.value = "Y";
  851. rdo_issyn.value = "Y";
  852. //ipt_issdd.value = getCurrentDate();
  853. misfGridRowStatusChange(grd_crtfctlist, "/root/main/crtfct" , "/root/main/list");
  854. grd_crtfctlist.refresh();
  855. misfSave("TXRPB11001");
  856. grd_crtfctlist.clearStatus();
  857. model.setValue("/root/send/issinstnm",grd_crtfctlist.labelMatrix(grd_crtfctlist.row, grd_crtfctlist.colRef("issinstcd")));
  858. /*
  859. if (grd_crtfctlist.valueMatrix(grd_crtfctlist.row, grd_crtfctlist.colRef("crtfctkind")) != "2"){
  860. model.setValue("/root/send/gb", "N");
  861. }
  862. */
  863. submit("TRRPB11002");
  864. /*
  865. if(model.getValue("/root/send/prnflag") == "1"){
  866. submit("TRRPB11002");
  867. }
  868. else if(model.getValue("/root/send/prnflag") == "2"){
  869. submit("TRRPB11002");
  870. submit("TRRPB11003");
  871. }
  872. */
  873. model.setValue("/root/send/emplno","");
  874. fAllControlDisabled(true);
  875. if (model.getValue("/root/main/list/crtfctlist/crtfctkind") == "1"){
  876. //exeReportPreview("RPRPB11001", "XMLSTR" , "" , "" , "false" , "", "", "", "", "true","","","","","",ipt_isscnt.value,"","false");
  877. if (model.getValue("/root/send/gb") == "Y"){
  878. exeReportPreview("RPRPB11005", "XMLSTR" , "" , "" , "false" , "", "", "", "", "true","","","","","",ipt_isscnt.value,"","false");
  879. }else{
  880. exeReportPreview("RPRPB11001", "XMLSTR" , "" , "" , "false" , "", "", "", "", "true","","","","","",ipt_isscnt.value,"","false");
  881. }
  882. }else if (model.getValue("/root/main/list/crtfctlist/crtfctkind") == "2"){
  883. if (model.getValue("/root/send/gb") == "Y"){
  884. exeReportPreview("RPRPB11002", "XMLSTR" , "" , "" , "false" , "", "", "", "", "true","","","","","",ipt_isscnt.value,"","false");
  885. }else{
  886. exeReportPreview("RPRPB11004", "XMLSTR" , "" , "" , "false" , "", "", "", "", "true","","","","","",ipt_isscnt.value,"","false");
  887. }
  888. }else if (model.getValue("/root/main/list/crtfctlist/crtfctkind") == "3"){
  889. exeReportPreview("RPRPB11003", "XMLSTR" , "" , "" , "false" , "", "", "", "", "true","","","","","",ipt_isscnt.value,"","false");
  890. }
  891. // exeReportPreview("RPRPB11001", "XMLSTR");
  892. model.setValue("/root/send/rownum", grd_crtfctlist.valueMatrix(grd_crtfctlist.row, grd_crtfctlist.colRef("seqno")));
  893. btn_search.dispatch("DOMActivate");
  894. fAutoSelectRow();
  895. ]]>
  896. </script>
  897. </button>
  898. <line id="line12" class="line_1" style="x1:0px; y1:595px; x2:1193px; y2:595px; "/>
  899. <caption id="caption54" class="tit_2" style="left:5px; top:580px; width:144px; height:13px; ">이동내역</caption>
  900. <datagrid id="grd_emplnogvnmovelist" nodeset="/root/main/emplnogvnmove/emplnogvnmovelist" caption="발령일자^발령^기관^부(실)^과(팀)^부서^직군^직열^직종^직위^직책^직급^호봉^신직급^년차^비고|발령일자^발령^기관^부(실)^과(팀)^부서^직군^직열^직종^직위^직책^직급^호봉^신직급^년차^비고" colsep="^" colwidth="90, 106, 99, 106, 100, 94, 89, 83, 95, 82, 83, 73, 41, 43, 40, 134" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:600px; width:1193px; height:138px; ">
  901. <col disabled="true" ref="gvnoffcorddd" type="inputdate"/>
  902. <col ref="gvnoffcordnm"/>
  903. <col ref="instnm"/>
  904. <col ref="deptnm"/>
  905. <col ref="teamnm"/>
  906. <col ref="unitnm"/>
  907. <col ref="grupjoblnnm"/>
  908. <col ref="joblnnm"/>
  909. <col ref="jobkindnm"/>
  910. <col ref="jobposnm"/>
  911. <col ref="jobrespnm"/>
  912. <col ref="ojobgradnm"/>
  913. <col ref="payclsnm"/>
  914. <col ref="njobgradnm"/>
  915. <col ref="anual"/>
  916. <col ref="cmt"/>
  917. </datagrid>
  918. <caption id="caption13" style="left:185px; top:20px; width:15px; height:20px; text-align:center; ">~</caption>
  919. <input id="ipt_todd" ref="/root/send/todd" inputtype="date" format="yyyy-mm-dd" style="left:200px; top:18px; width:100px; height:19px; text-align:center; "/>
  920. <input id="ipt_fromdd" ref="/root/send/fromdd" inputtype="date" format="yyyy-mm-dd" style="left:85px; top:18px; width:100px; height:19px; text-align:center; "/>
  921. <bool id="bool1" checkvalue="Y,N" ref="/root/send/gb" style="left:845px; top:50px; width:30px; height:20px; "/>
  922. <caption id="caption22" style="left:875px; top:50px; width:100px; height:20px; ">전체이력</caption>
  923. </group>
  924. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:25px; "/>
  925. </xhtml:body>
  926. </xhtml:html>