SMRSP00300_총액품목 변경단가계약서 출력.xrw 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  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. <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. <purcconnoinfo>
  47. <maxpurcconno>
  48. <purcconno/>
  49. </maxpurcconno>
  50. </purcconnoinfo>
  51. <prntpurcconinfo>
  52. <prntpurcconlist>
  53. <prntpurccondd/>
  54. <prntpurcconfromdd/>
  55. <prntpurccontodd/>
  56. </prntpurcconlist>
  57. </prntpurcconinfo>
  58. </list>
  59. </main>
  60. <send>
  61. <search>
  62. <instcd/>
  63. <wareflag/>
  64. <purccondd/>
  65. <purcconno/>
  66. </search>
  67. <save>
  68. <purcconlist/>
  69. </save>
  70. <nosearch>
  71. <instcd/>
  72. <purccondd/>
  73. </nosearch>
  74. </send>
  75. <init>
  76. </init>
  77. <temp>
  78. </temp>
  79. </root>
  80. </instance>
  81. <script type="javascript">
  82. <![CDATA[
  83. // 초기화하기
  84. function fInitialize()
  85. {
  86. // 금일 날자 설정
  87. var curdate = getCurrentDate();
  88. var cvtdate = curdate.toDate("YYYYMMDD");
  89. misfComboComCdList("030M0001",cmb_wareflag_search);
  90. misfComboComCdList("030M0008",cmb_deftconratecd);
  91. misfComboComCdListMulti("Z0007","cmb_instcd");
  92. model.setValue("/root/send/search/instcd", getUserInfo("dutplceinstcd")); // 기관 설정
  93. addComboItem( "cmb_wareflag_search", "전체", "", "above");
  94. // 병원정보를 가져오기
  95. rszfRscsysinftLists(getUserInfo("dutplceinstcd"));
  96. model.setValue(cal_purccondd_search.attribute("ref") , curdate);
  97. model.setValue("/root/send/nosearch/instcd" , model.getValue(cmb_instcd.attribute("ref")));
  98. model.setValue("/root/send/nosearch/purccondd" , model.getValue(cal_purccondd_search.attribute("ref")));
  99. if (submit("TRRSP00102")){
  100. var purcconno = model.getValue("/root/main/list/purcconnoinfo/maxpurcconno/purcconno");
  101. model.setValue(ipt_purcconno_search.attribute("ref"), purcconno);
  102. }
  103. model.setValue("/root/send/nosearch/instcd" , "");
  104. model.setValue("/root/send/nosearch/purccondd" , "");
  105. model.makeValue(cal_prntpurccondd.attribute("ref") , curdate);
  106. model.makeValue(cal_prntpurcconfromdd.attribute("ref") , curdate);
  107. model.makeValue(cal_prntpurccontodd.attribute("ref") , cvtdate.getAddDate(1,"M").getDateFormat("YYYYMMDD"));
  108. btn_search.dispatch("DOMActivate");
  109. model.refresh();
  110. }
  111. ]]>
  112. </script>
  113. <submission id="TRRSP00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/list/purcconinfo"/>
  114. <submission id="TRRSP00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/nosearch" resultref="/root/main/list/purcconnoinfo"/>
  115. <submission id="TXRSP00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  116. </model>
  117. <script type="javascript" ev:event="xforms-ready">
  118. <![CDATA[
  119. //화면 Control을 초기화한다
  120. fInitialize();
  121. ]]>
  122. </script>
  123. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  124. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  125. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  126. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  127. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  128. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  129. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  130. <script type="javascript">
  131. <![CDATA[]]>
  132. </script>
  133. </xhtml:head>
  134. <xhtml:body guideline="1,1368;" style="font-family:굴림; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  135. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  136. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:230px; height:14px; ">총액품목 변경단가 조회</caption>
  137. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  138. </group>
  139. <group id="group3" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  140. <group id="grp_search" style="left:0px; top:17px; width:1195px; height:48px; vertical-align:top; ">
  141. <caption id="cap_allsizespecid" class="search_name" style="left:975px; top:10px; width:111px; height:17px; ">규격코드 :</caption>
  142. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  143. <button id="btn_search" class="btn1_letter2" style="left:1120px; top:7px; width:56px; height:22px; ">
  144. <caption>조회</caption>
  145. <script type="javascript" ev:event="DOMActivate">
  146. <![CDATA[
  147. var curdate = getCurrentDate();
  148. var cvtdate = curdate.toDate("YYYYMMDD");
  149. var spath = "/root/main/list/purcconinfo"
  150. model.removeNodeset(spath);
  151. submit("TRRSP00101");
  152. model.makeValue("/root/main/list/purcconinfo/purcconmainlist/titlecd", "1");
  153. model.refresh();
  154. ]]>
  155. </script>
  156. </button>
  157. <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; ">
  158. <choices>
  159. <itemset nodeset="/root/main/init">
  160. <label ref="cnstnm"/>
  161. <value ref="cnstcd"/>
  162. </itemset>
  163. </choices>
  164. </select1>
  165. <caption id="cap_instcd" class="search_name" style="left:8px; top:10px; width:86px; height:17px; ">기관코드 :</caption>
  166. <input id="cal_purccondd_search" ref="/root/send/search/purccondd" navindex="1" inputtype="date" style="left:596px; top:10px; width:105px; height:19px; text-align:center; ">
  167. <script type="javascript" ev:event="xforms-value-changed">
  168. <![CDATA[
  169. model.setValue("/root/send/nosearch/instcd" , model.getValue(cmb_instcd.attribute("ref")));
  170. model.setValue("/root/send/nosearch/purccondd" , model.getValue(cal_purccondd_search.attribute("ref")));
  171. if (submit("TRRSP00102")){
  172. var purcconno = model.getValue("/root/main/list/purcconnoinfo/maxpurcconno/purcconno");
  173. model.setValue(ipt_purcconno_search.attribute("ref"), purcconno);
  174. }
  175. model.setValue("/root/send/nosearch/instcd" , "");
  176. model.setValue("/root/send/nosearch/purccondd" , "");
  177. model.refresh();
  178. ]]>
  179. </script>
  180. </input>
  181. <caption id="caption20" class="search_name" style="left:505px; top:10px; width:96px; height:17px; vertical-align:middle; ">계약일자 :</caption>
  182. <line id="line30" class="line_4" style="x1:1110px; y1:3px; x2:1110px; y2:35px; "/>
  183. <caption id="caption2" class="search_name" style="left:250px; top:10px; width:106px; height:17px; ">창고 구분 :</caption>
  184. <select1 id="cmb_wareflag_search" ref="/root/send/search/wareflag" appearance="minimal" style="left:346px; top:10px; width:134px; height:19px; ">
  185. <choices>
  186. <itemset nodeset="/root/init/wareflag">
  187. <label ref="cdnm"/>
  188. <value ref="cdid"/>
  189. </itemset>
  190. </choices>
  191. </select1>
  192. <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; ">
  193. <script type="javascript" ev:event="onkeyup">
  194. <![CDATA[
  195. inputEnterKey("btn_search", "DOMActivate");
  196. ]]>
  197. </script>
  198. </input>
  199. </group>
  200. <line id="line1" class="line_1" style="x1:0px; y1:93px; x2:1190px; y2:93px; "/>
  201. <caption id="caption1" class="tit_2" style="left:0px; top:74px; width:180px; height:14px; ">총액품목 변경단가 조회</caption>
  202. <button id="btn_excel" class="btn2_letter2" style="left:1140px; top:71px; width:42px; height:19px; ">
  203. <caption>엑셀</caption>
  204. <script type="javascript" ev:event="DOMActivate">
  205. <![CDATA[
  206. misfSaveExcel(grd_purccon);
  207. ]]>
  208. </script>
  209. </button>
  210. <line id="line2" class="line_1" style="x1:0px; y1:175px; x2:1190px; y2:175px; "/>
  211. <line id="line18" class="line_2" style="x1:0px; y1:124px; x2:1195px; y2:124px; "/>
  212. <line id="line9" class="line_2" style="x1:0px; y1:253px; x2:1190px; y2:253px; "/>
  213. <input id="ipt_suppos" ref="/root/main/list/purcconinfo/purcconmainlist/suppos" class="input_default" disabled="true" style="left:738px; top:126px; width:447px; height:19px; text-align:left; padding-left:10; "/>
  214. <caption id="caption11" class="cell_1" style="left:300px; top:100px; width:90px; height:23px; vertical-align:middle; ">계정과목</caption>
  215. <caption id="caption12" class="cell_1" style="left:645px; top:125px; width:90px; height:23px; vertical-align:middle; ">납품장소</caption>
  216. <caption id="caption26" class="cell_1" style="left:0px; top:150px; width:90px; height:23px; vertical-align:middle; ">계약기간</caption>
  217. <line id="line3" class="line_2" style="x1:0px; y1:149px; x2:650px; y2:149px; "/>
  218. <line id="line4" class="line_2" style="x1:0px; y1:149px; x2:1190px; y2:149px; "/>
  219. <line id="line5" class="line_2" style="x1:0px; y1:174px; x2:1190px; y2:174px; "/>
  220. <output id="opt_acntnm" ref="/root/main/list/purcconinfo/purcconmainlist/acntnm" class="output_fix" appearance="output" style="left:491px; top:102px; width:150px; height:19px; text-align:left; padding-left:10; "/>
  221. <input id="ipt_acntcd" ref="/root/main/list/purcconinfo/purcconmainlist/acntcd" class="input_essential" disabled="true" style="left:394px; top:102px; width:76px; height:19px; text-align:center; ">
  222. <script type="javascript" ev:event="xforms-value-changed">
  223. <![CDATA[
  224. rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_acntcd.attribute("ref")) ,"","acntcd,acntnm" ,ipt_acntcd,"PPRAC00100","","");
  225. model.refresh();
  226. model.setFocus("ipt_amtacnt");
  227. ]]>
  228. </script>
  229. <script type="javascript" ev:event="onkeydown">
  230. <![CDATA[
  231. if(event.keyCode == 9)
  232. {
  233. if(event.shiftKey)model.setFocus("cmb_lrgcd");
  234. else model.setFocus("ipt_amtacnt");
  235. }
  236. //event.preventDefault();
  237. ]]>
  238. </script>
  239. </input>
  240. <button id="btn_acntcd" class="icon_search" disabled="true" style="left:472px; top:102px; width:16px; height:16px; ">
  241. <caption/>
  242. <script type="javascript" ev:event="DOMActivate">
  243. <![CDATA[
  244. rszfOpenPopUpListByWndName(ipt_acntcd,"","acntcd,acntnm","PPRAC00100","","");
  245. model.refresh();
  246. ]]>
  247. </script>
  248. </button>
  249. <input id="cal_purccondd" ref="/root/main/list/purcconinfo/purcconmainlist/purccondd" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:94px; top:102px; width:146px; height:19px; text-align:center; ">
  250. <script type="javascript" ev:event="xforms-value-changed">
  251. <![CDATA[
  252. model.setValue("/root/send/nosearch/instcd" , model.getValue(cmb_instcd.attribute("ref")));
  253. model.setValue("/root/send/nosearch/purccondd" , model.getValue(cal_purccondd.attribute("ref")));
  254. if (submit("TRRSP00102")){
  255. var purcconno = model.getValue("/root/main/list/purcconnoinfo/maxpurcconno/purcconno");
  256. model.setValue(ipt_purcconno.attribute("ref"), purcconno);
  257. }
  258. model.setValue("/root/send/nosearch/instcd" , "");
  259. model.setValue("/root/send/nosearch/purccondd" , "");
  260. model.refresh();
  261. ]]>
  262. </script>
  263. </input>
  264. <input id="ipt_purcconno" ref="/root/main/list/purcconinfo/purcconmainlist/purcconno" class="input_default" disabled="true" maxlength="4" style="left:244px; top:102px; width:51px; height:19px; text-align:center; "/>
  265. <caption id="cap_purccondd" class="cell_1" style="left:0px; top:100px; width:90px; height:23px; vertical-align:middle; ">계약일자/NO</caption>
  266. <caption id="caption16" class="cell_1" style="left:645px; top:100px; width:90px; height:23px; vertical-align:middle; ">계약건명</caption>
  267. <input id="ipt_goodcntnm" ref="/root/main/list/purcconinfo/purcconmainlist/goodcntnm" class="input_default" disabled="true" style="left:738px; top:102px; width:447px; height:19px; text-align:left; padding-left:10; "/>
  268. <caption id="caption13" class="cell_1" style="left:440px; top:125px; width:90px; height:23px; vertical-align:middle; ">지체상금율</caption>
  269. <input id="cal_contermfromdd" ref="/root/main/list/purcconinfo/purcconmainlist/contermfromdd" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:93px; top:152px; width:156px; height:19px; text-align:center; "/>
  270. <input id="cal_contermtodd" ref="/root/main/list/purcconinfo/purcconmainlist/contermtodd" disabled="true" inputtype="date" format="yyyy-mm-dd" style="left:279px; top:152px; width:156px; height:19px; text-align:center; "/>
  271. <caption id="caption19" style="left:260px; top:155px; width:20px; height:17px; font-weight:bold; ">~</caption>
  272. <datagrid id="grd_purccon" nodeset="/root/main/list/purcconinfo/purcconsublist" caption="연번^물품Code^물품Code^품목 명칭^규격^수량^당초단가^변경단가^차액^조정률 %^비고" colsep="^" colwidth="53, 90, 39, 216, 178, 81, 101, 104, 80, 106, 141" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="24" rowsep="|" style="left:0px; top:182px; width:1190px; height:443px; font-weight:normal; text-align:center; ">
  273. <col ref="purcconseq" style="text-align:center; "/>
  274. <col ref="goodcd" visibility="visible" style="text-align:center; "/>
  275. <col ref="allsizespecid" visibility="visible" style="text-align:center; "/>
  276. <col ref="goodnm" style="text-align:left; padding-left:10; "/>
  277. <col ref="goodspec" style="text-align:left; padding-left:10; "/>
  278. <col ref="conqty" type="output" format="#,###" style="text-align:right; "/>
  279. <col ref="congoodunitcost" type="output" format="#,###" style="text-align:right; "/>
  280. <col ref="chnggoodunitcost" type="output" format="#,###" style="text-align:right; "/>
  281. <col ref="difamt" type="output" format="#,###" style="text-align:right; "/>
  282. <col ref="adjtrate" type="output" style="text-align:left; padding-left:10; "/>
  283. <col ref="cmt" style="text-align:left; padding-left:10; "/>
  284. <script type="javascript" ev:event="onbuttonclick">
  285. <![CDATA[
  286. rszfOpenPopUpListByWndName(grd_purccon,"","goodcd,goodnm","SPRSD00190","instcd,goodflag","cmb_instcd,cmb_goodflag");
  287. ]]>
  288. </script>
  289. </datagrid>
  290. <select1 id="cmb_deftconratecd" ref="/root/main/list/purcconinfo/purcconmainlist/deftconratecd" disabled="true" appearance="minimal" style="left:533px; top:126px; width:107px; height:19px; ">
  291. <choices>
  292. <itemset nodeset="/root/init/wareflag">
  293. <label ref="cdnm"/>
  294. <value ref="cdid"/>
  295. </itemset>
  296. </choices>
  297. </select1>
  298. <input id="ipt_purccnsttnno" ref="/root/main/list/purcconinfo/purcconmainlist/purccnsttnno" class="input_default" disabled="true" visibility="hidden" maxlength="4" style="left:910px; top:70px; width:51px; height:19px; text-align:center; "/>
  299. <input id="cal_purccnsttndd" ref="/root/main/list/purcconinfo/purcconmainlist/purccnsttndd" disabled="true" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:845px; top:70px; width:61px; height:19px; text-align:center; "/>
  300. <caption id="caption5" class="tit_2" visibility="hidden" style="left:763px; top:72px; width:105px; height:13px; ">품의번호 :</caption>
  301. <output id="output1" ref="/root/main/list/purcconinfo/purcconmainlist/prsdnm" class="output_fix" visibility="hidden" style="left:245px; top:128px; width:81px; height:19px; text-align:left; padding-left:10; "/>
  302. <output id="output2" ref="/root/main/list/purcconinfo/purcconmainlist/addr" class="output_fix" visibility="hidden" style="left:330px; top:128px; width:81px; height:19px; text-align:left; padding-left:10; "/>
  303. <output id="output3" ref="/root/main/list/purcconinfo/purcconmainlist/backnm" class="output_fix" visibility="hidden" style="left:965px; top:70px; width:51px; height:19px; text-align:left; padding-left:10; "/>
  304. <output id="output4" ref="/root/main/list/purcconinfo/purcconmainlist/depor" class="output_fix" visibility="hidden" style="left:1020px; top:70px; width:50px; height:19px; text-align:left; padding-left:10; "/>
  305. <output id="output5" ref="/root/main/list/purcconinfo/purcconmainlist/aactno" class="output_fix" visibility="hidden" style="left:1075px; top:70px; width:56px; height:19px; text-align:left; padding-left:10; "/>
  306. <input id="ipt_congrntamt" ref="/root/main/list/purcconinfo/purcconmainlist/congrntamt" class="input_default" disabled="true" format="#,###" style="left:334px; top:126px; width:101px; height:19px; text-align:right; "/>
  307. <caption id="caption21" class="cell_1" style="left:245px; top:125px; width:85px; height:23px; vertical-align:middle; ">계약 보증금</caption>
  308. <input id="ipt_totconamt" ref="/root/main/list/purcconinfo/purcconmainlist/totconamt" class="input_default" disabled="true" format="#,###" style="left:94px; top:126px; width:146px; height:19px; text-align:right; "/>
  309. <caption id="caption22" class="cell_1" style="left:0px; top:125px; width:90px; height:23px; vertical-align:middle; ">계약금액</caption>
  310. <input id="ipt_cmt" ref="/root/main/list/purcconinfo/purcconmainlist/cmt" class="input_default" disabled="true" style="left:533px; top:152px; width:672px; height:19px; text-align:left; padding-left:10; "/>
  311. <caption id="caption25" class="cell_1" style="left:-360px; top:203px; width:85px; height:23px; vertical-align:middle; ">기타조건</caption>
  312. <caption id="caption7" class="cell_1" style="left:440px; top:150px; width:90px; height:23px; vertical-align:middle; ">특기사항</caption>
  313. <caption id="caption8" class="search_name" style="left:175px; top:70px; width:96px; height:17px; vertical-align:middle; ">계약일자:</caption>
  314. <input id="cal_prntpurccondd" ref="/root/main/list/prntpurcconinfo/prntpurcconlist/prntpurccondd" navindex="1" inputtype="date" style="left:260px; top:70px; width:105px; height:19px; text-align:center; ">
  315. <script type="javascript" ev:event="xforms-value-changed">
  316. <![CDATA[
  317. ]]>
  318. </script>
  319. </input>
  320. <input id="cal_prntpurcconfromdd" ref="/root/main/list/prntpurcconinfo/prntpurcconlist/prntpurcconfromdd" navindex="1" inputtype="date" style="left:465px; top:70px; width:105px; height:19px; text-align:center; ">
  321. <script type="javascript" ev:event="xforms-value-changed">
  322. <![CDATA[
  323. ]]>
  324. </script>
  325. </input>
  326. <caption id="caption9" class="search_name" style="left:380px; top:70px; width:96px; height:17px; vertical-align:middle; ">계약기간:</caption>
  327. <input id="cal_prntpurccontodd" ref="/root/main/list/prntpurcconinfo/prntpurcconlist/prntpurccontodd" navindex="1" inputtype="date" style="left:595px; top:70px; width:105px; height:19px; text-align:center; ">
  328. <script type="javascript" ev:event="xforms-value-changed">
  329. <![CDATA[
  330. ]]>
  331. </script>
  332. </input>
  333. <caption id="caption10" visibility="visible" style="left:575px; top:72px; width:15px; height:13px; ">~</caption>
  334. </group>
  335. <group id="group4" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  336. <line id="line7" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  337. <button id="btn_init" class="btn4_letter3" style="left:1126; top:3; width:68px; height:22px; ">
  338. <caption>초기화</caption>
  339. <script type="javascript" ev:event="DOMActivate">
  340. <![CDATA[
  341. fInitialize();
  342. ]]>
  343. </script>
  344. </button>
  345. <button id="btn_prnt" class="btn6_letter8" style="left:0px; top:5px; width:120px; height:22px; ">
  346. <caption>변경단가 계약서</caption>
  347. <script type="javascript" ev:event="DOMActivate">
  348. <![CDATA[
  349. var nodelist = instance1.selectNodes("/root/main/list/purcconinfo/purcconsublist").length;
  350. var ComFlag = model.getValue(rdo_titlecd.attribute("ref"));
  351. model.removeNodeset("/root/prtinfo/purcconinfo");
  352. model.makeNode("/root/prtinfo/purcconinfo");
  353. copyNodesetType("/root/prtinfo/purcconinfo","/root/main/list/purcconinfo","replace");
  354. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/titlenm", rdo_titlecd.label);
  355. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/totqty",nodelist);
  356. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/deftconratenm", cmb_deftconratecd.label);
  357. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/hngtotconamt",model.getValue("/root/main/list/purcconinfo/purcconmainlist/totconamt").setAmountToKorean());
  358. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/hngcongrntamt",model.getValue("/root/main/list/purcconinfo/purcconmainlist/congrntamt").setAmountToKorean());
  359. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/seqno","*"+cal_purccondd.value + ipt_purcconno.value+"*");
  360. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/deftconratenm",cmb_deftconratecd.label);
  361. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/instcdnm",model.getValue("/root/init/RscsysinftLists/rscsysinftlist/instcdnm"));
  362. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/instzip",model.getValue("/root/init/RscsysinftLists/rscsysinftlist/instzip"));
  363. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/instaddr",model.getValue("/root/init/RscsysinftLists/rscsysinftlist/instaddr"));
  364. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/purcdepttel1",model.getValue("/root/init/RscsysinftLists/rscsysinftlist/purcdepttel1"));
  365. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/purcdepttel2",model.getValue("/root/init/RscsysinftLists/rscsysinftlist/purcdepttel2"));
  366. model.makeValue("/root/prtinfo/purcconinfo/purcconmainlist/purcdeptfax" ,model.getValue("/root/init/RscsysinftLists/rscsysinftlist/purcdeptfax"));
  367. if(nodelist > 10){
  368. exeReportPreview("RPRSP00302","XMLSTR");
  369. exeReportPreview("RPRSP00303","XMLSTR");
  370. }else{
  371. exeReportPreview("RPRSP00301","XMLSTR");
  372. }
  373. ]]>
  374. </script>
  375. </button>
  376. <select1 id="rdo_titlecd" ref="/root/main/list/purcconinfo/purcconmainlist/titlecd" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:195px; top:10px; width:215px; height:15px; border-style:none; ">
  377. <choices>
  378. <item>
  379. <label>물품구입(제조)</label>
  380. <value>1</value>
  381. </item>
  382. <item>
  383. <label>단가납품지시</label>
  384. <value>2</value>
  385. </item>
  386. </choices>
  387. </select1>
  388. <caption id="caption3" class="tit_2" visibility="visible" style="left:140px; top:10px; width:60px; height:14px; ">title :</caption>
  389. </group>
  390. </xhtml:body>
  391. </xhtml:html>