SMRST03301_재고종합조회 환자별 상세내역.xfdl 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRST03301" position="absolute 0 0 860 780" titletext="약품 재고 관리" onload="SMRST03301_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group1" position="absolute 0 0 836 21" style="" scrollbars="none">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption6" class="tit_1" position="absolute 0 0 194 22" style="" text="약품 재고 환자별 상세 내역" anchor="default"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div id="group3" scrollbars="autoboth" position="absolute 0 15 836 760" style="">
  15. <Layouts>
  16. <Layout>
  17. <Div id="group2" position="absolute 0 5 820 50" style="">
  18. <Layouts>
  19. <Layout>
  20. <Shape id="roundrect1" anchor="default" type="roundrectangle" position="absolute 0 3 815 40" style="border:1 solid #ffd799 #ffd799;background:#fffbf2 ;"/>
  21. <Static id="caption1" class="search_name" position="absolute 185 15 370 32" style="align: middle;" text="조회_마감_재고반영 부서" visible="false"/>
  22. <Button id="btn_srch" class="btn3" taborder="18" visible="false" position="absolute 748 10 804 32" style="" text="조회" onclick="group3_group2_btn_srch_onclick"/>
  23. </Layout>
  24. </Layouts>
  25. </Div>
  26. <Static id="caption10" class="tit_2" position="absolute 6 51 189 72" style="" text="상세 내역"/>
  27. <Grid id="datagrid1" binddataset="ds_main_prcplist_prcpinfo" position="absolute 0 85 815 720" style="" onscroll="group3_datagrid1_onscroll" onaftersort="group3_datagrid1_onaftersort" oncelldblclick="group3_datagrid1_oncelldblclick">
  28. <Formats>
  29. <Format id="default">
  30. <Columns>
  31. <Column size="70"/>
  32. <Column size="60"/>
  33. <Column size="69"/>
  34. <Column size="0"/>
  35. <Column size="81"/>
  36. <Column size="82"/>
  37. <Column size="56"/>
  38. <Column size="80"/>
  39. <Column size="0"/>
  40. <Column size="180"/>
  41. <Column size="60"/>
  42. <Column size="0"/>
  43. <Column size="55"/>
  44. </Columns>
  45. <Rows>
  46. <Row size="24" band="head"/>
  47. <Row size="24"/>
  48. </Rows>
  49. <Band id="head">
  50. <Cell text="마감일자"/>
  51. <Cell col="1" text="마감시간"/>
  52. <Cell col="2" text="적용일자"/>
  53. <Cell col="3" text="약품구분"/>
  54. <Cell col="4" text="입고부서"/>
  55. <Cell col="5" text="병동"/>
  56. <Cell col="6" text="등록번호"/>
  57. <Cell col="7" text="환자명"/>
  58. <Cell col="8" text="약품코드"/>
  59. <Cell col="9" text="약품명"/>
  60. <Cell col="10" text="불출수량"/>
  61. <Cell col="11" text="UNIQNO"/>
  62. <Cell col="12" text="투약번호"/>
  63. <Cell col="13" text="재고반영여부"/>
  64. </Band>
  65. <Band id="body">
  66. <Cell text="bind:genrdd"/>
  67. <Cell col="1" text="bind:genrtm"/>
  68. <Cell col="2" text="bind:prcpdd"/>
  69. <Cell col="3" text="bind:spcldrug"/>
  70. <Cell col="4" text="bind:deptnm"/>
  71. <Cell col="5" text="bind:wardnm"/>
  72. <Cell col="6" text="bind:pid"/>
  73. <Cell col="7" text="bind:panm"/>
  74. <Cell col="8" text="bind:calcscorcd"/>
  75. <Cell col="9" text="bind:engnm"/>
  76. <Cell col="10" text="bind:execprcptotqty"/>
  77. <Cell col="11" text="bind:execdd"/>
  78. <Cell col="12" displaytype="text" style="align:center middle;" text="bind:drugno"/>
  79. </Band>
  80. </Format>
  81. </Formats>
  82. </Grid>
  83. <Shape id="line4" class="line_1" linetype="horizontal" position="absolute 0 68 814 71" style="strokepen:5 solid #33bbbbff;" anchor="default"/>
  84. <Button id="btn_excsave" class="btn2" visible="false" position="absolute 15 15 79 34" style="" text="엑셀저장" onclick="group3_btn_excsave_onclick"/>
  85. </Layout>
  86. </Layouts>
  87. </Div>
  88. </Layout>
  89. </Layouts>
  90. <Objects>
  91. <Dataset id="ds_init_chkinstcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  92. <ColumnInfo/>
  93. </Dataset>
  94. <Dataset id="ds_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  95. <ColumnInfo>
  96. <Column id="hidden" type="STRING" size="256"/>
  97. </ColumnInfo>
  98. </Dataset>
  99. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  100. <ColumnInfo/>
  101. </Dataset>
  102. <Dataset id="ds_init_chksum_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  103. <ColumnInfo>
  104. <Column id="chkast" type="STRING" size="256"/>
  105. </ColumnInfo>
  106. <Rows>
  107. <Row>
  108. <Col id="chkast"/>
  109. </Row>
  110. </Rows>
  111. </Dataset>
  112. <Dataset id="ds_init_updmflaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  113. <ColumnInfo/>
  114. </Dataset>
  115. <Dataset id="ds_init_updmflaglist_flaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  116. <ColumnInfo>
  117. <Column id="fromddflag" type="STRING" size="256"/>
  118. <Column id="fromtm" type="STRING" size="256"/>
  119. <Column id="nextfromtm" type="STRING" size="256"/>
  120. </ColumnInfo>
  121. <Rows>
  122. <Row>
  123. <Col id="fromddflag"/>
  124. <Col id="fromtm"/>
  125. <Col id="nextfromtm"/>
  126. </Row>
  127. </Rows>
  128. </Dataset>
  129. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  130. <ColumnInfo>
  131. <Column id="chkyn" type="STRING" size="256"/>
  132. <Column id="chktm" type="STRING" size="256"/>
  133. <Column id="sumdtinfo" type="STRING" size="256"/>
  134. </ColumnInfo>
  135. </Dataset>
  136. <Dataset id="ds_init_chksum" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  137. <ColumnInfo/>
  138. </Dataset>
  139. <Dataset id="ds_main_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  140. <ColumnInfo/>
  141. </Dataset>
  142. <Dataset id="ds_main_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  143. <ColumnInfo>
  144. <Column id="patinfo" type="STRING" size="256"/>
  145. </ColumnInfo>
  146. <Rows>
  147. <Row>
  148. <Col id="patinfo"/>
  149. </Row>
  150. </Rows>
  151. </Dataset>
  152. <Dataset id="ds_main_prnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  153. <ColumnInfo>
  154. <Column id="prninfo" type="STRING" size="256"/>
  155. </ColumnInfo>
  156. <Rows>
  157. <Row>
  158. <Col id="prninfo"/>
  159. </Row>
  160. </Rows>
  161. </Dataset>
  162. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  163. <ColumnInfo/>
  164. </Dataset>
  165. <Dataset id="ds_init_sumtmflaglist_flaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  166. <ColumnInfo>
  167. <Column id="flagcd" type="STRING" size="256"/>
  168. <Column id="flagnm" type="STRING" size="256"/>
  169. <Column id="fromddflag" type="STRING" size="256"/>
  170. <Column id="fromtm" type="STRING" size="256"/>
  171. <Column id="toddflag" type="STRING" size="256"/>
  172. <Column id="totm" type="STRING" size="256"/>
  173. </ColumnInfo>
  174. <Rows>
  175. <Row>
  176. <Col id="flagcd"/>
  177. <Col id="flagnm"/>
  178. <Col id="fromddflag"/>
  179. <Col id="fromtm"/>
  180. <Col id="toddflag"/>
  181. <Col id="totm"/>
  182. </Row>
  183. </Rows>
  184. </Dataset>
  185. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  186. <ColumnInfo>
  187. <Column id="drugcd" type="STRING" size="256"/>
  188. <Column id="fromddflag" type="STRING" size="256"/>
  189. <Column id="toddflag" type="STRING" size="256"/>
  190. <Column id="fromtm" type="STRING" size="256"/>
  191. <Column id="totm" type="STRING" size="256"/>
  192. <Column id="issdeptcd" type="STRING" size="256"/>
  193. </ColumnInfo>
  194. <Rows>
  195. <Row>
  196. <Col id="drugcd"/>
  197. <Col id="fromddflag"/>
  198. <Col id="toddflag"/>
  199. <Col id="fromtm"/>
  200. <Col id="totm"/>
  201. <Col id="issdeptcd"/>
  202. </Row>
  203. </Rows>
  204. </Dataset>
  205. <Dataset id="ds_send_sumlistinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  206. <ColumnInfo>
  207. <Column id="prcpflag" type="STRING" size="256"/>
  208. </ColumnInfo>
  209. <Rows>
  210. <Row>
  211. <Col id="prcpflag">O</Col>
  212. </Row>
  213. </Rows>
  214. </Dataset>
  215. <Dataset id="ds_hidden_chkpid_pharm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  216. <ColumnInfo>
  217. <Column id="pharmflag" type="STRING" size="256"/>
  218. </ColumnInfo>
  219. <Rows>
  220. <Row>
  221. <Col id="pharmflag"/>
  222. </Row>
  223. </Rows>
  224. </Dataset>
  225. <Dataset id="ds_hidden_chkpid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  226. <ColumnInfo/>
  227. </Dataset>
  228. <Dataset id="ds_main_astlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  229. <ColumnInfo>
  230. <Column id="astinfo" type="STRING" size="256"/>
  231. </ColumnInfo>
  232. <Rows>
  233. <Row>
  234. <Col id="astinfo"/>
  235. </Row>
  236. </Rows>
  237. </Dataset>
  238. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  239. <ColumnInfo>
  240. <Column id="srchfromdd" type="STRING" size="256"/>
  241. <Column id="calcscorcd" type="STRING" size="256"/>
  242. <Column id="execdeptcd" type="STRING" size="256"/>
  243. <Column id="endtime" type="STRING" size="256"/>
  244. <Column id="fromddflag" type="STRING" size="256"/>
  245. <Column id="fromtm" type="STRING" size="256"/>
  246. <Column id="toddflag" type="STRING" size="256"/>
  247. <Column id="totm" type="STRING" size="256"/>
  248. <Column id="fromdd" type="STRING" size="256"/>
  249. <Column id="todd" type="STRING" size="256"/>
  250. <Column id="srchorddeptcd" type="STRING" size="256"/>
  251. <Column id="issdeptcd" type="STRING" size="256"/>
  252. <Column id="spcldrug" type="STRING" size="256"/>
  253. <Column id="maendflag" type="STRING" size="256"/>
  254. <Column id="ddflag" type="STRING" size="256"/>
  255. <Column id="srchdeptcd" type="STRING" size="256"/>
  256. <Column id="offset" type="STRING" size="256"/>
  257. <Column id="pagesize" type="STRING" size="256"/>
  258. <Column id="indeptcd" type="STRING" size="256"/>
  259. </ColumnInfo>
  260. <Rows>
  261. <Row>
  262. <Col id="srchfromdd"/>
  263. <Col id="calcscorcd"/>
  264. <Col id="execdeptcd"/>
  265. </Row>
  266. </Rows>
  267. </Dataset>
  268. <Dataset id="ds_init_sumtmflaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  269. <ColumnInfo/>
  270. </Dataset>
  271. <Dataset id="ds_main_prcplist_prcpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  272. <ColumnInfo>
  273. <Column id="genrdd" type="STRING" size="256"/>
  274. <Column id="genrtm" type="STRING" size="256"/>
  275. <Column id="prcpdd" type="STRING" size="256"/>
  276. <Column id="spcldrug" type="STRING" size="256"/>
  277. <Column id="deptnm" type="STRING" size="256"/>
  278. <Column id="wardnm" type="STRING" size="256"/>
  279. <Column id="pid" type="STRING" size="256"/>
  280. <Column id="panm" type="STRING" size="256"/>
  281. <Column id="calcscorcd" type="STRING" size="256"/>
  282. <Column id="engnm" type="STRING" size="256"/>
  283. <Column id="execprcptotqty" type="STRING" size="256"/>
  284. <Column id="execdd" type="STRING" size="256"/>
  285. <Column id="drugno" type="STRING" size="256"/>
  286. <Column id="issdeptcd" type="STRING" size="256"/>
  287. <Column id="prcpgenrflag" type="STRING" size="256"/>
  288. <Column id="execprcpuniqno" type="STRING" size="256"/>
  289. <Column id="sumflag" type="STRING" size="256"/>
  290. </ColumnInfo>
  291. <Rows>
  292. <Row>
  293. <Col id="genrdd"/>
  294. <Col id="genrtm"/>
  295. <Col id="prcpdd"/>
  296. <Col id="spcldrug"/>
  297. <Col id="deptnm"/>
  298. <Col id="wardnm"/>
  299. <Col id="pid"/>
  300. <Col id="panm"/>
  301. <Col id="calcscorcd"/>
  302. <Col id="engnm"/>
  303. <Col id="execprcptotqty"/>
  304. <Col id="execdd"/>
  305. <Col id="drugno"/>
  306. <Col id="issdeptcd"/>
  307. <Col id="prcpgenrflag"/>
  308. <Col id="execprcpuniqno"/>
  309. <Col id="sumflag"/>
  310. </Row>
  311. </Rows>
  312. </Dataset>
  313. <Dataset id="ds_init_chkinstcd_hosp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  314. <ColumnInfo>
  315. <Column id="hospnm" type="STRING" size="256"/>
  316. <Column id="hospnm1" type="STRING" size="256"/>
  317. </ColumnInfo>
  318. <Rows>
  319. <Row>
  320. <Col id="hospnm"/>
  321. <Col id="hospnm1"/>
  322. </Row>
  323. </Rows>
  324. </Dataset>
  325. </Objects>
  326. <Bind/>
  327. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  328. * System Name :
  329. * Job Name :
  330. * Creator :
  331. * Make Date : 2017-06-19
  332. * Description :
  333. *---------------------------------------------------------------------------------------
  334. * Modify Date Modifier Modify Description
  335. *---------------------------------------------------------------------------------------
  336. * 2017-06-19 Live Converter TF->XP
  337. *
  338. *---------------------------------------------------------------------------------------
  339. ****************************************************************************************/
  340. include "com_commonxp::comm_main.xjs";
  341. function SMRST03301_onload(obj:Form, e:LoadEventInfo) {
  342. frmf_initForm(obj);
  343. grdf_initGrid(group3.datagrid1);
  344. //grdf_setGridSort(grd_XXX);
  345. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  346. //화면 Control을 초기화한다
  347. fInitialize();
  348. }
  349. function fInitialize() {
  350. try
  351. {
  352. ds_temp.copyData(arg_ds_temp);
  353. group3.group2.btn_srch.click();
  354. }
  355. catch(e)
  356. {
  357. }
  358. }
  359. function group3_group2_btn_srch_onclick(obj:Button, e:ClickEventInfo) {
  360. ds_send.setColumn( 0, "calcscorcd",ds_temp.getColumn(0, "drugcd"));
  361. ds_send.setColumn( 0, "toddflag",ds_temp.getColumn(0, "toddflag"));
  362. ds_send.setColumn( 0, "indeptcd",ds_temp.getColumn(0, "indeptcd"));
  363. ds_send.setColumn( 0, "issdeptcd",ds_temp.getColumn(0, "issdeptcd"));
  364. var oParam = {};
  365. oParam.id = "TXRST06905";
  366. oParam.service = "stocsumapp.StocSumMngt";
  367. oParam.method = "reqGetGoodDetList";
  368. oParam.inds = "req=ds_send";
  369. oParam.outds = "ds_main_prcplist_prcpinfo=prcpinfo";
  370. oParam.async = false;
  371. //oParam.callback = "cf_TXRST06905";
  372. tranf_submit(oParam);
  373. }
  374. // function group3_datagrid1_onscroll() {
  375. //
  376. // if(group3.datagrid1.vscroll.attribute("max") == group3.datagrid1.vscroll.attribute("pos")) {
  377. // // end of scroll
  378. // ds_send.setColumn( 0, "offset", group3.datagrid1.rows-group3.datagrid1.fixedRows); // grid의 header row는 제외
  379. // // submit("TRADT50203");
  380. // var oParam = {};
  381. // oParam.id = "TRADT50203";
  382. // oParam.service = "pharmacystocapp.DrugStocSum";
  383. // oParam.method = "reqGetDrugStocSumDetlList";
  384. // oParam.inds = "req=ds_";
  385. // oParam.outds = "ds_=prcpinfo";
  386. // oParam.async = false;
  387. // oParam.callback = "cf_TRADT50203";
  388. //
  389. // tranf_submit(oParam);
  390. // /*
  391. // function cf_TRADT50203(sSvcId, nErrorCode, sErrorMsg) {
  392. // if(nErrorCode < 0) return;
  393. // }
  394. // function cf_TRADT50203(sSvcId, nErrorCode, sErrorMsg) {
  395. // arErrorCode.push(sSvcId, nErrorCode);
  396. // }
  397. // arErrorCode.pop("TRADT50203") > -1
  398. // arErrorCode.pop("TRADT50203") < 0
  399. // */
  400. //
  401. //
  402. // group3.datagrid1.dispatch("onmouseup"); // 스크롤바 처리를 위한 이벤트 발생
  403. // }
  404. //
  405. // }
  406. //
  407. // function group3_datagrid1_onaftersort() {
  408. //
  409. // group3.datagrid1.gridToInstance();
  410. //
  411. // }
  412. //
  413. // function group3_datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  414. //
  415. // }
  416. //
  417. // function group3_btn_excsave_onclick(obj:Button, e:ClickEventInfo) {
  418. //
  419. // // 조회일자로 ast에 집계 출력된 내역이 있는지 확인.
  420. // // submit("TRADT11026");
  421. // var oParam = {};
  422. // oParam.id = "TRADT11026";
  423. // oParam.service = "pharmacydrugsumapp.BeforeCure";
  424. // oParam.method = "reqGetChkAst";
  425. // oParam.inds = "req=ds_";
  426. // oParam.outds = "ds_=item";
  427. // oParam.async = false;
  428. // oParam.callback = "cf_TRADT11026";
  429. //
  430. // tranf_submit(oParam);
  431. // /*
  432. // function cf_TRADT11026(sSvcId, nErrorCode, sErrorMsg) {
  433. // if(nErrorCode < 0) return;
  434. // }
  435. // function cf_TRADT11026(sSvcId, nErrorCode, sErrorMsg) {
  436. // arErrorCode.push(sSvcId, nErrorCode);
  437. // }
  438. // arErrorCode.pop("TRADT11026") > -1
  439. // arErrorCode.pop("TRADT11026") < 0
  440. // */
  441. //
  442. //
  443. // var chkast = ds_init_chksum_item.getColumn(0, "chkast");
  444. //
  445. // // ast에 집계된 내역이 없으면 중지
  446. // if( chkast != "Y") {
  447. // alert("조회된 일자로 발주된 데이터가 없습니다. ");
  448. //
  449. // //model.refresh();
  450. //
  451. // return;
  452. // }
  453. //
  454. // // 조회일자로 집계된 내역을 출력한다.
  455. // var prcplist = ds_main_prcplist_prcpinfo.getColumn(0, "inorddeptnm");
  456. // ds_send.setColumn( 0, "prnflag", "E");
  457. //
  458. // if (prcplist == "") {
  459. // model.removeNodeset("ds_main_prcplist_prcpinfo/");
  460. // // submit("TRADT11024");
  461. // var oParam = {};
  462. // oParam.id = "TRADT11024";
  463. // oParam.service = "pharmacydrugsumapp.BeforeCure";
  464. // oParam.method = "reqGetAstSum";
  465. // oParam.inds = "req=ds_";
  466. // oParam.outds = "ds_=astinfo";
  467. // oParam.async = false;
  468. // oParam.callback = "cf_TRADT11024";
  469. //
  470. // tranf_submit(oParam);
  471. // /*
  472. // function cf_TRADT11024(sSvcId, nErrorCode, sErrorMsg) {
  473. // if(nErrorCode < 0) return;
  474. // }
  475. // function cf_TRADT11024(sSvcId, nErrorCode, sErrorMsg) {
  476. // arErrorCode.push(sSvcId, nErrorCode);
  477. // }
  478. // arErrorCode.pop("TRADT11024") > -1
  479. // arErrorCode.pop("TRADT11024") < 0
  480. // */
  481. //
  482. //
  483. // }
  484. //
  485. // var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
  486. //
  487. // if (file != ""){
  488. // grd.prcp.saveExcel(file);
  489. // }
  490. //
  491. // ds_send_prcplist_prcpinfo.clearData();
  492. //
  493. // }
  494. //
  495. ]]></Script>
  496. </Form>
  497. </FDL>