SMRSM01100_화학물질취급관리조사목록조회.xrw 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>화학물질 취급 변경내역 조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <condition>
  11. <reptddfrom/>
  12. <reptddto/>
  13. <deptcd/>
  14. <deptnm/>
  15. <prcsstat/>
  16. <matrcd/>
  17. <matrnm/>
  18. <popflag/>
  19. <confirmflag/>
  20. </condition>
  21. <reptlist>
  22. <reptdd/>
  23. <reptseq/>
  24. <deptcd/>
  25. <deptnm/>
  26. </reptlist>
  27. <matrlist>
  28. <reptdd/>
  29. <reptseq/>
  30. <matrcd/>
  31. <workflag/>
  32. <appdd/>
  33. <usge/>
  34. <useqtym/>
  35. <useqtyy/>
  36. <trethrd/>
  37. <workdcntm/>
  38. <tretmcnt/>
  39. <ctnryn/>
  40. <ctnrsignyn/>
  41. <msdsyn/>
  42. <matrnm/>
  43. <prodcmpynm/>
  44. <maincustlastsuplplcenm/>
  45. <fstname/>
  46. <orguseqtym/>
  47. <orguseqtyy/>
  48. <orgusge/>
  49. <orgtrethrd/>
  50. <orgworkdcntm/>
  51. <orgtretmcnt/>
  52. <orgctnryn/>
  53. <orgctnrsignyn/>
  54. <orgmsdsyn/>
  55. <trnsname/>
  56. </matrlist>
  57. <excellist/>
  58. </main>
  59. <send/>
  60. <init>
  61. <prvg/>
  62. </init>
  63. <hidden>
  64. </hidden>
  65. <temp>
  66. </temp>
  67. <popdata->
  68. <matrcd-/>
  69. </popdata->
  70. <popmatr>
  71. <matrcd/>
  72. <matrnm/>
  73. <deptcd/>
  74. <prodcmpynm/>
  75. <maincustlastsuplplcenm/>
  76. <returntype/>
  77. <selectyn/>
  78. </popmatr>
  79. </root>
  80. </instance>
  81. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  83. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  85. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  86. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  87. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  88. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  89. <!--script type="javascript" src="../../../mis/purcbaseweb/js/SMRSC05302.js"/-->
  90. <script type="javascript" ev:event="xforms-ready">
  91. <![CDATA[
  92. fOpenForm();
  93. ]]>
  94. </script>
  95. <script type="javascript">
  96. <![CDATA[
  97. //컬럼(pColname) 의 값이 원래의 값(org + 컬럼명인 컬럼)과 다른 경우 해당 컬럼의 font색상을 변경하고 구분을 "C" 로 변경한다.
  98. //pColname : 컬럼명
  99. //pRow : Row index
  100. //pFlagCol : 구분(workflag)을 나타내는 컬럼의 index
  101. function fSetStyleAndFlag(pColname, pRow, pFlagCol)
  102. {
  103. var pCol = grd_matrlist.colRef(pColname);
  104. if(grd_matrlist.valueMatrix(pRow, pCol) == grd_matrlist.valueMatrix(pRow, grd_matrlist.colRef("org" + pColname)) ) {
  105. grd_matrlist.cellStyle("color", pRow, pCol) = ""; //Font Color
  106. //구분 컬럼
  107. //grd_matrlist.cellStyle("color", pRow, pFlagCol) = ""; //Font Color
  108. } else {
  109. grd_matrlist.cellStyle("color", pRow, pCol) = "#ff0000";
  110. //구분 컬럼
  111. grd_matrlist.cellStyle("color", pRow, pFlagCol) = "#ff0000";
  112. //grd_matrlist.valueMatrix(pRow, pFlagCol) = "C"; //작업구분(N:신규 C:변경 S:중단)
  113. }
  114. }
  115. //========================================================================================
  116. //화면 로드시 초기화 함수
  117. //========================================================================================
  118. function fOpenForm() {
  119. //model.removenode("/root/main/matrlist");
  120. //model.removenode("/root/main/deptlist");
  121. //model.refresh();
  122. //model.setValue("/root/main/condition/fromdd" , getCurrentDate().toDate().getAddDate(-1, "M").getDateFormat("YYYYMMDD") ); //기간 설정 //getCurrentDate() //.substr(0,6)); //.toDate().getAddDate(-1, "D").getDateFormat("YYYYMMDD")
  123. //model.setValue("/root/main/condition/todd" , getCurrentDate() ); //기간 설정 //.substr(0,6));
  124. //model.setValue("/root/main/condition/ym" , getCurrentDate().substr(0,6) ); //기간 설정 //.substr(0,6));
  125. //ipt_fromdd.refresh();
  126. //ipt_todd.refresh();
  127. //ipt_ym.refresh();
  128. //조회기간 default 설정 : 해당월 1일~말일
  129. var cur_yymm = getCurrentDate().substring(0, 6); //년월
  130. var month_day = getCurrentDate().toDate().getMonthDay(); //해당월의 일자
  131. ipt_reptddfrom.value = cur_yymm + '01' ; //기간 설정
  132. ipt_reptddto.value = cur_yymm + month_day; //기간 설정
  133. rdo_prcsstat.value = "T"; //진행상태 (S:임시저장, T:근로복지과 전송완료, C:확정)
  134. misfGridInit(grd_reptlist);
  135. misfGridInit(grd_matrlist);
  136. misfGridInit(grd_excellist);
  137. //model.copyNode("/root/send", "/root/main/condition");
  138. //화학물질 관리권한 확인 : 관리권한이 있는 자만 확정 및 전송취소 가능
  139. if (submit("TRRSM00403")) {
  140. //alert(model.getValue("/root/init/prvg/cnt"));
  141. if(model.getValue("/root/init/prvg/cnt") == "1") {
  142. btn_save.visible = true;
  143. btn_send.visible = true;
  144. }
  145. }
  146. /*
  147. //model.refresh();
  148. if (model.getValue("/root/main/condition/popflag") == "Y") { //popup으로 호출된 경우
  149. //ipt_deptcd.disabled = true;
  150. //btn_deptcd.disabled = true;
  151. //ipt_matrcd.disabled = true;
  152. //btn_matrcd.disabled = true;
  153. //btn_cnfm.visible = false;
  154. //btn_cancel.visible = false;
  155. fGetReptList();// 조회
  156. } else { //전달 받은 parameter없이 그냥 여는 경우
  157. ipt_ym.value = getCurrentDate().substr(0,6); //기간 설정
  158. }
  159. */
  160. //fGetReptList();//코드 목록 조회
  161. // if(model.getValue("/root/main/matrlist[1]/matrcd") != "") {
  162. // grd_matrlist.isSelected(1) = true;
  163. // fGetMatrInfo(1);
  164. // }else {
  165. // fCopyInstance();
  166. // }
  167. }
  168. //========================================================================================
  169. //인스턴스 Copy 함수
  170. //========================================================================================
  171. function fCopyInstance() {
  172. //----model.copyNode("/root/hidden/matrinfo/detail", "/root/main/matrinfo/detail");
  173. model.copyNode("/root/hidden/matrinfo", "/root/main/matrinfo");
  174. model.refresh();
  175. }
  176. //========================================================================================
  177. //보고 목록 조회 함수
  178. //========================================================================================
  179. function fGetReptList() {
  180. //model.removenode("/root/main/matrlist");//조회시 기존 데이터 삭제
  181. //misfGridInit(grd_matrlist);
  182. if( ipt_reptddfrom.value.length != 8 ) {
  183. messageBox("보고일자를 정확하게 입력하십시요. ", "E999", "");
  184. model.setFocus("ipt_reptddfrom");
  185. return;
  186. }
  187. if( ipt_reptddto.value.length != 8 ) {
  188. messageBox("보고일자를 정확하게 입력하십시요. ", "E999", "");
  189. model.setFocus("ipt_reptddto");
  190. return;
  191. }
  192. ipt_deptcd.value = ipt_deptcd.value.getTrim();
  193. ipt_matrcd.value = ipt_matrcd.value.getTrim();
  194. /*
  195. if(ipt_deptcd.value == "") {
  196. messageBox("부서코드가 선택되지 않았습니다. \n먼저 부서코드를 선택하십시요.", "E999", "");
  197. model.setFocus("ipt_deptcd");
  198. return;
  199. }
  200. */
  201. //if(ipt_matrcd.value == "") {
  202. // messageBox("물질코드가 선택되지 않았습니다. \n먼저 물질코드를 선택하십시요.", "E999", "");
  203. // model.setFocus("ipt_matrcd");
  204. // return;
  205. //}
  206. misfGridInit(grd_reptlist);
  207. misfGridInit(grd_matrlist);
  208. misfGridInit(grd_excellist);
  209. model.copyNode("/root/send", "/root/main/condition");
  210. if (submit("TRRSM01101")) {
  211. /*
  212. //작성자 본인만이 기존 자료에 추가 또는 수정이 가능하다. 이에 따른 저장버튼과 전송버튼 처리
  213. if(grd_matrlist.rows > grd_matrlist.fixedRows) {
  214. if ( grd_matrlist.valueMatrix(grd_matrlist.fixedRows, grd_matrlist.colRef("fstid")) != getUserInfo("userid") ) {
  215. btn_save.disabled = true;
  216. btn_send.disabled = true;
  217. messageBox("본인이 등록한 자료가 아닌 경우, 조회만 가능합니다.", "E999", "");
  218. } else {
  219. if(rdo_prcsstat.value == "S") { //진행상태 S: 임시저장
  220. btn_save.disabled = false;
  221. btn_send.disabled = false;
  222. } else {
  223. btn_save.disabled = true;
  224. btn_send.disabled = true;
  225. }
  226. }
  227. }
  228. grd_matrlist.colDisabled(grd_matrlist.colRef("workflag")) = true;
  229. //grd_matrlist.colDisabled(grd_matrlist.colRef("prcsstat")) = true;
  230. if(rdo_prcsstat.value == "T") { //진행상태 T: 근로복지과 전송완료
  231. grd_matrlist.colDisabled(grd_matrlist.colRef("reptdd")) = true;
  232. grd_matrlist.colDisabled(grd_matrlist.colRef("matrcd")) = true;
  233. grd_matrlist.colDisabled(grd_matrlist.colRef("appdd")) = true;
  234. grd_matrlist.colDisabled(grd_matrlist.colRef("usge")) = true;
  235. grd_matrlist.colDisabled(grd_matrlist.colRef("useqtym")) = true;
  236. grd_matrlist.colDisabled(grd_matrlist.colRef("useqtyy")) = true;
  237. grd_matrlist.colDisabled(grd_matrlist.colRef("trethrd")) = true;
  238. grd_matrlist.colDisabled(grd_matrlist.colRef("workdcntm")) = true;
  239. grd_matrlist.colDisabled(grd_matrlist.colRef("tretmcnt")) = true;
  240. grd_matrlist.colDisabled(grd_matrlist.colRef("ctnryn")) = true;
  241. grd_matrlist.colDisabled(grd_matrlist.colRef("ctnrsignyn")) = true;
  242. grd_matrlist.colDisabled(grd_matrlist.colRef("msdsyn")) = true;
  243. } else { //진행상태 S : 임시저장
  244. grd_matrlist.colDisabled(grd_matrlist.colRef("reptdd")) = false;
  245. grd_matrlist.colDisabled(grd_matrlist.colRef("matrcd")) = false;
  246. grd_matrlist.colDisabled(grd_matrlist.colRef("appdd")) = false;
  247. grd_matrlist.colDisabled(grd_matrlist.colRef("usge")) = false;
  248. grd_matrlist.colDisabled(grd_matrlist.colRef("useqtym")) = false;
  249. grd_matrlist.colDisabled(grd_matrlist.colRef("useqtyy")) = false;
  250. grd_matrlist.colDisabled(grd_matrlist.colRef("trethrd")) = false;
  251. grd_matrlist.colDisabled(grd_matrlist.colRef("workdcntm")) = false;
  252. grd_matrlist.colDisabled(grd_matrlist.colRef("tretmcnt")) = false;
  253. grd_matrlist.colDisabled(grd_matrlist.colRef("ctnryn")) = false;
  254. grd_matrlist.colDisabled(grd_matrlist.colRef("ctnrsignyn")) = false;
  255. grd_matrlist.colDisabled(grd_matrlist.colRef("msdsyn")) = false;
  256. for(var i = grd_matrlist.fixedRows; i < grd_matrlist.rows; i++) {
  257. var stat = grd_matrlist.valueMatrix(i, grd_matrlist.colRef("workflag")); //작업구분(N:신규 C:변경 S:중단)
  258. if(stat == "S") {
  259. grd_matrlist.cellAttribute("disabled", i, grd_matrlist.colRef("usge")) = "false";
  260. grd_matrlist.cellAttribute("disabled", i, grd_matrlist.colRef("useqtym")) = "false";
  261. grd_matrlist.cellAttribute("disabled", i, grd_matrlist.colRef("useqtyy")) = "false";
  262. grd_matrlist.cellAttribute("disabled", i, grd_matrlist.colRef("trethrd")) = "false";
  263. grd_matrlist.cellAttribute("disabled", i, grd_matrlist.colRef("workdcntm")) = "false";
  264. grd_matrlist.cellAttribute("disabled", i, grd_matrlist.colRef("tretmcnt")) = "false";
  265. grd_matrlist.cellAttribute("disabled", i, grd_matrlist.colRef("ctnryn")) = "false";
  266. grd_matrlist.cellAttribute("disabled", i, grd_matrlist.colRef("ctnrsignyn")) = "false";
  267. grd_matrlist.cellAttribute("disabled", i, grd_matrlist.colRef("msdsyn")) = "false";
  268. }
  269. }
  270. }
  271. */
  272. model.refresh();
  273. }
  274. }
  275. //========================================================================================
  276. //화학물질 상세정보 및 조사표 조회
  277. //========================================================================================
  278. function fGetMatrInfo(pRow) {
  279. if ( pRow > 0 ) {
  280. model.resetInstanceNode("/root/send");
  281. model.copyNode("/root/send", "/root/main/matrlist["+ pRow + "]");
  282. submit("TRRSM00102");
  283. ipt_matrcd.disabled = true;
  284. fCopyInstance();
  285. }
  286. }
  287. //========================================================================================
  288. //신규 버턴 클릭시 인스턴스 초기화
  289. //========================================================================================
  290. function fSetMatrInfo() {
  291. ipt_matrcd.disabled = false;
  292. // 아래 두줄로 변경
  293. //model.resetInstanceNode("/root/main/matrinfo");
  294. model.resetInstanceNode("/root/main/matrinfo/detail");
  295. //model.resetInstanceNode("/root/main/matrinfo/deptlist");
  296. misfGridInit(grd_deptlist);
  297. //return;
  298. model.setFocus("ipt_matrcd");
  299. model.setValue("/root/main/matrinfo/detail/status", "i");
  300. model.setValue("/root/main/matrinfo/detail/msdsflag", "Y");
  301. // 서식에서 징수의무자 상호(법인명)으로 쓰임. 기본값으로 경북대학교병원장 셋팅.
  302. //model.setValue("/root/main/matrinfo/prntnm1" , "경북대학교병원장");
  303. fCopyInstance();
  304. }
  305. //========================================================================================
  306. // 전송취소 클릭시 저장 수행 함수
  307. //========================================================================================
  308. function fClickSendBtn() {
  309. /*
  310. if(!fIsValidForSave())//저장전 유효성 검사
  311. return;
  312. */
  313. /*
  314. model.resetInstanceNode("/root/send");
  315. //model.makeNode("root/send/condition");
  316. model.copyNode("/root/send", "/root/main/condition");
  317. model.makeValue("/root/send/matrlist", grd_matrlist.getUpdateData());
  318. */
  319. //return;
  320. model.resetInstanceNode("/root/send");
  321. model.makeValue("/root/send/reptdd", grd_reptlist.valueMatrix(grd_reptlist.row, grd_reptlist.colRef("reptdd")) );
  322. model.makeValue("/root/send/reptseq", grd_reptlist.valueMatrix(grd_reptlist.row, grd_reptlist.colRef("reptseq")) );
  323. if(submit("TXRSM01101")) {
  324. fGetReptList();//보고 목록 재조회
  325. //model.copyNode("/root/send", "/root/main/matrinfo/detail");
  326. //submit("TRRSM00102"); //상세내역 및 조사표 재조회
  327. //model.setValue("/root/main/matrinfo/detail/status", "-");
  328. //grd_deptlist.clearStatus();
  329. //--model.makeNode("/root/hidden/matrinfo/detail");
  330. //model.makeNode("/root/hidden/matrinfo");
  331. //fCopyInstance();
  332. //ipt_matrcd.disabled = true;
  333. }
  334. }
  335. //========================================================================================
  336. //저장전 유효성 검사
  337. //========================================================================================
  338. function fIsValidForSave() {
  339. //필수 입력 항목 체크(공통 ftHelper.js)
  340. if(!isRequiredControls("ipt_matrcd","ipt_matrnm")) { //,"ipt_prodcmpycd"
  341. return false;
  342. }
  343. var sStatus = model.getValue("/root/main/matrinfo/detail/status");
  344. var sNewData = fGetNodeText("/root/main/matrinfo/detail");
  345. var sOldData = fGetNodeText("/root/hidden/matrinfo/detail");
  346. //상세내역에 변경된 정보가 있는지 확인
  347. if(sNewData != sOldData && sStatus == "-") { // 데이터 수정일 경우
  348. model.setValue("/root/main/matrinfo/detail/status","u");
  349. return true;
  350. } else if(sNewData == sOldData && sStatus == "-" ) { //변경된 값이 없을경우
  351. //messageBox("변경된 정보가 ", "I004");
  352. //return false;
  353. return true;
  354. }else if(sStatus == "i") { //데이터 입력일 경우
  355. return true;
  356. }else if(sStatus = "d") { //데이터 삭제일 경우
  357. return true;
  358. }
  359. }
  360. //========================================================================================
  361. // 확정 버튼 클릭시 수행 함수
  362. //========================================================================================
  363. function fClickSaveBtn() {
  364. /*
  365. if(!fIsValidForSave())//저장전 유효성 검사
  366. return;
  367. var updateData = getGridUpdateData(grd_matrlist);
  368. if(updateData != "") {
  369. messageBox("작업하신 내용이 저장되지 않았습니다. \n먼저 저장 후에 다시 전송 버튼을 눌러주세요 ", "I999", "");
  370. return;
  371. }
  372. */
  373. for(var i = grd_matrlist.fixedRows; i < grd_matrlist.rows; i++) {
  374. grd_matrlist.rowStatus(i) = 2; //2: update
  375. }
  376. model.resetInstanceNode("/root/send");
  377. model.makeValue("/root/send/reptdd", grd_reptlist.valueMatrix(grd_reptlist.row, grd_reptlist.colRef("reptdd")) );
  378. model.makeValue("/root/send/reptseq", grd_reptlist.valueMatrix(grd_reptlist.row, grd_reptlist.colRef("reptseq")) );
  379. //model.makeNode("root/send/condition");
  380. //model.copyNode("/root/send", "/root/main/condition");
  381. model.makeValue("/root/send/matrlist", grd_matrlist.getUpdateData());
  382. //return;
  383. if(submit("TXRSM01102")) {
  384. fGetReptList();//코드 목록 재조회
  385. //model.copyNode("/root/send", "/root/main/matrinfo/detail");
  386. //submit("TRRSM00102"); //상세내역 및 조사표 재조회
  387. //model.setValue("/root/main/matrinfo/detail/status", "-");
  388. //grd_deptlist.clearStatus();
  389. //--model.makeNode("/root/hidden/matrinfo/detail");
  390. //model.makeNode("/root/hidden/matrinfo");
  391. //fCopyInstance();
  392. //ipt_matrcd.disabled = true;
  393. }
  394. }
  395. //========================================================================================
  396. //엑셀입력(excel file을 그리드에 입력)
  397. //========================================================================================
  398. function fInputExcel(pGrid) {
  399. var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  400. if(fileName != "") {
  401. pGrid.loadExcel(fileName, 1, true);
  402. pGrid.deleteRow(1);
  403. pGrid.refresh();
  404. }
  405. }
  406. //========================================================================================
  407. //동일한 Depth의 인스턴스의 값을 스트링형으로 변환
  408. //========================================================================================
  409. function fGetNodeText(pNode) {
  410. var trgNdoe = instance1.selectSingleNode(pNode);
  411. var trgNdoeList = trgNdoe.childNodes;
  412. var childNode;
  413. var allText = "";
  414. while( childNode = trgNdoeList.nextNode() ) {
  415. allText += childNode.text;
  416. }
  417. return allText;
  418. }
  419. function fOpenPopupDeptHelp(pControl, pInstance)
  420. {
  421. misfOpenPopUpList("02", pControl, "", pInstance);
  422. model.refresh();
  423. }
  424. ]]>
  425. </script>
  426. <!--submission id="TRRSM00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/matrinfo"/-->
  427. <submission id="TRRSM00403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/prvg"/>
  428. <submission id="TXRSM01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  429. <submission id="TRRSM01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/reptlist"/>
  430. <submission id="TRRSM01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/matrlist"/>
  431. <submission id="TXRSM01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  432. </model>
  433. </xhtml:head>
  434. <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  435. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  436. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:293px; height:14px; ">화학물질 취급 변경내역 조회</caption>
  437. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  438. </group>
  439. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  440. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
  441. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  442. <line id="line5" class="line_4" style="x1:840px; y1:8px; x2:840px; y2:50px; border-color:#ffe4bb; border-left-style:solid; "/>
  443. <button id="btn_search" class="btn1_letter2" navindex="8" style="left:855px; top:10px; width:56px; height:22px; text-align:left; ">
  444. <caption>조회</caption>
  445. <script type="javascript" ev:event="DOMActivate">
  446. <![CDATA[
  447. fGetReptList();
  448. ]]>
  449. </script>
  450. </button>
  451. <output id="opt_deptnm" ref="/root/main/condition/deptnm" class="output_fix" appearance="output" style="left:216px; top:32px; width:190px; height:19px; "/>
  452. <caption id="caption1" class="search_name" style="left:35px; top:33px; width:76px; height:17px; ">부서코드</caption>
  453. <input id="ipt_deptcd" ref="/root/main/condition/deptcd" class="input_default" navindex="4" style="left:117px; top:32px; width:75px; height:19px; ">
  454. <script type="javascript" ev:event="xforms-value-changed">
  455. <![CDATA[
  456. misfGridInit(grd_matrlist); //그리드 지움
  457. //2013.02.26 박준범 : 부서코드 변경시 부서코드명을 먼저 지워준다.
  458. opt_deptnm.value = "";
  459. misfValidationCheck("02", "", "deptcd,deptnm" );
  460. ]]>
  461. </script>
  462. <script type="javascript" ev:event="onkeypress">
  463. <![CDATA[
  464. //if( event.keyCode == 13 ) {
  465. //btn_search.dispatch("DOMActivate");
  466. // --> 위의 코드를 사용하면 input에 입력된 값이 인식이 안됨. TrustForm bug 같습니다.
  467. // --> 대신, 아래 코드 사용하면 input의 값이 인식이 됨
  468. //input 에서 EnterKey 이벤트 인식시 아래 function을 사용하세요!!
  469. inputEnterKey("ipt_deptcd", "xforms-value-changed");
  470. //}
  471. ]]>
  472. </script>
  473. </input>
  474. <button id="btn_deptcd" class="icon_search" navindex="5" style="left:196px; top:33px; width:16px; height:16px; ">
  475. <caption/>
  476. <script type="javascript" ev:event="DOMActivate">
  477. <![CDATA[
  478. var vOrigDeptcd = ipt_deptcd.value; //popup을 열기전 부서 저장
  479. var recv_list = "deptcd,deptnm";
  480. misfOpenPopUpList("02", ipt_deptcd,"", recv_list) ;
  481. ipt_deptcd.refresh();
  482. opt_deptnm.refresh();
  483. if(vOrigDeptcd != ipt_deptcd.value) { //부서코드가 변경되었다면
  484. //조회조건 변경시 초기화 및 check
  485. //fSearchCondChanged("ipt_delivedeptcd");
  486. misfGridInit(grd_matrlist); //그리드 지움
  487. }
  488. ]]>
  489. </script>
  490. </button>
  491. <caption id="caption9" class="search_name" style="left:35px; top:9px; width:81px; height:17px; ">보고일자</caption>
  492. <input id="ipt_reptddfrom" ref="/root/main/condition/reptddfrom" class="input_default" navindex="1" inputtype="date" format="yyyy-mm-dd" style="left:117px; top:8px; width:90px; height:19px; text-align:center; ">
  493. <script type="javascript" ev:event="xforms-value-changed">
  494. <![CDATA[
  495. misfGridInit(grd_matrlist); //그리드 지움
  496. ]]>
  497. </script>
  498. </input>
  499. <caption id="caption7" style="left:210px; top:8px; width:12px; height:20px; font-weight:bold; ">~</caption>
  500. <input id="ipt_reptddto" ref="/root/main/condition/reptddto" class="input_default" navindex="2" inputtype="date" format="yyyy-mm-dd" style="left:225px; top:8px; width:90px; height:19px; text-align:center; ">
  501. <script type="javascript" ev:event="xforms-value-changed">
  502. <![CDATA[
  503. misfGridInit(grd_matrlist); //그리드 지움
  504. ]]>
  505. </script>
  506. </input>
  507. <output id="opt_matrnm" ref="/root/main/condition/matrnm" class="output_fix" appearance="output" style="left:575px; top:32px; width:242px; height:19px; "/>
  508. <input id="ipt_matrcd" ref="/root/main/condition/matrcd" class="input_default" navindex="6" maxlength="12" style="left:507px; top:32px; width:45px; height:19px; ">
  509. <script type="javascript" ev:event="xforms-value-changed">
  510. <![CDATA[
  511. //조회조건 변경시 Grid 초기화
  512. //fSearchCondChanged();
  513. misfGridInit(grd_matrlist); //그리드 지움
  514. if(ipt_matrcd.value == ""){
  515. model.setValue("/root/main/condition/matrnm", "");
  516. opt_matrnm.refresh();
  517. }
  518. ]]>
  519. </script>
  520. </input>
  521. <button id="btn_matrcd" class="icon_search" navindex="7" style="left:556px; top:33px; width:16px; height:16px; ">
  522. <caption/>
  523. <script type="javascript" ev:event="DOMActivate">
  524. <![CDATA[
  525. //popup 에 전달할 parameter를 setting한다.
  526. //model.setValue("/root/popmatr/returntype", "2"); //matrnm도 함께 return 받고자 할때, returntype을 "2" 로 설정.
  527. model.setValue("/root/popmatr/deptcd", ipt_deptcd.value);
  528. //selectyn(popup 창에서 선택버튼을 click했는지 아닌지를 나타내는 구분값) 을 초기화함
  529. model.setValue("/root/popmatr/selectyn", "");
  530. //popup 프로그램 호출
  531. window.load("SPRSM00100.xrw", "modal","", "", "/root/popmatr","/root/popdata");
  532. //popup에서 특정 물품코드를 선택한 경우, 해당 물품코드에 대한 상세 사항을 조회해서 그리드에 보여준다.
  533. if(model.getValue("/root/popmatr/selectyn") == "Y") { //popup 창에서 선택버튼을 click했는지 아닌지를 나타내는 구분값
  534. //조회조건 변경시 Grid 초기화
  535. //fSearchCondChanged();
  536. misfGridInit(grd_matrlist); //그리드 지움
  537. model.setValue("/root/main/condition/matrcd", model.getValue("/root/popmatr/matrcd"));
  538. model.setValue("/root/main/condition/matrnm", model.getValue("/root/popmatr/matrnm"));
  539. ipt_matrcd.refresh();
  540. opt_matrnm.refresh();
  541. }
  542. ]]>
  543. </script>
  544. </button>
  545. <caption id="caption8" class="search_name" style="left:426px; top:33px; width:76px; height:17px; ">물질코드</caption>
  546. <select1 id="rdo_prcsstat" ref="/root/main/condition/prcsstat" navindex="3" appearance="full" cellspacing="2" cols="4" overflow="visible" style="left:509px; top:10px; width:277px; height:20px; border-style:none; ">
  547. <choices>
  548. <item>
  549. <label>임시저장</label>
  550. <value>S</value>
  551. </item>
  552. <item>
  553. <label>전송완료</label>
  554. <value>T</value>
  555. </item>
  556. <item>
  557. <label>확정완료</label>
  558. <value>C</value>
  559. </item>
  560. <item>
  561. <label>전 체</label>
  562. <value>%</value>
  563. </item>
  564. </choices>
  565. <script type="javascript" ev:event="xforms-value-changed">
  566. <![CDATA[
  567. if(model.getValue("/root/init/prvg/cnt") == "1" ) {//화학물질 관리권한 확인 : 관리권한이 있는 자만 확정 및 전송취소 가능
  568. // 전송완료된 자료만 확정 및 전송취소 처리 대상임
  569. if(rdo_prcsstat.value == "T" ) { //진행상태 (S:임시저장, T:근로복지과 전송완료, C:확정)
  570. btn_save.disabled = false;
  571. btn_send.disabled = false;
  572. } else {
  573. btn_save.disabled = true;
  574. btn_send.disabled = true;
  575. }
  576. }
  577. misfGridInit(grd_reptlist);
  578. misfGridInit(grd_matrlist);
  579. ]]>
  580. </script>
  581. </select1>
  582. <caption id="caption2" class="search_name" style="left:426px; top:9px; width:81px; height:17px; ">진행상태</caption>
  583. <button id="btn_excelAll" class="btn1_letter9" navindex="8" style="left:915px; top:10px; width:111px; height:22px; text-align:left; ">
  584. <caption>전체 내용 엑셀출력</caption>
  585. <script type="javascript" ev:event="DOMActivate">
  586. <![CDATA[
  587. //radfSaveExcel(grd_matrlist);
  588. misfSaveExcel(grd_excellist, "화학물질 취급관리 조사 내역 전체");
  589. //var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  590. //grd_matrlist.saveExcel(fileName,"sheetname:savetype");
  591. ]]>
  592. </script>
  593. </button>
  594. </group>
  595. <line id="line3" class="line_1" style="x1:0px; y1:95px; x2:230px; y2:95px; "/>
  596. <caption id="caption21" class="tit_2" style="left:5px; top:80px; width:80px; height:14px; ">보고 목록</caption>
  597. <button id="btn_excel" class="btn2_letter4" style="left:1129px; top:75px; width:64px; height:19px; text-align:left; ">
  598. <caption>엑셀출력</caption>
  599. <script type="javascript" ev:event="onclick">
  600. <![CDATA[
  601. //radfSaveExcel(grd_matrlist);
  602. misfSaveExcel(grd_matrlist, "화학물질 취급관리 조사 내역");
  603. //var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  604. //grd_matrlist.saveExcel(fileName,"sheetname:savetype");
  605. ]]>
  606. </script>
  607. </button>
  608. <datagrid id="grd_reptlist" nodeset="/root/main/reptlist" caption="보고일자^순번^부서명^부서코드|보고일자^순번^부서명^부서코드" colsep="^" colwidth="73, 26, 114, 100" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="16" rowsep="|" style="left:0px; top:100px; width:230px; height:610px; ">
  609. <col ref="reptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  610. <col ref="reptseq" style="text-align:center; "/>
  611. <col ref="deptnm"/>
  612. <col ref="deptcd" visibility="hidden"/>
  613. <script type="javascript" ev:event="onclick">
  614. <![CDATA[
  615. if(grd_reptlist.rows <= grd_reptlist.fixedRows) return;
  616. misfGridInit(grd_matrlist);
  617. model.resetInstanceNode("/root/send");
  618. model.makeValue("/root/send/reptdd", grd_reptlist.valueMatrix(grd_reptlist.row, grd_reptlist.colRef("reptdd")) );
  619. model.makeValue("/root/send/reptseq", grd_reptlist.valueMatrix(grd_reptlist.row, grd_reptlist.colRef("reptseq")) );
  620. model.makeValue("/root/send/deptcd", grd_reptlist.valueMatrix(grd_reptlist.row, grd_reptlist.colRef("deptcd")) );
  621. if(submit("TRRSM01102")) {
  622. for(var irow = grd_matrlist.fixedRows; irow < grd_matrlist.rows; irow++) {
  623. var flag = grd_matrlist.valueMatrix(irow, grd_matrlist.colRef("workflag")); //작업구분(N:신규 C:변경 S:중단)
  624. if(flag == "") {
  625. grd_matrlist.cellStyle("color", irow, grd_matrlist.colRef("workflag")) = "";
  626. //misfSetReadOnlyCol(grd_matrlist, "matrcd", true, irow);
  627. } else if(flag == "N") {
  628. grd_matrlist.cellStyle("color", irow, grd_matrlist.colRef("workflag")) = "#ff0000";
  629. } else if(flag == "C") {
  630. grd_matrlist.cellStyle("color", irow, grd_matrlist.colRef("workflag")) = "#ff0000";
  631. //misfSetReadOnlyCol(grd_matrlist, "matrcd", true, irow);
  632. //var iCol = grd_matrlist.col;
  633. //var iRow =grd_matrlist.row;
  634. var iFlagCol = grd_matrlist.colRef("workflag");
  635. fSetStyleAndFlag("usge", irow, iFlagCol);
  636. fSetStyleAndFlag("useqtym", irow, iFlagCol);
  637. fSetStyleAndFlag("useqtyy", irow, iFlagCol);
  638. fSetStyleAndFlag("trethrd", irow, iFlagCol);
  639. fSetStyleAndFlag("workdcntm", irow, iFlagCol);
  640. fSetStyleAndFlag("tretmcnt", irow, iFlagCol);
  641. fSetStyleAndFlag("ctnryn", irow, iFlagCol);
  642. fSetStyleAndFlag("ctnrsignyn", irow, iFlagCol);
  643. fSetStyleAndFlag("msdsyn", irow, iFlagCol);
  644. } else if(flag == "S") {
  645. grd_matrlist.cellStyle("color", irow, grd_matrlist.colRef("workflag")) = "#ff0000";
  646. //misfSetReadOnlyCol(grd_matrlist, "matrcd", true, irow);
  647. //misfSetReadOnlyCol(grd_matrlist, "usge,useqtym,useqtyy,trethrd,workdcntm,tretmcnt,ctnryn,ctnrsignyn,msdsyn", true, irow);
  648. }
  649. }
  650. model.refresh();
  651. }
  652. //화살표키를 사용하여 Row가 변경되지 못하도록 focus를 다른 control로 강제로 옮긴다.
  653. model.setFocus("grd_matrlist");
  654. ]]>
  655. </script>
  656. </datagrid>
  657. <datagrid id="grd_matrlist" nodeset="/root/main/matrlist" caption="구분^적용시작&#xA;일자^물질&#xA;코드^물질명^제조사^공급처^용도^월&#xA;사용량^연간&#xA;사용량^1일&#xA;취급시간^월&#xA;작업일수^취급자&#xA;수^소분용기&#xA;유무^원용기&#xA;경고표지^MSDS&#xA;유무^작성자^전송자^보고일자^순번^orguseqtym^orguseqtyy^orgusge^orgtrethrd^orgworkdcntm^orgtretmcnt^orgctnryn^orgctnrsignyn^orgmsdsyn|구분^적용시작&#xA;일자^물질&#xA;코드^물질명^제조사^공급처^용도^월&#xA;사용량^연간&#xA;사용량^1일&#xA;취급시간^월&#xA;작업일수^취급자&#xA;수^소분용기&#xA;유무^원용기&#xA;경고표지^MSDS&#xA;유무^작성자^전송자^보고일자^순번^orguseqtym^orguseqtyy^orgusge^orgtrethrd^orgworkdcntm^orgtretmcnt^orgctnryn^orgctnrsignyn^orgmsdsyn" colsep="^" colwidth="35, 73, 34, 126, 93, 93, 83, 55, 55, 55, 55, 45, 55, 55, 43, 49, 49, 77, 32, 73, 86, 63, 71, 81, 66, 71, 86, 81" mergecellsfixedrows="bycolrec" rowheight="16" rowsep="|" style="left:235px; top:100px; width:958px; height:610px; ">
  658. <col disabled="true" ref="workflag" type="combo" style="font-weight:bold; text-align:center; ">
  659. <choices>
  660. <item>
  661. <label>-</label>
  662. <value/>
  663. </item>
  664. <item>
  665. <label>신규</label>
  666. <value>N</value>
  667. </item>
  668. <item>
  669. <label>변경</label>
  670. <value>C</value>
  671. </item>
  672. <item>
  673. <label>중단</label>
  674. <value>S</value>
  675. </item>
  676. </choices>
  677. </col>
  678. <col ref="appdd" format="yyyy-mm-dd" style="color:#ff0000; text-align:center; "/>
  679. <col editable="false" ref="matrcd" style="text-align:center; "/>
  680. <col ref="matrnm"/>
  681. <col ref="prodcmpynm"/>
  682. <col ref="maincustlastsuplplcenm"/>
  683. <col ref="usge"/>
  684. <col ref="useqtym" style="text-align:center; "/>
  685. <col ref="useqtyy" style="text-align:center; "/>
  686. <col ref="trethrd" style="text-align:center; "/>
  687. <col ref="workdcntm" style="text-align:center; "/>
  688. <col ref="tretmcnt" style="text-align:center; "/>
  689. <col disabled="true" ref="ctnryn" type="combo" style="text-align:center; ">
  690. <choices>
  691. <item>
  692. <label>-</label>
  693. <value/>
  694. </item>
  695. <item>
  696. <label>Y</label>
  697. <value>Y</value>
  698. </item>
  699. <item>
  700. <label>N</label>
  701. <value>N</value>
  702. </item>
  703. </choices>
  704. </col>
  705. <col disabled="true" ref="ctnrsignyn" type="combo" style="text-align:center; ">
  706. <choices>
  707. <item>
  708. <label>-</label>
  709. <value/>
  710. </item>
  711. <item>
  712. <label>Y</label>
  713. <value>Y</value>
  714. </item>
  715. <item>
  716. <label>N</label>
  717. <value>N</value>
  718. </item>
  719. </choices>
  720. </col>
  721. <col disabled="true" ref="msdsyn" type="combo" style="text-align:center; ">
  722. <choices>
  723. <item>
  724. <label>-</label>
  725. <value/>
  726. </item>
  727. <item>
  728. <label>Y</label>
  729. <value>Y</value>
  730. </item>
  731. <item>
  732. <label>N</label>
  733. <value>N</value>
  734. </item>
  735. </choices>
  736. </col>
  737. <col ref="fstname" style="text-align:center; "/>
  738. <col ref="trnsname" style="text-align:center; "/>
  739. <col ref="reptdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  740. <col ref="reptseq" visibility="hidden" style="text-align:center; "/>
  741. <col ref="orguseqtym" visibility="hidden"/>
  742. <col ref="orguseqtyy" visibility="hidden"/>
  743. <col ref="orgusge" visibility="hidden"/>
  744. <col ref="orgtrethrd" visibility="hidden"/>
  745. <col ref="orgworkdcntm" visibility="hidden"/>
  746. <col ref="orgtretmcnt" visibility="hidden"/>
  747. <col ref="orgctnryn" visibility="hidden"/>
  748. <col ref="orgctnrsignyn" visibility="hidden"/>
  749. <col ref="orgmsdsyn" visibility="hidden"/>
  750. </datagrid>
  751. <line id="line1" class="line_1" style="x1:235px; y1:95px; x2:1193px; y2:95px; "/>
  752. <caption id="caption3" class="tit_2" style="left:235px; top:80px; width:80px; height:13px; ">조사 내역</caption>
  753. <datagrid id="grd_excellist" nodeset="/root/main/excellist" visibility="hidden" caption="보고일자^순번^부서명^구분^적용시작&#xA;일자^물질&#xA;코드^물질명^제조사^공급처^용도^월&#xA;사용량^연간&#xA;사용량^1일&#xA;취급시간^월&#xA;작업일수^취급자&#xA;수^소분용기&#xA;유무^원용기&#xA;경고표지^MSDS&#xA;유무^작성자^전송자|보고일자^순번^부서명^구분^적용시작&#xA;일자^물질&#xA;코드^물질명^제조사^공급처^용도^월&#xA;사용량^연간&#xA;사용량^1일&#xA;취급시간^월&#xA;작업일수^취급자&#xA;수^소분용기&#xA;유무^원용기&#xA;경고표지^MSDS&#xA;유무^작성자^전송자" colsep="^" colwidth="83, 34, 135, 35, 73, 34, 126, 93, 93, 83, 55, 55, 55, 55, 45, 55, 55, 43, 49, 49" mergecellsfixedrows="bycolrec" rowheight="16" rowsep="|" style="left:280px; top:190px; width:688px; height:185px; ">
  754. <col ref="reptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  755. <col ref="reptseq" style="text-align:center; "/>
  756. <col ref="deptnm"/>
  757. <col disabled="true" ref="workflag" type="combo" style="text-align:center; ">
  758. <choices>
  759. <item>
  760. <label>-</label>
  761. <value/>
  762. </item>
  763. <item>
  764. <label>신규</label>
  765. <value>N</value>
  766. </item>
  767. <item>
  768. <label>변경</label>
  769. <value>C</value>
  770. </item>
  771. <item>
  772. <label>중단</label>
  773. <value>S</value>
  774. </item>
  775. </choices>
  776. </col>
  777. <col ref="appdd" format="yyyy-mm-dd" style="text-align:center; "/>
  778. <col editable="false" ref="matrcd" style="text-align:center; "/>
  779. <col ref="matrnm"/>
  780. <col ref="prodcmpynm"/>
  781. <col ref="maincustlastsuplplcenm"/>
  782. <col ref="usge"/>
  783. <col ref="useqtym" style="text-align:center; "/>
  784. <col ref="useqtyy" style="text-align:center; "/>
  785. <col ref="trethrd" style="text-align:center; "/>
  786. <col ref="workdcntm" style="text-align:center; "/>
  787. <col ref="tretmcnt" style="text-align:center; "/>
  788. <col disabled="true" ref="ctnryn" type="combo" style="text-align:center; ">
  789. <choices>
  790. <item>
  791. <label>-</label>
  792. <value/>
  793. </item>
  794. <item>
  795. <label>Y</label>
  796. <value>Y</value>
  797. </item>
  798. <item>
  799. <label>N</label>
  800. <value>N</value>
  801. </item>
  802. </choices>
  803. </col>
  804. <col disabled="true" ref="ctnrsignyn" type="combo" style="text-align:center; ">
  805. <choices>
  806. <item>
  807. <label>-</label>
  808. <value/>
  809. </item>
  810. <item>
  811. <label>Y</label>
  812. <value>Y</value>
  813. </item>
  814. <item>
  815. <label>N</label>
  816. <value>N</value>
  817. </item>
  818. </choices>
  819. </col>
  820. <col disabled="true" ref="msdsyn" type="combo" style="text-align:center; ">
  821. <choices>
  822. <item>
  823. <label>-</label>
  824. <value/>
  825. </item>
  826. <item>
  827. <label>Y</label>
  828. <value>Y</value>
  829. </item>
  830. <item>
  831. <label>N</label>
  832. <value>N</value>
  833. </item>
  834. </choices>
  835. </col>
  836. <col ref="fstname" style="text-align:center; "/>
  837. <col ref="trnsname" style="text-align:center; "/>
  838. </datagrid>
  839. </group>
  840. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  841. <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  842. <button id="btn_save" class="btn4_letter2" visibility="hidden" style="left:1137px; top:3px; width:56px; height:22px; ">
  843. <caption>확정</caption>
  844. <script type="javascript" ev:event="DOMActivate">
  845. <![CDATA[
  846. if(grd_matrlist.rows == grd_matrlist.fixedRows) return;
  847. if (messageBox( "해당 조사 내역을 확정처리 하시겠습니까? ", "Q999", "") != 6 ) return;
  848. fClickSaveBtn();
  849. ]]>
  850. </script>
  851. </button>
  852. <button id="btn_send" class="btn4_letter4" visibility="hidden" style="left:1054px; top:3px; width:80px; height:22px; ">
  853. <caption>전송취소</caption>
  854. <script type="javascript" ev:event="DOMActivate">
  855. <![CDATA[
  856. if(grd_matrlist.rows == grd_matrlist.fixedRows) return;
  857. if (messageBox( "해당 조사내역을 전송취소 하시겠습니까? ", "Q999", "") != 6 ) return;
  858. fClickSendBtn();
  859. ]]>
  860. </script>
  861. </button>
  862. </group>
  863. </xhtml:body>
  864. </xhtml:html>