SPRAD00500_품의사용내역.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <list>
  11. <pumlist>
  12. <cdacntcd/>
  13. <deptcd/>
  14. <olddeptcd/>
  15. <dutplcedeptcd/>
  16. <emplno/>
  17. <emplnm/>
  18. <amt/>
  19. <transfacntno/>
  20. <rmrk/>
  21. <pumgubun/>
  22. <pumno/>
  23. <serial/>
  24. <yesno/>
  25. <deptnm/>
  26. <chulseq/>
  27. </pumlist>
  28. </list>
  29. <list1>
  30. <empllist>
  31. <buseocode/>
  32. <sabun/>
  33. <emplnm/>
  34. <serial/>
  35. <amt/>
  36. <rmrk/>
  37. </empllist>
  38. </list1>
  39. <chulempllst>
  40. <chulempinfo/>
  41. </chulempllst>
  42. </main>
  43. <send>
  44. <code/>
  45. <save>
  46. <pumlist/>
  47. </save>
  48. <plusamt/>
  49. </send>
  50. <init>
  51. <combo1>
  52. <codeinfo>
  53. <code/>
  54. <codename/>
  55. </codeinfo>
  56. </combo1>
  57. <combo2>
  58. <deptinfo>
  59. <deptcd/>
  60. <deptnm/>
  61. </deptinfo>
  62. </combo2>
  63. </init>
  64. <pop1data>
  65. <pumgubun/>
  66. <pumno/>
  67. <cdacntcd/>
  68. <pumamt/>
  69. <irow/>
  70. <instcd/>
  71. <chulseq/>
  72. </pop1data>
  73. </root>
  74. </instance>
  75. <submission id="TRRAD01509" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/pop1data" resultref="/root/main/list"/>
  76. <submission id="TRRAD01510" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/pop1data" resultref="/root/init/combo1"/>
  77. <submission id="TRRAD01511" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/pop1data" resultref="/root/init/combo2"/>
  78. <submission id="TRRAD01512" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list1"/>
  79. <submission id="TXRAD01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden"/>
  80. <bind id="bind_totamt" ref="/root/hidden/totamt" calculate="(/root/main/orch_one/paytotamt) - (/root/main/orch_one/incmtax) -(/root/main/orch_one/resdntax)"/>
  81. <bind id="bind_amt" ref="/root/hidden/orchreturn/amt" calculate="sum(/root/main/list/orchlist/paytotamt)"/>
  82. <bind id="bind_incmtax" ref="/root/hidden/orchreturn/incmtax" calculate="sum(/root/main/list/orchlist/incmtax)"/>
  83. <bind id="bind_resdntax" ref="/root/hidden/orchreturn/resdntax" calculate="sum(/root/main/list/orchlist/resdntax)"/>
  84. <submission id="TRRPD08005" mediatype="application/x-www-form-urlencoded" method="get" ref="/root/pop1data" replace="instance" resultref="/root/main/chulempllst"/>
  85. </model>
  86. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  87. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  88. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  89. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  90. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  91. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  92. <script type="javascript" src="../../../mis/paybaseinfomngtweb/js/RWC001.js"/>
  93. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  94. <script type="javascript" ev:event="xforms-ready">
  95. <![CDATA[
  96. fInitialize();
  97. ]]>
  98. </script>
  99. <script type="javascript">
  100. <![CDATA[
  101. function fInitialize()
  102. {
  103. submit("TRRAD01510");
  104. submit("TRRAD01511");
  105. //model.resetInstanceNode("/root/main/list/pumlist");
  106. misfGridInit(datagrid1);
  107. misfGridInit(datagrid2);
  108. misfMsterDetailSet(datagrid1,null, "TRRAD01509" ,"Y");
  109. var instcd = getUserInfo("dutplceinstcd");
  110. model.makeValue("/root/pop1data/instcd", instcd);
  111. if (submit("TRRAD01509")){
  112. if (model.getValue("/root/main/list/pumlist/yesno") == "Y"){
  113. caption1.visible = true;
  114. button1.disabled = true;
  115. group2.disabled = true;
  116. btn_grdaddpaydedulist.disabled = true;
  117. btn_grddelpaydedulist.disabled = true;
  118. btn_inputexcel.disabled = true;
  119. }
  120. }
  121. if(datagrid1.rows < 2){
  122. //2011.09.05 cyw 출장품의
  123. if( model.getValue("/root/pop1data/chulseq") != "" ){
  124. fgetChulemplst();
  125. }else{
  126. btn_grdaddpaydedulist.dispatch("DOMActivate");
  127. btn_close.disabled = true;
  128. }
  129. }
  130. var amt = 0;
  131. for(var i = 1; i < datagrid1.rows; i++){
  132. amt += parseInt(datagrid1.valueMatrix(i, datagrid1.colRef("amt")));
  133. }
  134. model.setValue("/root/send/plusamt", amt);
  135. model.refresh();
  136. }
  137. // 2011.09.05 CYW 출장비 품의일 경우 등록한 출장내역 자동으로 행생성해주기.
  138. function fgetChulemplst(){
  139. if( submit("TRRPD08005") ){
  140. var EmpCnt = getNodesetCount("/root/main/chulempllst/chulempinfo");
  141. for( var i = 1; i <= EmpCnt ; i++ ){
  142. misfGridIUD(datagrid1, "A");
  143. model.setValue("/root/main/list/pumlist[" + datagrid1.row + "]/cdacntcd", model.getValue("/root/pop1data/cdacntcd"));
  144. model.setValue("/root/main/list/pumlist[" + datagrid1.row + "]/pumgubun", model.getValue("/root/pop1data/pumgubun"));
  145. model.setValue("/root/main/list/pumlist[" + datagrid1.row + "]/pumno", model.getValue("/root/pop1data/pumno"));
  146. model.setValue("/root/main/list/pumlist[" + datagrid1.row + "]/amt", model.getValue("/root/main/chulempllst/chulempinfo[" + i + "]/chulkeum"));
  147. model.setValue("/root/main/list/pumlist[" + datagrid1.row + "]/deptcd", model.getValue("/root/main/chulempllst/chulempinfo[" + i + "]/dutplcedeptcd"));
  148. model.setValue("/root/main/list/pumlist[" + datagrid1.row + "]/emplno", model.getValue("/root/main/chulempllst/chulempinfo[" + i + "]/sabun"));
  149. model.setValue("/root/main/list/pumlist[" + datagrid1.row + "]/emplnm", model.getValue("/root/main/chulempllst/chulempinfo[" + i + "]/name"));
  150. model.setValue("/root/main/list/pumlist[" + datagrid1.row + "]/rmrk", model.getValue("/root/main/chulempllst/chulempinfo[" + i + "]/banknm") + " " + model.getValue("/root/main/chulempllst/chulempinfo[" + i + "]/bankno") );
  151. model.setValue("/root/main/list/pumlist[" + datagrid1.row + "]/chulseq", model.getValue("/root/main/chulempllst/chulempinfo[" + i + "]/chulseq"));
  152. }
  153. if( EmpCnt < 1 ){
  154. btn_grdaddpaydedulist.dispatch("DOMActivate");
  155. btn_close.disabled = true;
  156. }
  157. model.refresh();
  158. }
  159. }
  160. ]]>
  161. </script>
  162. </xhtml:head>
  163. <xhtml:body pagewidth="900" pageheight="550" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  164. <group id="group1" style="left:0px; top:0px; width:698px; height:13px; ">
  165. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:190px; height:14px; ">품의사용내역</caption>
  166. </group>
  167. <group id="group2" scroll="auto" style="left:0px; top:16px; width:865px; height:429px; ">
  168. <datagrid id="datagrid1" nodeset="/root/main/list/pumlist" caption="계정과목^사용부서^olddeptcd^dutplcedeptcd^사용자^성명^금액^계좌번호^비고^품의번호^caption1^caption2^caption3^caption4" colsep="^" colwidth="93, 149, 100, 100, 100, 100, 110, 130, 268, 34, 32, 39, 37, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:0px; width:863px; height:428px; ">
  169. <col ref="cdacntcd"/>
  170. <col editmode="inputsearch" ref="deptcd" type="combo">
  171. <choices>
  172. <itemset nodeset="/root/init/combo2/deptinfo">
  173. <label ref="deptnm"/>
  174. <value ref="deptcd"/>
  175. </itemset>
  176. </choices>
  177. </col>
  178. <col ref="olddeptcd" visibility="hidden"/>
  179. <col ref="dutplcedeptcd" visibility="hidden"/>
  180. <col disabled="true" ref="emplno" type="inputbutton"/>
  181. <col ref="emplnm"/>
  182. <col ref="amt" type="input" format="(-)#,###" style="text-align:right; "/>
  183. <col ref="transfacntno" type="input" visibility="hidden" style="text-align:left; "/>
  184. <col ref="rmrk" type="input"/>
  185. <col ref="pumgubun" visibility="hidden" style="text-align:center; "/>
  186. <col ref="pumno" visibility="hidden"/>
  187. <col ref="serial" visibility="hidden"/>
  188. <col ref="yesno" visibility="hidden"/>
  189. <col ref="deptnm" visibility="hidden"/>
  190. <col ref="chulseq" visibility="hidden"/>
  191. <script type="javascript" ev:event="onbuttonclick">
  192. <![CDATA[
  193. if (datagrid1.colAttribute(datagrid1.col,"ref") == "emplno" ) { //계산기준코드
  194. var recv_list = "emplno,emplnm,deptcd,transfacntno,dutplcedeptcd";
  195. rpbfOpenPopUpList("SPRPB00101", datagrid1, recv_list,"","N");
  196. model.setValue("/root/main/list/pumlist["+ datagrid1.row +"]/deptcd", model.getValue("/root/main/list/pumlist["+ datagrid1.row +"]/dutplcedeptcd"));
  197. model.setValue("/root/main/list/pumlist["+ datagrid1.row +"]/olddeptcd", model.getValue("/root/main/list/pumlist["+ datagrid1.row +"]/deptcd"));
  198. model.refresh();
  199. }
  200. ]]>
  201. </script>
  202. <script type="javascript" ev:event="xforms-value-changed">
  203. <![CDATA[
  204. if (datagrid1.colAttribute(datagrid1.col,"ref") == "emplno" ) { //계산기준코드
  205. var recv_list = "emplno,emplnm";
  206. misfValidationCheck("01-1", "", recv_list);
  207. model.refresh();
  208. }else if(datagrid1.col == datagrid1.colRef("amt")){
  209. var amt = 0;
  210. for(var i = 1; i < datagrid1.rows; i++){
  211. amt += parseInt(datagrid1.valueMatrix(i, datagrid1.colRef("amt")));
  212. }
  213. model.setValue("/root/send/plusamt", amt);
  214. model.refresh();
  215. }
  216. ]]>
  217. </script>
  218. </datagrid>
  219. </group>
  220. <group id="grp_btn" scroll="auto" style="left:0px; top:498px; width:865px; height:27px; ">
  221. <button id="btn_close" class="btn4_letter2" navindex="6" style="left:800px; top:3px; width:56px; height:22px; ">
  222. <caption>닫기</caption>
  223. <script type="javascript" ev:event="DOMActivate">
  224. <![CDATA[
  225. var totamt = 0;
  226. for (var i = 1; i < datagrid1.rows; i++){
  227. var amt = model.getValue("/root/main/list/pumlist[" + i + "]/amt");
  228. if (isNaN(amt) || amt == ""){
  229. amt = 0;
  230. }
  231. /*
  232. if (amt == 0){
  233. messageBox(i + "번째 금액은 필수 입력항목입니다.", "E999", "");
  234. return;
  235. }
  236. */
  237. var deptcd = model.getValue("/root/main/list/pumlist["+ i +"]/deptcd");
  238. var emplno = model.getValue("/root/main/list/pumlist["+ i +"]/emplno");
  239. if (deptcd == ""){
  240. messageBox(i + "번째 부서코드는 필수 입력항목입니다.", "E999", "");
  241. return;
  242. }
  243. if (emplno == ""){
  244. messageBox(i + "번째 사원번호는 필수 입력항목입니다.", "E999", "");
  245. return;
  246. }
  247. if (datagrid1.rowStatus(i) != 4 && datagrid1.rowStatus(i) != 5 && datagrid1.rowStatus(i) != 6){
  248. totamt = parseFloat(totamt) + parseFloat(amt);
  249. }
  250. }
  251. var totamt1 = parseFloat(model.getValue("/root/pop1data/pumamt"));
  252. if (totamt != totamt1){
  253. messageBox("품의금액과 사용내역 총금액이 상이합니다." , "E999", "");
  254. //if( messageBox("품의금액과 사용내역 총금액이 상이합니다. 계속진행하시겠습니까" , "Q99" ) != 6 ){
  255. return;
  256. //}
  257. }
  258. window.close();
  259. ]]>
  260. </script>
  261. </button>
  262. <button id="button1" class="btn4_letter2" navindex="6" style="left:740px; top:3px; width:56px; height:22px; ">
  263. <caption>저장</caption>
  264. <script type="javascript" ev:event="DOMActivate">
  265. <![CDATA[
  266. var pmcnt = 0;
  267. var deptpm = "";
  268. var emplpm = "";
  269. var totamt = 0;
  270. for (var i = 1; i < datagrid1.rows; i++){
  271. pmcnt = 0;
  272. deptpm = "";
  273. emplpm = "";
  274. // 2011.06.30 cyw
  275. for (var s = 1; s < datagrid1.rows; s++){
  276. if( model.getValue("/root/main/list/pumlist[" + i + "]/deptcd") == model.getValue("/root/main/list/pumlist[" + s + "]/deptcd")
  277. && model.getValue("/root/main/list/pumlist[" + i + "]/emplno") == model.getValue("/root/main/list/pumlist[" + s + "]/emplno") ){
  278. pmcnt++;
  279. deptpm = datagrid1.labelMatrix(i, datagrid1.colRef("deptcd"));
  280. emplpm = datagrid1.labelMatrix(i, datagrid1.colRef("emplnm"));
  281. }
  282. }
  283. //2011.06.29 사용부서와 사용자가 같은 사람이 존재하면 Return;
  284. if ( pmcnt > 1 ){
  285. messageBox("사용부서와 사용자가 동일한 데이터가 2건이상 있습니다. \n [ " + deptpm + " / " + emplpm + " ]", "I007");
  286. return;
  287. }
  288. var amt = model.getValue("/root/main/list/pumlist[" + i + "]/amt");
  289. if (isNaN(amt) || amt == ""){
  290. amt = 0;
  291. }
  292. /*
  293. if (amt == 0){
  294. messageBox(i + "번째 금액은 필수 입력항목입니다.", "E999", "");
  295. return;
  296. }
  297. */
  298. var deptcd = model.getValue("/root/main/list/pumlist["+ i +"]/deptcd");
  299. var emplno = model.getValue("/root/main/list/pumlist["+ i +"]/emplno");
  300. if (deptcd == ""){
  301. messageBox(i + "번째 부서코드는 필수 입력항목입니다.", "E999", "");
  302. return;
  303. }
  304. if (emplno == ""){
  305. messageBox(i + "번째 사원번호는 필수 입력항목입니다.", "E999", "");
  306. return;
  307. }
  308. if (datagrid1.rowStatus(i) != 4 && datagrid1.rowStatus(i) != 5 && datagrid1.rowStatus(i) != 6){
  309. totamt = parseFloat(totamt) + parseFloat(amt);
  310. }
  311. }
  312. var totamt1 = parseFloat(model.getValue("/root/pop1data/pumamt"));
  313. if (totamt != totamt1){
  314. messageBox("품의금액과 사용내역 총금액이 상이합니다." , "E999", "");
  315. //if( messageBox("품의금액과 사용내역 총금액이 상이합니다. 계속진행하시겠습니까" , "Q99" ) != 6 ){
  316. return;
  317. //}
  318. }
  319. if (misfSave("TXRAD01502")){
  320. submit("TRRAD01509");
  321. button3.dispatch("DOMActivate");
  322. var irow = model.getValue("/root/pop1data/irow");
  323. if (totamt != totamt1){
  324. //opener.javascript.model.setValue("/root/main/grnt/grntlist2[" + irow + "]/pumamt", totamt);
  325. //opener.javascript.grd_grntpsn1.rowStatus(irow) = 2;
  326. //opener.javascript.model.setValue("/root/send/paydedu/stat", "U");
  327. //opener.javascript.model.setValue("/root/main/grnt/grntlist1/iudgb", "U");
  328. //opener.javascript.grd_grntpsn1.col = 6;
  329. //opener.javascript.grd_grntpsn1.dispatch("xforms-value-changed");
  330. opener.javascript.button5.dispatch("DOMActivate");
  331. window.close();
  332. }else{
  333. window.close();
  334. }
  335. }
  336. ]]>
  337. </script>
  338. </button>
  339. <button id="btn_grddelpaydedulist" class="btn2_letter3" style="left:684px; top:5px; width:53px; height:19px; ">
  340. <caption>행삭제</caption>
  341. <script type="javascript" ev:event="DOMActivate">
  342. <![CDATA[
  343. misfGridIUD(datagrid1, "D");
  344. var amt = 0;
  345. for(var i = 1; i < datagrid1.rows; i++){
  346. amt += parseInt(datagrid1.valueMatrix(i, datagrid1.colRef("amt")));
  347. }
  348. model.setValue("/root/send/plusamt", amt);
  349. model.refresh();
  350. ]]>
  351. </script>
  352. </button>
  353. <button id="btn_grdaddpaydedulist" class="btn2_letter3" style="left:628px; top:5px; width:53px; height:19px; ">
  354. <caption>행추가</caption>
  355. <script type="javascript" ev:event="DOMActivate">
  356. <![CDATA[
  357. misfGridIUD(datagrid1, "A");
  358. model.setValue("/root/main/list/pumlist[" + datagrid1.row + "]/cdacntcd", model.getValue("/root/pop1data/cdacntcd"));
  359. model.setValue("/root/main/list/pumlist[" + datagrid1.row + "]/pumgubun", model.getValue("/root/pop1data/pumgubun"));
  360. model.setValue("/root/main/list/pumlist[" + datagrid1.row + "]/pumno", model.getValue("/root/pop1data/pumno"));
  361. model.setValue("/root/main/list/pumlist[" + datagrid1.row + "]/amt", model.getValue("/root/pop1data/pumamt"));
  362. var amt = 0;
  363. for(var i = 1; i < datagrid1.rows; i++){
  364. amt += parseInt(datagrid1.valueMatrix(i, datagrid1.colRef("amt")));
  365. }
  366. model.setValue("/root/send/plusamt", amt);
  367. model.refresh();
  368. ]]>
  369. </script>
  370. </button>
  371. <button id="button3" class="btn2_letter3" style="left:570px; top:5px; width:53px; height:19px; ">
  372. <caption>출력</caption>
  373. <script type="javascript" ev:event="DOMActivate">
  374. <![CDATA[
  375. if( messageBox("출력하시겠습니까" , "Q99" ) == 6 ){
  376. exeReportPreview("RPRAD01505", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true","","","","","","","","false");
  377. }
  378. ]]>
  379. </script>
  380. </button>
  381. </group>
  382. <select1 id="combo1" ref="/root/send/code" appearance="minimal" style="left:10px; top:450px; width:270px; height:19px; ">
  383. <choices>
  384. <itemset nodeset="/root/init/combo1/codeinfo">
  385. <label ref="codename"/>
  386. <value ref="code"/>
  387. </itemset>
  388. </choices>
  389. <script type="javascript" ev:event="xforms-value-changed">
  390. <![CDATA[
  391. submit("TRRAD01512");
  392. ]]>
  393. </script>
  394. </select1>
  395. <datagrid id="datagrid2" nodeset="/root/main/list1/empllist" visibility="hidden" caption="caption1^caption2^caption3^caption4^caption5^caption6" colsep="^" colwidth="102, 82, 74, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:225px; top:270px; width:590px; height:150px; ">
  396. <col ref="buseocode"/>
  397. <col ref="sabun"/>
  398. <col ref="emplnm"/>
  399. <col ref="serial"/>
  400. <col ref="amt"/>
  401. <col ref="rmrk"/>
  402. </datagrid>
  403. <caption id="caption1" visibility="hidden" style="left:670px; top:466px; width:200px; height:25px; font-size:16pt; font-weight:bold; color:#ff0000; text-align:right; ">승인된 자료입니다.</caption>
  404. <button id="btn_inputexcel" class="btn2_letter8" style="left:305px; top:450px; width:64px; height:19px; ">
  405. <caption>약속정보 COPY</caption>
  406. <script type="javascript" ev:event="DOMActivate">
  407. <![CDATA[
  408. // if (datagrid1.rows > 1){
  409. // messageBox("기존 자료가 존재합니다 .삭재후 처리하세요!!!!!!!!!... ", "E999", "");
  410. // return;
  411. // }
  412. var k = parseInt(datagrid1.rows) - 1;
  413. for (i = 1; i < datagrid2.rows; i++){
  414. k = parseInt(k) + 1;
  415. datagrid1.addRow();
  416. //k = datagrid1.row;
  417. model.setValue("/root/main/list/pumlist[" + k + "]/cdacntcd", model.getValue("/root/pop1data/cdacntcd"));
  418. model.setValue("/root/main/list/pumlist[" + k + "]/pumgubun", model.getValue("/root/pop1data/pumgubun"));
  419. model.setValue("/root/main/list/pumlist[" + k + "]/pumno", model.getValue("/root/pop1data/pumno"));
  420. model.setValue("/root/main/list/pumlist[" + k + "]/deptcd", model.getValue("/root/main/list1/empllist[" + i + "]/buseocode"));
  421. model.setValue("/root/main/list/pumlist[" + k + "]/emplno", model.getValue("/root/main/list1/empllist[" + i + "]/sabun"));
  422. model.setValue("/root/main/list/pumlist[" + k + "]/emplnm", model.getValue("/root/main/list1/empllist[" + i + "]/emplnm"));
  423. model.setValue("/root/main/list/pumlist[" + k + "]/serial", model.getValue("/root/main/list1/empllist[" + i + "]/serial"));
  424. model.setValue("/root/main/list/pumlist[" + k + "]/amt", model.getValue("/root/main/list1/empllist[" + i + "]/amt"));
  425. model.setValue("/root/main/list/pumlist[" + k + "]/rmrk", model.getValue("/root/main/list1/empllist[" + i + "]/rmrk"));
  426. datagrid1.rowStatus(k) = 1;
  427. }
  428. model.refresh();
  429. ]]>
  430. </script>
  431. </button>
  432. <caption id="caption2" style="left:425px; top:468px; width:105px; height:25px; font-size:14pt; font-weight:bold; ">품의금액 :</caption>
  433. <output id="output1" ref="/root/pop1data/pumamt" format="(-)#,###" style="left:530px; top:470px; width:140px; height:19px; font-size:14pt; font-weight:bold; text-align:center; "/>
  434. <caption id="caption3" style="left:425px; top:447px; width:105px; height:25px; font-size:14pt; font-weight:bold; ">사용금액 :</caption>
  435. <output id="output2" ref="/root/send/plusamt" format="(-)#,###" style="left:530px; top:449px; width:140px; height:19px; font-size:14pt; font-weight:bold; text-align:center; "/>
  436. </xhtml:body>
  437. </xhtml:html>