SPPIE04120_약가변경내역조회.xfdl 56 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPIE04120" position="absolute 0 0 1197 767" titletext="약가생성내역" onload="SPPIE04120_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption1" class="tit_1" position="absolute 0 0 251 25" style="" text="약가 변경 내역 조회"/>
  8. <Div id="Div00" taborder="1" position="absolute 0 25 595 60" class="div_SA" anchor="left top">
  9. <Layouts>
  10. <Layout width="595" height="35">
  11. <Static id="caption4" text="신청분기 :" class="search_name" position="absolute 6 9 95 26" anchor="left top"/>
  12. <Combo id="cmb_appyearmnth" taborder="1" innerdataset="@ds_init_appyearmnth" codecolumn="appyearmnth" datacolumn="appyearmnth" onitemchanged="cmb_appyearmnth_onitemchanged" class="combo_search" position="absolute 95 8 165 27" columncount="-1" rowcount="-1" anchor="left top"/>
  13. <Static id="caption3" text="신청번호 :" class="search_name" position="absolute 180 9 270 26" anchor="left top"/>
  14. <Combo id="cmb_appno" taborder="2" innerdataset="@ds_init_appno" codecolumn="appno" datacolumn="appinfo" onitemclick="cmb_appno_onitemclick" class="combo_search" position="absolute 270 8 420 27" columncount="-1" rowcount="-1" anchor="left top"/>
  15. <Static id="caption5" text="비교 :" class="search_name" position="absolute 440 9 500 26" anchor="left top"/>
  16. <Combo id="cmb_flag" taborder="3" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="cmb_flag_onitemchanged" class="combo_search" position="absolute 505 8 585 27" columncount="-1" rowcount="-1" anchor="left top">
  17. <Dataset id="innerdataset">
  18. <ColumnInfo>
  19. <Column id="codecolumn"/>
  20. <Column id="datacolumn"/>
  21. </ColumnInfo>
  22. <Rows>
  23. <Row>
  24. <Col id="codecolumn">mis</Col>
  25. <Col id="datacolumn">물류내역</Col>
  26. </Row>
  27. <Row>
  28. <Col id="codecolumn">appno</Col>
  29. <Col id="datacolumn">신고내역</Col>
  30. </Row>
  31. <Row>
  32. <Col id="codecolumn">insu</Col>
  33. <Col id="datacolumn">적용약가</Col>
  34. </Row>
  35. </Rows>
  36. </Dataset>
  37. </Combo>
  38. </Layout>
  39. </Layouts>
  40. </Div>
  41. <Grid id="grd_baseh802" binddataset="ds_main_baseinfo_h802list" position="absolute 0 85 595 425" style="" oncellclick="grd_baseh802_oncellclick" onaftersort="grd_baseh802_onaftersort">
  42. <Formats>
  43. <Format id="default">
  44. <Columns>
  45. <Column size="40"/>
  46. <Column size="70"/>
  47. <Column size="80"/>
  48. <Column size="200"/>
  49. <Column size="50"/>
  50. <Column size="60"/>
  51. <Column size="80"/>
  52. </Columns>
  53. <Rows>
  54. <Row size="24" band="head"/>
  55. <Row size="24"/>
  56. </Rows>
  57. <Band id="head">
  58. <Cell/>
  59. <Cell col="1" text="EDI코드"/>
  60. <Cell col="2" text="물품코드"/>
  61. <Cell col="3" text="품명"/>
  62. <Cell col="4" text="규격"/>
  63. <Cell col="5" text="단위"/>
  64. <Cell col="6" text="가중평균가"/>
  65. </Band>
  66. <Band id="body">
  67. <Cell celltype="head" expr="currow+1"/>
  68. <Cell col="1" style="align:left;" text="bind:reptcd"/>
  69. <Cell col="2" style="align:left;" text="bind:goodcd"/>
  70. <Cell col="3" style="align:left;" text="bind:item"/>
  71. <Cell col="4" style="align:right;" text="bind:spec"/>
  72. <Cell col="5" style="align:right;" text="bind:unit"/>
  73. <Cell col="6" displaytype="number" style="align:right;font:arial,9,bold;" text="bind:avg"/>
  74. </Band>
  75. </Format>
  76. </Formats>
  77. </Grid>
  78. <Grid id="grd_baseh803" binddataset="ds_main_baseinfo_h803list" position="absolute 0 424 595 743" style="" anchor="left top bottom">
  79. <Formats>
  80. <Format id="default">
  81. <Columns>
  82. <Column size="35"/>
  83. <Column size="70"/>
  84. <Column size="55"/>
  85. <Column size="75"/>
  86. <Column size="70"/>
  87. <Column size="80"/>
  88. <Column size="80"/>
  89. <Column size="120"/>
  90. </Columns>
  91. <Rows>
  92. <Row size="24" band="head"/>
  93. <Row size="24"/>
  94. </Rows>
  95. <Band id="head">
  96. <Cell/>
  97. <Cell col="1" text="EDI코드"/>
  98. <Cell col="2" text="줄번호"/>
  99. <Cell col="3" text="구입일자"/>
  100. <Cell col="4" text="구입량"/>
  101. <Cell col="5" text="구입총액"/>
  102. <Cell col="6" text="구입단가"/>
  103. <Cell col="7" text="최종수정일시"/>
  104. </Band>
  105. <Band id="body">
  106. <Cell celltype="head" expr="currow+1"/>
  107. <Cell col="1" style="align:left;" text="bind:reptcd"/>
  108. <Cell col="2" text="bind:lnno"/>
  109. <Cell col="3" displaytype="date" text="bind:purcdd"/>
  110. <Cell col="4" displaytype="number" text="bind:purcqty"/>
  111. <Cell col="5" displaytype="number" text="bind:purctotamt"/>
  112. <Cell col="6" displaytype="number" text="bind:purcunitcost"/>
  113. <Cell col="7" displaytype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd HH:mm:ss"/>
  114. </Band>
  115. </Format>
  116. </Formats>
  117. </Grid>
  118. <Static id="caption6" class="tit_2" position="absolute 0 64 100 80" style="" text="신고 내역"/>
  119. <Shape id="line3" class="line_10" linetype="horizontal" position="absolute 0 82 595 85" style="" anchor="default"/>
  120. <Tab id="switch1" position="absolute 600 -2 1195 766" style="border:0 solid ;" anchor="all">
  121. <Tabpages>
  122. <Tabpage id="mis" selected="true" position="absolute 0 0 10000 10000" style="" anchor="default" text="물류내역">
  123. <Layouts>
  124. <Layout>
  125. <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 57 595 60" style="" anchor="left top right"/>
  126. <Grid id="grd_misgood" binddataset="ds_main_misinfo_goodlist" position="absolute 0 60 595 400" style="" oncellclick="switch1_mis_grd_misgood_oncellclick" onaftersort="switch1_mis_grd_misgood_onaftersort" anchor="left top right">
  127. <Formats>
  128. <Format id="default">
  129. <Columns>
  130. <Column size="40"/>
  131. <Column size="60"/>
  132. <Column size="70"/>
  133. <Column size="80"/>
  134. <Column size="150"/>
  135. <Column size="45"/>
  136. <Column size="55"/>
  137. <Column size="80"/>
  138. </Columns>
  139. <Rows>
  140. <Row size="24" band="head"/>
  141. <Row size="24"/>
  142. </Rows>
  143. <Band id="head">
  144. <Cell/>
  145. <Cell col="1" text="구분"/>
  146. <Cell col="2" text="EDI코드"/>
  147. <Cell col="3" text="물품코드"/>
  148. <Cell col="4" text="품명"/>
  149. <Cell col="5" text="규격"/>
  150. <Cell col="6" text="단위"/>
  151. <Cell col="7" text="가중평균가"/>
  152. </Band>
  153. <Band id="body">
  154. <Cell celltype="head" expr="currow+1"/>
  155. <Cell col="1" displaytype="combo" style="align:center;" text="bind:compflag" combodataset="ds_grd_compflag" combocodecol="cdid" combodatacol="cdnm"/>
  156. <Cell col="2" style="align:left;" text="bind:edicd"/>
  157. <Cell col="3" style="align:left;" text="bind:goodcd"/>
  158. <Cell col="4" style="align:left;" text="bind:goodhngnm"/>
  159. <Cell col="5" style="align:right;" text="bind:spec"/>
  160. <Cell col="6" style="align:right;" text="bind:unit"/>
  161. <Cell col="7" displaytype="number" style="font:arial,9,bold;" text="bind:avg"/>
  162. </Band>
  163. </Format>
  164. </Formats>
  165. </Grid>
  166. <Grid id="grd_mispurc" binddataset="ds_main_misinfo_purclist" position="absolute 0 399 595 741" style="" anchor="all">
  167. <Formats>
  168. <Format id="default">
  169. <Columns>
  170. <Column size="35"/>
  171. <Column size="70"/>
  172. <Column size="55"/>
  173. <Column size="75"/>
  174. <Column size="75"/>
  175. <Column size="80"/>
  176. <Column size="75"/>
  177. <Column size="120"/>
  178. </Columns>
  179. <Rows>
  180. <Row size="24" band="head"/>
  181. <Row size="24"/>
  182. </Rows>
  183. <Band id="head">
  184. <Cell/>
  185. <Cell col="1" text="EDI코드"/>
  186. <Cell col="2" text="종류"/>
  187. <Cell col="3" text="구입일자"/>
  188. <Cell col="4" text="구입량"/>
  189. <Cell col="5" text="구입총액"/>
  190. <Cell col="6" text="구입단가"/>
  191. <Cell col="7" text="최종수정일시"/>
  192. </Band>
  193. <Band id="body">
  194. <Cell celltype="head" expr="currow+1"/>
  195. <Cell col="1" style="align:left;" text="bind:edicd"/>
  196. <Cell col="2" displaytype="combo" style="align:center;" text="bind:srcflag" combodataset="ds_grd_srcflag" combocodecol="cdid" combodatacol="cdnm"/>
  197. <Cell col="3" displaytype="date" text="bind:windd"/>
  198. <Cell col="4" displaytype="number" text="bind:winqty"/>
  199. <Cell col="5" displaytype="number" text="bind:winamt"/>
  200. <Cell col="6" displaytype="number" text="bind:winunitcost"/>
  201. <Cell col="7" displaytype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd HH:mm:ss"/>
  202. </Band>
  203. </Format>
  204. </Formats>
  205. </Grid>
  206. <Static id="caption7" class="tit_2" position="absolute 0 38 164 54" style="" text="물류 구입 내역" anchor="left top"/>
  207. <Button id="btnComp_Mis" class="btn1" taborder="13" position="absolute 0 8 56 30" style="" text="비교" onclick="switch1_mis_btnComp_Mis_onclick" anchor="left top"/>
  208. </Layout>
  209. </Layouts>
  210. </Tabpage>
  211. <Tabpage id="appno" anchor="default" text="신고내역">
  212. <Layouts>
  213. <Layout width="595" height="730">
  214. <Grid id="grd_apph802" binddataset="ds_main_appinfo_h802list" position="absolute 0 60 595 400" style="" oncellclick="switch1_appno_grd_apph802_oncellclick" onaftersort="switch1_appno_grd_apph802_onaftersort" anchor="left top right">
  215. <Formats>
  216. <Format id="default">
  217. <Columns>
  218. <Column size="35"/>
  219. <Column size="60"/>
  220. <Column size="70"/>
  221. <Column size="80"/>
  222. <Column size="150"/>
  223. <Column size="45"/>
  224. <Column size="55"/>
  225. <Column size="80"/>
  226. </Columns>
  227. <Rows>
  228. <Row size="24" band="head"/>
  229. <Row size="24"/>
  230. </Rows>
  231. <Band id="head">
  232. <Cell/>
  233. <Cell col="1" text="구분"/>
  234. <Cell col="2" text="EDI코드"/>
  235. <Cell col="3" text="물품코드"/>
  236. <Cell col="4" text="품명"/>
  237. <Cell col="5" text="규격"/>
  238. <Cell col="6" text="단위"/>
  239. <Cell col="7" text="가중평균가"/>
  240. </Band>
  241. <Band id="body">
  242. <Cell celltype="head" expr="currow+1"/>
  243. <Cell col="1" displaytype="combo" style="align:center;" text="bind:compflag" combodataset="ds_grd_compflag" combocodecol="cdid" combodatacol="cdnm"/>
  244. <Cell col="2" style="align:left;" text="bind:reptcd"/>
  245. <Cell col="3" style="align:left;" text="bind:goodcd"/>
  246. <Cell col="4" style="align:left;" text="bind:item"/>
  247. <Cell col="5" style="align:right;" text="bind:spec"/>
  248. <Cell col="6" style="align:right;" text="bind:unit"/>
  249. <Cell col="7" displaytype="number" style="font:arial,9,bold;" text="bind:avg"/>
  250. </Band>
  251. </Format>
  252. </Formats>
  253. </Grid>
  254. <Grid id="grd_apph803" binddataset="ds_main_appinfo_h803list" position="absolute 0 399 595 720" style="" anchor="all">
  255. <Formats>
  256. <Format id="default">
  257. <Columns>
  258. <Column size="35"/>
  259. <Column size="70"/>
  260. <Column size="55"/>
  261. <Column size="80"/>
  262. <Column size="70"/>
  263. <Column size="80"/>
  264. <Column size="80"/>
  265. <Column size="130"/>
  266. </Columns>
  267. <Rows>
  268. <Row size="24" band="head"/>
  269. <Row size="24"/>
  270. </Rows>
  271. <Band id="head">
  272. <Cell/>
  273. <Cell col="1" text="EDI코드"/>
  274. <Cell col="2" text="줄번호"/>
  275. <Cell col="3" text="구입일자"/>
  276. <Cell col="4" text="구입량"/>
  277. <Cell col="5" text="구입총액"/>
  278. <Cell col="6" text="구입단가"/>
  279. <Cell col="7" text="최종수정일시"/>
  280. </Band>
  281. <Band id="body">
  282. <Cell celltype="head" expr="currow+1"/>
  283. <Cell col="1" style="align:left;" text="bind:reptcd"/>
  284. <Cell col="2" text="bind:lnno"/>
  285. <Cell col="3" displaytype="date" text="bind:purcdd"/>
  286. <Cell col="4" displaytype="number" text="bind:purcqty"/>
  287. <Cell col="5" displaytype="number" text="bind:purctotamt"/>
  288. <Cell col="6" displaytype="number" text="bind:purcunitcost"/>
  289. <Cell col="7" displaytype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd HH:mm:ss"/>
  290. </Band>
  291. </Format>
  292. </Formats>
  293. </Grid>
  294. <Static id="caption2" class="tit_2" position="absolute 0 38 100 54" style="" text="신고 내역" anchor="left top"/>
  295. <Shape id="line4" class="line_10" linetype="horizontal" position="absolute 0 57 595 60" style="" anchor="left top right"/>
  296. <Static id="caption17" position="absolute 314 39 439 56" style="align:left ;" text="가중평균가 생성일시 :" anchor="top right"/>
  297. <Static id="cap_avgdt2" position="absolute 436 39 571 56" style="color:#505050ff;align:left;font:Dotum,9,bold;" onclick="switch1_appno_cap_avgdt2_onclick" anchor="top right"/>
  298. <Static id="caption15" position="absolute 95 39 185 56" style="align:left ;" text="약가 적용 일시 :" anchor="top right"/>
  299. <Static id="cap_insudt2" position="absolute 190 39 330 56" style="color:#505050ff;align:left;font:Dotum,9,bold;" onclick="switch1_appno_cap_insudt2_onclick" anchor="top right"/>
  300. <Static id="caption19" position="absolute 0 721 65 738" style="align:left ;" text="입고 기간 :" anchor="left bottom"/>
  301. <Static id="cap_windd2" position="absolute 65 718 235 735" style="color:#505050ff;font:Dotum,9,bold;" anchor="left bottom"/>
  302. <Div id="Div00" taborder="14" position="absolute 0 0 595 35" class="div_SA" anchor="left top right">
  303. <Layouts>
  304. <Layout width="577" height="41">
  305. <Button id="btnComp_h80" taborder="0" text="비교" onclick="switch1_appno_btnComp_h80_onclick" class="btn1" position="absolute 534 6 590 28" anchor="top right"/>
  306. <Combo id="cmb_cflag" taborder="1" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="switch1_appno_cmb_cflag_onitemchanged" class="combo_search" position="absolute 387 8 467 27" columncount="-1" rowcount="-1" anchor="left top">
  307. <Dataset id="innerdataset">
  308. <ColumnInfo>
  309. <Column id="codecolumn"/>
  310. <Column id="datacolumn"/>
  311. </ColumnInfo>
  312. <Rows>
  313. <Row>
  314. <Col id="codecolumn">T</Col>
  315. <Col id="datacolumn">전체</Col>
  316. </Row>
  317. <Row>
  318. <Col id="codecolumn">C</Col>
  319. <Col id="datacolumn">변경</Col>
  320. </Row>
  321. <Row>
  322. <Col id="codecolumn">I</Col>
  323. <Col id="datacolumn">항목변경</Col>
  324. </Row>
  325. <Row>
  326. <Col id="codecolumn">A</Col>
  327. <Col id="datacolumn">추가</Col>
  328. </Row>
  329. <Row>
  330. <Col id="codecolumn">R</Col>
  331. <Col id="datacolumn">제외</Col>
  332. </Row>
  333. </Rows>
  334. </Dataset>
  335. </Combo>
  336. <Combo id="cmb_appno2" taborder="2" innerdataset="ds_init_appno2" codecolumn="appno" datacolumn="appinfo" onitemclick="switch1_appno_cmb_appno2_onitemclick" class="combo_search" position="absolute 230 8 380 27" columncount="-1" rowcount="-1" anchor="left top" onitemchanged="switch1_appno_Div00_cmb_appno2_onitemchanged"/>
  337. <Static id="caption9" text="신청번호 :" class="search_name" position="absolute 156 10 232 27" anchor="left top"/>
  338. <Combo id="cmb_appyearmnth2" taborder="3" innerdataset="@ds_init_appyearmnth" codecolumn="appyearmnth" datacolumn="appyearmnth" onitemchanged="switch1_appno_cmb_appyearmnth2_onitemchanged" class="combo_search" position="absolute 78 8 148 27" columncount="-1" rowcount="-1" anchor="left top"/>
  339. <Static id="cap_appno2" text="신청분기 :" class="search_name" position="absolute 5 10 80 27" anchor="left top"/>
  340. <Shape id="line5" linetype="vertical" position="absolute 527 6 530 26" style="border: solid #FFD799 #FFD799;" anchor="top right"/>
  341. </Layout>
  342. </Layouts>
  343. </Div>
  344. </Layout>
  345. </Layouts>
  346. </Tabpage>
  347. <Tabpage id="insu" anchor="default" text="적용약가">
  348. <Layouts>
  349. <Layout>
  350. <Shape id="line2" class="line_10" linetype="horizontal" position="absolute 0 57 595 60" style="" anchor="left top right"/>
  351. <Static id="caption8" class="tit_2" position="absolute 0 38 85 54" style="" text="적용 약가" anchor="left top"/>
  352. <Grid id="grd_insu" binddataset="ds_main_insuinfo" position="absolute 0 60 595 739" style="" oncellclick="switch1_insu_grd_insu_oncellclick" onaftersort="switch1_insu_grd_insu_onaftersort" anchor="all">
  353. <Formats>
  354. <Format id="default">
  355. <Columns>
  356. <Column size="35"/>
  357. <Column size="70"/>
  358. <Column size="80"/>
  359. <Column size="175"/>
  360. <Column size="70"/>
  361. <Column size="75"/>
  362. <Column size="75"/>
  363. <Column size="75"/>
  364. </Columns>
  365. <Rows>
  366. <Row size="24" band="head"/>
  367. <Row size="24"/>
  368. </Rows>
  369. <Band id="head">
  370. <Cell/>
  371. <Cell col="1" text="EDI코드"/>
  372. <Cell col="2" text="수가코드"/>
  373. <Cell col="3" text="수가명"/>
  374. <Cell col="4" text="수가시작일"/>
  375. <Cell col="5" text="수가종료일"/>
  376. <Cell col="6" text="EDI단가"/>
  377. <Cell col="7" text="적용보험가"/>
  378. </Band>
  379. <Band id="body">
  380. <Cell celltype="head" expr="currow+1"/>
  381. <Cell col="1" style="align:left;" text="bind:insuedicd"/>
  382. <Cell col="2" style="align:left;" text="bind:calcscorcd"/>
  383. <Cell col="3" style="align:left;" text="bind:hngnm"/>
  384. <Cell col="4" displaytype="date" text="bind:fromdd"/>
  385. <Cell col="5" displaytype="date" text="bind:todd"/>
  386. <Cell col="6" displaytype="number" text="bind:unitcost"/>
  387. <Cell col="7" displaytype="number" text="bind:insurbpnt"/>
  388. </Band>
  389. </Format>
  390. </Formats>
  391. </Grid>
  392. <Div id="Div00" taborder="14" position="absolute 0 0 595 35" class="div_SA" anchor="left top right">
  393. <Layouts>
  394. <Layout width="585" height="39">
  395. <Button id="btnComp_Insu" taborder="0" text="비교" onclick="switch1_insu_btnComp_Insu_onclick" class="btn1" position="absolute 521 6 577 28" anchor="top right"/>
  396. <Calendar id="ipt_apdd" taborder="2" class="input_search" position="absolute 100 9 190 28" mask="yyyy-mm-dd" anchor="left top"/>
  397. <Static id="caption41" text="적용일자 :" class="search_name" position="absolute 5 10 92 27" anchor="left top"/>
  398. <Shape id="line13" linetype="vertical" position="absolute 511 4 514 31" style="border: solid #FFD799 #FFD799;" anchor="top right"/>
  399. <CheckBox id="chk_ediflag" taborder="3" text="EDI 단가 적용 항목 제외" position="absolute 199 8 380 28" truevalue="Y" onchanged="switch1_insu_Div00_chk_ediflag_onchanged"/>
  400. </Layout>
  401. </Layouts>
  402. </Div>
  403. </Layout>
  404. </Layouts>
  405. </Tabpage>
  406. </Tabpages>
  407. </Tab>
  408. <Static id="caption13" position="absolute 330 62 455 79" style="align:left ;" text="가중평균가 생성일시 :"/>
  409. <Static id="cap_avgdt" position="absolute 455 62 590 79" style="color:#505050ff;align:left;font:Dotum,9,bold;"/>
  410. <Static id="caption11" position="absolute 0 746 65 763" style="align:left ;" text="입고 기간 :" anchor="left bottom"/>
  411. <Static id="cap_windd" position="absolute 65 746 235 763" style="color:#505050ff;font:Dotum,9,bold;" anchor="left bottom"/>
  412. <Static id="caption10" position="absolute 95 62 186 79" style="align:left ;" text="약가 적용 일시 :"/>
  413. <Static id="cap_insudt" position="absolute 190 62 330 79" style="color:#505050ff;align:left;font:Dotum,9,bold;"/>
  414. <Button id="btn_excel" class="btn7" position="absolute 520 746 595 765" style="" text="엑셀저장" onclick="btn_excel_onclick" anchor="left bottom"/>
  415. <Grid id="grd_xls" binddataset="ds_temp_xlslist" visible="false" position="absolute 402 746 517 766" style="" anchor="left bottom">
  416. <Formats>
  417. <Format id="default">
  418. <Rows>
  419. <Row size="24" band="head"/>
  420. <Row size="24"/>
  421. </Rows>
  422. <Band id="head">
  423. <Cell text="caption1"/>
  424. <Cell col="1" text="caption2"/>
  425. <Cell col="2" text="caption3"/>
  426. </Band>
  427. <Band id="body">
  428. <Cell text="bind:item"/>
  429. </Band>
  430. </Format>
  431. </Formats>
  432. </Grid>
  433. </Layout>
  434. </Layouts>
  435. <Objects>
  436. <Dataset id="ds_main_insuinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  437. <ColumnInfo>
  438. <Column id="insuedicd" type="STRING" size="256"/>
  439. <Column id="calcscorcd" type="STRING" size="256"/>
  440. <Column id="hngnm" type="STRING" size="256"/>
  441. <Column id="fromdd" type="STRING" size="256"/>
  442. <Column id="todd" type="STRING" size="256"/>
  443. <Column id="insurbpnt" type="STRING" size="256"/>
  444. <Column id="unitcost" type="STRING" size="256"/>
  445. </ColumnInfo>
  446. <Rows>
  447. <Row>
  448. <Col id="insuedicd"/>
  449. <Col id="calcscorcd"/>
  450. <Col id="hngnm"/>
  451. <Col id="fromdd"/>
  452. <Col id="todd"/>
  453. <Col id="insurbpnt"/>
  454. <Col id="unitcost"/>
  455. </Row>
  456. </Rows>
  457. </Dataset>
  458. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_send_oncolumnchanged">
  459. <ColumnInfo>
  460. <Column id="appno" type="STRING" size="256"/>
  461. <Column id="appyearmnth" type="STRING" size="256"/>
  462. <Column id="compflag" type="STRING" size="256"/>
  463. <Column id="appyearmnth2" type="STRING" size="256"/>
  464. <Column id="appno2" type="STRING" size="256"/>
  465. <Column id="apdd" type="STRING" size="256"/>
  466. <Column id="reptcd" type="STRING" size="256"/>
  467. <Column id="insuflag" type="STRING" size="256"/>
  468. <Column id="ediflag" type="STRING" size="256"/>
  469. <Column id="edicd" type="STRING" size="256"/>
  470. </ColumnInfo>
  471. <Rows>
  472. <Row>
  473. <Col id="appno"/>
  474. <Col id="appyearmnth"/>
  475. <Col id="compflag"/>
  476. <Col id="appyearmnth2"/>
  477. <Col id="appno2"/>
  478. <Col id="apdd"/>
  479. <Col id="reptcd"/>
  480. <Col id="insuflag"/>
  481. <Col id="ediflag"/>
  482. </Row>
  483. </Rows>
  484. </Dataset>
  485. <Dataset id="ds_main_misinfo_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  486. <ColumnInfo>
  487. <Column id="compflag" type="STRING" size="256"/>
  488. <Column id="edicd" type="STRING" size="256"/>
  489. <Column id="goodhngnm" type="STRING" size="256"/>
  490. <Column id="spec" type="STRING" size="256"/>
  491. <Column id="unit" type="STRING" size="256"/>
  492. <Column id="avg" type="STRING" size="256"/>
  493. <Column id="goodcd" type="STRING" size="256"/>
  494. </ColumnInfo>
  495. <Rows>
  496. <Row>
  497. <Col id="compflag"/>
  498. <Col id="edicd"/>
  499. <Col id="goodhngnm"/>
  500. <Col id="spec"/>
  501. <Col id="unit"/>
  502. <Col id="avg"/>
  503. <Col id="goodcd"/>
  504. </Row>
  505. </Rows>
  506. </Dataset>
  507. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  508. <ColumnInfo/>
  509. </Dataset>
  510. <Dataset id="ds_main_appinfo_h802list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  511. <ColumnInfo>
  512. <Column id="compflag" type="STRING" size="256"/>
  513. <Column id="reptcd" type="STRING" size="256"/>
  514. <Column id="item" type="STRING" size="256"/>
  515. <Column id="spec" type="STRING" size="256"/>
  516. <Column id="unit" type="STRING" size="256"/>
  517. <Column id="avg" type="STRING" size="256"/>
  518. <Column id="goodcd" type="STRING" size="256"/>
  519. </ColumnInfo>
  520. <Rows>
  521. <Row>
  522. <Col id="compflag"/>
  523. <Col id="reptcd"/>
  524. <Col id="item"/>
  525. <Col id="spec"/>
  526. <Col id="unit"/>
  527. <Col id="avg"/>
  528. <Col id="goodcd"/>
  529. </Row>
  530. </Rows>
  531. </Dataset>
  532. <Dataset id="ds_main_appinfo_h803list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  533. <ColumnInfo>
  534. <Column id="reptcd" type="STRING" size="256"/>
  535. <Column id="lnno" type="STRING" size="256"/>
  536. <Column id="purcdd" type="STRING" size="256"/>
  537. <Column id="purcqty" type="STRING" size="256"/>
  538. <Column id="purctotamt" type="STRING" size="256"/>
  539. <Column id="purcunitcost" type="STRING" size="256"/>
  540. <Column id="lastupdtdt" type="STRING" size="256"/>
  541. </ColumnInfo>
  542. <Rows>
  543. <Row>
  544. <Col id="reptcd"/>
  545. <Col id="lnno"/>
  546. <Col id="purcdd"/>
  547. <Col id="purcqty"/>
  548. <Col id="purctotamt"/>
  549. <Col id="purcunitcost"/>
  550. <Col id="lastupdtdt"/>
  551. </Row>
  552. </Rows>
  553. </Dataset>
  554. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  555. <ColumnInfo>
  556. <Column id="xlslist" type="STRING" size="256"/>
  557. </ColumnInfo>
  558. </Dataset>
  559. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  560. <ColumnInfo>
  561. <Column id="compflag" type="STRING" size="256"/>
  562. <Column id="insudt" type="STRING" size="256"/>
  563. <Column id="windd" type="STRING" size="256"/>
  564. <Column id="avgdt" type="STRING" size="256"/>
  565. <Column id="insudt2" type="STRING" size="256"/>
  566. <Column id="windd2" type="STRING" size="256"/>
  567. <Column id="avgdt2" type="STRING" size="256"/>
  568. <Column id="cflag" type="STRING" size="256"/>
  569. </ColumnInfo>
  570. <Rows>
  571. <Row>
  572. <Col id="compflag"/>
  573. <Col id="insudt"/>
  574. <Col id="windd"/>
  575. <Col id="avgdt"/>
  576. <Col id="insudt2"/>
  577. <Col id="windd2"/>
  578. <Col id="avgdt2"/>
  579. <Col id="cflag"/>
  580. </Row>
  581. </Rows>
  582. </Dataset>
  583. <Dataset id="ds_main_appinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  584. <ColumnInfo/>
  585. </Dataset>
  586. <Dataset id="ds_main_misinfo_purclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  587. <ColumnInfo>
  588. <Column id="edicd" type="STRING" size="256"/>
  589. <Column id="srcflag" type="STRING" size="256"/>
  590. <Column id="windd" type="STRING" size="256"/>
  591. <Column id="winqty" type="STRING" size="256"/>
  592. <Column id="winamt" type="STRING" size="256"/>
  593. <Column id="winunitcost" type="STRING" size="256"/>
  594. <Column id="lastupdtdt" type="STRING" size="256"/>
  595. </ColumnInfo>
  596. <Rows>
  597. <Row>
  598. <Col id="edicd"/>
  599. <Col id="srcflag"/>
  600. <Col id="windd"/>
  601. <Col id="winqty"/>
  602. <Col id="winamt"/>
  603. <Col id="winunitcost"/>
  604. <Col id="lastupdtdt"/>
  605. </Row>
  606. </Rows>
  607. </Dataset>
  608. <Dataset id="ds_main_misinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  609. <ColumnInfo/>
  610. </Dataset>
  611. <Dataset id="ds_main_baseinfo_h802list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  612. <ColumnInfo>
  613. <Column id="reptcd" type="STRING" size="256"/>
  614. <Column id="item" type="STRING" size="256"/>
  615. <Column id="spec" type="STRING" size="256"/>
  616. <Column id="unit" type="STRING" size="256"/>
  617. <Column id="avg" type="STRING" size="256"/>
  618. <Column id="goodcd" type="STRING" size="256"/>
  619. </ColumnInfo>
  620. <Rows>
  621. <Row>
  622. <Col id="reptcd"/>
  623. <Col id="item"/>
  624. <Col id="spec"/>
  625. <Col id="unit"/>
  626. <Col id="avg"/>
  627. <Col id="goodcd"/>
  628. </Row>
  629. </Rows>
  630. </Dataset>
  631. <Dataset id="ds_init_cflaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  632. <ColumnInfo>
  633. <Column id="label" type="STRING" size="256"/>
  634. <Column id="value" type="STRING" size="256"/>
  635. <Column id="label" type="STRING" size="256"/>
  636. <Column id="value" type="STRING" size="256"/>
  637. <Column id="label" type="STRING" size="256"/>
  638. <Column id="value" type="STRING" size="256"/>
  639. <Column id="label" type="STRING" size="256"/>
  640. <Column id="value" type="STRING" size="256"/>
  641. </ColumnInfo>
  642. <Rows>
  643. <Row>
  644. <Col id="label">변경</Col>
  645. <Col id="value">C</Col>
  646. <Col id="label">항목변경</Col>
  647. <Col id="value">I</Col>
  648. <Col id="label">추가</Col>
  649. <Col id="value">A</Col>
  650. <Col id="label">제외</Col>
  651. <Col id="value">R</Col>
  652. </Row>
  653. </Rows>
  654. </Dataset>
  655. <Dataset id="ds_main_baseinfo_h803list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  656. <ColumnInfo>
  657. <Column id="reptcd" type="STRING" size="256"/>
  658. <Column id="lnno" type="STRING" size="256"/>
  659. <Column id="purcdd" type="STRING" size="256"/>
  660. <Column id="purcqty" type="STRING" size="256"/>
  661. <Column id="purctotamt" type="STRING" size="256"/>
  662. <Column id="purcunitcost" type="STRING" size="256"/>
  663. <Column id="lastupdtdt" type="STRING" size="256"/>
  664. </ColumnInfo>
  665. <Rows>
  666. <Row>
  667. <Col id="reptcd"/>
  668. <Col id="lnno"/>
  669. <Col id="purcdd"/>
  670. <Col id="purcqty"/>
  671. <Col id="purctotamt"/>
  672. <Col id="purcunitcost"/>
  673. <Col id="lastupdtdt"/>
  674. </Row>
  675. </Rows>
  676. </Dataset>
  677. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  678. <ColumnInfo/>
  679. </Dataset>
  680. <Dataset id="ds_main_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  681. <ColumnInfo/>
  682. </Dataset>
  683. <Dataset id="ds_init_appyearmnth" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  684. <Dataset id="ds_init_appno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  685. <Dataset id="ds_grd_compflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  686. <ColumnInfo>
  687. <Column id="cdid" type="STRING" size="256"/>
  688. <Column id="cdnm" type="STRING" size="256"/>
  689. </ColumnInfo>
  690. <Rows>
  691. <Row>
  692. <Col id="cdid">C</Col>
  693. <Col id="cdnm">변경</Col>
  694. </Row>
  695. <Row>
  696. <Col id="cdid">I</Col>
  697. <Col id="cdnm">항목변경</Col>
  698. </Row>
  699. <Row>
  700. <Col id="cdid">A</Col>
  701. <Col id="cdnm">추가</Col>
  702. </Row>
  703. <Row>
  704. <Col id="cdid">R</Col>
  705. <Col id="cdnm">제외</Col>
  706. </Row>
  707. </Rows>
  708. </Dataset>
  709. <Dataset id="ds_grd_srcflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  710. <ColumnInfo>
  711. <Column id="cdid" type="STRING" size="256"/>
  712. <Column id="cdnm" type="STRING" size="256"/>
  713. </ColumnInfo>
  714. <Rows>
  715. <Row>
  716. <Col id="cdid">R</Col>
  717. <Col id="cdnm">입고</Col>
  718. </Row>
  719. <Row>
  720. <Col id="cdid">P</Col>
  721. <Col id="cdnm">구매</Col>
  722. </Row>
  723. </Rows>
  724. </Dataset>
  725. <Dataset id="ds_init_appno2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  726. </Objects>
  727. <Bind>
  728. <BindItem id="item4" compid="switch1.appno.cap_avgdt2" propid="value" datasetid="ds_hidden" columnid="avgdt2"/>
  729. <BindItem id="item5" compid="switch1.appno.cap_insudt2" propid="value" datasetid="ds_hidden" columnid="insudt2"/>
  730. <BindItem id="item6" compid="switch1.appno.cap_windd2" propid="value" datasetid="ds_hidden" columnid="windd2"/>
  731. <BindItem id="item11" compid="cap_avgdt" propid="value" datasetid="ds_hidden" columnid="avgdt"/>
  732. <BindItem id="item12" compid="cap_windd" propid="value" datasetid="ds_hidden" columnid="windd"/>
  733. <BindItem id="item13" compid="cap_insudt" propid="value" datasetid="ds_hidden" columnid="insudt"/>
  734. <BindItem id="item0" compid="Div00.cmb_appyearmnth" propid="value" datasetid="ds_send" columnid="appyearmnth"/>
  735. <BindItem id="item1" compid="Div00.cmb_appno" propid="value" datasetid="ds_send" columnid="appno"/>
  736. <BindItem id="item10" compid="Div00.cmb_flag" propid="value" datasetid="ds_hidden" columnid="compflag"/>
  737. <BindItem id="item7" compid="switch1.appno.Div00.cmb_cflag" propid="value" datasetid="ds_hidden" columnid="cflag"/>
  738. <BindItem id="item3" compid="switch1.appno.Div00.cmb_appno2" propid="value" datasetid="ds_send" columnid="appno2"/>
  739. <BindItem id="item2" compid="switch1.appno.Div00.cmb_appyearmnth2" propid="value" datasetid="ds_send" columnid="appyearmnth2"/>
  740. <BindItem id="item8" compid="switch1.insu.Div00.ipt_apdd" propid="value" datasetid="ds_send" columnid="apdd"/>
  741. <BindItem id="item9" compid="cap_insudt" propid="text" datasetid="ds_hidden" columnid="insudt"/>
  742. <BindItem id="item14" compid="cap_avgdt" propid="text" datasetid="ds_hidden" columnid="avgdt"/>
  743. <BindItem id="item15" compid="switch1.appno.cap_insudt2" propid="text" datasetid="ds_hidden" columnid="insudt2"/>
  744. <BindItem id="item16" compid="switch1.appno.cap_avgdt2" propid="text" datasetid="ds_hidden" columnid="insudt2"/>
  745. <BindItem id="item17" compid="switch1.appno.cap_windd2" propid="text" datasetid="ds_hidden" columnid="windd2"/>
  746. <BindItem id="item18" compid="switch1.insu.Div00.chk_ediflag" propid="value" datasetid="ds_send" columnid="ediflag"/>
  747. <BindItem id="item19" compid="cap_windd" propid="text" datasetid="ds_hidden" columnid="windd"/>
  748. </Bind>
  749. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  750. * System Name :
  751. * Job Name :
  752. * Creator :
  753. * Make Date : 2016-10-07
  754. * Description :
  755. *---------------------------------------------------------------------------------------
  756. * Modify Date Modifier Modify Description
  757. *---------------------------------------------------------------------------------------
  758. * 2016-10-07 Live Converter TF->XP
  759. *
  760. *---------------------------------------------------------------------------------------
  761. ****************************************************************************************/
  762. include "com_commonxp::comm_main.xjs";
  763. function SPPIE04120_onload(obj:Form, e:LoadEventInfo) {
  764. frmf_initForm(obj);
  765. grdf_initGrid(grd_baseh802);
  766. grdf_setToolTipBind(grd_baseh802);
  767. grdf_initGrid(grd_baseh803);
  768. grdf_setToolTipBind(grd_baseh803);
  769. grdf_initGrid(switch1.mis.grd_misgood);
  770. grdf_setToolTipBind(switch1.mis.grd_misgood);
  771. grdf_initGrid(switch1.mis.grd_mispurc);
  772. grdf_setToolTipBind(switch1.mis.grd_mispurc);
  773. grdf_initGrid(switch1.appno.grd_apph802);
  774. grdf_setToolTipBind(switch1.appno.grd_apph802);
  775. grdf_initGrid(switch1.appno.grd_apph803);
  776. grdf_setToolTipBind(switch1.appno.grd_apph803);
  777. grdf_initGrid(switch1.insu.grd_insu);
  778. grdf_setToolTipBind(switch1.insu.grd_insu);
  779. switch1.tabindex = 0;
  780. ds_hidden.setColumn( 0, "compflag", "mis");
  781. ds_hidden.setColumn( 0, "cflag", "T");
  782. ds_send.setColumn( 0, "apdd", utlf_getCurrentDate());
  783. if (sysf_getUserId() != "PAM") {
  784. ds_send.setColumn( 0, "insuflag", "Y");
  785. }
  786. var oParam = {};
  787. oParam.id = "TRPIE04101";
  788. oParam.service = "edimngtapp.EdiMngt";
  789. oParam.method = "reqGetH801appyearmnth";
  790. oParam.inds = "req=ds_send";
  791. oParam.outds = "ds_init_appyearmnth=appyearmnthlist";
  792. oParam.async = false;
  793. //oParam.callback = "cf_TRPIE04101";
  794. tranf_submit(oParam);
  795. var appyearmnth = opener.frmf_getParameter("SMPIE00200_appyearmnth");
  796. if (!utlf_isNull(appyearmnth)) {
  797. ds_send.setColumn( 0, "appyearmnth", appyearmnth);
  798. var oParam = {};
  799. oParam.id = "TRPIE04105";
  800. oParam.service = "edimngtapp.EdiMngt";
  801. oParam.method = "reqGetH801appno";
  802. oParam.inds = "req=ds_send";
  803. oParam.outds = "ds_init_appno=appnolist";
  804. oParam.async = false;
  805. //oParam.callback = "cf_TRPIE04105";
  806. tranf_submit(oParam);
  807. var appno = opener.frmf_getParameter("SMPIE00200_appno");
  808. if (!utlf_isNull(appno)) {
  809. ds_send.setColumn( 0, "appno", appno);
  810. cmb_appno_onitemclick(Div00.cmb_appno);
  811. }
  812. }
  813. }
  814. function cmb_appyearmnth_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  815. //ds_send.setColumn(0, "appyearmnth", obj.value);
  816. var oParam = {};
  817. oParam.id = "TRPIE04105";
  818. oParam.service = "edimngtapp.EdiMngt";
  819. oParam.method = "reqGetH801appno";
  820. oParam.inds = "req=ds_send";
  821. oParam.outds = "ds_init_appno=appnolist";
  822. oParam.async = false;
  823. //oParam.callback = "cf_TRPIE04105";
  824. tranf_submit(oParam);
  825. Div00.cmb_appno.index = 0;
  826. cmb_appno_onitemclick(Div00.cmb_appno);
  827. }
  828. function cmb_appno_onitemclick(obj:Combo, e:ListBoxClickEventInfo) {
  829. obj.updateToDataset();
  830. ds_hidden.setColumn( 0, "insudt", ds_init_appno.lookupExpr("appno == '" + obj.value + "'","insudt"));
  831. ds_hidden.setColumn( 0, "avgdt", ds_init_appno.lookupExpr("appno == '" + obj.value + "'","avgdt"));
  832. ds_hidden.setColumn( 0, "windd", ds_init_appno.lookupExpr("appno == '" + obj.value + "'","windd"));
  833. }
  834. function grd_baseh802_oncellclick(obj:Grid, e:GridClickEventInfo) {
  835. var reptcd = ds_main_baseinfo_h802list.getColumn(ds_main_baseinfo_h802list.rowposition, "reptcd");
  836. ds_send.setColumn( 0, "reptcd", reptcd);
  837. ds_send.setColumn( 0, "edicd","");
  838. var oParam = {};
  839. oParam.id = "TRPIE04213";
  840. oParam.service = "edimngtapp.EdiMngt";
  841. oParam.method = "reqGetH803";
  842. oParam.inds = "req=ds_send";
  843. oParam.outds = "ds_main_baseinfo_h803list=gridpiehh803";
  844. oParam.async = false;
  845. // oParam.callback = "cf_TRPIE04213";
  846. tranf_submit(oParam);
  847. var row = 0;
  848. var flag = ds_hidden.getColumn(0, "compflag");
  849. if (flag == "mis") {
  850. row = ds_main_misinfo_goodlist.findRowExpr("edicd=='"+ reptcd +"'");
  851. if (row > -1) {
  852. ds_main_misinfo_goodlist.rowposition = row;
  853. switch1.mis.grd_misgood.vscrollbar.pos = row-10;
  854. ds_send.setColumn( 0, "edicd", ds_main_misinfo_goodlist.getColumn(row, "edicd"));
  855. var oParam = {};
  856. oParam.id = "TRPIE04211";
  857. oParam.service = "edimngtapp.EdiMngt";
  858. oParam.method = "reqGetCompareMIS";
  859. oParam.inds = "req=ds_send";
  860. oParam.outds = "ds_main_misinfo_purclist=purclist";
  861. oParam.async = false;
  862. //oParam.callback = "cf_TRPIE04211";
  863. tranf_submit(oParam);
  864. } else {
  865. ds_main_misinfo_goodlist.rowposition = -1;
  866. ds_main_misinfo_purclist.clearData();
  867. }
  868. } else if (flag == "appno") {
  869. row = ds_main_appinfo_h802list.findRowExpr("reptcd=='"+ reptcd +"'");
  870. if (row > -1) {
  871. ds_main_appinfo_h802list.rowposition = row;
  872. switch1.appno.grd_apph802.vscrollbar.pos = row-5;
  873. var sInDs = dsf_createDsRow("ds_cond"
  874. ,[{col: "reptcd" , val: ds_main_appinfo_h802list.getColumn(row, "reptcd") }
  875. ,{col: "appno" , val: ds_send.getColumn(0,"appno2") }
  876. ]);
  877. var oParam = {};
  878. oParam.id = "TRPIE04214";
  879. oParam.service = "edimngtapp.EdiMngt";
  880. oParam.method = "reqGetH803";
  881. oParam.inds = "req="+sInDs;
  882. oParam.outds = "ds_main_appinfo_h803list=gridpiehh803";
  883. oParam.async = false;
  884. //oParam.callback = "cf_TRPIE04214";
  885. tranf_submit(oParam);
  886. } else {
  887. ds_main_appinfo_h802list.rowposition = -1;
  888. ds_main_appinfo_h803list.clearData();
  889. }
  890. } else {
  891. row = ds_main_insuinfo.findRowExpr("insuedicd=='"+ reptcd +"'");
  892. if (row > -1) {
  893. ds_main_insuinfo.rowposition = row;
  894. switch1.insu.grd_insu.vscrollbar.pos = row-5;
  895. } else {
  896. ds_main_insuinfo.rowposition = -1;
  897. }
  898. }
  899. }
  900. function switch1_mis_grd_misgood_oncellclick(obj:Grid, e:GridClickEventInfo) {
  901. var reptcd = ds_main_misinfo_goodlist.getColumn(ds_main_misinfo_goodlist.rowposition, "edicd");
  902. ds_send.setColumn( 0, "edicd", reptcd);
  903. var oParam = {};
  904. oParam.id = "TRPIE04211";
  905. oParam.service = "edimngtapp.EdiMngt";
  906. oParam.method = "reqGetCompareMIS";
  907. oParam.inds = "req=ds_send";
  908. oParam.outds = "ds_main_misinfo_purclist=purclist";
  909. oParam.async = false;
  910. //oParam.callback = "cf_TRPIE04211";
  911. tranf_submit(oParam);
  912. var row = ds_main_baseinfo_h802list.findRowExpr("reptcd=='"+ reptcd +"'");
  913. if (row > -1) {
  914. ds_main_baseinfo_h802list.rowposition = row;
  915. grd_baseh802.vscrollbar.pos = row-5;
  916. ds_send.setColumn( 0, "reptcd", ds_main_baseinfo_h802list.getColumn(row, "reptcd"));
  917. var oParam = {};
  918. oParam.id = "TRPIE04213";
  919. oParam.service = "edimngtapp.EdiMngt";
  920. oParam.method = "reqGetH803";
  921. oParam.inds = "req=ds_send";
  922. oParam.outds = "ds_main_baseinfo_h803list=gridpiehh803";
  923. oParam.async = false;
  924. //oParam.callback = "cf_TRPIE04213";
  925. tranf_submit(oParam);
  926. } else {
  927. ds_main_baseinfo_h802list.rowposition = -1;
  928. ds_main_baseinfo_h803list.clearData();
  929. }
  930. }
  931. function switch1_mis_btnComp_Mis_onclick(obj:Button, e:ClickEventInfo) {
  932. if (utlf_isNull(ds_send.getColumn(0, "appyearmnth"))) {
  933. sysf_messageBox("기준 신청분기를 입력하십시오", "E999");
  934. return;
  935. }
  936. if (utlf_isNull(ds_send.getColumn(0, "appno"))) {
  937. sysf_messageBox("기준 신청번호를 입력하십시오", "E999");
  938. return;
  939. }
  940. var oParam = {};
  941. oParam.id = "TRPIE04210";
  942. oParam.service = "edimngtapp.EdiMngt";
  943. oParam.method = "reqGetCompareMIS_All";
  944. oParam.inds = "req=ds_send";
  945. oParam.outds = "ds_main_baseinfo_h802list=h802list ds_main_misinfo_goodlist=goodlist ds_main_misinfo_purclist=purclist";
  946. oParam.async = false;
  947. //oParam.callback = "cf_TRPIE04210";
  948. tranf_submit(oParam);
  949. ds_main_baseinfo_h802list.updateColID("calcscorcd","goodcd");
  950. }
  951. function switch1_appno_cmb_appyearmnth2_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  952. var sInDs = dsf_createDsRow("ds_cond"
  953. ,[{col: "appyearmnth" , val: obj.value }
  954. ]);
  955. var oParam = {};
  956. oParam.id = "TRPIE04106";
  957. oParam.service = "edimngtapp.EdiMngt";
  958. oParam.method = "reqGetH801appno";
  959. oParam.inds = "req="+sInDs;
  960. oParam.outds = "ds_init_appno2=appnolist";
  961. oParam.async = false;
  962. //oParam.callback = "cf_TRPIE04106";
  963. tranf_submit(oParam);
  964. }
  965. function switch1_appno_grd_apph802_oncellclick(obj:Grid, e:GridClickEventInfo) {
  966. var reptcd = ds_main_appinfo_h802list.getColumn(ds_main_appinfo_h802list.rowposition, "reptcd");
  967. var sInDs = dsf_createDsRow("ds_cond"
  968. ,[{col: "reptcd" , val: reptcd }
  969. ,{col: "appno" , val: ds_send.getColumn(0,"appno2") }
  970. ]);
  971. var oParam = {};
  972. oParam.id = "TRPIE04214";
  973. oParam.service = "edimngtapp.EdiMngt";
  974. oParam.method = "reqGetH803";
  975. oParam.inds = "req="+sInDs;
  976. oParam.outds = "ds_main_appinfo_h803list=gridpiehh803";
  977. oParam.async = false;
  978. //oParam.callback = "cf_TRPIE04214";
  979. tranf_submit(oParam);
  980. var row = ds_main_baseinfo_h802list.findRowExpr("reptcd=='"+ reptcd +"'");
  981. if (row > -1) {
  982. ds_main_baseinfo_h802list.rowposition = row;
  983. grd_baseh802.vscrollbar.pos = row-5;
  984. var sInDs = dsf_createDsRow("ds_cond"
  985. ,[{col: "reptcd" , val: ds_main_baseinfo_h802list.getColumn(row, "reptcd") }
  986. ,{col: "appno" , val: ds_send.getColumn(0,"appno") }
  987. ]);
  988. var oParam = {};
  989. oParam.id = "TRPIE04213";
  990. oParam.service = "edimngtapp.EdiMngt";
  991. oParam.method = "reqGetH803";
  992. oParam.inds = "req="+sInDs;
  993. oParam.outds = "ds_main_baseinfo_h803list=gridpiehh803";
  994. oParam.async = false;
  995. //oParam.callback = "cf_TRPIE04213";
  996. tranf_submit(oParam);
  997. } else {
  998. grd_baseh802.row = 0;
  999. ds_main_baseinfo_h803list.clearData(); ds_main_baseinfo_h803list.addRow();
  1000. }
  1001. }
  1002. function switch1_appno_btnComp_h80_onclick(obj:Button, e:ClickEventInfo) {
  1003. if (utlf_isNull(ds_send.getColumn(0, "appyearmnth"))) {
  1004. sysf_messageBox("기준 신청분기를 입력하십시오", "E999");
  1005. return;
  1006. }
  1007. if (utlf_isNull(ds_send.getColumn(0, "appno"))) {
  1008. sysf_messageBox("기준 신청번호를 입력하십시오", "E999");
  1009. return;
  1010. }
  1011. if (utlf_isNull(ds_send.getColumn(0, "appyearmnth2"))) {
  1012. sysf_messageBox("비교할 신청분기를 입력하십시오", "E999");
  1013. return;
  1014. }
  1015. if (utlf_isNull(ds_send.getColumn(0, "appno2"))) {
  1016. sysf_messageBox("비교할 신청번호를 입력하십시오", "E999");
  1017. return;
  1018. }
  1019. var oParam = {};
  1020. oParam.id = "TRPIE04212";
  1021. oParam.service = "edimngtapp.EdiMngt";
  1022. oParam.method = "reqGetCompareH803";
  1023. oParam.inds = "req=ds_send";
  1024. oParam.outds = "ds_main_baseinfo_h802list=base802 ds_main_appinfo_h802list=app802";
  1025. oParam.async = false;
  1026. //oParam.callback = "cf_TRPIE04212";
  1027. tranf_submit(oParam);
  1028. ds_main_baseinfo_h802list.updateColID("calcscorcd","goodcd");
  1029. ds_main_appinfo_h802list.updateColID("calcscorcd","goodcd");
  1030. if (ds_hidden.getColumn(0, "cflag") != "T") {
  1031. ds_main_appinfo_h802list.filterstr = "compflag=='"+ ds_hidden.getColumn(0, "cflag") +"'";
  1032. }
  1033. }
  1034. function switch1_appno_cmb_cflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  1035. if (ds_hidden.getColumn(0, "cflag") != "T") {
  1036. ds_main_appinfo_h802list.filterstr = "compflag =='"+ ds_hidden.getColumn(0, "cflag") +"'";
  1037. } else {
  1038. ds_main_appinfo_h802list.filterstr = "";
  1039. }
  1040. }
  1041. function switch1_insu_grd_insu_oncellclick(obj:Grid, e:GridClickEventInfo) {
  1042. var reptcd = ds_main_insuinfo.getColumn(ds_main_insuinfo.rowposition, "insuedicd");
  1043. var row = ds_main_baseinfo_h802list.findRowExpr("reptcd=='"+ reptcd +"'");
  1044. if (row > -1) {
  1045. ds_main_baseinfo_h802list.rowposition = row;
  1046. grd_baseh802.vscrollbar.pos = row-5;
  1047. var sInDs = dsf_createDsRow("ds_cond"
  1048. ,[{col: "reptcd" , val: ds_main_baseinfo_h802list.getColumn(row, "reptcd") }
  1049. ,{col: "appno" , val:ds_send.getColumn(0, "appno") }
  1050. ]);
  1051. var oParam = {};
  1052. oParam.id = "TRPIE04213";
  1053. oParam.service = "edimngtapp.EdiMngt";
  1054. oParam.method = "reqGetH803";
  1055. oParam.inds = "req="+sInDs;
  1056. oParam.outds = "ds_main_baseinfo_h803list=gridpiehh803";
  1057. oParam.async = false;
  1058. //oParam.callback = "cf_TRPIE04213";
  1059. tranf_submit(oParam);
  1060. } else {
  1061. ds_main_baseinfo_h802list.rowposition = -1;
  1062. ds_main_baseinfo_h803list.clearData();
  1063. }
  1064. }
  1065. function switch1_insu_btnComp_Insu_onclick(obj:Button, e:ClickEventInfo) {
  1066. if (utlf_isNull(ds_send.getColumn(0, "appyearmnth"))) {
  1067. sysf_messageBox("신청분기를 입력하십시오", "E999");
  1068. return;
  1069. }
  1070. if (utlf_isNull(ds_send.getColumn(0, "appno"))) {
  1071. sysf_messageBox("신청번호를 입력하십시오", "E999");
  1072. return;
  1073. }
  1074. if (utlf_isNull(ds_send.getColumn(0, "apdd"))) {
  1075. sysf_messageBox("적용일자를 입력하십시오", "E999");
  1076. return;
  1077. }
  1078. var oParam = {};
  1079. oParam.id = "TRPIE04215";
  1080. oParam.service = "edimngtapp.EdiMngt";
  1081. oParam.method = "reqGetCompareInsu";
  1082. oParam.inds = "req=ds_send";
  1083. oParam.outds = "ds_main_baseinfo_h802list=base802 ds_main_insuinfo=insulist";
  1084. oParam.async = false;
  1085. //oParam.callback = "cf_TRPIE04215";
  1086. tranf_submit(oParam);
  1087. ds_main_baseinfo_h802list.updateColID("calcscorcd","goodcd");
  1088. }
  1089. function cmb_flag_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  1090. switch1.tabindex = e.postindex;
  1091. }
  1092. function btn_excel_onclick(obj:Button, e:ClickEventInfo) {
  1093. var flag = ds_hidden.getColumn(0, "compflag");
  1094. var nm = Div00.cmb_flag.text;
  1095. if (flag == "mis") {
  1096. var sGrd = "grd_baseh802,switch1.mis.grd_misgood";
  1097. var sSheet = "신고내역,"+nm;
  1098. } else if (flag == "appno") {
  1099. var sGrd = "grd_baseh802,switch1.appno.grd_apph802";
  1100. var sSheet = "신고내역,"+nm;
  1101. } else {
  1102. var sGrd = "grd_baseh802,switch1.insu.grd_insu";
  1103. var sSheet = "신고내역,"+nm;
  1104. }
  1105. grdf_exportExcelMulti(sGrd, "약가변경내역_신고내역 vs " + nm, sSheet);
  1106. }
  1107. function switch1_insu_Div00_chk_ediflag_onclick(obj:cp_checkboxList, e:ClickEventInfo)
  1108. {
  1109. }
  1110. function switch1_appno_Div00_cmb_appno2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1111. {
  1112. obj.updateToDataset();
  1113. ds_hidden.setColumn( 0, "insudt2", ds_init_appno2.lookupExpr("appno == '" + obj.value + "'","insudt"));
  1114. ds_hidden.setColumn( 0, "avgdt2", ds_init_appno2.lookupExpr("appno == '" + obj.value + "'","avgdt"));
  1115. ds_hidden.setColumn( 0, "windd2", ds_init_appno2.lookupExpr("appno == '" + obj.value + "'","windd"));
  1116. }
  1117. ]]></Script>
  1118. </Form>
  1119. </FDL>