SPMNP01601_처방물품찾기IMPORT.xfdl 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMNP01601" position="absolute 0 0 1096 719" titletext="처방(물품)찾기" oninit="SPMNP01601_oninit" onload="SPMNP01601_onload" ontimer="SPMNP01601_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1094 714" id="grp_main" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Grid position="absolute 565 105 980 543" id="grd_prcplist" class="grd_agtplcelist" binddataset="ds_main_prcplist" oncellclick="grp_main_grd_prcplist_oncellclick" onheadclick="grp_main_grd_prcplist_onheadclick" anchor="default">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="25"/>
  15. <Column size="68"/>
  16. <Column size="35"/>
  17. <Column size="187"/>
  18. <Column size="150"/>
  19. <Column size="98"/>
  20. <Column size="116"/>
  21. <Column size="127"/>
  22. <Column size="55"/>
  23. <Column size="267"/>
  24. <Column size="0"/>
  25. <Column size="0"/>
  26. <Column size="0"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. <Column size="0"/>
  30. </Columns>
  31. <Rows>
  32. <Row size="24" band="head"/>
  33. <Row size="24"/>
  34. </Rows>
  35. <Band id="head">
  36. <Cell displaytype="checkbox" edittype="checkbox" expr="0"/>
  37. <Cell col="1" text="처방코드"/>
  38. <Cell col="2" text="SIZE"/>
  39. <Cell col="3" text="처방명"/>
  40. <Cell col="4" text="규격"/>
  41. <Cell col="5" text="모델"/>
  42. <Cell col="6" text="제조원"/>
  43. <Cell col="7" text="거래처"/>
  44. <Cell col="8" text="사용구분"/>
  45. <Cell col="9" text="수가명"/>
  46. <Cell col="10"/>
  47. <Cell col="11"/>
  48. <Cell col="12"/>
  49. <Cell col="13"/>
  50. <Cell col="14"/>
  51. <Cell col="15"/>
  52. </Band>
  53. <Band id="body">
  54. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkflag"/>
  55. <Cell col="1" text="bind:prcpcd"/>
  56. <Cell col="2" text="bind:allsizespecid"/>
  57. <Cell col="3" text="bind:prcpnm"/>
  58. <Cell col="4" text="bind:goodspec"/>
  59. <Cell col="5" text="bind:goodmodel"/>
  60. <Cell col="6" text="bind:prodcmpynm"/>
  61. <Cell col="7" text="bind:custnm"/>
  62. <Cell col="8" displaytype="combo" text="bind:useflag" combodataset="ds_useflag" combocodecol="value" combodatacol="label" enable="false"/>
  63. <Cell col="9" text="bind:calhngnm"/>
  64. <Cell col="10" text="bind:goodflag"/>
  65. <Cell col="11" text="bind:opgoodcls"/>
  66. <Cell col="12" text="bind:prcpclscd"/>
  67. <Cell col="13" text="bind:cureflag"/>
  68. <Cell col="14" text="bind:prcpunit"/>
  69. <Cell col="15" text="bind:drugmthdspccd"/>
  70. </Band>
  71. </Format>
  72. </Formats>
  73. </Grid>
  74. <Grid position="absolute 330 80 1093 714" id="grd_goodlist" class="grd_agtplcelist" binddataset="ds_main_goodlist" onvscrolllastover="grp_main_grd_goodlist_onvscrolllastover" oncelldblclick="grp_main_grd_goodlist_oncelldblclick" anchor="default" cellsizingtype="col" selecttype="multirow" cellclickbound="cell" autosizingtype="none" extendsizetype="none">
  75. <Formats>
  76. <Format id="default">
  77. <Columns>
  78. <Column size="25" band="left"/>
  79. <Column size="90" band="left"/>
  80. <Column size="35" band="left"/>
  81. <Column size="35"/>
  82. <Column size="320"/>
  83. <Column size="115"/>
  84. <Column size="90"/>
  85. <Column size="50"/>
  86. <Column size="90"/>
  87. <Column size="90"/>
  88. <Column size="55"/>
  89. <Column size="300"/>
  90. <Column size="0"/>
  91. <Column size="0"/>
  92. <Column size="0"/>
  93. <Column size="0"/>
  94. <Column size="0"/>
  95. <Column size="0"/>
  96. <Column size="0"/>
  97. <Column size="0"/>
  98. <Column size="0"/>
  99. <Column size="0"/>
  100. <Column size="0"/>
  101. </Columns>
  102. <Rows>
  103. <Row size="24" band="head"/>
  104. <Row size="26"/>
  105. </Rows>
  106. <Band id="head">
  107. <Cell displaytype="checkbox" edittype="checkbox"/>
  108. <Cell col="1" text="물품코드"/>
  109. <Cell col="2" text="SUB"/>
  110. <Cell col="3" text="산정"/>
  111. <Cell col="4" text="물품명"/>
  112. <Cell col="5" text="규격"/>
  113. <Cell col="6" text="모델"/>
  114. <Cell col="7" text="단위"/>
  115. <Cell col="8" text="제조원"/>
  116. <Cell col="9" text="거래처"/>
  117. <Cell col="10" text="사용구분"/>
  118. <Cell col="11" text="수가명"/>
  119. <Cell col="12" text="물품구분"/>
  120. <Cell col="13" text="처방구분명"/>
  121. <Cell col="14" text="처방구분"/>
  122. <Cell col="15" text="용법"/>
  123. <Cell col="16" text="처방단위"/>
  124. <Cell col="17" text="재고수량"/>
  125. <Cell col="18" text="기준수량"/>
  126. <Cell col="19" text="청구방법"/>
  127. <Cell col="20" text="구매구분"/>
  128. <Cell col="21" text="산정여부"/>
  129. <Cell col="22" text="수가코드"/>
  130. </Band>
  131. <Band id="body">
  132. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkflag"/>
  133. <Cell col="1" style="align:left;" text="bind:goodcd"/>
  134. <Cell col="2" text="bind:allsizespecid"/>
  135. <Cell col="3" text="bind:calculyn"/>
  136. <Cell col="4" style="align:left top;padding:6 2 0 2;" text="bind:goodnm" wordwrap="word" tooltiptext="bind:goodnm" autosizerow="default"/>
  137. <Cell col="5" style="align:left top;padding:6 2 0 2;" text="bind:goodspec" wordwrap="word" tooltiptext="bind:goodspec" autosizerow="default"/>
  138. <Cell col="6" style="align:left top;padding:6 2 0 2;" text="bind:goodmodel" wordwrap="word" tooltiptext="bind:goodmodel"/>
  139. <Cell col="7" style="align:left;" text="bind:prcpunit"/>
  140. <Cell col="8" style="align:left top;padding:6 2 0 2;" text="bind:prodcmpynm" wordwrap="word" tooltiptext="bind:prodcmpynm"/>
  141. <Cell col="9" style="align:left top;padding:6 2 0 2;" text="bind:custnm" wordwrap="word" tooltiptext="bind:custnm" autosizerow="default"/>
  142. <Cell col="10" displaytype="combo" style="align:center;" text="bind:useflag" combodataset="ds_useflag" combocodecol="value" combodatacol="label" enable="false"/>
  143. <Cell col="11" style="align:left top;padding:6 2 0 2;" text="bind:calhngnm" wordwrap="word" tooltiptext="bind:calhngnm"/>
  144. <Cell col="12" text="bind:goodflag"/>
  145. <Cell col="13" text="bind:opgoodcls"/>
  146. <Cell col="14" text="bind:prcpclscd"/>
  147. <Cell col="15" text="bind:cureflag"/>
  148. <Cell col="16" text="bind:prcpunit"/>
  149. <Cell col="17" text="bind:drugmthdspccd"/>
  150. <Cell col="18" text="bind:stocqty"/>
  151. <Cell col="19" text="bind:acmlbaseqty"/>
  152. <Cell col="20" text="bind:reqmthd"/>
  153. <Cell col="21" text="bind:calcscorcd"/>
  154. <Cell col="22" text="bind:insuyn"/>
  155. </Band>
  156. </Format>
  157. </Formats>
  158. </Grid>
  159. <Div position="absolute 0 0 1094 55" id="group2" class="div_SA" anchor="default">
  160. <Layouts>
  161. <Layout>
  162. <Button position="absolute 913 16 969 38" id="btn_search" class="btn1" text="조회" onclick="grp_main_group2_btn_search_onclick" anchor="default"/>
  163. <Static text="조회구분 :" position="absolute 5 31 81 48" id="caption28" class="search_name" anchor="default"/>
  164. <Radio position="absolute 84 29 284 47" id="rdo_refcond" class="radio_search" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="grp_main_group2_rdo_refcond_onitemchanged" anchor="default">
  165. <Dataset id="innerdataset">
  166. <ColumnInfo>
  167. <Column id="codecolumn"/>
  168. <Column id="datacolumn"/>
  169. </ColumnInfo>
  170. <Rows>
  171. <Row>
  172. <Col id="codecolumn">2</Col>
  173. <Col id="datacolumn">물품코드</Col>
  174. </Row>
  175. <Row>
  176. <Col id="codecolumn">1</Col>
  177. <Col id="datacolumn">물품명</Col>
  178. </Row>
  179. <Row>
  180. <Col id="codecolumn">3</Col>
  181. <Col id="datacolumn">EDI코드</Col>
  182. </Row>
  183. </Rows>
  184. </Dataset>
  185. </Radio>
  186. <Static text="조회대상 :" position="absolute 5 7 81 24" id="caption32" class="search_name" anchor="default"/>
  187. <Radio position="absolute 85 6 165 24" id="rdo_reftrgt" enable="false" columncount="2" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="grp_main_group2_rdo_reftrgt_onitemchanged" anchor="default">
  188. <Dataset id="innerdataset">
  189. <ColumnInfo>
  190. <Column id="codecolumn"/>
  191. <Column id="datacolumn"/>
  192. </ColumnInfo>
  193. <Rows>
  194. <Row>
  195. <Col id="codecolumn">CCR</Col>
  196. <Col id="datacolumn">수술물품</Col>
  197. </Row>
  198. </Rows>
  199. </Dataset>
  200. </Radio>
  201. <Button position="absolute 972 16 1028 38" id="bbt_choice" class="btn4" enable="true" text="선택" onclick="grp_main_group2_bbt_choice_onclick" anchor="default"/>
  202. <Edit position="absolute 295 28 495 47" id="ipt_refcond" class="input_search" onkeyup="grp_main_group2_ipt_refcond_onkeyup" anchor="default" autoselect="true"/>
  203. <Static text="입고구분 :" position="absolute 240 7 316 24" id="caption1" class="search_name" anchor="default"/>
  204. <Radio position="absolute 315 5 495 25" id="radio1" columncount="4" codecolumn="codecolumn" datacolumn="datacolumn" index="-1" anchor="default">
  205. <Dataset id="innerdataset">
  206. <ColumnInfo>
  207. <Column id="codecolumn"/>
  208. <Column id="datacolumn"/>
  209. </ColumnInfo>
  210. <Rows>
  211. <Row>
  212. <Col id="codecolumn">
  213. </Col>
  214. <Col id="datacolumn">전체</Col>
  215. </Row>
  216. <Row>
  217. <Col id="codecolumn">1</Col>
  218. <Col id="datacolumn">구매</Col>
  219. </Row>
  220. <Row>
  221. <Col id="codecolumn">2</Col>
  222. <Col id="datacolumn">수탁</Col>
  223. </Row>
  224. <Row>
  225. <Col id="codecolumn">3</Col>
  226. <Col id="datacolumn">가납</Col>
  227. </Row>
  228. </Rows>
  229. </Dataset>
  230. </Radio>
  231. <Radio position="absolute 605 5 745 25" id="radio2" enable="false" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  232. <Dataset id="innerdataset">
  233. <ColumnInfo>
  234. <Column id="codecolumn"/>
  235. <Column id="datacolumn"/>
  236. </ColumnInfo>
  237. <Rows>
  238. <Row>
  239. <Col id="codecolumn">O</Col>
  240. <Col id="datacolumn">수술</Col>
  241. </Row>
  242. <Row>
  243. <Col id="codecolumn">A</Col>
  244. <Col id="datacolumn">마취</Col>
  245. </Row>
  246. <Row>
  247. <Col id="codecolumn">R</Col>
  248. <Col id="datacolumn">회복</Col>
  249. </Row>
  250. </Rows>
  251. </Dataset>
  252. </Radio>
  253. <Shape position="absolute 900 10 906 44" linetype="vertical" id="line2" class="line_4" anchor="default"/>
  254. <Static text="부서구분 :" position="absolute 525 7 601 24" id="caption2" class="search_name" anchor="default"/>
  255. <Button position="absolute 1031 16 1087 38" id="button1" class="btn1" enable="true" text="닫기" onclick="grp_main_group2_button1_onclick" anchor="default"/>
  256. <Edit position="absolute 605 28 780 47" id="input1" class="input_search" onkeyup="grp_main_group2_input1_onkeyup" anchor="default" autoselect="true"/>
  257. <Static text="물품규격 :" position="absolute 525 31 601 48" id="caption3" class="search_name" anchor="default"/>
  258. </Layout>
  259. </Layouts>
  260. </Div>
  261. <Static text="물품코드리스트" position="absolute 0 63 145 79" id="caption16" class="tit_2" anchor="default"/>
  262. <Grid position="absolute 0 80 100 714" id="grd_lrglist" binddataset="ds_init_GoodData_lrglist" oncellclick="grp_main_grd_lrglist_oncellclick" anchor="default" cellsizingtype="both" extendsizetype="row" autosizingtype="row" scrollbars="autovert" selecttype="multirow">
  263. <Formats>
  264. <Format id="default">
  265. <Columns>
  266. <Column size="100"/>
  267. <Column size="0"/>
  268. </Columns>
  269. <Rows>
  270. <Row size="24" band="head"/>
  271. <Row size="23"/>
  272. </Rows>
  273. <Band id="head">
  274. <Cell text="대분류"/>
  275. <Cell col="1" text="대분류코드"/>
  276. </Band>
  277. <Band id="body">
  278. <Cell style="align:left;padding:2 4 2 2;" text="bind:lrgnm" wordwrap="word" autosizerow="limitmin"/>
  279. <Cell col="1" text="bind:lrgcd"/>
  280. </Band>
  281. </Format>
  282. </Formats>
  283. </Grid>
  284. <Grid position="absolute 103 80 213 714" id="grd_mdllist" binddataset="ds_init_GoodData_mdllist" oncellclick="grp_main_grd_mdllist_oncellclick" anchor="default" autosizingtype="row" cellsizingtype="both" extendsizetype="row" scrollbars="autovert" selecttype="multirow">
  285. <Formats>
  286. <Format id="default">
  287. <Columns>
  288. <Column size="110"/>
  289. <Column size="0"/>
  290. </Columns>
  291. <Rows>
  292. <Row size="24" band="head"/>
  293. <Row size="23"/>
  294. </Rows>
  295. <Band id="head">
  296. <Cell text="중분류"/>
  297. <Cell col="1" text="중분류코드"/>
  298. </Band>
  299. <Band id="body">
  300. <Cell style="align:left;padding:2 2 2 2;" text="bind:mdlnm" wordwrap="word" autosizerow="limitmin"/>
  301. <Cell col="1" text="bind:mdlcd"/>
  302. </Band>
  303. </Format>
  304. </Formats>
  305. </Grid>
  306. <Grid position="absolute 216 80 326 714" id="grd_smllist" binddataset="ds_init_GoodData_smllist" oncellclick="grp_main_grd_smllist_oncellclick" anchor="default" autosizingtype="row" cellsizingtype="both" extendsizetype="row" scrollbars="autovert" selecttype="multirow">
  307. <Formats>
  308. <Format id="default">
  309. <Columns>
  310. <Column size="108"/>
  311. <Column size="0"/>
  312. </Columns>
  313. <Rows>
  314. <Row size="24" band="head"/>
  315. <Row size="23"/>
  316. </Rows>
  317. <Band id="head">
  318. <Cell text="소분류"/>
  319. <Cell col="1" text="소분류코드"/>
  320. </Band>
  321. <Band id="body">
  322. <Cell style="align:left;padding:2 2 2 2;" text="bind:smlnm" wordwrap="word" autosizerow="limitmin"/>
  323. <Cell col="1" text="bind:smlcd"/>
  324. </Band>
  325. </Format>
  326. </Formats>
  327. </Grid>
  328. <CheckBox position="absolute 980 60 1090 75" id="chk_diffroomyn" text="다른방으로 처방" anchor="default"/>
  329. </Layout>
  330. </Layouts>
  331. </Div>
  332. </Layout>
  333. </Layouts>
  334. <Objects>
  335. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  336. <ColumnInfo>
  337. <Column id="refflag" type="STRING" size="256" sumtext="조건구분"/>
  338. <Column id="refnm" type="STRING" size="256" sumtext="조건명"/>
  339. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
  340. <Column id="lrgcd" type="STRING" size="256" sumtext="대분류"/>
  341. <Column id="mdlcd" type="STRING" size="256" sumtext="중분류"/>
  342. <Column id="smlcd" type="STRING" size="256" sumtext="소분류"/>
  343. <Column id="goodcond" type="STRING" size="256" sumtext="물품조회조건"/>
  344. <Column id="offset" type="INT" size="256" sumtext="offset"/>
  345. <Column id="pagesize" type="INT" size="256" sumtext="pagesize"/>
  346. <Column id="tabflag" type="STRING" size="256" sumtext="조회마스터구분"/>
  347. <Column id="refcmpy" type="STRING" size="256" sumtext="제조회사"/>
  348. <Column id="refcust" type="STRING" size="256" sumtext="거래처"/>
  349. <Column id="prcpflag" type="STRING" size="256" sumtext="처방MASTER여부"/>
  350. <Column id="winflag" type="STRING" size="256" sumtext="입고구분"/>
  351. <Column id="menuparam" type="STRING" size="256" sumtext="오픈페이지구분"/>
  352. <Column id="oproomcd" type="STRING" size="256" sumtext="수술방코드"/>
  353. <Column id="cartgubn" type="STRING" size="256" sumtext="Cart 구분"/>
  354. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  355. <Column id="payflagcd" type="STRING" size="256" sumtext="급여구분"/>
  356. <Column id="goodspec" type="STRING" size="256" sumtext="물품규격"/>
  357. <Column id="drugyn" type="STRING" size="256" sumtext="가납약포함여부"/>
  358. </ColumnInfo>
  359. <Rows>
  360. <Row/>
  361. </Rows>
  362. </Dataset>
  363. <Dataset id="ds_main_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_goodlist_oncolumnchanged">
  364. <ColumnInfo>
  365. <Column id="chkflag" type="STRING" size="256" sumtext="체크구분"/>
  366. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  367. <Column id="allsizespecid" type="STRING" size="256" sumtext="SIZE"/>
  368. <Column id="goodnm" type="STRING" size="256" sumtext="물품명"/>
  369. <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
  370. <Column id="goodmodel" type="STRING" size="256" sumtext="물품모델"/>
  371. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사"/>
  372. <Column id="custnm" type="STRING" size="256" sumtext="거래처"/>
  373. <Column id="useflag" type="STRING" size="256" sumtext="사용구분"/>
  374. <Column id="calhngnm" type="STRING" size="256" sumtext="수가명"/>
  375. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
  376. <Column id="opgoodcls" type="STRING" size="256" sumtext="수술물품분류"/>
  377. <Column id="prcpclscd" type="STRING" size="256" sumtext="처방분류"/>
  378. <Column id="cureflag" type="STRING" size="256" sumtext="처치구분"/>
  379. <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위"/>
  380. <Column id="drugmthdspccd" type="STRING" size="256" sumtext="투여방법 및 검체코드"/>
  381. <Column id="stocqty" type="STRING" size="256" sumtext="실재고량"/>
  382. <Column id="acmlbaseqty" type="STRING" size="256" sumtext="기준수량OR"/>
  383. <Column id="reqmthd" type="STRING" size="256" sumtext="청구방법"/>
  384. <Column id="purcflag" type="STRING" size="256" sumtext="구매구분"/>
  385. <Column id="payflagcd" type="STRING" size="256" sumtext="급여구분"/>
  386. <Column id="calculyn" type="STRING" size="256" sumtext="산정여부"/>
  387. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  388. <Column id="insuyn" type="STRING" size="256" sumtext="수가대상여부"/>
  389. <Column id="deliveunit" type="STRING" size="256" sumtext="불출단위"/>
  390. <Column id="safestocqty" type="STRING" size="256" sumtext="안전재고"/>
  391. </ColumnInfo>
  392. </Dataset>
  393. <Dataset id="ds_init_GoodData_mdllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  394. <ColumnInfo>
  395. <Column id="mdlnm" type="STRING" size="256" sumtext="중분류명"/>
  396. <Column id="mdlcd" type="STRING" size="256" sumtext="중분류"/>
  397. </ColumnInfo>
  398. </Dataset>
  399. <Dataset id="ds_init_GoodData_smllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  400. <ColumnInfo>
  401. <Column id="smlnm" type="STRING" size="256" sumtext="소분류명"/>
  402. <Column id="smlcd" type="STRING" size="256" sumtext="소분류"/>
  403. </ColumnInfo>
  404. </Dataset>
  405. <Dataset id="ds_main_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_prcplist_oncolumnchanged">
  406. <ColumnInfo>
  407. <Column id="chkflag" type="STRING" size="256" sumtext="체크구분"/>
  408. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  409. <Column id="allsizespecid" type="STRING" size="256" sumtext="사이즈"/>
  410. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  411. <Column id="goodspec" type="STRING" size="256" sumtext="물품규격"/>
  412. <Column id="goodmodel" type="STRING" size="256" sumtext="물품모델"/>
  413. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명"/>
  414. <Column id="custnm" type="STRING" size="256" sumtext="거래처명"/>
  415. <Column id="useflag" type="STRING" size="256" sumtext="사용구분"/>
  416. <Column id="calhngnm" type="STRING" size="256" sumtext="수가명"/>
  417. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
  418. <Column id="cureflag" type="STRING" size="256" sumtext="처치구분"/>
  419. <Column id="prcpclscd" type="STRING" size="256" sumtext="분류코드"/>
  420. <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위"/>
  421. <Column id="drugmthdspccd" type="STRING" size="256" sumtext="투여방법 및 검체코드 "/>
  422. </ColumnInfo>
  423. </Dataset>
  424. <Dataset id="ds_init_GoodData_lrglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  425. <ColumnInfo>
  426. <Column id="lrgnm" type="STRING" size="256" sumtext="대분류명"/>
  427. <Column id="lrgcd" type="STRING" size="256" sumtext="대분류"/>
  428. </ColumnInfo>
  429. </Dataset>
  430. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  431. <ColumnInfo>
  432. <Column id="cdid" type="STRING" size="256" sumtext="물품구분 "/>
  433. </ColumnInfo>
  434. <Rows>
  435. <Row/>
  436. </Rows>
  437. </Dataset>
  438. <Dataset id="ds_init_GoodData_goodflaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  439. <ColumnInfo>
  440. <Column id="goodflagcd" type="STRING" size="256" sumtext="물품구분"/>
  441. <Column id="goodflagnm" type="STRING" size="256" sumtext="물품구분명"/>
  442. </ColumnInfo>
  443. </Dataset>
  444. <Dataset id="ds_init_GoodData_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  445. <ColumnInfo>
  446. <Column id="refflag" type="STRING" size="256"/>
  447. <Column id="tabflag" type="STRING" size="256"/>
  448. <Column id="refnm" type="STRING" size="256"/>
  449. <Column id="winflag" type="STRING" size="256"/>
  450. <Column id="goodspec" type="STRING" size="256"/>
  451. <Column id="goodflag" type="STRING" size="256"/>
  452. <Column id="lrgcd" type="STRING" size="256"/>
  453. <Column id="mdlcd" type="STRING" size="256"/>
  454. <Column id="smlcd" type="STRING" size="256"/>
  455. <Column id="offset" type="STRING" size="256"/>
  456. <Column id="cartgubn" type="STRING" size="256"/>
  457. <Column id="oproomcd" type="STRING" size="256"/>
  458. <Column id="drugyn" type="STRING" size="256"/>
  459. </ColumnInfo>
  460. <Rows>
  461. <Row/>
  462. </Rows>
  463. </Dataset>
  464. <Dataset id="ds_HideData_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  465. <ColumnInfo>
  466. <Column id="deptflag" type="STRING" size="256"/>
  467. <Column id="diffroomyn" type="STRING" size="256"/>
  468. <Column id="cartgubn" type="STRING" size="256"/>
  469. <Column id="oproomcd" type="STRING" size="256"/>
  470. <Column id="insukind" type="STRING" size="256"/>
  471. <Column id="openflag" type="STRING" size="256"/>
  472. </ColumnInfo>
  473. <Rows>
  474. <Row/>
  475. </Rows>
  476. </Dataset>
  477. <Dataset id="ds_useflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  478. <ColumnInfo>
  479. <Column id="label" type="STRING" size="256"/>
  480. <Column id="value" type="STRING" size="256"/>
  481. </ColumnInfo>
  482. <Rows>
  483. <Row>
  484. <Col id="label">재사용</Col>
  485. <Col id="value">Y</Col>
  486. </Row>
  487. <Row>
  488. <Col id="label">분할사용</Col>
  489. <Col id="value">Z</Col>
  490. </Row>
  491. <Row>
  492. <Col id="label">1회사용</Col>
  493. <Col id="value">N</Col>
  494. </Row>
  495. </Rows>
  496. </Dataset>
  497. <Dataset id="ds_main_goodlist_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_goodlist_oncolumnchanged">
  498. <ColumnInfo>
  499. <Column id="chkflag" type="STRING" size="256" sumtext="체크구분"/>
  500. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  501. <Column id="allsizespecid" type="STRING" size="256" sumtext="SIZE"/>
  502. <Column id="goodnm" type="STRING" size="256" sumtext="물품명"/>
  503. <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
  504. <Column id="goodmodel" type="STRING" size="256" sumtext="물품모델"/>
  505. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사"/>
  506. <Column id="custnm" type="STRING" size="256" sumtext="거래처"/>
  507. <Column id="useflag" type="STRING" size="256" sumtext="사용구분"/>
  508. <Column id="calhngnm" type="STRING" size="256" sumtext="수가명"/>
  509. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
  510. <Column id="opgoodcls" type="STRING" size="256" sumtext="수술물품분류"/>
  511. <Column id="prcpclscd" type="STRING" size="256" sumtext="처방분류"/>
  512. <Column id="cureflag" type="STRING" size="256" sumtext="처치구분"/>
  513. <Column id="prcpunit" type="STRING" size="256" sumtext="처방단위"/>
  514. <Column id="drugmthdspccd" type="STRING" size="256" sumtext="투여방법 및 검체코드"/>
  515. <Column id="stocqty" type="STRING" size="256" sumtext="실재고량"/>
  516. <Column id="acmlbaseqty" type="STRING" size="256" sumtext="기준수량OR"/>
  517. <Column id="reqmthd" type="STRING" size="256" sumtext="청구방법"/>
  518. <Column id="purcflag" type="STRING" size="256" sumtext="구매구분"/>
  519. <Column id="payflagcd" type="STRING" size="256" sumtext="급여구분"/>
  520. <Column id="calculyn" type="STRING" size="256" sumtext="산정여부"/>
  521. <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
  522. <Column id="insuyn" type="STRING" size="256" sumtext="수가대상여부"/>
  523. <Column id="deliveunit" type="STRING" size="256" sumtext="불출단위"/>
  524. <Column id="safestocqty" type="STRING" size="256" sumtext="안전재고"/>
  525. </ColumnInfo>
  526. </Dataset>
  527. </Objects>
  528. <Bind>
  529. <BindItem id="item0" compid="grp_main.group2.rdo_refcond" propid="value" datasetid="ds_init_GoodData_cond" columnid="refflag"/>
  530. <BindItem id="item1" compid="grp_main.group2.rdo_reftrgt" propid="value" datasetid="ds_init_GoodData_cond" columnid="tabflag"/>
  531. <BindItem id="item2" compid="grp_main.group2.ipt_refcond" propid="value" datasetid="ds_init_GoodData_cond" columnid="refnm"/>
  532. <BindItem id="item3" compid="grp_main.group2.radio1" propid="value" datasetid="ds_init_GoodData_cond" columnid="winflag"/>
  533. <BindItem id="item4" compid="grp_main.group2.input1" propid="value" datasetid="ds_init_GoodData_cond" columnid="goodspec"/>
  534. <BindItem id="item5" compid="grp_main.group2.radio2" propid="value" datasetid="ds_HideData_condition" columnid="deptflag"/>
  535. <BindItem id="item6" compid="grp_main.chk_diffroomyn" propid="value" datasetid="ds_HideData_condition" columnid="diffroomyn"/>
  536. </Bind>
  537. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  538. * System Name : 경대 의료정보시스템
  539. * Job Name : emr_opanstxp -> SPMNP01601
  540. * Creator : yjh
  541. * Make Date : 2016-02-16
  542. * Description :
  543. *---------------------------------------------------------------------------------------
  544. * Modify Date Modifier Modify Description
  545. *---------------------------------------------------------------------------------------
  546. * 2016-02-16 yjh TF->XP
  547. *
  548. *---------------------------------------------------------------------------------------
  549. ****************************************************************************************/
  550. //=======================================================================================
  551. // Lib Include
  552. //---------------------------------------------------------------------------------------
  553. include "com_commonxp::comm_main.xjs";
  554. include "emr_opanstxp::SPMNP01601.xjs"; //yjh : 커밋
  555. //=======================================================================================
  556. // Global Form Variable
  557. //---------------------------------------------------------------------------------------
  558. //=======================================================================================
  559. // Function
  560. //---------------------------------------------------------------------------------------
  561. /****************************************************************************************
  562. * Argument : N/A
  563. * Description :
  564. ****************************************************************************************/
  565. //=======================================================================================
  566. // Event
  567. //---------------------------------------------------------------------------------------
  568. /****************************************************************************************
  569. * Components : Form
  570. * Components ID : SPMNP01601
  571. * Event : oninit
  572. * Argument : 01.obj : Object Event has occurred
  573. * : 02.e : Event Object
  574. * Description : 화면 처음 초기화시
  575. ****************************************************************************************/
  576. function SPMNP01601_oninit(obj:Form, e:InitEventInfo)
  577. {
  578. frmf_initForm(obj); //폼 초기화
  579. grdf_initGrid(grp_main.grd_goodlist);
  580. //grdf_sortNodeList(grp_main.grd_goodlist)
  581. }
  582. /****************************************************************************************
  583. * Components : Form
  584. * Components ID : SPMNP01601
  585. * Event : onload
  586. * Argument : 01.obj : Object Event has occurred
  587. * : 02.e : Event Object
  588. * Description : 화면 로딩 완료시
  589. ****************************************************************************************/
  590. function SPMNP01601_onload(obj:Form, e:LoadEventInfo)
  591. {
  592. ds_init_GoodData_cond.setColumn(0, "winflag", "");
  593. fGoodInit();
  594. }
  595. /****************************************************************************************
  596. * Components : Grid
  597. * Components ID : grd_lrglist
  598. * Event : oncellclick
  599. * Argument : 01.obj : Object Event has occurred
  600. * : 02.e : Event Object
  601. * Description : 그리드 셀 클릭시
  602. ****************************************************************************************/
  603. function grp_main_grd_lrglist_oncellclick(obj:Grid, e:GridClickEventInfo)
  604. {
  605. ds_init_GoodData_mdllist.clearData();
  606. ds_init_GoodData_smllist.clearData();
  607. ds_init_GoodData_cond.setColumn(0, "lrgcd", ds_init_GoodData_lrglist.getColumn(ds_init_GoodData_lrglist.rowposition, "lrgcd"));
  608. ds_init_GoodData_cond.setColumn(0, "mdlcd", "");
  609. ds_init_GoodData_cond.setColumn(0, "smlcd", "");
  610. ds_init_GoodData_cond.setColumn(0, "offset", "");
  611. ds_send_reqdata.copyData(ds_init_GoodData_cond);
  612. var oParam = {};
  613. oParam.id = "TRMNP04464";
  614. oParam.service = "opanstapp.OpAnstStocMngt";
  615. oParam.method = "reqGetGubnMdl";
  616. oParam.inds = "reqdata=ds_send_reqdata";
  617. oParam.outds = "ds_init_GoodData_mdllist=mdllist";
  618. oParam.async = false;
  619. //oParam.callback = "cf_TRMNP04464";
  620. tranf_submit(oParam);
  621. ds_init_GoodData_mdllist.rowposition = -1;
  622. }
  623. /****************************************************************************************
  624. * Components : Grid
  625. * Components ID : grd_mdllist
  626. * Event : oncellclick
  627. * Argument : 01.obj : Object Event has occurred
  628. * : 02.e : Event Object
  629. * Description : 그리드 셀 클릭시
  630. ****************************************************************************************/
  631. function grp_main_grd_mdllist_oncellclick(obj:Grid, e:GridClickEventInfo)
  632. {
  633. ds_main_goodlist.clearData();
  634. ds_init_GoodData_smllist.clearData();
  635. ds_init_GoodData_cond.setColumn(0, "mdlcd", ds_init_GoodData_mdllist.getColumn(ds_init_GoodData_mdllist.rowposition, "mdlcd"));
  636. ds_init_GoodData_cond.setColumn(0, "smlcd", "");
  637. ds_init_GoodData_cond.setColumn(0, "cartgubn", ds_HideData_condition.getColumn(0, "cartgubn"));
  638. ds_init_GoodData_cond.setColumn(0, "oproomcd", ds_HideData_condition.getColumn(0, "oproomcd"));
  639. ds_init_GoodData_cond.setColumn(0, "offset", "");
  640. ds_init_GoodData_cond.setColumn(0, "drugyn", drugyn);
  641. ds_send_reqdata.copyData(ds_init_GoodData_cond);
  642. var oParam = {};
  643. oParam.id = "TRMNP04465";
  644. oParam.service = "opanstapp.OpAnstStocMngt";
  645. oParam.method = "reqGetGubnSml";
  646. oParam.inds = "reqdata=ds_send_reqdata";
  647. oParam.outds = "ds_init_GoodData_smllist=smllist";
  648. oParam.async = true;
  649. //oParam.callback = "cf_TRMNP04465";
  650. tranf_submit(oParam);
  651. ds_init_GoodData_smllist.rowposition = -1;
  652. var oParam = {};
  653. oParam.id = "TRMNP04461";
  654. oParam.service = "opanstapp.OpAnstStocMngt";
  655. oParam.method = "reqGetGoodInfoHelp";
  656. oParam.inds = "reqdata=ds_send_reqdata";
  657. oParam.outds = "ds_main_goodlist=goodlist";
  658. oParam.async = true;
  659. //oParam.callback = "cf_TRMNP04461";
  660. tranf_submit(oParam);
  661. ds_main_goodlist.rowposition = -1;
  662. }
  663. /****************************************************************************************
  664. * Components : Grid
  665. * Components ID : grd_smllist
  666. * Event : oncellclick
  667. * Argument : 01.obj : Object Event has occurred
  668. * : 02.e : Event Object
  669. * Description : 그리드 셀 클릭시
  670. ****************************************************************************************/
  671. function grp_main_grd_smllist_oncellclick(obj:Grid, e:GridClickEventInfo)
  672. {
  673. ds_main_goodlist.clearData();
  674. ds_init_GoodData_cond.setColumn(0, "smlcd", ds_init_GoodData_smllist.getColumn(ds_init_GoodData_smllist.rowposition, "smlcd"));
  675. ds_init_GoodData_cond.setColumn(0, "cartgubn", ds_HideData_condition.getColumn(0, "cartgubn"));
  676. ds_init_GoodData_cond.setColumn(0, "oproomcd", ds_HideData_condition.getColumn(0, "oproomcd"));
  677. ds_init_GoodData_cond.setColumn(0, "offset", "");
  678. ds_init_GoodData_cond.setColumn(0, "drugyn", drugyn);
  679. ds_send_reqdata.copyData(ds_init_GoodData_cond);
  680. if( grp_main.group2.rdo_reftrgt.value == "PRC" ) {
  681. var oParam = {};
  682. oParam.id = "TRMNP04467";
  683. oParam.service = "opanstapp.OpAnstStocMngt";
  684. oParam.method = "reqGetGoodInfoHelp";
  685. oParam.inds = "reqdata=ds_send_reqdata";
  686. oParam.outds = "ds_main_prcplist=prcplist";
  687. oParam.async = false;
  688. //oParam.callback = "cf_TRMNP04467";
  689. tranf_submit(oParam);
  690. }else {
  691. var oParam = {};
  692. oParam.id = "TRMNP04461";
  693. oParam.service = "opanstapp.OpAnstStocMngt";
  694. oParam.method = "reqGetGoodInfoHelp";
  695. oParam.inds = "reqdata=ds_send_reqdata";
  696. oParam.outds = "ds_main_goodlist=goodlist";
  697. oParam.async = false;
  698. //oParam.callback = "cf_TRMNP04461";
  699. tranf_submit(oParam);
  700. ds_main_goodlist.rowposition = -1;
  701. }
  702. }
  703. /****************************************************************************************
  704. * Components : Grid
  705. * Components ID : grd_goodlist
  706. * Event : onheadclick
  707. * Argument : 01.obj : Object Event has occurred
  708. * : 02.e : Event Object
  709. * Description : 그리드 헤더 클릭시
  710. ****************************************************************************************/
  711. function grp_main_grd_goodlist_onheadclick(obj:Grid, e:GridClickEventInfo)
  712. {
  713. switch( e.col ){
  714. case 0 :
  715. sysf_trace("11")
  716. if( obj.getCellProperty("Head", e.col, "expr") == "0" ){
  717. obj.setCellProperty("Head", e.col, "expr", "1");
  718. }else{
  719. obj.setCellProperty("Head", e.col, "expr", "0");
  720. }
  721. ds_main_goodlist.enableevent = false;
  722. ds_main_goodlist.updatecontrol = false;
  723. //grdf_setGridCheckAll(obj, e);
  724. for(var i = 0; i < ds_main_goodlist.rowcount ;i++){
  725. ds_main_goodlist.setColumn(i, "chkflag", "1");
  726. }
  727. ds_main_goodlist.updatecontrol = false;
  728. ds_main_goodlist.enableevent = false;
  729. break;
  730. default :
  731. break;
  732. }
  733. }
  734. /****************************************************************************************
  735. * Components : Dataset
  736. * Components ID : ds_main_goodlist
  737. * Event : oncolumnchanged
  738. * Argument : 01.obj : Object Event has occurred
  739. * : 02.e : Event Object
  740. * Description : 데이터셋 값 변경시
  741. ****************************************************************************************/
  742. function ds_main_goodlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  743. {
  744. // switch( e.columnid ){
  745. // case "chkflag" :
  746. // sysf_trace("22")
  747. // if( e.newvalue == "0" ){
  748. // //grp_main.grd_goodlist.setCellProperty("Head", 0, "expr", "0");
  749. // }
  750. // break;
  751. //
  752. // default :
  753. // break;
  754. // }
  755. }
  756. /****************************************************************************************
  757. * Components : Grid
  758. * Components ID : grd_prcplist
  759. * Event : onheadclick
  760. * Argument : 01.obj : Object Event has occurred
  761. * : 02.e : Event Object
  762. * Description : 그리드 헤더 클릭시
  763. ****************************************************************************************/
  764. function grp_main_grd_prcplist_onheadclick(obj:Grid, e:GridClickEventInfo)
  765. {
  766. switch( e.col ){
  767. case 0 :
  768. if( obj.getCellProperty("Head", e.col, "expr") == "0" ){
  769. obj.setCellProperty("Head", e.col, "expr", "1");
  770. }else{
  771. obj.setCellProperty("Head", e.col, "expr", "0");
  772. }
  773. grdf_setGridCheckAll(obj, e);
  774. break;
  775. default :
  776. break;
  777. }
  778. }
  779. /****************************************************************************************
  780. * Components : Dataset
  781. * Components ID : ds_main_prcplist
  782. * Event : oncolumnchanged
  783. * Argument : 01.obj : Object Event has occurred
  784. * : 02.e : Event Object
  785. * Description : 데이터셋 값 변경시
  786. ****************************************************************************************/
  787. function ds_main_prcplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  788. {
  789. switch( e.columnid ){
  790. case "chkflag" :
  791. if( e.newvalue == "0" ){
  792. grp_main.grd_prcplist.setCellProperty("Head", 0, "expr", "0");
  793. }
  794. break;
  795. default :
  796. break;
  797. }
  798. }
  799. /****************************************************************************************
  800. * Components : Grid
  801. * Components ID : grd_goodlist
  802. * Event : onvscrolllastover
  803. * Argument : 01.obj : Object Event has occurred
  804. * : 02.e : Event Object
  805. * Description : 그리드 스크롤max일때
  806. ****************************************************************************************/
  807. function grp_main_grd_goodlist_onvscrolllastover(obj:Grid, e:ScrollEventInfo)
  808. {
  809. if( grp_main.grd_goodlist.rowcount >= 500 ){//500라인 이상일때만 실행
  810. ds_init_GoodData_cond.setColumn(0, "offset", grp_main.grd_goodlist.rowcount);
  811. ds_send_reqdata.copyData(ds_init_GoodData_cond);
  812. var oParam = {};
  813. oParam.id = "TRMNP04461";
  814. oParam.service = "opanstapp.OpAnstStocMngt";
  815. oParam.method = "reqGetGoodInfoHelp";
  816. oParam.inds = "reqdata=ds_send_reqdata";
  817. oParam.outds = "ds_main_goodlist_temp=goodlist";
  818. oParam.async = false;
  819. oParam.callback = "cf_TRMNP04461";
  820. tranf_submit(oParam);
  821. }
  822. }
  823. function cf_TRMNP04461(sSvcId, nErrorCode, sErrorMsg) {
  824. if(nErrorCode < 0) return;
  825. ds_main_goodlist.appendData(ds_main_goodlist_temp);
  826. }
  827. /****************************************************************************************
  828. * Components : Grid
  829. * Components ID : grd_goodlist
  830. * Event : oncelldblclick
  831. * Argument : 01.obj : Object Event has occurred
  832. * : 02.e : Event Object
  833. * Description : 그리드 셀 더블클릭시
  834. ****************************************************************************************/
  835. function grp_main_grd_goodlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  836. {
  837. var srchflag = sysf_getModelProperty("goodsearch");
  838. if(srchflag == "Y") {
  839. fChoiceData();
  840. }
  841. }
  842. /****************************************************************************************
  843. * Components : Grid
  844. * Components ID : grd_prcplist
  845. * Event : oncellclick
  846. * Argument : 01.obj : Object Event has occurred
  847. * : 02.e : Event Object
  848. * Description : 그리드 셀 클릭시
  849. ****************************************************************************************/
  850. function grp_main_grd_prcplist_oncellclick(obj:Grid, e:GridClickEventInfo)
  851. {
  852. fGridDataClick(grp_main.grd_prcplist, "prcplist");
  853. }
  854. /****************************************************************************************
  855. * Components : Button
  856. * Components ID : btn_search
  857. * Event : onclick
  858. * Argument : 01.obj : Object Event has occurred
  859. * : 02.e : Event Object
  860. * Description : 조회버튼 클릭시
  861. ****************************************************************************************/
  862. function grp_main_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  863. {
  864. fDataQuery(); // 조회
  865. }
  866. /****************************************************************************************
  867. * Components : Radio
  868. * Components ID : rdo_refcond
  869. * Event : onitemchanged
  870. * Argument : 01.obj : Object Event has occurred
  871. * : 02.e : Event Object
  872. * Description : 라디오 변경시
  873. ****************************************************************************************/
  874. function grp_main_group2_rdo_refcond_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  875. {
  876. if( grp_main.group2.rdo_refcond.value == "1" ) {
  877. grp_main.group2.ipt_refcond.imemode = "hangul";
  878. }else{
  879. grp_main.group2.ipt_refcond.imemode = "alpha";
  880. }
  881. grp_main.group2.ipt_refcond.setFocus();
  882. }
  883. /****************************************************************************************
  884. * Components : Radio
  885. * Components ID : rdo_reftrgt
  886. * Event : onitemchanged
  887. * Argument : 01.obj : Object Event has occurred
  888. * : 02.e : Event Object
  889. * Description : 라디오 변경시
  890. ****************************************************************************************/
  891. function grp_main_group2_rdo_reftrgt_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  892. {
  893. fQueryCondSelect(); // 조회 조건 선택
  894. }
  895. /****************************************************************************************
  896. * Components : Button
  897. * Components ID : bbt_choice
  898. * Event : onclick
  899. * Argument : 01.obj : Object Event has occurred
  900. * : 02.e : Event Object
  901. * Description : 선택버튼 클릭시
  902. ****************************************************************************************/
  903. function grp_main_group2_bbt_choice_onclick(obj:Button, e:ClickEventInfo)
  904. {
  905. fChoiceData();
  906. }
  907. /****************************************************************************************
  908. * Components : Button
  909. * Components ID : bbt_choice
  910. * Event : onclick
  911. * Argument : 01.obj : Object Event has occurred
  912. * : 02.e : Event Object
  913. * Description : 선택버튼 클릭시
  914. ****************************************************************************************/
  915. function grp_main_group2_ipt_refcond_onkeyup(obj:Edit, e:KeyEventInfo)
  916. {
  917. if( e.keycode == 13 ){
  918. obj.updateToDataset();
  919. grp_main.group2.btn_search.click();
  920. }
  921. }
  922. /****************************************************************************************
  923. * Components : Button
  924. * Components ID : button1
  925. * Event : onclick
  926. * Argument : 01.obj : Object Event has occurred
  927. * : 02.e : Event Object
  928. * Description : 닫기버튼 클릭시
  929. ****************************************************************************************/
  930. function grp_main_group2_button1_onclick(obj:Button, e:ClickEventInfo)
  931. {
  932. close();
  933. }
  934. /****************************************************************************************
  935. * Components : Edit
  936. * Components ID : input1
  937. * Event : onkeyup
  938. * Argument : 01.obj : Object Event has occurred
  939. * : 02.e : Event Object
  940. * Description : 키 입력시
  941. ****************************************************************************************/
  942. function grp_main_group2_input1_onkeyup(obj:Edit, e:KeyEventInfo)
  943. {
  944. if( e.keycode == 13 ){
  945. obj.updateToDataset();
  946. grp_main.group2.btn_search.click();
  947. }
  948. }
  949. function SPMNP01601_ontimer(obj:Form, e:TimerEventInfo)
  950. {
  951. }
  952. ]]></Script>
  953. </Form>
  954. </FDL>