SMRSI10100_검수 및 입고관리(경북대).xrw 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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. <list>
  11. <purcchkinfo>
  12. <purcchkmainlist>
  13. <purcchkdd/>
  14. <purcchkno/>
  15. <teamflag/>
  16. <acntcd/>
  17. <acntnm/>
  18. <supdd/>
  19. <newyn/>
  20. <purccondd/>
  21. <purcconno/>
  22. <calcdocukind/>
  23. </purcchkmainlist>
  24. <purcchksublist/>
  25. </purcchkinfo>
  26. <bfpurcchkmaininfo>
  27. <bfpurcchkmainlist/>
  28. </bfpurcchkmaininfo>
  29. <purcchknoinfo>
  30. <maxpurcchkno>
  31. <purcchkno/>
  32. </maxpurcchkno>
  33. </purcchknoinfo>
  34. </list>
  35. </main>
  36. <send>
  37. <search>
  38. <instcd/>
  39. <wareflag/>
  40. <purcchkdd/>
  41. <purcchkno/>
  42. <purccondd/>
  43. <purcconno/>
  44. </search>
  45. <save>
  46. <purcchklist/>
  47. </save>
  48. <nosearch>
  49. <instcd/>
  50. <purcchkdd/>
  51. </nosearch>
  52. </send>
  53. <init>
  54. </init>
  55. <temp>
  56. </temp>
  57. </root>
  58. </instance>
  59. <submission id="TRRSI10101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list/purcchkinfo"/>
  60. <submission id="TRRSI10102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/nosearch" resultref="/root/main/list/purcchknoinfo"/>
  61. <submission id="TRRSP00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list/purcconinfo"/>
  62. <submission id="TXRSI10101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  63. </model>
  64. <script type="javascript" ev:event="xforms-ready">
  65. <![CDATA[
  66. //화면 Control을 초기화한다
  67. fInitialize();
  68. ]]>
  69. </script>
  70. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  71. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  72. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  73. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  74. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  76. <script type="javascript" src="../../../mis/winweb/js/SMRSI10100.js"/>
  77. <script type="javascript">
  78. <![CDATA[]]>
  79. </script>
  80. </xhtml:head>
  81. <xhtml:body style="font-family:굴림; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  82. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  83. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">구매검수 관리</caption>
  84. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  85. </group>
  86. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  87. <group id="grp_search" style="left:0px; top:17px; width:1195px; height:48px; vertical-align:top; ">
  88. <caption id="cap_allsizespecid" class="search_name" style="left:975px; top:10px; width:111px; height:17px; ">규격코드 :</caption>
  89. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  90. <button id="btn_search" class="btn1_letter2" style="left:1065px; top:7px; width:56px; height:22px; ">
  91. <caption>조회</caption>
  92. <script type="javascript" ev:event="DOMActivate">
  93. <![CDATA[
  94. var spath = "/root/main/list/purcchkinfo"
  95. model.removeNodeset(spath);
  96. model.setValue("/root/send/search/purccondd" , "");
  97. model.setValue("/root/send/search/purcconno" , "");
  98. if (submit("TRRSI10101")){
  99. model.removeNodeset("/root/submain/list/purcchkinfo");
  100. model.makeNode("/root/submain/list/purcchkinfo");
  101. model.copyNode("/root/submain/list/purcchkinfo", "/root/main/list/purcchkinfo");
  102. }
  103. var vInstance = document.models(0).instances(0);
  104. var cnt = vInstance.selectNodes("/root/main/list/purcchkinfo/purcchkmainlist").length;
  105. if (cnt == 0){
  106. var spath = "/root/main/list/purcchkinfo/purcchkmainlist";
  107. model.makeNode(spath+"/purcchkdd" );
  108. model.makeNode(spath+"/purcchkno" );
  109. model.makeNode(spath+"/purccondd" );
  110. model.makeNode(spath+"/purcconno" );
  111. model.makeNode(spath+"/supdd" );
  112. model.makeNode(spath+"/teamflag" );
  113. model.makeNode(spath+"/calcdocukind");
  114. model.makeNode(spath+"/acntcd" );
  115. model.makeNode(spath+"/acntnm" );
  116. model.makeNode(spath+"/newyn" );
  117. }
  118. if (model.getValue(cal_purcchkdd.attribute("ref")).getTrim() == ""){
  119. fConDisabledControl(true);
  120. }else{
  121. fConDisabledControl(false);
  122. }
  123. fDisabledControl(true);
  124. for (var i = grd_purcchk.fixedRows; i <= grd_purcchk.rows ; i++){
  125. grd_purcchk.isReadOnly(i , grd_purcchk.colRef("chkflag")) = true;
  126. }
  127. /*if (grd_purcchk.rows - grd_purcchk.fixedRows == 0){
  128. btn_acntcd.disabled = "false";
  129. ipt_acntcd.disabled = "false";
  130. }else{
  131. btn_acntcd.disabled = "true";
  132. ipt_acntcd.disabled = "true";
  133. }*/
  134. model.refresh();
  135. ]]>
  136. </script>
  137. </button>
  138. <select1 id="cmb_instcd" ref="/root/send/search/instcd" class="combo_default" disabled="true" appearance="minimal" style="left:99px; top:10px; width:136px; height:19px; ">
  139. <choices>
  140. <itemset nodeset="/root/main/init">
  141. <label ref="cnstnm"/>
  142. <value ref="cnstcd"/>
  143. </itemset>
  144. </choices>
  145. </select1>
  146. <caption id="cap_instcd" class="search_name" style="left:8px; top:10px; width:86px; height:17px; ">기관코드 :</caption>
  147. <input id="cal_purcchkdd_search" ref="/root/send/search/purcchkdd" navindex="1" inputtype="date" style="left:596px; top:10px; width:105px; height:19px; ">
  148. <script type="javascript" ev:event="xforms-value-changed">
  149. <![CDATA[
  150. model.setValue("/root/send/nosearch/instcd" , model.getValue(cmb_instcd.attribute("ref")));
  151. model.setValue("/root/send/nosearch/purcchkdd" , model.getValue(cal_purcchkdd_search.attribute("ref")));
  152. if (submit("TRRSI10102")){
  153. var purcchkno = model.getValue("/root/main/list/purcchknoinfo/maxpurcchkno/purcchkno");
  154. model.setValue(ipt_purcchkno_search.attribute("ref"), purcchkno);
  155. }
  156. model.setValue("/root/send/nosearch/instcd" , "");
  157. model.setValue("/root/send/nosearch/purcchkdd" , "");
  158. model.refresh();
  159. ]]>
  160. </script>
  161. </input>
  162. <caption id="caption20" class="search_name" style="left:505px; top:10px; width:96px; height:17px; vertical-align:middle; ">검수일자 :</caption>
  163. <line id="line30" class="line_4" style="x1:1055px; y1:3px; x2:1055px; y2:35px; "/>
  164. <caption id="caption2" class="search_name" style="left:250px; top:10px; width:106px; height:17px; ">창고 구분 :</caption>
  165. <select1 id="cmb_wareflag_search" ref="/root/send/search/wareflag" appearance="minimal" style="left:346px; top:10px; width:134px; height:19px; ">
  166. <choices>
  167. <itemset nodeset="/root/init/wareflag">
  168. <label ref="cdnm"/>
  169. <value ref="cdid"/>
  170. </itemset>
  171. </choices>
  172. </select1>
  173. <input id="ipt_purcchkno_search" ref="/root/send/search/purcchkno" class="input_default" navindex="2" maxlength="4" style="left:710px; top:10px; width:75px; height:19px; text-align:center; ">
  174. <script type="javascript" ev:event="onkeyup">
  175. <![CDATA[
  176. inputEnterKey("btn_search", "DOMActivate");
  177. ]]>
  178. </script>
  179. </input>
  180. <button id="btn_save" class="btn4_letter2" style="left:1126px; top:7px; width:56px; height:22px; ">
  181. <caption>저장</caption>
  182. <script type="javascript" ev:event="DOMActivate">
  183. <![CDATA[
  184. fSave();
  185. ]]>
  186. </script>
  187. </button>
  188. </group>
  189. <line id="line1" class="line_1" style="x1:0px; y1:93px; x2:1190px; y2:93px; "/>
  190. <caption id="caption1" class="tit_2" style="left:0px; top:74px; width:180px; height:14px; ">구매검수 관리</caption>
  191. <button id="btn_choidel" class="btn2_letter3" style="left:1082px; top:71px; width:53px; height:19px; ">
  192. <caption>행삭제</caption>
  193. <script type="javascript" ev:event="DOMActivate">
  194. <![CDATA[
  195. var prestatus = grd_purcchk.valueMatrix(grd_purcchk.row,grd_purcchk.colRef("prestatus"));
  196. if (prestatus == "U"){
  197. /*if (grd_purcchk.valueMatrix(grd_purcchk.row, grd_purcchk.colRef("lastwindd")) != ""){
  198. messageBox(grd_purcchk.row+"번째는 입고 처리된", "I009");
  199. }else{*/
  200. grd_purcchk.rowStatus(grd_purcchk.row) = "4";
  201. //}
  202. }else{
  203. grd_purcchk.deleteRow(grd_purcchk.row);
  204. }
  205. if (grd_purcchk.rows - grd_purcchk.fixedRows == 0){
  206. btn_acntcd.disabled = "false";
  207. ipt_acntcd.disabled = "false";
  208. }else{
  209. btn_acntcd.disabled = "true";
  210. ipt_acntcd.disabled = "true";
  211. }
  212. //fDelSetting(grd_purcchk);
  213. ]]>
  214. </script>
  215. </button>
  216. <button id="btn_excel" class="btn2_letter2" style="left:1140px; top:71px; width:42px; height:19px; ">
  217. <caption>엑셀</caption>
  218. <script type="javascript" ev:event="DOMActivate">
  219. <![CDATA[
  220. misfSaveExcel(grd_purcchk);
  221. ]]>
  222. </script>
  223. </button>
  224. <line id="line2" class="line_1" style="x1:0px; y1:150px; x2:1190px; y2:150px; "/>
  225. <button id="btn_purccon" class="btn2_letter5" style="left:1003px; top:71px; width:75px; height:19px; ">
  226. <caption>계약건조회</caption>
  227. <script type="javascript" ev:event="DOMActivate">
  228. <![CDATA[
  229. if (fDataValiChk() == false) return;
  230. model.removenode("/root/copynode");
  231. model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  232. model.makeNode("/root/copynode");
  233. setParameter("parainfo_acntcd" , model.getValue(ipt_acntcd.attribute("ref")));
  234. setParameter("parainfo_teamflag", model.getValue(cmb_teamflag.attribute("ref")));
  235. modal("SPRSI10200");
  236. var cur_row = grd_purcchk.row;
  237. var status = grd_purcchk.valueMatrix(cur_row, grd_purcchk.colRef("m"));
  238. var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  239. setCSVToNode("/root/copynode", CSV, "purcchksublist");
  240. fDataSet("/root/copynode", "purcchksublist");
  241. if (grd_purcchk.rows - grd_purcchk.fixedRows == 0){
  242. ipt_acntcd.disabled = false;
  243. btn_acntcd.disabled = false;
  244. }else{
  245. ipt_acntcd.disabled = true;
  246. btn_acntcd.disabled = true;
  247. }
  248. for (var i = grd_purcchk.fixedRows; i <= grd_purcchk.rows ; i++) {
  249. grd_purcchk.isReadOnly(i , grd_purcchk.colRef("chkflag")) = true;
  250. grd_purcchk.valueMatrix(i, grd_purcchk.colRef("chkamt")) = parseFloat(grd_purcchk.valueMatrix(i, grd_purcchk.colRef("chkgoodunitcost"))) * parseFloat(grd_purcchk.valueMatrix(i, grd_purcchk.colRef("chkqty")));
  251. }
  252. if (grd_purcchk.rows - grd_purcchk.fixedRows == 0){
  253. btn_acntcd.disabled = "false";
  254. ipt_acntcd.disabled = "false";
  255. }else{
  256. btn_acntcd.disabled = "true";
  257. ipt_acntcd.disabled = "true";
  258. }
  259. model.refresh();
  260. ]]>
  261. </script>
  262. </button>
  263. <button id="btn_insert" class="btn2_letter2" style="left:958px; top:71px; width:42px; height:19px; ">
  264. <caption>입력</caption>
  265. <script type="javascript" ev:event="DOMActivate">
  266. <![CDATA[
  267. // 금일 날자 설정
  268. var curdate = getCurrentDate();
  269. var cvtdate = curdate.toDate("YYYYMMDD");
  270. fConDisabledControl(false);
  271. fDisabledControl(false);
  272. model.resetInstanceNode("/root/main/list/purcchkinfo/purcchkmainlist");
  273. model.makeValue(ipt_newyn.attribute("ref"), "Y");
  274. model.removeNodeset("/root/main/list/purcchkinfo/purcchksublist");
  275. model.setValue(cal_purcchkdd.attribute("ref") , curdate);
  276. model.setValue(cal_supdd.attribute("ref") , cvtdate.getAddDate(1,"M").getDateFormat("YYYYMMDD"));
  277. cal_purcchkdd.dispatch("xforms-value-changed");
  278. model.refresh();
  279. ]]>
  280. </script>
  281. </button>
  282. <input id="ipt_newyn" ref="/root/main/list/purcchkinfo/purcchkmainlist/newyn" class="input_default" disabled="true" visibility="hidden" maxlength="1" style="left:124px; top:72px; width:61px; height:19px; text-align:center; "/>
  283. <caption id="caption36" class="cell_1" style="left:550px; top:100px; width:90px; height:23px; vertical-align:middle; ">팀구분</caption>
  284. <line id="line18" class="line_2" style="x1:0px; y1:124px; x2:1195px; y2:124px; "/>
  285. <caption id="caption11" class="cell_1" style="left:800px; top:100px; width:90px; height:23px; vertical-align:middle; ">계정과목</caption>
  286. <caption id="caption15" class="cell_1" style="left:305px; top:100px; width:90px; height:23px; vertical-align:middle; ">납품일</caption>
  287. <line id="line3" class="line_2" style="x1:0px; y1:149px; x2:650px; y2:149px; "/>
  288. <line id="line4" class="line_2" style="x1:0px; y1:149px; x2:1190px; y2:149px; "/>
  289. <input id="cal_supdd" ref="/root/main/list/purcchkinfo/purcchkmainlist/supdd" inputtype="date" style="left:398px; top:102px; width:146px; height:19px; text-align:center; "/>
  290. <select1 id="cmb_teamflag" ref="/root/main/list/purcchkinfo/purcchkmainlist/teamflag" disabled="true" appearance="minimal" style="left:644px; top:102px; width:150px; height:19px; text-align:left; padding-left:10; ">
  291. <choices>
  292. <itemset nodeset="/root/init/wareflag">
  293. <label ref="cdnm"/>
  294. <value ref="cdid"/>
  295. </itemset>
  296. </choices>
  297. </select1>
  298. <output id="opt_acntnm" ref="/root/main/list/purcchkinfo/purcchkmainlist/acntnm" class="output_fix" appearance="output" style="left:1011px; top:102px; width:175px; height:19px; text-align:left; padding-left:10; "/>
  299. <input id="ipt_acntcd" ref="/root/main/list/purcchkinfo/purcchkmainlist/acntcd" class="input_essential" disabled="true" style="left:894px; top:102px; width:90px; height:19px; text-align:center; ">
  300. <script type="javascript" ev:event="xforms-value-changed">
  301. <![CDATA[
  302. rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_acntcd.attribute("ref")) ,"","acntcd,acntnm" ,ipt_acntcd,"PPRAC00100","","");
  303. model.refresh();
  304. model.setFocus("ipt_amtacnt");
  305. ]]>
  306. </script>
  307. <script type="javascript" ev:event="onkeydown">
  308. <![CDATA[
  309. if(event.keyCode == 9)
  310. {
  311. if(event.shiftKey)model.setFocus("cmb_lrgcd");
  312. else model.setFocus("ipt_amtacnt");
  313. }
  314. //event.preventDefault();
  315. ]]>
  316. </script>
  317. </input>
  318. <button id="btn_acntcd" class="icon_search" disabled="true" style="left:987px; top:102px; width:16px; height:16px; ">
  319. <caption/>
  320. <script type="javascript" ev:event="DOMActivate">
  321. <![CDATA[
  322. rszfOpenPopUpListByWndName(ipt_acntcd,"","acntcd,acntnm","PPRAC00100","","");
  323. model.refresh();
  324. ]]>
  325. </script>
  326. </button>
  327. <input id="cal_purcchkdd" ref="/root/main/list/purcchkinfo/purcchkmainlist/purcchkdd" inputtype="date" format="yyyy-mm-dd" style="left:94px; top:102px; width:146px; height:19px; text-align:center; ">
  328. <script type="javascript" ev:event="xforms-value-changed">
  329. <![CDATA[
  330. model.setValue("/root/send/nosearch/instcd" , model.getValue(cmb_instcd.attribute("ref")));
  331. model.setValue("/root/send/nosearch/purcchkdd" , model.getValue(cal_purcchkdd.attribute("ref")));
  332. if (submit("TRRSI10102")){
  333. var purcchkno = model.getValue("/root/main/list/purcchknoinfo/maxpurcchkno/purcchkno");
  334. model.setValue(ipt_purcchkno.attribute("ref"), purcchkno);
  335. }
  336. model.setValue("/root/send/nosearch/instcd" , "");
  337. model.setValue("/root/send/nosearch/purcchkdd" , "");
  338. model.refresh();
  339. ]]>
  340. </script>
  341. </input>
  342. <input id="ipt_purcchkno" ref="/root/main/list/purcchkinfo/purcchkmainlist/purcchkno" class="input_default" maxlength="4" style="left:245px; top:102px; width:51px; height:19px; text-align:center; "/>
  343. <caption id="cap_purcchkdd" class="cell_1" style="left:0px; top:100px; width:90px; height:23px; vertical-align:middle; ">검수일자/NO</caption>
  344. <input id="cal_purccondd" ref="/root/main/list/purcchkinfo/purcchkmainlist/purccondd" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:94px; top:127px; width:146px; height:19px; text-align:center; ">
  345. <script type="javascript" ev:event="xforms-value-changed">
  346. <![CDATA[
  347. model.setValue("/root/send/nosearch/instcd" , model.getValue(cmb_instcd.attribute("ref")));
  348. model.setValue("/root/send/nosearch/purccondd" , model.getValue(cal_purccondd.attribute("ref")));
  349. if (submit("TRRSP00102")){
  350. var purcconno = model.getValue("/root/main/list/purcconnoinfo/maxpurcconno/purcconno");
  351. model.setValue(ipt_purcconno.attribute("ref"), purcconno);
  352. }
  353. model.setValue("/root/send/nosearch/instcd" , "");
  354. model.setValue("/root/send/nosearch/purccondd" , "");
  355. model.refresh();
  356. ]]>
  357. </script>
  358. </input>
  359. <input id="ipt_purcconno" ref="/root/main/list/purcchkinfo/purcchkmainlist/purcconno" class="input_default" disabled="true" maxlength="4" style="left:245px; top:127px; width:51px; height:19px; text-align:center; "/>
  360. <caption id="cap_purccondd" class="cell_1" style="left:0px; top:125px; width:90px; height:23px; vertical-align:middle; ">계약일자/NO</caption>
  361. <datagrid id="grd_purcchk" nodeset="/root/main/list/purcchkinfo/purcchksublist" caption="이전 상태값^순번^물품코드^물품코드^품목 명칭^규격^단위^BOX수^계약량^검수량^단가^금액^검수구분^요구부서^요구부서^기관코드^물품구분코드^검수일자^검수번호^계약일자^계약번호^계약순번^납품일자^팀구분^계정과목^신규여부^계산서유형" colsep="^" colwidth="36, 63, 100, 35, 216, 178, 64, 54, 61, 58, 91, 95, 100, 89, 125, 19, 16, 18, 19, 16, 20, 16, 20, 21, 17, 15, 20" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:0px; top:155px; width:1190px; height:553px; font-weight:normal; text-align:center; ">
  362. <col ref="prestatus" visibility="hidden" style="text-align:center; "/>
  363. <col ref="purcchkseq" style="text-align:center; "/>
  364. <col ref="goodcd"/>
  365. <col ref="allsizespecid"/>
  366. <col ref="goodnm" style="text-align:left; padding-left:10; "/>
  367. <col ref="goodspec" style="text-align:left; padding-left:10; "/>
  368. <col ref="chkunit" style="text-align:left; padding-left:10; "/>
  369. <col ref="reqpackcntperunit" format="#,###" style="text-align:right; "/>
  370. <col ref="conqty" format="#,###" style="text-align:right; "/>
  371. <col ref="chkqty" type="output" format="#,###" style="text-align:right; "/>
  372. <col ref="chkgoodunitcost" format="#,###" style="text-align:right; "/>
  373. <col ref="chkamt" format="#,###" style="text-align:right; "/>
  374. <col disabled="true" ref="chkflag" type="combo">
  375. <choices>
  376. <itemset nodeset="/root/init/cmb_chkflag/comcodelist">
  377. <label ref="cdnm"/>
  378. <value ref="cdid"/>
  379. </itemset>
  380. </choices>
  381. </col>
  382. <col ref="delivedeptcd" type="inputbutton" visibility="hidden" style="text-align:center; "/>
  383. <col ref="delivedeptnm" style="text-align:left; padding-left:10; "/>
  384. <col ref="instcd" visibility="hidden" style="text-align:center; "/>
  385. <col ref="goodflag" visibility="hidden" style="text-align:center; "/>
  386. <col ref="purcchkdd" visibility="hidden" style="text-align:center; "/>
  387. <col ref="purcchkno" visibility="hidden" style="text-align:center; "/>
  388. <col ref="purccondd" visibility="hidden"/>
  389. <col ref="purcconno" visibility="hidden"/>
  390. <col ref="purcconseq" visibility="hidden"/>
  391. <col ref="supdd" visibility="hidden"/>
  392. <col ref="teamflag" visibility="hidden"/>
  393. <col ref="acntcd" visibility="hidden"/>
  394. <col ref="newyn" visibility="hidden" style="text-align:center; "/>
  395. <col ref="calcdocukind" visibility="hidden"/>
  396. <script type="javascript" ev:event="onbuttonclick">
  397. <![CDATA[
  398. rszfOpenPopUpListByWndName(grd_purcchk,"","goodcd,goodnm","SPRSD00190","instcd,goodflag","cmb_instcd,cmb_goodflag");
  399. ]]>
  400. </script>
  401. <script type="javascript" ev:event="xforms-value-changed">
  402. <![CDATA[
  403. fCalcAmt();
  404. ]]>
  405. </script>
  406. </datagrid>
  407. <select1 id="cmb_chkflag" visibility="hidden" appearance="minimal" style="left:190px; top:72px; width:55px; height:19px; ">
  408. <choices>
  409. <itemset>
  410. <label/>
  411. <value/>
  412. </itemset>
  413. </choices>
  414. </select1>
  415. <select1 id="cmb_calcdocukind" ref="/root/main/list/purcchkinfo/purcchkmainlist/calcdocukind" class="combo_search" appearance="minimal" style="left:398px; top:127px; width:146px; height:19px; ">
  416. <choices>
  417. <itemset nodeset="/root/init/calcdocukind">
  418. <label ref="cdnm"/>
  419. <value ref="cdid"/>
  420. </itemset>
  421. </choices>
  422. </select1>
  423. <caption id="caption3" class="cell_1" style="left:305px; top:125px; width:90px; height:23px; vertical-align:middle; ">계산서 유형</caption>
  424. </group>
  425. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  426. <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  427. <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
  428. <caption>초기화</caption>
  429. <script type="javascript" ev:event="DOMActivate">
  430. <![CDATA[
  431. fInitialize();
  432. ]]>
  433. </script>
  434. </button>
  435. <button id="btn_prnt" class="btn6_letter5" visibility="visible" style="left:0px; top:5px; width:56px; height:22px; ">
  436. <caption>검수보고서</caption>
  437. <script type="javascript" ev:event="DOMActivate">
  438. <![CDATA[
  439. model.makeValue("/root/send/search/purccondd" , model.getValue(cal_purccondd.attribute("ref")));
  440. model.makeValue("/root/send/search/purcconno" , model.getValue(ipt_purcconno.attribute("ref")));
  441. model.removeNodeset("/root/prtinfo/purcconinfo");
  442. model.makeNode("/root/prtinfo/purcconinfo");
  443. model.removeNodeset("/root/prtinfo/purcchkinfo");
  444. model.makeNode("/root/prtinfo/purcchkinfo");
  445. submit("TRRSP00601");
  446. copyNodesetType("/root/prtinfo/purcconinfo","/root/main/list/purcconinfo","replace");
  447. copyNodesetType("/root/prtinfo/purcchkinfo","/root/main/list/purcchkinfo","replace");
  448. exeReportPreview("RPRSI10101","XMLSTR");
  449. //freqlistprint();
  450. ]]>
  451. </script>
  452. </button>
  453. </group>
  454. </xhtml:body>
  455. </xhtml:html>