SPPIE04110_약가생성내역.xfdl 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml" />
  4. <Form id="SPPIE04110" position="absolute 0 0 1211 784" titletext="약가생성내역" onload="SPPIE04110_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption1" class="tit_1" position="absolute 0 0 120 14" style="" text="약가 생성 내역" />
  8. <Shape id="roundrect1" anchor="default" type="roundrectangle" position="absolute 0 20 525 55" style="" />
  9. <Static id="caption4" class="search_name" position="absolute 6 30 105 47" style="" text="분기신고월 :" />
  10. <Combo innerdataset="ds_init_appyearmnth_appyearmnthlist" datacolumn="appyearmnth" codecolumn="appyearmnth" columncount="-1" rowcount="-1" id="cmb_appyearmnth" class="combo_search" position="absolute 110 29 180 48" style="" onitemchanged="cmb_appyearmnth_onitemchanged" />
  11. <Static id="caption3" class="search_name" position="absolute 191 30 290 47" style="" text="신청번호 :" />
  12. <Combo innerdataset="ds_init_appno_appnolist" datacolumn="repttotcnt" codecolumn="appno" columncount="-1" rowcount="-1" id="cmb_appno" class="combo_search" position="absolute 280 28 430 47" style="" />
  13. <Shape id="line13" class="line_4" linetype="vertical" position="absolute 450 27 453 49" style="border: solid #ffe4bb #ffe4bb;" anchor="default" />
  14. <Button id="btn_search" class="btn1_letter2" taborder="13" position="absolute 460 27 516 49" style="" text="조회" onclick="btn_search_onclick" />
  15. <Static id="caption7" class="tit_2" position="absolute 5 65 110 78" style="" text="약가 목록" />
  16. <Shape id="line6" class="line_1" linetype="horizontal" position="absolute 0 80 525 83" style="" anchor="default" />
  17. <Grid id="grd_mchilist" binddataset="ds_main_mchilist" position="absolute 0 85 525 765" style="" oncellclick="grd_mchilist_oncellclick">
  18. <Formats>
  19. <Format id="default">
  20. <Columns>
  21. <Column size="30" />
  22. <Column size="80" />
  23. <Column size="0" />
  24. <Column size="210" />
  25. <Column size="70" />
  26. <Column size="120" />
  27. </Columns>
  28. <Rows>
  29. <Row size="24" band="head" />
  30. <Row size="24" />
  31. </Rows>
  32. <Band id="head">
  33. <Cell text="Seq" />
  34. <Cell col="1" text="수가코드" />
  35. <Cell col="2" text="EDI코드" />
  36. <Cell col="3" text="수가명" />
  37. <Cell col="4" text="보험가" />
  38. <Cell col="5" text="수가생성일시" />
  39. </Band>
  40. <Band id="body">
  41. <Cell text="bind:insuseq" />
  42. <Cell col="1" text="bind:calcscorcd" />
  43. <Cell col="2" text="bind:insuedicd" />
  44. <Cell col="3" text="bind:hngnm" />
  45. <Cell col="4" text="bind:insurbpnt" />
  46. <Cell col="5" text="bind:insudt" />
  47. </Band>
  48. </Format>
  49. </Formats>
  50. </Grid>
  51. <Grid id="datagrid1" position="absolute 535 10 1195 58" style="">
  52. <Formats>
  53. <Format id="default">
  54. <Rows>
  55. <Row size="24" band="head" />
  56. <Row size="24" />
  57. </Rows>
  58. </Format>
  59. </Formats>
  60. </Grid>
  61. <Grid id="grd_802" binddataset="ds_main_detail_mchp802" position="absolute 535 85 1195 205" style="">
  62. <Formats>
  63. <Format id="default">
  64. <Columns>
  65. <Column size="30" />
  66. <Column size="0" />
  67. <Column size="0" />
  68. <Column size="80" />
  69. <Column size="220" />
  70. <Column size="75" />
  71. <Column size="120" />
  72. <Column size="120" />
  73. </Columns>
  74. <Rows>
  75. <Row size="24" band="head" />
  76. <Row size="24" />
  77. </Rows>
  78. <Band id="head">
  79. <Cell text="Seq" />
  80. <Cell col="1" text="saveseq" />
  81. <Cell col="2" text="avgseq" />
  82. <Cell col="3" text="품목코드" />
  83. <Cell col="4" text="물품명" />
  84. <Cell col="5" text="가중평균가" />
  85. <Cell col="6" text="저장일시" />
  86. <Cell col="7" text="평균가생성일시" />
  87. </Band>
  88. <Band id="body">
  89. <Cell text="bind:insuseq" />
  90. <Cell col="1" text="bind:saveseq" />
  91. <Cell col="2" text="bind:avgseq" />
  92. <Cell col="3" text="bind:reptcd" />
  93. <Cell col="4" text="bind:item" />
  94. <Cell col="5" text="bind:avg" />
  95. <Cell col="6" text="bind:savedt" />
  96. <Cell col="7" text="bind:avgdt" />
  97. </Band>
  98. </Format>
  99. </Formats>
  100. </Grid>
  101. <Shape id="line2" class="line_1" linetype="horizontal" position="absolute 535 80 1195 83" style="" anchor="default" />
  102. <Static id="caption5" class="tit_2" position="absolute 535 65 700 78" style="" text="의약품 구입 내역 - H802" />
  103. <Static id="caption6" class="tit_2" position="absolute 535 215 700 228" style="" text="의약품 구입 내역 - H803" />
  104. <Grid id="grd_803hist" binddataset="ds_main_detail_mchphist" position="absolute 535 235 835 355" style="" oncellclick="grd_803hist_oncellclick">
  105. <Formats>
  106. <Format id="default">
  107. <Columns>
  108. <Column size="30" />
  109. <Column size="0" />
  110. <Column size="0" />
  111. <Column size="127" />
  112. <Column size="128" />
  113. </Columns>
  114. <Rows>
  115. <Row size="24" band="head" />
  116. <Row size="24" />
  117. </Rows>
  118. <Band id="head">
  119. <Cell text="Seq" />
  120. <Cell col="1" text="saveseq" />
  121. <Cell col="2" text="avgseq" />
  122. <Cell col="3" text="저장일시" />
  123. <Cell col="4" text="평균가생성일시" />
  124. </Band>
  125. <Band id="body">
  126. <Cell text="bind:insuseq" />
  127. <Cell col="1" text="bind:saveseq" />
  128. <Cell col="2" text="bind:avgseq" />
  129. <Cell col="3" text="bind:savedt" />
  130. <Cell col="4" text="bind:avgdt" />
  131. </Band>
  132. </Format>
  133. </Formats>
  134. </Grid>
  135. <Grid id="grd_803" binddataset="ds_main_detail_mchp803" position="absolute 535 354 835 765" style="">
  136. <Formats>
  137. <Format id="default">
  138. <Columns>
  139. <Column size="0" />
  140. <Column size="0" />
  141. <Column size="45" />
  142. <Column size="70" />
  143. <Column size="50" />
  144. <Column size="65" />
  145. <Column size="55" />
  146. </Columns>
  147. <Rows>
  148. <Row size="24" band="head" />
  149. <Row size="24" />
  150. </Rows>
  151. <Band id="head">
  152. <Cell text="saveseq" />
  153. <Cell col="1" text="avgseq" />
  154. <Cell col="2" text="줄번호" />
  155. <Cell col="3" text="구입일" />
  156. <Cell col="4" text="구입량" />
  157. <Cell col="5" text="구입총액" />
  158. <Cell col="6" text="구입단가" />
  159. </Band>
  160. <Band id="body">
  161. <Cell text="bind:saveseq" />
  162. <Cell col="1" text="bind:avgseq" />
  163. <Cell col="2" text="bind:lnno" />
  164. <Cell col="3" text="bind:purcdd" />
  165. <Cell col="4" text="bind:purcqty" />
  166. <Cell col="5" text="bind:purctotamt" />
  167. <Cell col="6" text="bind:purcunitcost" />
  168. </Band>
  169. </Format>
  170. </Formats>
  171. </Grid>
  172. <Shape id="line3" class="line_1" linetype="horizontal" position="absolute 535 230 835 233" style="" anchor="default" />
  173. <Grid id="grd_mishist" binddataset="ds_main_detail_mchmhist" position="absolute 845 235 1195 355" style="" oncellclick="grd_mishist_oncellclick">
  174. <Formats>
  175. <Format id="default">
  176. <Columns>
  177. <Column size="30" />
  178. <Column size="45" />
  179. <Column size="0" />
  180. <Column size="0" />
  181. <Column size="130" />
  182. <Column size="130" />
  183. </Columns>
  184. <Rows>
  185. <Row size="24" band="head" />
  186. <Row size="24" />
  187. </Rows>
  188. <Band id="head">
  189. <Cell text="Seq" />
  190. <Cell col="1" text="구분" />
  191. <Cell col="2" text="saveseq" />
  192. <Cell col="3" text="misseq" />
  193. <Cell col="4" text="저장일시" />
  194. <Cell col="5" text="MIS조회일시" />
  195. </Band>
  196. <Band id="body">
  197. <Cell text="bind:insuseq" />
  198. <Cell col="1" text="bind:srcflag" />
  199. <Cell col="2" text="bind:saveseq" />
  200. <Cell col="3" text="bind:misseq" />
  201. <Cell col="4" text="bind:savedt" />
  202. <Cell col="5" text="bind:misdt" />
  203. </Band>
  204. </Format>
  205. </Formats>
  206. </Grid>
  207. <Grid id="grd_mis" binddataset="ds_main_detail_mchm" position="absolute 845 354 1195 765" style="">
  208. <Formats>
  209. <Format id="default">
  210. <Columns>
  211. <Column size="0" />
  212. <Column size="0" />
  213. <Column size="50" />
  214. <Column size="45" />
  215. <Column size="70" />
  216. <Column size="50" />
  217. <Column size="65" />
  218. <Column size="55" />
  219. </Columns>
  220. <Rows>
  221. <Row size="24" band="head" />
  222. <Row size="24" />
  223. </Rows>
  224. <Band id="head">
  225. <Cell text="saveseq" />
  226. <Cell col="1" text="misseq" />
  227. <Cell col="2" text="구분" />
  228. <Cell col="3" text="줄번호" />
  229. <Cell col="4" text="구입일" />
  230. <Cell col="5" text="구입량" />
  231. <Cell col="6" text="구입총액" />
  232. <Cell col="7" text="구입단가" />
  233. </Band>
  234. <Band id="body">
  235. <Cell text="bind:saveseq" />
  236. <Cell col="1" text="bind:misseq" />
  237. <Cell col="2" text="bind:srcflag" />
  238. <Cell col="3" text="bind:lnno" />
  239. <Cell col="4" text="bind:purcdd" />
  240. <Cell col="5" text="bind:purcqty" />
  241. <Cell col="6" text="bind:purctotamt" />
  242. <Cell col="7" text="bind:purcunitcost" />
  243. </Band>
  244. </Format>
  245. </Formats>
  246. </Grid>
  247. <Static id="caption8" class="tit_2" position="absolute 845 215 1005 228" style="" text="의약품 구입 내역 - MIS" />
  248. <Shape id="line4" class="line_1" linetype="horizontal" position="absolute 845 230 1195 233" style="" anchor="default" />
  249. </Layout>
  250. </Layouts>
  251. <Objects>
  252. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  253. <ColumnInfo>
  254. <Column id="apdd" type="STRING" size="256" />
  255. <Column id="appyearmnth" type="STRING" size="256" />
  256. <Column id="appno" type="STRING" size="256" />
  257. <Column id="insuedicd" type="STRING" size="256" />
  258. </ColumnInfo>
  259. <Rows>
  260. <Row>
  261. <Col id="apdd"></Col>
  262. <Col id="appyearmnth"></Col>
  263. <Col id="appno"></Col>
  264. <Col id="insuedicd"></Col>
  265. </Row>
  266. </Rows>
  267. </Dataset>
  268. <Dataset id="ds_main_detail_mchmhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  269. <ColumnInfo>
  270. <Column id="insuseq" type="STRING" size="256" />
  271. <Column id="srcflag" type="STRING" size="256" />
  272. <Column id="saveseq" type="STRING" size="256" />
  273. <Column id="misseq" type="STRING" size="256" />
  274. <Column id="savedt" type="STRING" size="256" />
  275. <Column id="misdt" type="STRING" size="256" />
  276. </ColumnInfo>
  277. <Rows>
  278. <Row>
  279. <Col id="insuseq"></Col>
  280. <Col id="srcflag"></Col>
  281. <Col id="saveseq"></Col>
  282. <Col id="misseq"></Col>
  283. <Col id="savedt"></Col>
  284. <Col id="misdt"></Col>
  285. </Row>
  286. </Rows>
  287. </Dataset>
  288. <Dataset id="ds_main_detail_mchphist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  289. <ColumnInfo>
  290. <Column id="insuseq" type="STRING" size="256" />
  291. <Column id="saveseq" type="STRING" size="256" />
  292. <Column id="avgseq" type="STRING" size="256" />
  293. <Column id="savedt" type="STRING" size="256" />
  294. <Column id="avgdt" type="STRING" size="256" />
  295. </ColumnInfo>
  296. <Rows>
  297. <Row>
  298. <Col id="insuseq"></Col>
  299. <Col id="saveseq"></Col>
  300. <Col id="avgseq"></Col>
  301. <Col id="savedt"></Col>
  302. <Col id="avgdt"></Col>
  303. </Row>
  304. </Rows>
  305. </Dataset>
  306. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  307. <ColumnInfo />
  308. </Dataset>
  309. <Dataset id="ds_main_mchilist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  310. <ColumnInfo>
  311. <Column id="insuseq" type="STRING" size="256" />
  312. <Column id="calcscorcd" type="STRING" size="256" />
  313. <Column id="insuedicd" type="STRING" size="256" />
  314. <Column id="hngnm" type="STRING" size="256" />
  315. <Column id="insurbpnt" type="STRING" size="256" />
  316. <Column id="insudt" type="STRING" size="256" />
  317. </ColumnInfo>
  318. <Rows>
  319. <Row>
  320. <Col id="insuseq"></Col>
  321. <Col id="calcscorcd"></Col>
  322. <Col id="insuedicd"></Col>
  323. <Col id="hngnm"></Col>
  324. <Col id="insurbpnt"></Col>
  325. <Col id="insudt"></Col>
  326. </Row>
  327. </Rows>
  328. </Dataset>
  329. <Dataset id="ds_main_detail_mchp802" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  330. <ColumnInfo>
  331. <Column id="insuseq" type="STRING" size="256" />
  332. <Column id="saveseq" type="STRING" size="256" />
  333. <Column id="avgseq" type="STRING" size="256" />
  334. <Column id="reptcd" type="STRING" size="256" />
  335. <Column id="item" type="STRING" size="256" />
  336. <Column id="avg" type="STRING" size="256" />
  337. <Column id="savedt" type="STRING" size="256" />
  338. <Column id="avgdt" type="STRING" size="256" />
  339. </ColumnInfo>
  340. <Rows>
  341. <Row>
  342. <Col id="insuseq"></Col>
  343. <Col id="saveseq"></Col>
  344. <Col id="avgseq"></Col>
  345. <Col id="reptcd"></Col>
  346. <Col id="item"></Col>
  347. <Col id="avg"></Col>
  348. <Col id="savedt"></Col>
  349. <Col id="avgdt"></Col>
  350. </Row>
  351. </Rows>
  352. </Dataset>
  353. <Dataset id="ds_main_detail" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  354. <ColumnInfo>
  355. <Column id="mchp801" type="STRING" size="256" />
  356. </ColumnInfo>
  357. <Rows>
  358. <Row>
  359. <Col id="mchp801"></Col>
  360. </Row>
  361. </Rows>
  362. </Dataset>
  363. <Dataset id="ds_main_detail_mchm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  364. <ColumnInfo>
  365. <Column id="saveseq" type="STRING" size="256" />
  366. <Column id="misseq" type="STRING" size="256" />
  367. <Column id="srcflag" type="STRING" size="256" />
  368. <Column id="lnno" type="STRING" size="256" />
  369. <Column id="purcdd" type="STRING" size="256" />
  370. <Column id="purcqty" type="STRING" size="256" />
  371. <Column id="purctotamt" type="STRING" size="256" />
  372. <Column id="purcunitcost" type="STRING" size="256" />
  373. </ColumnInfo>
  374. <Rows>
  375. <Row>
  376. <Col id="saveseq"></Col>
  377. <Col id="misseq"></Col>
  378. <Col id="srcflag"></Col>
  379. <Col id="lnno"></Col>
  380. <Col id="purcdd"></Col>
  381. <Col id="purcqty"></Col>
  382. <Col id="purctotamt"></Col>
  383. <Col id="purcunitcost"></Col>
  384. </Row>
  385. </Rows>
  386. </Dataset>
  387. <Dataset id="ds_main_detail_mchp803" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  388. <ColumnInfo>
  389. <Column id="saveseq" type="STRING" size="256" />
  390. <Column id="avgseq" type="STRING" size="256" />
  391. <Column id="lnno" type="STRING" size="256" />
  392. <Column id="purcdd" type="STRING" size="256" />
  393. <Column id="purcqty" type="STRING" size="256" />
  394. <Column id="purctotamt" type="STRING" size="256" />
  395. <Column id="purcunitcost" type="STRING" size="256" />
  396. </ColumnInfo>
  397. <Rows>
  398. <Row>
  399. <Col id="saveseq"></Col>
  400. <Col id="avgseq"></Col>
  401. <Col id="lnno"></Col>
  402. <Col id="purcdd"></Col>
  403. <Col id="purcqty"></Col>
  404. <Col id="purctotamt"></Col>
  405. <Col id="purcunitcost"></Col>
  406. </Row>
  407. </Rows>
  408. </Dataset>
  409. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  410. <ColumnInfo>
  411. <Column id="init" type="STRING" size="256" />
  412. </ColumnInfo>
  413. </Dataset>
  414. </Objects>
  415. <Bind>
  416. <BindItem id="item0" compid="cmb_appyearmnth" propid="value" datasetid="ds_send" columnid="appyearmnth" />
  417. <BindItem id="item1" compid="cmb_appno" propid="value" datasetid="ds_send" columnid="appno" />
  418. </Bind>
  419. <Script type="xscript4.0"><![CDATA[function SPPIE04110_onload(obj:Form, e:LoadEventInfo) {
  420. frmf_initForm(obj);
  421. //grdf_initGrid(grd_XXX);
  422. //grdf_setGridSort(grd_XXX);
  423. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  424. ds_send.setColumn( 0, "apdd", utlf_getCurrentDate());
  425. // if(submit("TRPIE04101")) {
  426. var oParam = {};
  427. oParam.id = "TRPIE04101";
  428. oParam.service = "edimngtapp.EdiMngt";
  429. oParam.method = "reqGetH801appyearmnth";
  430. oParam.inds = "req=ds_";
  431. oParam.outds = "ds_=appyearmnthlist";
  432. oParam.async = false;
  433. oParam.callback = "cf_TRPIE04101";
  434. tranf_submit(oParam);
  435. /*
  436. function cf_TRPIE04101(sSvcId, nErrorCode, sErrorMsg) {
  437. if(nErrorCode < 0) return;
  438. }
  439. function cf_TRPIE04101(sSvcId, nErrorCode, sErrorMsg) {
  440. arErrorCode.push(sSvcId, nErrorCode);
  441. }
  442. arErrorCode.pop("TRPIE04101") > -1
  443. arErrorCode.pop("TRPIE04101") < 0
  444. */
  445. var appyearmnth = opener.javascript.frmf_getParameter("SMPIE04100_appyearmnth");
  446. if (appyearmnth != null && appyearmnth != "") {
  447. ds_send.setColumn( 0, "appyearmnth", appyearmnth);
  448. //cmb_appyearmnth.refresh();
  449. // if (submit("TRPIE04105")) {
  450. var oParam = {};
  451. oParam.id = "TRPIE04105";
  452. oParam.service = "edimngtapp.EdiMngt";
  453. oParam.method = "reqGetH801appno";
  454. oParam.inds = "req=ds_";
  455. oParam.outds = "ds_=appnolist";
  456. oParam.async = false;
  457. oParam.callback = "cf_TRPIE04105";
  458. tranf_submit(oParam);
  459. /*
  460. function cf_TRPIE04105(sSvcId, nErrorCode, sErrorMsg) {
  461. if(nErrorCode < 0) return;
  462. }
  463. function cf_TRPIE04105(sSvcId, nErrorCode, sErrorMsg) {
  464. arErrorCode.push(sSvcId, nErrorCode);
  465. }
  466. arErrorCode.pop("TRPIE04105") > -1
  467. arErrorCode.pop("TRPIE04105") < 0
  468. */
  469. var appno = opener.javascript.frmf_getParameter("SMPIE04100_appno");
  470. if (appno != null && appno != "") {
  471. ds_send.setColumn( 0, "appno", appno);
  472. //cmb_appno.refresh();
  473. // submit("TRPIE04110");
  474. var oParam = {};
  475. oParam.id = "TRPIE04110";
  476. oParam.service = "edimngtapp.EdiMngt";
  477. oParam.method = "reqGetMchiList";
  478. oParam.inds = "req=ds_";
  479. oParam.outds = "ds_=mchilist";
  480. oParam.async = false;
  481. oParam.callback = "cf_TRPIE04110";
  482. tranf_submit(oParam);
  483. /*
  484. function cf_TRPIE04110(sSvcId, nErrorCode, sErrorMsg) {
  485. if(nErrorCode < 0) return;
  486. }
  487. function cf_TRPIE04110(sSvcId, nErrorCode, sErrorMsg) {
  488. arErrorCode.push(sSvcId, nErrorCode);
  489. }
  490. arErrorCode.pop("TRPIE04110") > -1
  491. arErrorCode.pop("TRPIE04110") < 0
  492. */
  493. }
  494. }
  495. }
  496. }
  497. }
  498. include '../../.._com_commonweb_js_common.js'
  499. include '../../.._com_commonweb_js_tfHelper.js'
  500. include '../../.._com_commonweb_js_stringHelper.js'
  501. include '../../.._com_commonweb_js_numericHelper.js'
  502. include '../../.._com_commonweb_js_dateHelper.js'
  503. include '../../.._com_basiccodeweb_js_ZBC001.js'
  504. function cmb_appyearmnth_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  505. // 신청번호 조회
  506. // submit("TRPIE04105");
  507. var oParam = {};
  508. oParam.id = "TRPIE04105";
  509. oParam.service = "edimngtapp.EdiMngt";
  510. oParam.method = "reqGetH801appno";
  511. oParam.inds = "req=ds_";
  512. oParam.outds = "ds_=appnolist";
  513. oParam.async = false;
  514. oParam.callback = "cf_TRPIE04105";
  515. tranf_submit(oParam);
  516. /*
  517. function cf_TRPIE04105(sSvcId, nErrorCode, sErrorMsg) {
  518. if(nErrorCode < 0) return;
  519. }
  520. function cf_TRPIE04105(sSvcId, nErrorCode, sErrorMsg) {
  521. arErrorCode.push(sSvcId, nErrorCode);
  522. }
  523. arErrorCode.pop("TRPIE04105") > -1
  524. arErrorCode.pop("TRPIE04105") < 0
  525. */
  526. }
  527. function btn_search_onclick(obj:Button, e:ClickEventInfo) {
  528. if (ds_send.getColumn(0, "appyearmnth") == "") {
  529. sysf_messageBox("분기신고월을 입력하십시오", "E999");
  530. return;
  531. }
  532. if (ds_send.getColumn(0, "appno") == "") {
  533. sysf_messageBox("신청번호를 입력하십시오", "E999");
  534. return;
  535. }
  536. // submit("TRPIE04110");
  537. var oParam = {};
  538. oParam.id = "TRPIE04110";
  539. oParam.service = "edimngtapp.EdiMngt";
  540. oParam.method = "reqGetMchiList";
  541. oParam.inds = "req=ds_";
  542. oParam.outds = "ds_=mchilist";
  543. oParam.async = false;
  544. oParam.callback = "cf_TRPIE04110";
  545. tranf_submit(oParam);
  546. /*
  547. function cf_TRPIE04110(sSvcId, nErrorCode, sErrorMsg) {
  548. if(nErrorCode < 0) return;
  549. }
  550. function cf_TRPIE04110(sSvcId, nErrorCode, sErrorMsg) {
  551. arErrorCode.push(sSvcId, nErrorCode);
  552. }
  553. arErrorCode.pop("TRPIE04110") > -1
  554. arErrorCode.pop("TRPIE04110") < 0
  555. */
  556. }
  557. function grd_mchilist_oncellclick(obj:Grid, e:GridClickEventInfo) {
  558. if (!grd_mchilist.isCell(event.target)) {
  559. return;
  560. }
  561. ds_send.setColumn( 0, "insuedicd", ds_main_mchilist.getColumn(grd_mchilist.row, "insuedicd")));
  562. // submit("TRPIE04111", false);
  563. var oParam = {};
  564. oParam.id = "TRPIE04110";
  565. oParam.service = "edimngtapp.EdiMngt";
  566. oParam.method = "reqGetMchiDetail";
  567. oParam.inds = "req=ds_";
  568. oParam.outds = "ds_=mchp802 ds_=mchphist ds_=mchp803 ds_=mchmhist ds_=mchm";
  569. oParam.async = false;
  570. oParam.callback = "cf_TRPIE04110";
  571. tranf_submit(oParam);
  572. /*
  573. function cf_TRPIE04110(sSvcId, nErrorCode, sErrorMsg) {
  574. if(nErrorCode < 0) return;
  575. }
  576. function cf_TRPIE04110(sSvcId, nErrorCode, sErrorMsg) {
  577. arErrorCode.push(sSvcId, nErrorCode);
  578. }
  579. arErrorCode.pop("TRPIE04110") > -1
  580. arErrorCode.pop("TRPIE04110") < 0
  581. */
  582. var idx = instance1.selectNodes("ds_main_detail_mchphist").length;
  583. var saveseq = ds_main_detail_mchphist.getColumn(idx, "saveseq"));
  584. var avgseq = ds_main_detail_mchphist.getColumn(idx, "avgseq"));
  585. grd_803.nodeset = "ds_main_detail_mchp803[saveseq = '" + saveseq + "' and avgseq = '" + avgseq + "']";
  586. var idx2 = instance1.selectNodes("ds_main_detail_mchmhist").length;
  587. saveseq = ds_main_detail_mchmhist.getColumn(idx2, "saveseq"));
  588. var misseq = ds_main_detail_mchmhist.getColumn(idx2, "misseq"));
  589. grd_mis.nodeset = "ds_main_detail_mchm[saveseq = '" + saveseq + "' and misseq = '" + misseq + "']";
  590. //model.refresh();
  591. grd_803hist.row = idx;
  592. grd_mishist.row = idx2;
  593. }
  594. function grd_803hist_oncellclick(obj:Grid, e:GridClickEventInfo) {
  595. if (!grd_803hist.isCell(event.target)) {
  596. return;
  597. }
  598. var saveseq = ds_main_detail_mchphist.getColumn(grd_803hist.row, "saveseq"));
  599. var avgseq = ds_main_detail_mchphist.getColumn(grd_803hist.row, "avgseq"));
  600. grd_803.nodeset = "ds_main_detail_mchp803[saveseq = '" + saveseq + "' and avgseq = '" + avgseq + "']";
  601. }
  602. function grd_mishist_oncellclick(obj:Grid, e:GridClickEventInfo) {
  603. if (!grd_mishist.isCell(event.target)) {
  604. return;
  605. }
  606. var saveseq = ds_main_detail_mchmhist.getColumn(grd_mishist.row, "saveseq"));
  607. var misseq = ds_main_detail_mchmhist.getColumn(grd_mishist.row, "misseq"));
  608. grd_mis.nodeset = "ds_main_detail_mchm[saveseq = '" + saveseq + "' and misseq = '" + misseq + "']";
  609. }
  610. ]]></Script>
  611. </Form>
  612. </FDL>