SPMMR09000_처방조회.xfdl 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMR09000" position="absolute 0 0 710 725" titletext="처방조회" onload="SPMMR09000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape position="absolute 0 0 710 70" id="roundrect5" type="roundrectangle"/>
  8. <Static text="등록번호 :" position="absolute 7 41 106 58" id="caption1" class="search_name"/>
  9. <Static text="현재 투약중인 약만 조회" position="absolute 317 41 486 58" id="caption2" class="search_name" visible="false"/>
  10. <Static text="처방적용일 :" position="absolute 317 15 420 32" id="caption3" class="search_name"/>
  11. <Edit position="absolute 190 41 280 60" id="ipt_hngnm" class="input_search" onkeydown="ipt_hngnm_onkeydown" autoselect="true" taborder="0"/>
  12. <Calendar position="absolute 545 15 647 34" align="align:center middle;" id="ipt_todd" class="input_search" autoselect="true" taborder="1"/>
  13. <Static text="~" position="absolute 530 15 555 35" id="caption6"/>
  14. <Radio position="absolute 97 15 265 35" id="radio2" enable="false" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" taborder="2">
  15. <Dataset id="innerdataset">
  16. <ColumnInfo>
  17. <Column id="codecolumn"/>
  18. <Column id="datacolumn"/>
  19. </ColumnInfo>
  20. <Rows>
  21. <Row>
  22. <Col id="codecolumn">O</Col>
  23. <Col id="datacolumn">외래</Col>
  24. </Row>
  25. <Row>
  26. <Col id="codecolumn">E</Col>
  27. <Col id="datacolumn">응급</Col>
  28. </Row>
  29. <Row>
  30. <Col id="codecolumn">I</Col>
  31. <Col id="datacolumn">입원</Col>
  32. </Row>
  33. </Rows>
  34. </Dataset>
  35. </Radio>
  36. <Button position="absolute 284 41 300 57" id="btn_patsrch" class="icon_search" text="" onclick="btn_patsrch_onclick" taborder="3"/>
  37. <Edit position="absolute 96 41 188 60" id="input2" autoselect="true" taborder="4"/>
  38. <Static text="진료구분 :" position="absolute 7 15 106 32" id="caption7" class="search_name"/>
  39. <Calendar position="absolute 424 15 526 34" align="align:center middle;" id="ipt_fromdd" class="input_search" autoselect="true" taborder="5"/>
  40. <Button position="absolute 649 38 705 60" id="btn_req" class="btn1" text="조회" onclick="btn_req_onclick" taborder="6"/>
  41. <Grid position="absolute 0 74 710 700" id="grd_prcplist" binddataset="ds_prcpsrch_prcplist" cellsizingtype="col" taborder="7" oncellclick="grd_prcplist_oncellclick" cellclickbound="cell">
  42. <Formats>
  43. <Format id="default">
  44. <Columns>
  45. <Column size="50"/>
  46. <Column size="100"/>
  47. <Column size="50"/>
  48. <Column size="190"/>
  49. <Column size="303"/>
  50. </Columns>
  51. <Rows>
  52. <Row size="24" band="head"/>
  53. <Row size="24"/>
  54. </Rows>
  55. <Band id="head">
  56. <Cell text="선택"/>
  57. <Cell col="1" text="처방일자"/>
  58. <Cell col="2" text="구분"/>
  59. <Cell col="3" text="처방"/>
  60. <Cell col="4" text="용법"/>
  61. </Band>
  62. <Band id="body">
  63. <Cell displaytype="checkbox" edittype="expr:bReadOnly == 1 ? &quot;none&quot; : &quot;checkbox&quot;" style="controlbackground:EXPR(bReadOnly == 1 ? &quot;silver&quot; : &quot;default&quot;);controlborder:EXPR(bReadOnly == 1 ? &quot;1 solid #708090cc&quot; : &quot;default&quot;);" text="bind:chkcol"/>
  64. <Cell col="1" text="bind:tempcol3" mask="expr:utlf_isNull(tempcol3) ? &quot;&quot; : &quot;@@@@-@@-@@&quot;"/>
  65. <Cell col="2" displaytype="combo" edittype="combo" text="bind:prcpgenrflag" combodataset="ds_init_prcpenrflag" combocodecol="value" combodatacol="lavel"/>
  66. <Cell col="3" style="align:left top;padding:2 0 0 2;font:EXPR(bFont == &quot;bold&quot; ? &quot;Dotum,9,bold&quot; : &quot;&quot;);" text="bind:tempcol6" wordwrap="char"/>
  67. <Cell col="4" style="align:left top;padding:2 0 0 2;" text="bind:tempcol7" wordwrap="char"/>
  68. </Band>
  69. </Format>
  70. </Formats>
  71. </Grid>
  72. <Button position="absolute 668 705 710 724" id="btn_cncl" class="btn2_letter2" text="취소" onclick="btn_cncl_onclick" taborder="8"/>
  73. <Button position="absolute 623 705 665 724" id="btn_cnfm" class="btn2_letter2" text="확인" onclick="btn_cnfm_onclick" taborder="9"/>
  74. <CheckBox position="absolute 495 40 550 60" id="bool1" visible="false" onchanged="bool1_onchanged" truevalue="Y" falsevalue="N" taborder="10"/>
  75. </Layout>
  76. </Layouts>
  77. <Objects>
  78. <Dataset id="ds_prcpsrch_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  79. <ColumnInfo>
  80. <Column id="chk" type="STRING" size="256"/>
  81. <Column id="status" type="STRING" size="256"/>
  82. <Column id="prcpstatcd" type="STRING" size="256"/>
  83. <Column id="prcpclscd" type="STRING" size="256"/>
  84. <Column id="prcpkindcd" type="STRING" size="256"/>
  85. <Column id="prcpcd" type="STRING" size="256"/>
  86. <Column id="prcpnm" type="STRING" size="256"/>
  87. <Column id="prcpvol" type="STRING" size="256"/>
  88. <Column id="prcpvolunitnm" type="STRING" size="256"/>
  89. <Column id="prcpqty" type="STRING" size="256"/>
  90. <Column id="prcpqtyunitnm" type="STRING" size="256"/>
  91. <Column id="prcptims" type="STRING" size="256"/>
  92. <Column id="prcpdayno" type="STRING" size="256"/>
  93. <Column id="drugmthdspccdnm" type="STRING" size="256"/>
  94. <Column id="prcpmixno" type="STRING" size="256"/>
  95. <Column id="payflagcd" type="STRING" size="256"/>
  96. <Column id="prcpdelivefact" type="STRING" size="256"/>
  97. <Column id="hosinhosoutflag" type="STRING" size="256"/>
  98. <Column id="prcpexecdeptcd" type="STRING" size="256"/>
  99. <Column id="prcphopedd" type="STRING" size="256"/>
  100. <Column id="choiordflag" type="STRING" size="256"/>
  101. <Column id="rgstdt" type="STRING" size="256"/>
  102. <Column id="rgstridnm" type="STRING" size="256"/>
  103. <Column id="testrsltunit" type="STRING" size="256"/>
  104. <Column id="testrsltcnts" type="STRING" size="256"/>
  105. <Column id="prcpgenrflag" type="STRING" size="256"/>
  106. <Column id="prcphistcd" type="STRING" size="256"/>
  107. <Column id="tempprcpflag" type="STRING" size="256"/>
  108. <Column id="prcpsetcd" type="STRING" size="256"/>
  109. <Column id="prcpvolunitflag" type="STRING" size="256"/>
  110. <Column id="prcpqtyunitflag" type="STRING" size="256"/>
  111. <Column id="orgprcpqty" type="STRING" size="256"/>
  112. <Column id="drugspd" type="STRING" size="256"/>
  113. <Column id="drugspdunitflag" type="STRING" size="256"/>
  114. <Column id="powdflag" type="STRING" size="256"/>
  115. <Column id="prnprcpflag" type="STRING" size="256"/>
  116. <Column id="prepprcpflag" type="STRING" size="256"/>
  117. <Column id="selfprcpflag" type="STRING" size="256"/>
  118. <Column id="selfdrugflag" type="STRING" size="256"/>
  119. <Column id="drugpackflag" type="STRING" size="256"/>
  120. <Column id="erprcpflag" type="STRING" size="256"/>
  121. <Column id="precureprcpflag" type="STRING" size="256"/>
  122. <Column id="nigtprcpflag" type="STRING" size="256"/>
  123. <Column id="portprcpflag" type="STRING" size="256"/>
  124. <Column id="fixprcpflag" type="STRING" size="256"/>
  125. <Column id="anamneflag" type="STRING" size="256"/>
  126. <Column id="fastprcpflag" type="STRING" size="256"/>
  127. <Column id="erreadflag" type="STRING" size="256"/>
  128. <Column id="prcpdirecflag" type="STRING" size="256"/>
  129. <Column id="tnsuseflag" type="STRING" size="256"/>
  130. <Column id="tnsfiltflag" type="STRING" size="256"/>
  131. <Column id="trnptbftestflag" type="STRING" size="256"/>
  132. <Column id="offictourhealexamflag" type="STRING" size="256"/>
  133. <Column id="stemcellflag" type="STRING" size="256"/>
  134. <Column id="angioflagcd" type="STRING" size="256"/>
  135. <Column id="opansflagcd" type="STRING" size="256"/>
  136. <Column id="ansttm" type="STRING" size="256"/>
  137. <Column id="mealcalrcnts" type="STRING" size="256"/>
  138. <Column id="mealprotcnts" type="STRING" size="256"/>
  139. <Column id="mealupdtflag" type="STRING" size="256"/>
  140. <Column id="hosinprcpresncd" type="STRING" size="256"/>
  141. <Column id="etcprcpresncd" type="STRING" size="256"/>
  142. <Column id="drugmthdspccd" type="STRING" size="256"/>
  143. <Column id="issdeptcd" type="STRING" size="256"/>
  144. <Column id="prcpauthflag" type="STRING" size="256"/>
  145. <Column id="prcpinptflag" type="STRING" size="256"/>
  146. <Column id="prcpsignflag" type="STRING" size="256"/>
  147. <Column id="rateprcpflag" type="STRING" size="256"/>
  148. <Column id="prcprefseq" type="STRING" size="256"/>
  149. <Column id="ordreqlnkno" type="STRING" size="256"/>
  150. <Column id="testreqlnkno" type="STRING" size="256"/>
  151. <Column id="prcplnkdd" type="STRING" size="256"/>
  152. <Column id="prcplnkno" type="STRING" size="256"/>
  153. <Column id="oprsrvno" type="STRING" size="256"/>
  154. <Column id="tootfact" type="STRING" size="256"/>
  155. <Column id="clinccmtcnts" type="STRING" size="256"/>
  156. <Column id="prcpessninptflag" type="STRING" size="256"/>
  157. <Column id="grupsnglflag" type="STRING" size="256"/>
  158. <Column id="drugrateqty" type="STRING" size="256"/>
  159. <Column id="asttestflag" type="STRING" size="256"/>
  160. <Column id="clincstdyflag" type="STRING" size="256"/>
  161. <Column id="prtlno" type="STRING" size="256"/>
  162. <Column id="clincstdycd" type="STRING" size="256"/>
  163. <Column id="optermcd" type="STRING" size="256"/>
  164. <Column id="prcpflag" type="STRING" size="256"/>
  165. <Column id="hscttempprcpflag" type="STRING" size="256"/>
  166. <Column id="inclprcpcd" type="STRING" size="256"/>
  167. <Column id="inclprcpno" type="STRING" size="256"/>
  168. <Column id="pampkspec" type="STRING" size="256"/>
  169. <Column id="prcppkspec" type="STRING" size="256"/>
  170. <Column id="calcscormastspec" type="STRING" size="256"/>
  171. <Column id="drugmastspec" type="STRING" size="256"/>
  172. <Column id="rateprcpspec" type="STRING" size="256"/>
  173. <Column id="matrsetprcpspec" type="STRING" size="256"/>
  174. <Column id="suppdeptspec" type="STRING" size="256"/>
  175. <Column id="contprcpspec" type="STRING" size="256"/>
  176. <Column id="etclnkspec" type="STRING" size="256"/>
  177. <Column id="srchcondcnts" type="STRING" size="256"/>
  178. <Column id="orgprcpnm" type="STRING" size="256"/>
  179. <Column id="chkcol" type="STRING" size="256"/>
  180. <Column id="hsctdelivepos" type="STRING" size="256"/>
  181. <Column id="hsctlnkno" type="STRING" size="256"/>
  182. <Column id="etcprcpflag" type="STRING" size="256"/>
  183. <Column id="aftcertflag" type="STRING" size="256"/>
  184. <Column id="aftcertdrid" type="STRING" size="256"/>
  185. <Column id="prcpvalidd" type="STRING" size="256"/>
  186. <Column id="spynpy1" type="STRING" size="256"/>
  187. <Column id="specdrid" type="STRING" size="256"/>
  188. <Column id="specdrnm" type="STRING" size="256"/>
  189. <Column id="anticncrprtlno" type="STRING" size="256"/>
  190. <Column id="anticncrdayno" type="STRING" size="256"/>
  191. <Column id="druglnkno" type="STRING" size="256"/>
  192. <Column id="rehbprcpcurefreqflag" type="STRING" size="256"/>
  193. <Column id="dietprcpgenrflag" type="STRING" size="256"/>
  194. <Column id="irpayflag" type="STRING" size="256"/>
  195. <Column id="irflag" type="STRING" size="256"/>
  196. <Column id="procerdietflag" type="STRING" size="256"/>
  197. <Column id="diagtestconttestintvlflag" type="STRING" size="256"/>
  198. <Column id="drugindependpackflag" type="STRING" size="256"/>
  199. <Column id="diagtestconttestbasetm" type="STRING" size="256"/>
  200. <Column id="diagtestconttestorgtims" type="STRING" size="256"/>
  201. <Column id="ermediscmngtresncd" type="STRING" size="256"/>
  202. <Column id="rehbprcpenddd" type="STRING" size="256"/>
  203. <Column id="matrallsizespecid" type="STRING" size="256"/>
  204. <Column id="rehbprcpcurepartcd" type="STRING" size="256"/>
  205. <Column id="lowdrugresncd" type="STRING" size="256"/>
  206. <Column id="tfdtlcd" type="STRING" size="256"/>
  207. <Column id="dnorreqlnkno" type="STRING" size="256"/>
  208. <Column id="subcretno" type="STRING" size="256"/>
  209. <Column id="exptmthdfact" type="STRING" size="256"/>
  210. <Column id="lowdrugresnetcfact" type="STRING" size="256"/>
  211. <Column id="diagtestconttestcdspec" type="STRING" size="256"/>
  212. <Column id="drprcpetc1" type="STRING" size="256"/>
  213. <Column id="drprcpetc2" type="STRING" size="256"/>
  214. <Column id="drprcpetc3" type="STRING" size="256"/>
  215. <Column id="drprcpetc4" type="STRING" size="256"/>
  216. <Column id="drprcpetc5" type="STRING" size="256"/>
  217. <Column id="drprcpetc6" type="STRING" size="256"/>
  218. <Column id="drprcpetc7" type="STRING" size="256"/>
  219. <Column id="drprcpetc8" type="STRING" size="256"/>
  220. <Column id="drprcpetc9" type="STRING" size="256"/>
  221. <Column id="drprcpetc10" type="STRING" size="256"/>
  222. <Column id="tempcol1" type="STRING" size="256"/>
  223. <Column id="tempcol2" type="STRING" size="256"/>
  224. <Column id="tempcol3" type="STRING" size="256"/>
  225. <Column id="tempcol4" type="STRING" size="256"/>
  226. <Column id="tempcol5" type="STRING" size="256"/>
  227. <Column id="tempcol6" type="STRING" size="256"/>
  228. <Column id="tempcol7" type="STRING" size="256"/>
  229. <Column id="tempcol8" type="STRING" size="256"/>
  230. <Column id="tempcol9" type="STRING" size="256"/>
  231. <Column id="tempcol10" type="STRING" size="256"/>
  232. <Column id="tempcol11" type="STRING" size="256"/>
  233. <Column id="tempcol12" type="STRING" size="256"/>
  234. <Column id="tempcol13" type="STRING" size="256"/>
  235. <Column id="tempcol14" type="STRING" size="256"/>
  236. <Column id="tempcol15" type="STRING" size="256"/>
  237. <Column id="tempcol16" type="STRING" size="256"/>
  238. <Column id="tempcol17" type="STRING" size="256"/>
  239. <Column id="tempcol18" type="STRING" size="256"/>
  240. <Column id="tempcol19" type="STRING" size="256"/>
  241. <Column id="tempcol20" type="STRING" size="256"/>
  242. <Column id="tempcol21" type="STRING" size="256"/>
  243. <Column id="tempcol22" type="STRING" size="256"/>
  244. <Column id="tempcol23" type="STRING" size="256"/>
  245. <Column id="tempcol24" type="STRING" size="256"/>
  246. <Column id="tempcol25" type="STRING" size="256"/>
  247. <Column id="rgstdeptcd" type="STRING" size="256"/>
  248. <Column id="prcpclassnm" type="STRING" size="256"/>
  249. <Column id="bFont" type="STRING" size="256"/>
  250. <Column id="bReadOnly" type="STRING" size="256"/>
  251. </ColumnInfo>
  252. </Dataset>
  253. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  254. <ColumnInfo>
  255. <Column id="cond1" type="STRING" size="256"/>
  256. <Column id="cond2" type="STRING" size="256"/>
  257. <Column id="cond3" type="STRING" size="256"/>
  258. <Column id="cond4" type="STRING" size="256"/>
  259. <Column id="cond5" type="STRING" size="256"/>
  260. <Column id="cond6" type="STRING" size="256"/>
  261. <Column id="cond7" type="STRING" size="256"/>
  262. <Column id="cond8" type="STRING" size="256"/>
  263. <Column id="cond9" type="STRING" size="256"/>
  264. <Column id="cond10" type="STRING" size="256"/>
  265. <Column id="cond11" type="STRING" size="256"/>
  266. <Column id="cond13" type="STRING" size="256"/>
  267. <Column id="cond14" type="STRING" size="256"/>
  268. <Column id="cond97" type="STRING" size="256"/>
  269. <Column id="cond98" type="STRING" size="256"/>
  270. <Column id="cond99" type="STRING" size="256"/>
  271. <Column id="bCurr" type="STRING" size="256"/>
  272. </ColumnInfo>
  273. <Rows>
  274. <Row/>
  275. </Rows>
  276. </Dataset>
  277. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  278. <ColumnInfo>
  279. <Column id="pid" type="STRING" size="256"/>
  280. <Column id="hngnm" type="STRING" size="256"/>
  281. </ColumnInfo>
  282. <Rows>
  283. <Row/>
  284. </Rows>
  285. </Dataset>
  286. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  287. <ColumnInfo>
  288. <Column id="prcpclsflag" type="STRING" size="256"/>
  289. </ColumnInfo>
  290. <Rows>
  291. <Row/>
  292. </Rows>
  293. </Dataset>
  294. <Dataset id="ds_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  295. <ColumnInfo>
  296. <Column id="insukind" type="STRING" size="256"/>
  297. </ColumnInfo>
  298. <Rows>
  299. <Row/>
  300. </Rows>
  301. </Dataset>
  302. <Dataset id="ds_envinit" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  303. <Dataset id="ds_init_prcpenrflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  304. <ColumnInfo>
  305. <Column id="lavel" type="STRING" size="256"/>
  306. <Column id="value" type="STRING" size="256"/>
  307. </ColumnInfo>
  308. <Rows>
  309. <Row>
  310. <Col id="lavel">입원</Col>
  311. <Col id="value">I</Col>
  312. </Row>
  313. <Row>
  314. <Col id="lavel">외래</Col>
  315. <Col id="value">O</Col>
  316. </Row>
  317. <Row>
  318. <Col id="lavel">응급</Col>
  319. <Col id="value">E</Col>
  320. </Row>
  321. </Rows>
  322. </Dataset>
  323. </Objects>
  324. <Bind>
  325. <BindItem id="item0" compid="radio2" propid="value" datasetid="ds_cond" columnid="cond9"/>
  326. <BindItem id="item1" compid="ipt_fromdd" propid="value" datasetid="ds_cond" columnid="cond2"/>
  327. <BindItem id="item2" compid="ipt_todd" propid="value" datasetid="ds_cond" columnid="cond8"/>
  328. <BindItem id="item3" compid="input2" propid="value" datasetid="ds_cond" columnid="cond1"/>
  329. <BindItem id="item4" compid="ipt_hngnm" propid="value" datasetid="ds_cond" columnid="cond98"/>
  330. <BindItem id="item5" compid="bool1" propid="value" datasetid="ds_cond" columnid="bCurr"/>
  331. </Bind>
  332. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  333. * System Name :
  334. * Job Name :
  335. * Creator :
  336. * Make Date : 2015-02-10
  337. * Description :
  338. *---------------------------------------------------------------------------------------
  339. * Modify Date Modifier Modify Description
  340. *---------------------------------------------------------------------------------------
  341. * 2015-02-10 Live Converter TF->XP
  342. *
  343. *---------------------------------------------------------------------------------------
  344. ****************************************************************************************/
  345. include "com_commonxp::comm_main.xjs"
  346. include "emr_prcpmngtxp::MMOCommon.xjs"
  347. include "emr_prcpmngtxp::MMO001.xjs"
  348. include "emr_medirecxp::SPMMR09000.xjs"
  349. var arErrorCode = new HashArray();
  350. function SPMMR09000_onload(obj:Form, e:LoadEventInfo)
  351. {
  352. frmf_initForm(obj);
  353. fInit();
  354. }
  355. function ipt_hngnm_onkeydown(obj:Edit, e:KeyEventInfo)
  356. {
  357. if( e.keycode == 13 )
  358. frmf_inputEnterKey("btn_patsrch", "onclick", new ClickEventInfo() );
  359. }
  360. function btn_patsrch_onclick(obj:Button, e:ClickEventInfo)
  361. {
  362. frmf_modal("SPPMC02500","SPPMC02500", null, null, null, null, null, null, null, null, null, null, "M");
  363. var sPid = ds_patinfolist.getColumn(0,"pid");
  364. var sHngnm = ds_patinfolist.getColumn(0,"hngnm");
  365. ds_cond.setColumn(0,"cond1" , sPid);
  366. ds_cond.setColumn(0,"cond98", sHngnm);
  367. }
  368. function btn_req_onclick(obj:Button, e:ClickEventInfo)
  369. {
  370. fGetPrcpList();
  371. }
  372. function btn_cncl_onclick(obj:Button, e:ClickEventInfo)
  373. {
  374. fCncl();
  375. }
  376. function btn_cnfm_onclick(obj:Button, e:ClickEventInfo)
  377. {
  378. fCnfm();
  379. }
  380. function bool1_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  381. {
  382. alert(bool1.value);
  383. if (bool1.value != "Y") {
  384. // grd_prcplist.nodeset = "/root/prcpsrch/prcplist[prcpkindcd != '' and prcphistcd != 'C' and prcphistcd != 'L' and prcphistcd != 'E']";
  385. ds_prcpsrch_prcplist.filter("prcpkindcd != '' && prcphistcd != 'C' && prcphistcd != 'L' && prcphistcd != 'E'");
  386. ds_prcpsrch_prcplist.applyChange();
  387. } else {
  388. //grd_prcplist.nodeset = "/root/prcpsrch/prcplist[prcpkindcd != '' and prcphistcd = 'O']";
  389. ds_prcpsrch_prcplist.filter("prcpkindcd != '' && prcphistcd == 'O'");
  390. ds_prcpsrch_prcplist.applyChange();
  391. }
  392. }
  393. function grd_prcplist_oncellclick(obj:Grid, e:GridClickEventInfo)
  394. {
  395. if( e.row > -1 && e.col == 0 ){
  396. var bEqual = true;
  397. var iRow = ds_prcpsrch_prcplist.rowposition;
  398. var bChk = ds_prcpsrch_prcplist.getColumn(iRow,"chkcol") == 1 ? 1 : 0;
  399. var val = ds_prcpsrch_prcplist.getColumn(iRow,"pampkspec");
  400. while (bEqual) {
  401. iRow++;
  402. if (val == ds_prcpsrch_prcplist.getColumn(iRow,"pampkspec")) {
  403. ds_prcpsrch_prcplist.setColumn(iRow,"chkcol", bChk);
  404. } else {
  405. bEqual = false;
  406. break;
  407. }
  408. }
  409. }
  410. }
  411. ]]></Script>
  412. </Form>
  413. </FDL>