SMRSP00900_공통계약및지출결의서출력(경북대).xrw 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602
  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. <purcconinfo>
  12. <purcconmainlist>
  13. <purccondd/>
  14. <purcconno/>
  15. <goodkindcnt/>
  16. <teamflag/>
  17. <acntcd/>
  18. <acntnm/>
  19. <notino/>
  20. <suplplcecd/>
  21. <suplplcenm/>
  22. <supdd/>
  23. <chrgid/>
  24. <chrgnm/>
  25. <flwrpirtermyy/>
  26. <flwrpirper/>
  27. <suppos/>
  28. <conflag/>
  29. <totconamt/>
  30. <goodcntnm/>
  31. <congrntamt/>
  32. <grntexchrate/>
  33. <expsschedate/>
  34. <deftconratecd/>
  35. <cmt/>
  36. <contermfromdd/>
  37. <contermtodd/>
  38. <newyn/>
  39. <updtgoodcntyn/>
  40. <purccnsttndd/>
  41. <purccnsttnno/>
  42. <titlecd/>
  43. </purcconmainlist>
  44. <purcconsublist/>
  45. </purcconinfo>
  46. <bfpurcconmaininfo>
  47. <bfpurcconmainlist/>
  48. </bfpurcconmaininfo>
  49. <purcconnoinfo>
  50. <maxpurcconno>
  51. <purcconno/>
  52. </maxpurcconno>
  53. </purcconnoinfo>
  54. </list>
  55. </main>
  56. <send>
  57. <search>
  58. <instcd/>
  59. <wareflag/>
  60. <purccondd/>
  61. <purcconno/>
  62. <teamflag/>
  63. </search>
  64. <save>
  65. <purcconlist/>
  66. </save>
  67. <nosearch>
  68. <instcd/>
  69. <purccondd/>
  70. </nosearch>
  71. </send>
  72. <init>
  73. </init>
  74. <temp>
  75. </temp>
  76. </root>
  77. </instance>
  78. <submission id="TRRSP00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list/purcconinfo"/>
  79. <submission id="TRRSP00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/nosearch" resultref="/root/main/list/purcconnoinfo"/>
  80. <submission id="TXRSP00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  81. </model>
  82. <script type="javascript" ev:event="xforms-ready">
  83. <![CDATA[
  84. fInitialize();
  85. //출력물일 경우 컨트롤를 제어한다.
  86. fPrtConDisabledControl(true);
  87. ]]>
  88. </script>
  89. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  92. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  93. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  94. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  95. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  96. <script type="javascript" src="../../../mis/purccontweb/js/RSP001.js"/>
  97. <script type="javascript">
  98. <![CDATA[]]>
  99. </script>
  100. </xhtml:head>
  101. <xhtml:body guideline="1,1368;" style="font-family:굴림; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  102. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  103. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">공통 계약 및 지출결의서 출력</caption>
  104. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  105. </group>
  106. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  107. <group id="grp_search" style="left:0px; top:17px; width:1195px; height:48px; vertical-align:top; ">
  108. <caption id="cap_allsizespecid" class="search_name" style="left:975px; top:10px; width:111px; height:17px; ">규격코드 :</caption>
  109. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  110. <button id="btn_search" class="btn1_letter2" style="left:1065px; top:7px; width:56px; height:22px; ">
  111. <caption>조회</caption>
  112. <script type="javascript" ev:event="DOMActivate">
  113. <![CDATA[
  114. fSearch();
  115. //출력물일 경우 컨트롤를 제어한다.
  116. fPrtConDisabledControl(true);
  117. model.makeValue("/root/main/list/purcconinfo/purcconmainlist/titlecd", "1");
  118. ]]>
  119. </script>
  120. </button>
  121. <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; ">
  122. <choices>
  123. <itemset nodeset="/root/main/init">
  124. <label ref="cnstnm"/>
  125. <value ref="cnstcd"/>
  126. </itemset>
  127. </choices>
  128. </select1>
  129. <caption id="cap_instcd" class="search_name" style="left:8px; top:10px; width:86px; height:17px; ">기관코드 :</caption>
  130. <input id="cal_purccondd_search" ref="/root/send/search/purccondd" navindex="1" inputtype="date" style="left:596px; top:10px; width:105px; height:19px; ">
  131. <script type="javascript" ev:event="xforms-value-changed">
  132. <![CDATA[
  133. model.setValue("/root/send/nosearch/instcd" , model.getValue(cmb_instcd.attribute("ref")));
  134. model.setValue("/root/send/nosearch/purccondd" , model.getValue(cal_purccondd_search.attribute("ref")));
  135. if (submit("TRRSP00102")){
  136. var purcconno = model.getValue("/root/main/list/purcconnoinfo/maxpurcconno/purcconno");
  137. model.setValue(ipt_purcconno_search.attribute("ref"), purcconno);
  138. }
  139. model.setValue("/root/send/nosearch/instcd" , "");
  140. model.setValue("/root/send/nosearch/purccondd" , "");
  141. model.refresh();
  142. ]]>
  143. </script>
  144. </input>
  145. <caption id="caption20" class="search_name" style="left:505px; top:10px; width:96px; height:17px; vertical-align:middle; ">계약일자 :</caption>
  146. <line id="line30" class="line_4" style="x1:1055px; y1:3px; x2:1055px; y2:35px; "/>
  147. <caption id="caption2" class="search_name" style="left:250px; top:10px; width:106px; height:17px; ">창고 구분 :</caption>
  148. <select1 id="cmb_wareflag_search" ref="/root/send/search/wareflag" appearance="minimal" style="left:346px; top:10px; width:134px; height:19px; ">
  149. <choices>
  150. <itemset nodeset="/root/init/wareflag">
  151. <label ref="cdnm"/>
  152. <value ref="cdid"/>
  153. </itemset>
  154. </choices>
  155. </select1>
  156. <input id="ipt_purcconno_search" ref="/root/send/search/purcconno" class="input_default" navindex="2" maxlength="4" style="left:710px; top:10px; width:75px; height:19px; text-align:center; ">
  157. <script type="javascript" ev:event="onkeyup">
  158. <![CDATA[
  159. inputEnterKey("btn_search", "DOMActivate");
  160. ]]>
  161. </script>
  162. </input>
  163. <button id="btn_save" class="btn4_letter2" style="left:1126px; top:7px; width:56px; height:22px; ">
  164. <caption>저장</caption>
  165. <script type="javascript" ev:event="DOMActivate">
  166. <![CDATA[
  167. fSave();
  168. ]]>
  169. </script>
  170. </button>
  171. <input id="ipt_teamflag" ref="/root/send/search/teamflag" class="input_default" disabled="true" visibility="hidden" style="left:795px; top:10px; width:60px; height:19px; text-align:center; "/>
  172. </group>
  173. <line id="line1" class="line_1" style="x1:0px; y1:93px; x2:1190px; y2:93px; "/>
  174. <caption id="caption1" class="tit_2" style="left:0px; top:74px; width:180px; height:14px; ">구매계약 관리</caption>
  175. <button id="btn_choidel" class="btn2_letter3" style="left:1082px; top:71px; width:53px; height:19px; ">
  176. <caption>행삭제</caption>
  177. <script type="javascript" ev:event="DOMActivate">
  178. <![CDATA[
  179. fRowDel();
  180. //fDelSetting(grd_purccon);
  181. ]]>
  182. </script>
  183. </button>
  184. <button id="btn_excel" class="btn2_letter2" style="left:1140px; top:71px; width:42px; height:19px; ">
  185. <caption>엑셀</caption>
  186. <script type="javascript" ev:event="DOMActivate">
  187. <![CDATA[
  188. misfSaveExcel(grd_purccon);
  189. ]]>
  190. </script>
  191. </button>
  192. <line id="line2" class="line_1" style="x1:0px; y1:255px; x2:1190px; y2:255px; "/>
  193. <button id="btn_purccon" class="btn2_letter4" style="left:1015px; top:71px; width:64px; height:19px; ">
  194. <caption>품의요구</caption>
  195. <script type="javascript" ev:event="DOMActivate">
  196. <![CDATA[
  197. if (fDataValiChk() == false) return;
  198. model.removenode("/root/copynode");
  199. model.removenode(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  200. model.makeNode("/root/copynode");
  201. setParameter("SMRSP00100_parainfo", model.getValue(ipt_acntcd.attribute("ref")));
  202. modal("SPRSP00200");
  203. var cur_row = grd_purccon.row;
  204. var status = grd_purccon.valueMatrix(cur_row, grd_purccon.colRef("m"));
  205. var CSV = model.getValue(gvParamPath +"/SMRSD00400_/SMRSD00400_value");
  206. setCSVToNode("/root/copynode", CSV, "purcconsublist");
  207. fDataSet("/root/copynode", "purcconsublist");
  208. if (grd_purccon.rows - grd_purccon.fixedRows == 0){
  209. ipt_acntcd.disabled = false;
  210. btn_acntcd.disabled = false;
  211. }else{
  212. fGetGoodcntnm();
  213. ipt_acntcd.disabled = true;
  214. btn_acntcd.disabled = true;
  215. }
  216. for (var i = grd_purccon.fixedRows; i <= grd_purccon.rows ; i++) {
  217. grd_purccon.valueMatrix(i, grd_purccon.colRef("conamt")) = parseFloat(grd_purccon.valueMatrix(i, grd_purccon.colRef("congoodunitcost"))) * parseFloat(grd_purccon.valueMatrix(i, grd_purccon.colRef("conqty")));
  218. }
  219. fDispSumAmt();
  220. model.refresh();
  221. ]]>
  222. </script>
  223. </button>
  224. <button id="btn_insert" class="btn2_letter2" style="left:969px; top:71px; width:42px; height:19px; ">
  225. <caption>입력</caption>
  226. <script type="javascript" ev:event="DOMActivate">
  227. <![CDATA[
  228. fInpt();
  229. ]]>
  230. </script>
  231. </button>
  232. <input id="ipt_newyn" ref="/root/main/list/purcconinfo/purcconmainlist/newyn" class="input_default" disabled="true" visibility="hidden" maxlength="1" style="left:124px; top:72px; width:61px; height:19px; text-align:center; "/>
  233. <select id="chk_updtgoodcntyn" ref="/root/main/list/purcconinfo/purcconmainlist/updtgoodcntyn" overflow="visible" appearance="full" style="left:300px; top:72px; width:15px; height:15px; border-style:none; ">
  234. <choices>
  235. <item>
  236. <label/>
  237. <value>Y</value>
  238. </item>
  239. </choices>
  240. <script type="javascript" ev:event="xforms-value-changed">
  241. <![CDATA[
  242. var updtgoodcntyn = model.getValue(chk_updtgoodcntyn.attribute("ref"));
  243. if (updtgoodcntyn == "Y"){
  244. ipt_goodcntnm.disabled = "false";
  245. }else{
  246. ipt_goodcntnm.disabled = "true";
  247. }
  248. ]]>
  249. </script>
  250. </select>
  251. <caption id="caption3" class="search_name" style="left:190px; top:72px; width:114px; height:17px; ">품건명 수정 :</caption>
  252. <caption id="caption36" class="cell_1" style="left:429px; top:100px; width:90px; height:23px; vertical-align:middle; ">팀구분</caption>
  253. <line id="line18" class="line_2" style="x1:0px; y1:124px; x2:1195px; y2:124px; "/>
  254. <line id="line8" class="line_2" style="x1:0px; y1:227px; x2:1190px; y2:227px; "/>
  255. <line id="line9" class="line_2" style="x1:0px; y1:253px; x2:1190px; y2:253px; "/>
  256. <input id="ipt_suppos" ref="/root/main/list/purcconinfo/purcconmainlist/suppos" class="input_default" disabled="false" style="left:93px; top:152px; width:307px; height:19px; text-align:left; padding-left:10; "/>
  257. <input id="ipt_cmt" ref="/root/main/list/purcconinfo/purcconmainlist/cmt" class="input_default" disabled="false" style="left:93px; top:205px; width:1087px; height:19px; text-align:left; padding-left:10; "/>
  258. <caption id="caption21" class="cell_1" style="left:595px; top:176px; width:70px; height:23px; vertical-align:middle; ">보증금</caption>
  259. <button id="btn_suplplcecd" class="icon_search" style="left:190px; top:130px; width:16px; height:16px; ">
  260. <caption/>
  261. <script type="javascript" ev:event="DOMActivate">
  262. <![CDATA[
  263. rszfOpenPopUpListByWndName(ipt_suplplcecd,"","suplplcecd,suplplcenm","SPRSD00220","instcd","cmb_instcd");
  264. model.refresh();
  265. ]]>
  266. </script>
  267. </button>
  268. <caption id="caption10" class="cell_1" style="left:640px; top:125px; width:75px; height:23px; vertical-align:middle; ">담당자</caption>
  269. <caption id="caption22" class="cell_1" style="left:710px; top:151px; width:90px; height:23px; vertical-align:middle; ">총 계약금액</caption>
  270. <caption id="caption11" class="cell_1" style="left:660px; top:100px; width:90px; height:23px; vertical-align:middle; ">계정과목</caption>
  271. <caption id="caption12" class="cell_1" style="left:0px; top:151px; width:90px; height:23px; vertical-align:middle; ">납품장소</caption>
  272. <input id="ipt_notino" ref="/root/main/list/purcconinfo/purcconmainlist/notino" class="input_default" disabled="false" style="left:1100px; top:102px; width:80px; height:19px; text-align:right; "/>
  273. <caption id="caption25" class="cell_1" style="left:0px; top:203px; width:90px; height:23px; vertical-align:middle; ">기타조건</caption>
  274. <caption id="caption26" class="cell_1" style="left:0px; top:228px; width:90px; height:23px; vertical-align:middle; ">계약기간</caption>
  275. <input id="ipt_congrntamt" ref="/root/main/list/purcconinfo/purcconmainlist/congrntamt" class="input_default" disabled="false" format="#,###" style="left:669px; top:177px; width:112px; height:19px; text-align:right; "/>
  276. <caption id="caption15" class="cell_1" style="left:405px; top:126px; width:90px; height:23px; vertical-align:middle; ">납품일</caption>
  277. <input id="ipt_totconamt" ref="/root/main/list/purcconinfo/purcconmainlist/totconamt" class="input_default" disabled="true" format="#,###" style="left:803px; top:152px; width:146px; height:19px; text-align:right; "/>
  278. <line id="line3" class="line_2" style="x1:0px; y1:149px; x2:650px; y2:149px; "/>
  279. <line id="line4" class="line_2" style="x1:0px; y1:149px; x2:1190px; y2:149px; "/>
  280. <caption id="caption17" class="cell_1" style="left:0px; top:126px; width:90px; height:23px; vertical-align:middle; ">납품처</caption>
  281. <line id="line5" class="line_2" style="x1:0px; y1:174px; x2:1190px; y2:174px; "/>
  282. <line id="line6" class="line_2" style="x1:0px; y1:200px; x2:1190px; y2:200px; "/>
  283. <output id="opt_suplplcenm" ref="/root/main/list/purcconinfo/purcconmainlist/suplplcenm" class="output_fix" style="left:209px; top:128px; width:191px; height:19px; text-align:left; padding-left:10; "/>
  284. <input id="cal_supdd" ref="/root/main/list/purcconinfo/purcconmainlist/supdd" inputtype="date" style="left:498px; top:128px; width:137px; height:19px; text-align:center; "/>
  285. <input id="ipt_suplplcecd" ref="/root/main/list/purcconinfo/purcconmainlist/suplplcecd" class="input_default" style="left:94px; top:128px; width:91px; height:19px; text-align:center; ">
  286. <script type="javascript" ev:event="xforms-value-changed">
  287. <![CDATA[
  288. if(ipt_suplplcecd.value.length == 0)
  289. ipt_suplplcenm.value = "";
  290. else
  291. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  292. model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_suplplcecd.attribute("ref")),"","suplplcecd,suplplcenm" ,
  293. ipt_suplplcecd,"SPRSD00220","instcd","cmb_instcd");
  294. model.refresh();
  295. ]]>
  296. </script>
  297. </input>
  298. <select1 id="cmb_teamflag" ref="/root/main/list/purcconinfo/purcconmainlist/teamflag" appearance="minimal" style="left:523px; top:102px; width:132px; height:19px; text-align:left; padding-left:10; ">
  299. <choices>
  300. <itemset nodeset="/root/init/wareflag">
  301. <label ref="cdnm"/>
  302. <value ref="cdid"/>
  303. </itemset>
  304. </choices>
  305. </select1>
  306. <output id="opt_acntnm" ref="/root/main/list/purcconinfo/purcconmainlist/acntnm" class="output_fix" appearance="output" style="left:851px; top:102px; width:150px; height:19px; text-align:left; padding-left:10; "/>
  307. <input id="ipt_acntcd" ref="/root/main/list/purcconinfo/purcconmainlist/acntcd" class="input_essential" style="left:754px; top:102px; width:76px; height:19px; text-align:center; ">
  308. <script type="javascript" ev:event="xforms-value-changed">
  309. <![CDATA[
  310. rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_acntcd.attribute("ref")) ,"","acntcd,acntnm" ,ipt_acntcd,"PPRAC00100","","");
  311. model.refresh();
  312. model.setFocus("ipt_amtacnt");
  313. ]]>
  314. </script>
  315. <script type="javascript" ev:event="onkeydown">
  316. <![CDATA[
  317. if(event.keyCode == 9)
  318. {
  319. if(event.shiftKey)model.setFocus("cmb_lrgcd");
  320. else model.setFocus("ipt_amtacnt");
  321. }
  322. //event.preventDefault();
  323. ]]>
  324. </script>
  325. </input>
  326. <button id="btn_acntcd" class="icon_search" style="left:832px; top:102px; width:16px; height:16px; ">
  327. <caption/>
  328. <script type="javascript" ev:event="DOMActivate">
  329. <![CDATA[
  330. rszfOpenPopUpListByWndName(ipt_acntcd,"","acntcd,acntnm","PPRAC00100","","");
  331. model.refresh();
  332. ]]>
  333. </script>
  334. </button>
  335. <input id="cal_purccondd" ref="/root/main/list/purcconinfo/purcconmainlist/purccondd" inputtype="date" format="yyyy-mm-dd" style="left:94px; top:102px; width:146px; height:19px; text-align:center; ">
  336. <script type="javascript" ev:event="xforms-value-changed">
  337. <![CDATA[
  338. model.setValue("/root/send/nosearch/instcd" , model.getValue(cmb_instcd.attribute("ref")));
  339. model.setValue("/root/send/nosearch/purccondd" , model.getValue(cal_purccondd.attribute("ref")));
  340. if (submit("TRRSP00102")){
  341. var purcconno = model.getValue("/root/main/list/purcconnoinfo/maxpurcconno/purcconno");
  342. model.setValue(ipt_purcconno.attribute("ref"), purcconno);
  343. }
  344. model.setValue("/root/send/nosearch/instcd" , "");
  345. model.setValue("/root/send/nosearch/purccondd" , "");
  346. model.refresh();
  347. ]]>
  348. </script>
  349. </input>
  350. <input id="ipt_purcconno" ref="/root/main/list/purcconinfo/purcconmainlist/purcconno" class="input_default" maxlength="4" style="left:244px; top:102px; width:51px; height:19px; text-align:center; "/>
  351. <caption id="cap_purccondd" class="cell_1" style="left:0px; top:100px; width:90px; height:23px; vertical-align:middle; ">계약일자/NO</caption>
  352. <caption id="caption7" class="cell_1" style="left:300px; top:100px; width:60px; height:23px; vertical-align:middle; ">제종</caption>
  353. <input id="ipt_goodkindcnt" ref="/root/main/list/purcconinfo/purcconmainlist/goodkindcnt" class="input_default" style="left:365px; top:102px; width:57px; height:19px; text-align:right; "/>
  354. <caption id="caption8" class="cell_1" style="left:1005px; top:100px; width:90px; height:23px; vertical-align:middle; ">공고번호</caption>
  355. <caption id="caption9" class="cell_1" style="left:930px; top:125px; width:75px; height:23px; vertical-align:middle; ">하자보수</caption>
  356. <input id="ipt_flwrpirtermyy" ref="/root/main/list/purcconinfo/purcconmainlist/flwrpirtermyy" class="input_search" style="left:1010px; top:127px; width:60px; height:19px; text-align:right; "/>
  357. <input id="ipt_flwrpirper" ref="/root/main/list/purcconinfo/purcconmainlist/flwrpirper" class="input_search" style="left:1100px; top:127px; width:55px; height:19px; text-align:right; "/>
  358. <caption id="caption23" style="left:1075px; top:130px; width:25px; height:17px; font-weight:bold; ">년</caption>
  359. <caption id="caption27" style="left:1160px; top:130px; width:25px; height:17px; font-weight:bold; ">%</caption>
  360. <caption id="caption16" class="cell_1" style="left:0px; top:176px; width:90px; height:23px; vertical-align:middle; ">품건명</caption>
  361. <input id="ipt_goodcntnm" ref="/root/main/list/purcconinfo/purcconmainlist/goodcntnm" class="input_default" disabled="true" style="left:93px; top:177px; width:497px; height:19px; text-align:left; padding-left:10; "/>
  362. <select1 id="cmb_conflag" ref="/root/main/list/purcconinfo/purcconmainlist/conflag" appearance="minimal" style="left:498px; top:152px; width:205px; height:19px; ">
  363. <choices>
  364. <itemset nodeset="/root/init/wareflag">
  365. <label ref="cdnm"/>
  366. <value ref="cdid"/>
  367. </itemset>
  368. </choices>
  369. </select1>
  370. <caption id="caption28" class="cell_1" style="left:405px; top:151px; width:90px; height:23px; vertical-align:middle; ">계약방법</caption>
  371. <caption id="caption13" class="cell_1" style="left:955px; top:151px; width:90px; height:23px; vertical-align:middle; ">지체상금율</caption>
  372. <caption id="caption14" class="cell_1" style="left:787px; top:175px; width:90px; height:23px; vertical-align:middle; ">보증금 환율</caption>
  373. <input id="ipt_grntexchrate" ref="/root/main/list/purcconinfo/purcconmainlist/grntexchrate" class="input_default" disabled="false" style="left:884px; top:177px; width:65px; height:19px; text-align:right; "/>
  374. <input id="cal_expsschedate" ref="/root/main/list/purcconinfo/purcconmainlist/expsschedate" inputtype="date" style="left:1050px; top:177px; width:130px; height:19px; text-align:center; "/>
  375. <caption id="caption18" class="cell_1" style="left:955px; top:176px; width:90px; height:23px; vertical-align:middle; ">지출예정일</caption>
  376. <input id="cal_contermfromdd" ref="/root/main/list/purcconinfo/purcconmainlist/contermfromdd" inputtype="date" format="yyyy-mm-dd" style="left:93px; top:230px; width:146px; height:19px; text-align:center; "/>
  377. <input id="cal_contermtodd" ref="/root/main/list/purcconinfo/purcconmainlist/contermtodd" inputtype="date" format="yyyy-mm-dd" style="left:265px; top:230px; width:146px; height:19px; text-align:center; "/>
  378. <caption id="caption19" style="left:245px; top:233px; width:25px; height:17px; font-weight:bold; ">~</caption>
  379. <caption id="caption24" class="cell_1" style="left:420px; top:228px; width:90px; height:23px; vertical-align:middle; ">미착고정자산</caption>
  380. <select1 id="rdo_hdfamyyn" ref="/root/main/empldata/empllist/hdfamyyn" class="radio_search" disabled="true" navindex="17" appearance="full" cols="4" itemheight="18" itemwidth="50" overflow="visible" style="left:515px; top:231px; width:104px; height:19px; text-align:center; border-style:solid; ">
  381. <choices>
  382. <item>
  383. <label>Yes</label>
  384. <value>Y</value>
  385. </item>
  386. <item>
  387. <label>No</label>
  388. <value>N</value>
  389. </item>
  390. </choices>
  391. </select1>
  392. <input id="ipt_chrgid" ref="/root/main/list/purcconinfo/purcconmainlist/chrgid" class="input_search" style="left:720px; top:127px; width:75px; height:19px; text-align:center; ">
  393. <script type="javascript" ev:event="xforms-value-changed">
  394. <![CDATA[
  395. if(ipt_chrgid.value.length == 0)
  396. ipt_chrgnm.value = "";
  397. else
  398. misfValidationCheck("01-1", "", "chrgid,chrgnm");
  399. model.refresh();
  400. //btn_search.dispatch("DOMActivate");
  401. ]]>
  402. </script>
  403. </input>
  404. <button id="btn_chrgid" class="icon_search" style="left:801px; top:127px; width:16px; height:16px; ">
  405. <caption/>
  406. <script type="javascript" ev:event="DOMActivate">
  407. <![CDATA[
  408. misfOpenPopUpList("01", ipt_chrgid, "", "chrgid,chrgnm");
  409. model.refresh();
  410. // btn_search.dispatch("DOMActivate");
  411. ]]>
  412. </script>
  413. </button>
  414. <input id="ipt_chrgnm" ref="/root/main/list/purcconinfo/purcconmainlist/chrgnm" class="output_search" appearance="input" style="left:820px; top:127px; width:105px; height:19px; text-align:left; padding-left:10; ">
  415. <script type="javascript" ev:event="xforms-value-changed">
  416. <![CDATA[
  417. if(ipt_chrgnm.value.length == 0)
  418. ipt_chrgid.value = "";
  419. else
  420. misfValidationCheck("01-2", "", "chrgid,chrgnm");
  421. model.refresh();
  422. // btn_search.dispatch("DOMActivate");
  423. ]]>
  424. </script>
  425. </input>
  426. <datagrid id="grd_purccon" nodeset="/root/main/list/purcconinfo/purcconsublist" caption="이전 상태값^순번^품목 명칭^계정과목^규격^단위^BOX수^품의량^품의단가^계약량^계약단가^금액^최종 입고일^검수 YN^환율^기관코드^물품구분코드^계약일자^계약번호^물품코드^ALLSIZE구분^계정코드^제종^팀구분^공고번호^납품처코드^납품일^담당자id^하자보수년수^하자보수퍼센트^납품장소^계약구분^총계약금액^품건명^보증금^보증금환율^지출예정일^지체상금율^기타조건^계약기간(from)^계약기간(to)^품의요구일자^품의요구번호^품의요구순번^신규여부" colsep="^" colwidth="36, 63, 216, 139, 178, 64, 54, 61, 91, 61, 106, 143, 104, 70, 80, 19, 16, 18, 19, 17, 29, 22, 15, 30, 19, 29, 24, 22, 19, 19, 23, 21, 21, 29, 31, 31, 16, 24, 21, 16, 21, 20, 17, 20, 15" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:0px; top:262px; width:1190px; height:443px; font-weight:normal; text-align:center; ">
  427. <col ref="prestatus" visibility="hidden" style="text-align:center; "/>
  428. <col ref="purcconseq" style="text-align:center; "/>
  429. <col ref="goodnm" style="text-align:left; padding-left:10; "/>
  430. <col ref="acntnm" style="text-align:left; padding-left:10; "/>
  431. <col ref="goodspec" style="text-align:left; padding-left:10; "/>
  432. <col ref="conunit" style="text-align:left; padding-left:10; "/>
  433. <col ref="reqpackcntperunit" format="#,###" style="text-align:right; "/>
  434. <col ref="cnsttnqty" format="#,###" style="text-align:right; "/>
  435. <col ref="cnsttngoodunitcost" format="#,###" style="text-align:right; "/>
  436. <col ref="conqty" type="input" format="#,###" style="text-align:right; "/>
  437. <col ref="congoodunitcost" type="input" format="#,###" style="text-align:right; "/>
  438. <col ref="conamt" format="#,###" style="text-align:right; "/>
  439. <col ref="lastwindd" format="yyyy-mm-dd" style="text-align:center; "/>
  440. <col checkvalue="Y,N" disabled="true" ref="chkyn" type="checkbox" style="text-align:center; "/>
  441. <col ref="goodexchrate" format="#,###" style="text-align:right; "/>
  442. <col ref="instcd" visibility="hidden" style="text-align:center; "/>
  443. <col ref="goodflag" visibility="hidden" style="text-align:center; "/>
  444. <col ref="purccondd" visibility="hidden" style="text-align:center; "/>
  445. <col ref="purcconno" visibility="hidden" style="text-align:center; "/>
  446. <col ref="goodcd" visibility="hidden" style="text-align:center; "/>
  447. <col ref="allsizespecid" visibility="hidden" style="text-align:center; "/>
  448. <col ref="acntcd" visibility="hidden" style="text-align:center; "/>
  449. <col ref="goodkindcnt" visibility="hidden" style="text-align:center; "/>
  450. <col ref="teamflag" visibility="hidden" style="text-align:center; "/>
  451. <col ref="notino" visibility="hidden" style="text-align:center; "/>
  452. <col ref="suplplcecd" visibility="hidden" style="text-align:center; "/>
  453. <col ref="supdd" visibility="hidden" style="text-align:center; "/>
  454. <col ref="chrgid" visibility="hidden" style="text-align:center; "/>
  455. <col ref="flwrpirtermyy" visibility="hidden" style="text-align:center; "/>
  456. <col ref="flwrpirper" visibility="hidden" style="text-align:center; "/>
  457. <col ref="suppos" visibility="hidden" style="text-align:center; "/>
  458. <col ref="conflag" visibility="hidden" style="text-align:center; "/>
  459. <col ref="totconamt" visibility="hidden" style="text-align:center; "/>
  460. <col ref="goodcntnm" visibility="hidden" style="text-align:center; "/>
  461. <col ref="congrntamt" visibility="hidden" style="text-align:center; "/>
  462. <col ref="grntexchrate" visibility="hidden" style="text-align:center; "/>
  463. <col ref="expsschedate" visibility="hidden" style="text-align:center; "/>
  464. <col ref="deftconratecd" visibility="hidden" style="text-align:center; "/>
  465. <col ref="cmt" visibility="hidden" style="text-align:center; "/>
  466. <col ref="contermfromdd" visibility="hidden" style="text-align:center; "/>
  467. <col ref="contermtodd" visibility="hidden" style="text-align:center; "/>
  468. <col ref="purccnsttndd" visibility="hidden" style="text-align:center; "/>
  469. <col ref="purccnsttnno" visibility="hidden" style="text-align:center; "/>
  470. <col ref="purccnsttnseq" visibility="hidden" style="text-align:center; "/>
  471. <col ref="newyn" visibility="hidden" style="text-align:center; "/>
  472. <script type="javascript" ev:event="onbuttonclick">
  473. <![CDATA[
  474. //rszfOpenPopUpListByWndName(grd_purccon,"","goodcd,goodnm","SPRSD00190","instcd,goodflag","cmb_instcd,cmb_goodflag");
  475. ]]>
  476. </script>
  477. <script type="javascript" ev:event="xforms-value-changed">
  478. <![CDATA[
  479. fCalcAmt();
  480. fDispSumAmt();
  481. ]]>
  482. </script>
  483. </datagrid>
  484. <select1 id="cmb_deftconratecd" ref="/root/main/list/purcconinfo/purcconmainlist/deftconratecd" appearance="minimal" style="left:1050px; top:152px; width:130px; height:19px; ">
  485. <choices>
  486. <itemset nodeset="/root/init/wareflag">
  487. <label ref="cdnm"/>
  488. <value ref="cdid"/>
  489. </itemset>
  490. </choices>
  491. </select1>
  492. <input id="ipt_purccnsttnno" ref="/root/main/list/purcconinfo/purcconmainlist/purccnsttnno" class="input_default" disabled="true" visibility="hidden" maxlength="4" style="left:625px; top:70px; width:51px; height:19px; text-align:center; "/>
  493. <input id="cal_purccnsttndd" ref="/root/main/list/purcconinfo/purcconmainlist/purccnsttndd" disabled="true" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:475px; top:70px; width:146px; height:19px; text-align:center; "/>
  494. <caption id="caption5" class="tit_2" visibility="hidden" style="left:388px; top:72px; width:105px; height:14px; ">품의번호 :</caption>
  495. <output id="output1" ref="/root/main/list/purcconinfo/purcconmainlist/prsdnm" class="output_fix" visibility="hidden" style="left:235px; top:130px; width:81px; height:19px; text-align:left; padding-left:10; "/>
  496. <output id="output2" ref="/root/main/list/purcconinfo/purcconmainlist/addr" class="output_fix" visibility="hidden" style="left:320px; top:130px; width:81px; height:19px; text-align:left; padding-left:10; "/>
  497. <output id="output3" ref="/root/main/list/purcconinfo/purcconmainlist/backnm" class="output_fix" visibility="hidden" style="left:685px; top:70px; width:81px; height:19px; text-align:left; padding-left:10; "/>
  498. <output id="output4" ref="/root/main/list/purcconinfo/purcconmainlist/depor" class="output_fix" visibility="hidden" style="left:770px; top:70px; width:81px; height:19px; text-align:left; padding-left:10; "/>
  499. <output id="output5" ref="/root/main/list/purcconinfo/purcconmainlist/aactno" class="output_fix" visibility="hidden" style="left:855px; top:70px; width:81px; height:19px; text-align:left; padding-left:10; "/>
  500. </group>
  501. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  502. <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  503. <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
  504. <caption>초기화</caption>
  505. <script type="javascript" ev:event="DOMActivate">
  506. <![CDATA[
  507. fInitialize();
  508. //출력물일 경우 컨트롤를 제어한다.
  509. fPrtConDisabledControl(true);
  510. ]]>
  511. </script>
  512. </button>
  513. <button id="btn_prnt" class="btn6_letter2" style="left:0px; top:5px; width:120px; height:22px; ">
  514. <caption>출력</caption>
  515. <script type="javascript" ev:event="DOMActivate">
  516. <![CDATA[
  517. var nodelist = instance1.selectNodes("/root/main/list/purcconinfo/purcconsublist").length;
  518. var ComFlag = model.getValue("/root/main/list/purcconinfo/purcconmainlist/conflag");
  519. var SumContnqty = 0;
  520. model.removeNodeset("/root/prtinfo/purcconinfo");
  521. model.makeNode("/root/prtinfo/purcconinfo");
  522. for(var i = grd_purccon.fixedRows;i < grd_purccon.rows;i++){
  523. model.makeValue("/root/main/list/purcconinfo/purcconsublist["+i+"]/gridseqno",i);
  524. SumContnqty = SumContnqty+parseFloat(grd_purccon.valueMatrix(i,grd_purccon.colRef("conqty")));
  525. }
  526. copyNodesetType("/root/prtinfo/purcconinfo","/root/main/list/purcconinfo","replace");
  527. // [2010.11.06] JWOO
  528. // 출력물 타이틀 선택
  529. var ComFlag = model.getValue(rdo_titlecd.attribute("ref"));
  530. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/titlenm",ComFlag);
  531. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/sumcontnqty",SumContnqty);
  532. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/totqty",nodelist);
  533. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/hngtotconamt",model.getValue("/root/main/list/purcconinfo/purcconmainlist/totconamt").setAmountToKorean());
  534. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/hngcongrntamt",model.getValue("/root/main/list/purcconinfo/purcconmainlist/congrntamt").setAmountToKorean());
  535. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/seqno","*"+cal_purccondd.value + ipt_purcconno.value+"*");
  536. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/deftconratenm",cmb_deftconratecd.label);
  537. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/instcdnm",model.getValue("/root/init/RscsysinftLists/rscsysinftlist/instcdnm"));
  538. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/instzip",model.getValue("/root/init/RscsysinftLists/rscsysinftlist/instzip"));
  539. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/instaddr",model.getValue("/root/init/RscsysinftLists/rscsysinftlist/instaddr"));
  540. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/purcdepttel1",model.getValue("/root/init/RscsysinftLists/rscsysinftlist/purcdepttel1"));
  541. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/purcdepttel2",model.getValue("/root/init/RscsysinftLists/rscsysinftlist/purcdepttel2"));
  542. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/purcdeptfax" ,model.getValue("/root/init/RscsysinftLists/rscsysinftlist/purcdeptfax"));
  543. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/prtflag" ,"1");
  544. if(nodelist > 10){
  545. exeReportPreview("RPRSP00104","XMLSTR","/root/prtinfo/purcconinfo", "", "true", "", "", "", "", "true");
  546. exeReportPreview("RPRSP00102","XMLSTR","/root/prtinfo/purcconinfo", "", "true", "", "", "", "", "true");
  547. }else{
  548. exeReportPreview("RPRSP00103","XMLSTR","/root/prtinfo/purcconinfo", "", "true", "", "", "", "", "true");
  549. }
  550. ]]>
  551. </script>
  552. </button>
  553. <caption id="caption29" class="tit_2" visibility="visible" style="left:60px; top:9px; width:79px; height:13px; ">구분 :</caption>
  554. <select1 id="rdo_titlecd" ref="/root/main/list/purcconinfo/purcconmainlist/titlecd" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:113px; top:8px; width:327px; height:15px; border-style:none; ">
  555. <choices>
  556. <item>
  557. <label>물품구입(제조)</label>
  558. <value>물품구입(제조)</value>
  559. </item>
  560. <item>
  561. <label>단가납품지시</label>
  562. <value>단가납품지시</value>
  563. </item>
  564. <item>
  565. <label>급식재료 경쟁</label>
  566. <value>급식재료 경쟁</value>
  567. </item>
  568. </choices>
  569. </select1>
  570. </group>
  571. </xhtml:body>
  572. </xhtml:html>