SMMND01200_유지환자관리.xfdl 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMND01200" position="absolute 0 0 1194 760" titletext="유지환자관리" oninit="SMMND01200_oninit" onload="SMMND01200_onload" ontimer="SMMND01200_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_sea" taborder="0" class="div_SA" position="absolute 0 25 1194 61" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption2" text="유지구분 :" class="search_name" position="absolute 16 9 94 27" anchor="default"/>
  11. <Button id="btn_srchpatlist" taborder="1" text="조회" class="btn1" position="absolute 1123 8 1179 28" onclick="grp_sea_btn_srchpatlist_onclick" anchor="top right"/>
  12. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1104 8 1110 28" anchor="top right"/>
  13. <Combo id="cmb_matnFlag" taborder="2" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 107 8 187 28" onitemchanged="grp_sea_cmb_matnFlag_onitemchanged" anchor="default">
  14. <Dataset id="innerdataset">
  15. <ColumnInfo>
  16. <Column id="codecolumn"/>
  17. <Column id="datacolumn"/>
  18. </ColumnInfo>
  19. <Rows>
  20. <Row>
  21. <Col id="codecolumn"/>
  22. <Col id="datacolumn">전체</Col>
  23. </Row>
  24. <Row>
  25. <Col id="codecolumn">1</Col>
  26. <Col id="datacolumn">유지</Col>
  27. </Row>
  28. <Row>
  29. <Col id="codecolumn">2</Col>
  30. <Col id="datacolumn">전원</Col>
  31. </Row>
  32. <Row>
  33. <Col id="codecolumn">3</Col>
  34. <Col id="datacolumn">사망</Col>
  35. </Row>
  36. <Row>
  37. <Col id="codecolumn">4</Col>
  38. <Col id="datacolumn">신장이식</Col>
  39. </Row>
  40. <Row>
  41. <Col id="codecolumn">5</Col>
  42. <Col id="datacolumn">전환</Col>
  43. </Row>
  44. <Row>
  45. <Col id="codecolumn">6</Col>
  46. <Col id="datacolumn">중단</Col>
  47. </Row>
  48. </Rows>
  49. </Dataset>
  50. </Combo>
  51. <Combo id="cmb_dialFlag" taborder="3" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 280 8 357 28" onitemchanged="grp_sea_cmb_dialFlag_onitemchanged" anchor="default">
  52. <Dataset id="innerdataset">
  53. <ColumnInfo>
  54. <Column id="codecolumn" size="256"/>
  55. <Column id="datacolumn" size="256"/>
  56. </ColumnInfo>
  57. <Rows>
  58. <Row>
  59. <Col id="codecolumn"/>
  60. <Col id="datacolumn">전체</Col>
  61. </Row>
  62. <Row>
  63. <Col id="codecolumn">H</Col>
  64. <Col id="datacolumn">HD</Col>
  65. </Row>
  66. <Row>
  67. <Col id="codecolumn">P</Col>
  68. <Col id="datacolumn">PD</Col>
  69. </Row>
  70. <Row>
  71. <Col id="codecolumn">C</Col>
  72. <Col id="datacolumn">CRRT</Col>
  73. </Row>
  74. </Rows>
  75. </Dataset>
  76. </Combo>
  77. <Static id="caption1" text="투석구분 :" class="search_name" position="absolute 209 10 288 28" anchor="default"/>
  78. <Static id="caption3" text="환 자 명 :" class="search_name" position="absolute 557 10 633 28" anchor="default"/>
  79. <Static id="caption4" text="등록번호 :" class="search_name" position="absolute 380 10 458 28" anchor="default"/>
  80. <Static id="caption7" text="등록일자 :" class="search_name" position="absolute 735 10 813 28" anchor="default"/>
  81. <Static id="caption8" text="~" position="absolute 917 12 928 26" anchor="default"/>
  82. <Edit id="ipt_hngNm" taborder="4" class="input_search" position="absolute 644 8 714 28" onkeyup="grp_sea_ipt_hngNm_onkeyup" imemode="hangul" anchor="default"/>
  83. <Edit id="ipt_pid" taborder="5" class="input_search" position="absolute 460 8 535 28" onkeyup="grp_sea_ipt_pid_onkeyup" anchor="default"/>
  84. <Calendar id="ipt_maintepatrgstdd1" taborder="6" class="input_search" position="absolute 825 8 912 28" anchor="default"/>
  85. <Calendar id="ipt_maintepatrgstdd2" taborder="7" class="input_search" position="absolute 932 8 1019 28" anchor="default"/>
  86. <CheckBox id="bol_allsearch" taborder="8" position="absolute 1030 10 1055 25" truevalue="Y" onclick="grp_sea_bol_allsearch_onclick" falsevalue="N" anchor="default"/>
  87. <Static id="cap_allsearch" text="전체" position="absolute 1055 11 1085 26" anchor="default"/>
  88. </Layout>
  89. </Layouts>
  90. </Div>
  91. <Shape id="line1" class="line_10" position="absolute 0 89 1194 95" anchor="left top right"/>
  92. <Button id="btn_delLine" taborder="1" text="행삭제" class="btn2" position="absolute 1013 69 1066 89" anchor="top right" onclick="btn_delLine_onclick"/>
  93. <Static id="caption5" text="투석유지환자리스트" class="tit_2" position="absolute 0 73 143 94"/>
  94. <Button id="button3" taborder="2" text="엑셀저장" class="btn7" position="absolute 1069 69 1149 89" anchor="top right" onclick="button3_onclick"/>
  95. <Button id="button5" taborder="3" text="도관기록" class="btn2" position="absolute 946 69 1010 89" anchor="top right" onclick="button5_onclick"/>
  96. <Button id="button4" taborder="4" text="저장" class="btn5" position="absolute 1152 69 1194 89" anchor="top right" onclick="button4_onclick"/>
  97. <Grid id="grd_dialhdmpglist" class="datagrid2" taborder="5" binddataset="ds_main_dialhdmpglist_dialhdmpginfo" useinputpanel="false" position="absolute 0 94 1194 760" cellsizingtype="col" anchor="all" oncelldblclick="grd_dialhdmpglist_oncelldblclick">
  98. <Formats>
  99. <Format id="default">
  100. <Columns>
  101. <Column size="0" band="left"/>
  102. <Column size="23" band="left"/>
  103. <Column size="66" band="left"/>
  104. <Column size="62" band="left"/>
  105. <Column size="53"/>
  106. <Column size="41"/>
  107. <Column size="72"/>
  108. <Column size="60"/>
  109. <Column size="75"/>
  110. <Column size="75"/>
  111. <Column size="76"/>
  112. <Column size="75"/>
  113. <Column size="67"/>
  114. <Column size="101"/>
  115. <Column size="110"/>
  116. <Column size="96"/>
  117. <Column size="100"/>
  118. <Column size="94"/>
  119. <Column size="0"/>
  120. <Column size="0"/>
  121. <Column size="97"/>
  122. <Column size="84"/>
  123. <Column size="0"/>
  124. <Column size="0"/>
  125. </Columns>
  126. <Rows>
  127. <Row size="32" band="head"/>
  128. <Row size="24"/>
  129. </Rows>
  130. <Band id="head">
  131. <Cell text="status"/>
  132. <Cell col="1"/>
  133. <Cell col="2" text="등록번호"/>
  134. <Cell col="3" text="환자명"/>
  135. <Cell col="4" text="S/A"/>
  136. <Cell col="5" text="투석&#10;구분"/>
  137. <Cell col="6" text="비고"/>
  138. <Cell col="7" text="유지구분"/>
  139. <Cell col="8" text="유지환자&#10;등록일자"/>
  140. <Cell col="9" text="최초투석일"/>
  141. <Cell col="10" text="본원투석&#10;시작일"/>
  142. <Cell col="11" text="최종투석일"/>
  143. <Cell col="12" colspan="2" text="원인질환" taborder="undefined"/>
  144. <Cell col="14" text="의뢰병원"/>
  145. <Cell col="15" text="Out일"/>
  146. <Cell col="16" text="전원병원"/>
  147. <Cell col="17" text="종료사유"/>
  148. <Cell col="18" text="최초등록자"/>
  149. <Cell col="19" text="최초등록일시"/>
  150. <Cell col="20" text="감염구분"/>
  151. <Cell col="21" text="최종입원일자"/>
  152. <Cell col="22" text="hisstat"/>
  153. <Cell col="23" text="olddialflag"/>
  154. </Band>
  155. <Band id="body">
  156. <Cell text="bind:status"/>
  157. <Cell col="1" celltype="head" expr="currow+1"/>
  158. <Cell col="2" text="bind:pid"/>
  159. <Cell col="3" text="bind:hngnm"/>
  160. <Cell col="4" text="bind:sexage"/>
  161. <Cell col="5" displaytype="combo" style="padding:2 2 2 2;" text="bind:dialflag" combodataset="ds_cmb_dialflag" combocodecol="value" combodatacol="label" enable="false"/>
  162. <Cell col="6" displaytype="text" edittype="text" text="bind:memo"/>
  163. <Cell col="7" displaytype="combo" edittype="expr:matnflag == '5' ? 'none' : 'combo'" style="padding:2 2 2 2;" text="bind:matnflag" combodataset="ds_cmb_matnflag" combocodecol="value" combodatacol="label"/>
  164. <Cell col="8" displaytype="date" edittype="date" text="bind:maintepatrgstdd" calendardisplaynulltype="nulltext"/>
  165. <Cell col="9" displaytype="date" text="bind:fstdialdd" calendardisplaynulltype="nulltext"/>
  166. <Cell col="10" displaytype="date" text="bind:roomhospdialdd" calendardisplaynulltype="nulltext"/>
  167. <Cell col="11" displaytype="date" text="bind:rectdialdd" calendardisplaynulltype="nulltext"/>
  168. <Cell col="12" displaytype="combo" style="padding:2 2 2 2;" text="bind:cassickkind" combodataset="ds_init_mlist_M0079" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  169. <Cell col="13" text="bind:cassick"/>
  170. <Cell col="14" displaytype="text" edittype="text" text="bind:chhos"/>
  171. <Cell col="15" displaytype="date" edittype="date" text="bind:chnghospdd" editautoselect="true" editautoskip="true" calendardisplay="display" calendardisplaynulltype="nulltext"/>
  172. <Cell col="16" displaytype="text" edittype="text" text="bind:chnghosphosp"/>
  173. <Cell col="17" displaytype="text" edittype="text" text="bind:endresnflag"/>
  174. <Cell col="18" text="bind:fstrgstrid"/>
  175. <Cell col="19" displaytype="combo" edittype="combo" text="bind:fstrgstdt"/>
  176. <Cell col="20" text="bind:viralmarker" enable="false"/>
  177. <Cell col="21" text="bind:indd"/>
  178. <Cell col="22" text="bind:histstat"/>
  179. <Cell col="23" text="bind:olddialflag"/>
  180. </Band>
  181. </Format>
  182. </Formats>
  183. </Grid>
  184. <Button id="button1" taborder="6" text="투석간호정보조사" class="btn2" position="absolute 828 69 944 89" anchor="top right" onclick="button1_onclick"/>
  185. <Static id="caption6" text="투석유지환자관리" class="tit_1" position="absolute 0 0 135 25"/>
  186. </Layout>
  187. </Layouts>
  188. <Objects>
  189. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  190. <ColumnInfo>
  191. <Column id="matnflag" type="STRING" size="256"/>
  192. <Column id="dialflag" type="STRING" size="256"/>
  193. <Column id="hngnm" type="STRING" size="256"/>
  194. <Column id="pid" type="STRING" size="256"/>
  195. <Column id="maintepatrgstdd1" type="STRING" size="256"/>
  196. <Column id="maintepatrgstdd2" type="STRING" size="256"/>
  197. <Column id="allsearchyn" type="STRING" size="256"/>
  198. </ColumnInfo>
  199. <Rows>
  200. <Row>
  201. <Col id="matnflag"/>
  202. <Col id="dialflag"/>
  203. <Col id="hngnm"/>
  204. <Col id="pid"/>
  205. <Col id="maintepatrgstdd1"/>
  206. <Col id="maintepatrgstdd2"/>
  207. <Col id="allsearchyn"/>
  208. </Row>
  209. </Rows>
  210. </Dataset>
  211. <Dataset id="ds_main_dialhdmpglist_dialhdmpginfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_dialhdmpglist_dialhdmpginfo_oncolumnchanged">
  212. <ColumnInfo>
  213. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  214. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  215. <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
  216. <Column id="dialflag" type="STRING" size="256" sumtext="투석구분"/>
  217. <Column id="olddialflag" type="STRING" size="256" sumtext="투석구분"/>
  218. <Column id="memo" type="STRING" size="256" sumtext="메모"/>
  219. <Column id="matnflag" type="STRING" size="256" sumtext="유지구분"/>
  220. <Column id="maintepatrgstdd" type="STRING" size="256" sumtext="유지환자등록일자"/>
  221. <Column id="fstdialdd" type="STRING" size="256" sumtext="최초투석시작일"/>
  222. <Column id="roomhospdialdd" type="STRING" size="256" sumtext="본원투석시작일"/>
  223. <Column id="chhos" type="STRING" size="256" sumtext="의뢰병원"/>
  224. <Column id="chnghospdd" type="STRING" size="256" sumtext="out일"/>
  225. <Column id="chnghosphosp" type="STRING" size="256" sumtext="전원병원"/>
  226. <Column id="endresnflag" type="STRING" size="256" sumtext="종료사유"/>
  227. <Column id="infcflag" type="STRING" size="256" sumtext="감염구분"/>
  228. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자"/>
  229. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일자"/>
  230. <Column id="histstat" type="STRING" size="256" sumtext="원무입원외래구분"/>
  231. <Column id="viralmarker" type="STRING" size="256" sumtext="viralmarker"/>
  232. <Column id="rectdialdd" type="STRING" size="256" sumtext="최종투석일"/>
  233. <Column id="indd" type="STRING" size="256" sumtext="최종입원일"/>
  234. <Column id="cassickkind" type="STRING" size="256" sumtext="원인질환"/>
  235. <Column id="cassick" type="STRING" size="256" sumtext="원인질환"/>
  236. <Column id="status" type="STRING" size="256"/>
  237. </ColumnInfo>
  238. </Dataset>
  239. <Dataset id="ds_cmb_dialflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  240. <ColumnInfo>
  241. <Column id="label" type="STRING" size="256"/>
  242. <Column id="value" type="STRING" size="256"/>
  243. </ColumnInfo>
  244. <Rows>
  245. <Row>
  246. <Col id="label">HD</Col>
  247. <Col id="value">H</Col>
  248. </Row>
  249. <Row>
  250. <Col id="label">PD</Col>
  251. <Col id="value">P</Col>
  252. </Row>
  253. <Row>
  254. <Col id="label">CRRT</Col>
  255. <Col id="value">C</Col>
  256. </Row>
  257. </Rows>
  258. </Dataset>
  259. <Dataset id="ds_cmb_matnflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  260. <ColumnInfo>
  261. <Column id="label" type="STRING" size="256"/>
  262. <Column id="value" type="STRING" size="256"/>
  263. </ColumnInfo>
  264. <Rows>
  265. <Row>
  266. <Col id="label">유지</Col>
  267. <Col id="value">1</Col>
  268. </Row>
  269. <Row>
  270. <Col id="label">전원</Col>
  271. <Col id="value">2</Col>
  272. </Row>
  273. <Row>
  274. <Col id="label">사망</Col>
  275. <Col id="value">3</Col>
  276. </Row>
  277. <Row>
  278. <Col id="label">신장이식</Col>
  279. <Col id="value">4</Col>
  280. </Row>
  281. <Row>
  282. <Col id="label">전환</Col>
  283. <Col id="value">5</Col>
  284. </Row>
  285. <Row>
  286. <Col id="label">중단</Col>
  287. <Col id="value">6</Col>
  288. </Row>
  289. </Rows>
  290. </Dataset>
  291. <Dataset id="ds_init_mlist_M0079" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  292. <ColumnInfo>
  293. <Column id="cdnm" type="STRING" size="256"/>
  294. <Column id="cdid" type="STRING" size="256"/>
  295. </ColumnInfo>
  296. </Dataset>
  297. <Dataset id="ds_temp_paminfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  298. <Dataset id="ds_main_chklist_chkinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  299. <ColumnInfo>
  300. <Column id="rsrvexistyn" type="STRING" size="256" sumtext="예약정보존재여부"/>
  301. <Column id="dialflag" type="STRING" size="256" sumtext="투석구분"/>
  302. <Column id="dmpgyn" type="STRING" size="256" sumtext="유지정보존재여부"/>
  303. </ColumnInfo>
  304. </Dataset>
  305. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  306. <Dataset id="ds_temp_gettoplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  307. <ColumnInfo>
  308. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  309. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  310. <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
  311. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  312. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  313. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  314. <Column id="acptseqno" type="STRING" size="256" sumtext="등록일련번호"/>
  315. <Column id="orgorddd" type="STRING" size="256" sumtext="원진료일자"/>
  316. <Column id="ioflag" type="STRING" size="256" sumtext="입원외래구분"/>
  317. </ColumnInfo>
  318. </Dataset>
  319. <Dataset id="ds_main_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  320. </Objects>
  321. <Bind>
  322. <BindItem id="item0" compid="grp_sea.cmb_matnFlag" propid="value" datasetid="ds_main_cond" columnid="matnflag"/>
  323. <BindItem id="item1" compid="grp_sea.cmb_dialFlag" propid="value" datasetid="ds_main_cond" columnid="dialflag"/>
  324. <BindItem id="item2" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_main_cond" columnid="pid"/>
  325. <BindItem id="item3" compid="grp_sea.ipt_hngNm" propid="value" datasetid="ds_main_cond" columnid="hngnm"/>
  326. <BindItem id="item4" compid="grp_sea.ipt_maintepatrgstdd1" propid="value" datasetid="ds_main_cond" columnid="maintepatrgstdd1"/>
  327. <BindItem id="item5" compid="grp_sea.ipt_maintepatrgstdd2" propid="value" datasetid="ds_main_cond" columnid="maintepatrgstdd2"/>
  328. <BindItem id="item6" compid="grp_sea.bol_allsearch" propid="value" datasetid="ds_main_cond" columnid="allsearchyn"/>
  329. </Bind>
  330. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  331. * System Name :
  332. * Job Name :
  333. * Creator :
  334. * Make Date : 2015-11-13
  335. * Description :
  336. *---------------------------------------------------------------------------------------
  337. * Modify Date Modifier Modify Description
  338. *---------------------------------------------------------------------------------------
  339. * 2015-11-13 Live Converter TF->XP
  340. *
  341. *---------------------------------------------------------------------------------------
  342. ****************************************************************************************/
  343. include "com_commonxp::comm_main.xjs";
  344. include 'com_basiccodexp::ZBC001.xjs';
  345. include 'emr_dialroomxp::SMMND01200.xjs';
  346. function SMMND01200_oninit(obj:Form, e:InitEventInfo)
  347. {
  348. frmf_initForm(obj);
  349. }
  350. function SMMND01200_onload(obj:Form, e:LoadEventInfo)
  351. {
  352. this.setTimer(0, 100);
  353. grdf_initGrid(grd_dialhdmpglist);
  354. fDone();
  355. var arrParam = [{dsNm: "ds_init_mlist_M0079", cdGrpId: "M0079"}];
  356. appf_getCodeList(arrParam);
  357. frmf_inputEnterKey("grp_sea.bol_allsearch", "onclick", new ClickEventInfo);
  358. fSelect_dialhdmpglist();
  359. }
  360. function SMMND01200_ontimer(obj:Form, e:TimerEventInfo)
  361. {
  362. if(e.timerid == 0)
  363. {
  364. this.killTimer(0);
  365. }
  366. }
  367. function grp_sea_cmb_matnFlag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  368. {
  369. if(obj.value == "1")
  370. {
  371. grp_sea.bol_allsearch.enable = true;
  372. }
  373. else
  374. {
  375. grp_sea.bol_allsearch.enable = false;
  376. grp_sea.ipt_maintepatrgstdd1.enable = true;
  377. grp_sea.ipt_maintepatrgstdd2.enable = true;
  378. dsf_makeValue( ds_main_cond, "allsearchyn", "string", "N");
  379. }
  380. fSelect_dialhdmpglist();
  381. }
  382. function grp_sea_cmb_dialFlag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  383. {
  384. fSelect_dialhdmpglist();
  385. }
  386. function grp_sea_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  387. {
  388. if(e.keycode == 13)
  389. {
  390. obj.updateToDataset();
  391. grp_sea_btn_srchpatlist_onclick();
  392. }
  393. }
  394. function grp_sea_btn_srchpatlist_onclick(obj:Button, e:ClickEventInfo)
  395. {
  396. fSelect_dialhdmpglist();
  397. }
  398. function grp_sea_ipt_hngNm_onkeyup(obj:Edit, e:KeyEventInfo)
  399. {
  400. if(e.keycode == 13)
  401. {
  402. obj.updateToDataset();
  403. grp_sea_btn_srchpatlist_onclick();
  404. }
  405. }
  406. function grp_sea_bol_allsearch_onclick(obj:CheckBox, e:ClickEventInfo)
  407. {
  408. if(obj.value == "Y")
  409. {
  410. grp_sea.ipt_maintepatrgstdd1.enable = false;
  411. grp_sea.ipt_maintepatrgstdd2.enable = false;
  412. }
  413. else
  414. {
  415. ds_main_cond.setColumn(0, "allsearchyn", "N")
  416. grp_sea.ipt_maintepatrgstdd1.enable = true;
  417. grp_sea.ipt_maintepatrgstdd2.enable = true;
  418. }
  419. }
  420. function ds_main_dialhdmpglist_dialhdmpginfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  421. {
  422. var sMatnFlag = ds_main_dialhdmpglist_dialhdmpginfo.getColumn(e.row, "matnflag");
  423. var sDialFalgYN = "N";
  424. if(e.newvalue == "d")
  425. {
  426. }
  427. else
  428. {
  429. if(e.columnid == "matnflag")
  430. {
  431. if(sMatnFlag != "1")
  432. {
  433. fChkRsrvExistYN(e.row, e.col);
  434. }
  435. if(sMatnFlag == "5")
  436. {
  437. sysf_messageBox("전환을 계속 진행하시려면 상단의 [저장]버튼을 누르십시오.", "I");
  438. sDialFalgYN = "Y";
  439. }
  440. }
  441. trace(e.col)
  442. fSetstatusUp(e.row, e.col, sMatnFlag, sDialFalgYN)
  443. }
  444. }
  445. function grd_dialhdmpglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  446. {
  447. var iRow = e.row
  448. var iCol = e.col;
  449. if( iRow > -1)
  450. {
  451. if(iCol != 5 && iCol != 6 && iCol != 7 && iCol != 12 && iCol != 13 && iCol != 14 && iCol != 15)
  452. {
  453. var iRow = e.row;
  454. fsetHngBaseInfo(); // 상단정보 설정
  455. }
  456. }
  457. }
  458. function button1_onclick(obj:Button, e:ClickEventInfo)
  459. {
  460. var xpos = this.width - 620;
  461. var ypos = this.height ;
  462. frmf_modal("SMMND00300", "SMMND00300", xpos, xpos, "", "", "", "", "", "", "", "", "M");
  463. }
  464. function button5_onclick(obj:Button, e:ClickEventInfo)
  465. {
  466. if(ds_main_dialhdmpglist_dialhdmpginfo.rowposition > -1)
  467. {
  468. fPopup();
  469. }
  470. }
  471. function btn_delLine_onclick(obj:Button, e:ClickEventInfo)
  472. {
  473. if (ds_main_dialhdmpglist_dialhdmpginfo.rowposition > -1)
  474. {
  475. fSetstatusDel();
  476. }
  477. }
  478. function button3_onclick(obj:Button, e:ClickEventInfo)
  479. {
  480. fSaveToExcel();
  481. }
  482. function button4_onclick(obj:Button, e:ClickEventInfo)
  483. {
  484. fSavelist();
  485. }
  486. ]]></Script>
  487. </Form>
  488. </FDL>