SMMNP03400_CartBag공급관리.xfdl 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNP03400" position="absolute 0 0 1199 741" titletext="Cart Bag 불출조회" oninit="SMMNP03400_oninit" onload="SMMNP03400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="Cart Bag 불출조회" class="tit_1" position="absolute 0 0 248 25"/>
  8. <Div id="grp_sea" anchor="left top right" taborder="1" class="div_SA" position="absolute 0 25 1194 85">
  9. <Layouts>
  10. <Layout>
  11. <Static id="caption2" text="수술일자 :" class="search_name" position="absolute 16 9 102 26"/>
  12. <Static id="caption4" text="수 술 방 :" class="search_name" position="absolute 230 9 323 26"/>
  13. <Button id="btn_ref" taborder="1" text="조회" class="btn1" position="absolute 1086 20 1142 42" anchor="top right" onclick="grp_sea_btn_ref_onclick"/>
  14. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1067 20 1073 42" anchor="top right"/>
  15. <Combo id="cmb_oproomlist" taborder="2" innerdataset="@ds_init_oproomlist" codecolumn="oproomcd" datacolumn="oproomnm" class="combo_search" position="absolute 382 8 442 27" onitemchanged="grp_sea_cmb_oproomlist_onitemchanged"/>
  16. <Calendar id="input3" taborder="3" autoselect="true" autoskip="true" class="input_search" position="absolute 105 8 203 27" onchanged="grp_sea_input3_onchanged"/>
  17. <CheckBox id="checkbox2" taborder="4" text="정규" truevalue="1" position="absolute 580 8 630 28" onclick="grp_sea_checkbox2_onclick"/>
  18. <Radio id="rdo_ccrtstat" taborder="5" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 885 7 993 27" onitemchanged="grp_sea_rdo_ccrtstat_onitemchanged">
  19. <Dataset id="innerdataset">
  20. <ColumnInfo>
  21. <Column id="codecolumn"/>
  22. <Column id="datacolumn"/>
  23. </ColumnInfo>
  24. <Rows>
  25. <Row>
  26. <Col id="codecolumn">N</Col>
  27. <Col id="datacolumn">미불출</Col>
  28. </Row>
  29. <Row>
  30. <Col id="codecolumn">Y</Col>
  31. <Col id="datacolumn">불출</Col>
  32. </Row>
  33. </Rows>
  34. </Dataset>
  35. </Radio>
  36. <CheckBox id="checkbox1" taborder="6" text="응급" truevalue="2" position="absolute 630 8 680 28" onclick="grp_sea_checkbox1_onclick"/>
  37. <CheckBox id="checkbox3" taborder="7" text="추가" truevalue="3" position="absolute 680 8 730 28" onclick="grp_sea_checkbox3_onclick"/>
  38. <Static id="caption1" text="Cart상태 :" class="search_name" position="absolute 15 37 102 54"/>
  39. <Static id="caption3" text="진행상태 :" class="search_name" position="absolute 230 36 317 53"/>
  40. <Static id="caption5" text="등록번호 :" class="search_name" position="absolute 490 36 577 53"/>
  41. <Static id="caption7" text="수술구분 :" class="search_name" position="absolute 490 10 577 27"/>
  42. <Static id="caption8" text="불출여부 :" class="search_name" position="absolute 795 10 882 27"/>
  43. <Combo id="combo1" taborder="8" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 105 35 165 54" onitemchanged="grp_sea_combo1_onitemchanged">
  44. <Dataset id="innerdataset">
  45. <ColumnInfo>
  46. <Column id="codecolumn"/>
  47. <Column id="datacolumn"/>
  48. </ColumnInfo>
  49. <Rows>
  50. <Row>
  51. <Col id="codecolumn"/>
  52. <Col id="datacolumn">전체</Col>
  53. </Row>
  54. <Row>
  55. <Col id="codecolumn">1</Col>
  56. <Col id="datacolumn">임시</Col>
  57. </Row>
  58. <Row>
  59. <Col id="codecolumn">2</Col>
  60. <Col id="datacolumn">저장</Col>
  61. </Row>
  62. <Row>
  63. <Col id="codecolumn">3</Col>
  64. <Col id="datacolumn">불출</Col>
  65. </Row>
  66. <Row>
  67. <Col id="codecolumn">4</Col>
  68. <Col id="datacolumn">처방</Col>
  69. </Row>
  70. <Row>
  71. <Col id="codecolumn">5</Col>
  72. <Col id="datacolumn">확정</Col>
  73. </Row>
  74. <Row>
  75. <Col id="codecolumn">9</Col>
  76. <Col id="datacolumn">반납</Col>
  77. </Row>
  78. </Rows>
  79. </Dataset>
  80. </Combo>
  81. <Combo id="combo2" taborder="9" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 317 36 377 55" onitemchanged="grp_sea_combo2_onitemchanged">
  82. <Dataset id="innerdataset">
  83. <ColumnInfo>
  84. <Column id="codecolumn"/>
  85. <Column id="datacolumn"/>
  86. </ColumnInfo>
  87. <Rows>
  88. <Row>
  89. <Col id="codecolumn"/>
  90. <Col id="datacolumn">전체</Col>
  91. </Row>
  92. <Row>
  93. <Col id="codecolumn">15</Col>
  94. <Col id="datacolumn">가확정</Col>
  95. </Row>
  96. <Row>
  97. <Col id="codecolumn">20</Col>
  98. <Col id="datacolumn">예정</Col>
  99. </Row>
  100. <Row>
  101. <Col id="codecolumn">30</Col>
  102. <Col id="datacolumn">대기</Col>
  103. </Row>
  104. <Row>
  105. <Col id="codecolumn">40</Col>
  106. <Col id="datacolumn">수술</Col>
  107. </Row>
  108. <Row>
  109. <Col id="codecolumn">50</Col>
  110. <Col id="datacolumn">종료</Col>
  111. </Row>
  112. <Row>
  113. <Col id="codecolumn">60</Col>
  114. <Col id="datacolumn">회복</Col>
  115. </Row>
  116. <Row>
  117. <Col id="codecolumn">70</Col>
  118. <Col id="datacolumn">종료</Col>
  119. </Row>
  120. </Rows>
  121. </Dataset>
  122. </Combo>
  123. <Edit id="ipt_pid" taborder="10" autoselect="true" autoskip="true" position="absolute 580 35 680 54"/>
  124. <Combo id="cmb_rosette" taborder="11" innerdataset="@ds_init_rosettelist" codecolumn="rosettecd" datacolumn="rosettenm" class="combo_search" position="absolute 317 8 377 27" onitemchanged="grp_sea_cmb_rosette_onitemchanged"/>
  125. <CheckBox id="checkbox4" taborder="12" text="취소" truevalue="4" position="absolute 725 8 775 28" onclick="grp_sea_checkbox4_onclick"/>
  126. <Static id="caption9" text="부서구분 :" class="search_name" position="absolute 795 35 882 52"/>
  127. <Radio id="radio1" taborder="13" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 885 33 985 53" onitemchanged="grp_sea_radio1_onitemchanged">
  128. <Dataset id="innerdataset">
  129. <ColumnInfo>
  130. <Column id="codecolumn"/>
  131. <Column id="datacolumn"/>
  132. </ColumnInfo>
  133. <Rows>
  134. <Row>
  135. <Col id="codecolumn">O</Col>
  136. <Col id="datacolumn">수술</Col>
  137. </Row>
  138. <Row>
  139. <Col id="codecolumn">A</Col>
  140. <Col id="datacolumn">마취</Col>
  141. </Row>
  142. </Rows>
  143. </Dataset>
  144. </Radio>
  145. <Button id="btn_patsear" taborder="14" class="icon_search" position="absolute 685 37 701 53" onclick="grp_sea_btn_patsear_onclick"/>
  146. </Layout>
  147. </Layouts>
  148. </Div>
  149. <Button id="btn_excel" taborder="2" text="Excel" class="btn7" position="absolute 1133 91 1194 110" anchor="top right" onclick="btn_excel_onclick"/>
  150. <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 110 1195 116" anchor="left top right"/>
  151. <Grid id="grd_cartbaglist" class="datagrid2" taborder="3" binddataset="ds_main_cartbaglist" useinputpanel="false" position="absolute 0 115 1194 739" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all">
  152. <Formats>
  153. <Format id="default">
  154. <Columns>
  155. <Column size="26"/>
  156. <Column size="45"/>
  157. <Column size="45"/>
  158. <Column size="45"/>
  159. <Column size="55"/>
  160. <Column size="40"/>
  161. <Column size="40"/>
  162. <Column size="40"/>
  163. <Column size="40"/>
  164. <Column size="120"/>
  165. <Column size="70"/>
  166. <Column size="75"/>
  167. <Column size="50"/>
  168. <Column size="281"/>
  169. <Column size="70"/>
  170. <Column size="70"/>
  171. <Column size="50"/>
  172. <Column size="0"/>
  173. <Column size="0"/>
  174. <Column size="0"/>
  175. </Columns>
  176. <Rows>
  177. <Row size="30" band="head"/>
  178. <Row size="24"/>
  179. </Rows>
  180. <Band id="head">
  181. <Cell/>
  182. <Cell col="1" text="Cart&#10;상태"/>
  183. <Cell col="2" text="물품&#10;상태"/>
  184. <Cell col="3" text="기구&#10;소모품"/>
  185. <Cell col="4" text="집도과"/>
  186. <Cell col="5" text="불출"/>
  187. <Cell col="6" text="변경1"/>
  188. <Cell col="7" text="변경2"/>
  189. <Cell col="8" text="변경3"/>
  190. <Cell col="9" text="수술일시"/>
  191. <Cell col="10" text="등록번호"/>
  192. <Cell col="11" text="환자명"/>
  193. <Cell col="12" text="S/A"/>
  194. <Cell col="13" text="수술명"/>
  195. <Cell col="14" text="집도의"/>
  196. <Cell col="15" text="마취의"/>
  197. <Cell col="16" text="마취&#10;방법"/>
  198. <Cell col="17" text="진행&#10;상태"/>
  199. <Cell col="18" text="수술&#10;구분"/>
  200. <Cell col="19" text="수술상태코드"/>
  201. </Band>
  202. <Band id="body">
  203. <Cell celltype="head" expr="currow+1"/>
  204. <Cell col="1" style="color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:ccrtstat"/>
  205. <Cell col="2" style="color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:goodstatnm"/>
  206. <Cell col="3" style="color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:instrstatnm"/>
  207. <Cell col="4" style="color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:perfdeptabbr"/>
  208. <Cell col="5" style="color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:deliveoproom"/>
  209. <Cell col="6" style="color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:chgdeliveoproom1"/>
  210. <Cell col="7" style="color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:chgdeliveoproom2"/>
  211. <Cell col="8" style="color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:chgdeliveoproom3"/>
  212. <Cell col="9" style="align:center middle;color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:opcnfmdt" mask="####-##-## ##:##" maskchar=" " calendardisplaynulltype="nulltext"/>
  213. <Cell col="10" style="color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:pid"/>
  214. <Cell col="11" style="color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:patnm"/>
  215. <Cell col="12" style="color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:sa"/>
  216. <Cell col="13" style="align:left middle;color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:opnm"/>
  217. <Cell col="14" style="color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:perfnm"/>
  218. <Cell col="15" style="color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:anstdrnm"/>
  219. <Cell col="16" style="color:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');color2:EXPR(String(opstatcd).substr(1,1) == '9' ? '#D22D2D' : '');" text="bind:anstmthd"/>
  220. <Cell col="17" text="bind:opstatnm"/>
  221. <Cell col="18" text="bind:opflag"/>
  222. <Cell col="19" text="bind:opstatcd"/>
  223. </Band>
  224. </Format>
  225. </Formats>
  226. </Grid>
  227. <Static id="caption22" text="Cart Bag 불출조회" class="tit_2" position="absolute 0 96 134 117"/>
  228. </Layout>
  229. </Layouts>
  230. <Objects>
  231. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  232. <ColumnInfo>
  233. <Column id="opdd" type="STRING" size="256"/>
  234. <Column id="oproomcd" type="STRING" size="256"/>
  235. <Column id="optypeflag1" type="STRING" size="256"/>
  236. <Column id="optypeflag2" type="STRING" size="256"/>
  237. <Column id="optypeflag3" type="STRING" size="256"/>
  238. <Column id="ccrtstat" type="STRING" size="256"/>
  239. <Column id="refcartgubn" type="STRING" size="256"/>
  240. <Column id="opccrtstat" type="STRING" size="256"/>
  241. <Column id="opstat" type="STRING" size="256"/>
  242. <Column id="refnm" type="STRING" size="256"/>
  243. <Column id="rosette" type="STRING" size="256"/>
  244. <Column id="cnclop" type="STRING" size="256"/>
  245. </ColumnInfo>
  246. <Rows>
  247. <Row>
  248. <Col id="opdd"/>
  249. <Col id="oproomcd"/>
  250. <Col id="optypeflag1"/>
  251. <Col id="optypeflag2"/>
  252. <Col id="optypeflag3"/>
  253. <Col id="ccrtstat">Y</Col>
  254. <Col id="refcartgubn">O</Col>
  255. <Col id="opccrtstat">3</Col>
  256. <Col id="opstat"/>
  257. <Col id="refnm"/>
  258. <Col id="rosette"/>
  259. <Col id="cnclop"/>
  260. </Row>
  261. </Rows>
  262. </Dataset>
  263. <Dataset id="ds_main_cartbaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  264. <ColumnInfo>
  265. <Column id="ccrtstat" type="STRING" size="256" sumtext="Cart상태"/>
  266. <Column id="perfdeptabbr" type="STRING" size="256" sumtext="집도과"/>
  267. <Column id="deliveoproom" type="STRING" size="256" sumtext="불출"/>
  268. <Column id="chgdeliveoproom1" type="STRING" size="256" sumtext="변경1"/>
  269. <Column id="chgdeliveoproom2" type="STRING" size="256" sumtext="변경2"/>
  270. <Column id="chgdeliveoproom3" type="STRING" size="256" sumtext="변경3"/>
  271. <Column id="opcnfmdt" type="STRING" size="256" sumtext="수술일시"/>
  272. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  273. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  274. <Column id="opnm" type="STRING" size="256" sumtext="수술명"/>
  275. <Column id="perfnm" type="STRING" size="256" sumtext="집도의"/>
  276. <Column id="anstdrnm" type="STRING" size="256" sumtext="마취의"/>
  277. <Column id="anstmthd" type="STRING" size="256" sumtext="마취종류"/>
  278. <Column id="opstatnm" type="STRING" size="256" sumtext="진행상태"/>
  279. <Column id="opflag" type="STRING" size="256" sumtext="수술구분"/>
  280. <Column id="opstatcd" type="STRING" size="256" sumtext="수술상태코드"/>
  281. <Column id="goodstatnm" type="STRING" size="256" sumtext="55 물품상태"/>
  282. <Column id="instrstatnm" type="STRING" size="256" sumtext="55 기구상태"/>
  283. <Column id="cststatnm" type="STRING" size="256" sumtext="55 소모품상태"/>
  284. <Column id="sa" type="STRING" size="256" sumtext="sa"/>
  285. </ColumnInfo>
  286. </Dataset>
  287. <Dataset id="ds_init_rosettelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  288. <ColumnInfo>
  289. <Column id="rosettenm" type="STRING" size="256"/>
  290. <Column id="rosettecd" type="STRING" size="256"/>
  291. </ColumnInfo>
  292. </Dataset>
  293. <Dataset id="ds_init_oproomlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  294. <ColumnInfo>
  295. <Column id="oproomnm" type="STRING" size="256"/>
  296. <Column id="oproomcd" type="STRING" size="256"/>
  297. </ColumnInfo>
  298. </Dataset>
  299. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  300. </Objects>
  301. <Bind>
  302. <BindItem id="item0" compid="grp_sea.input3" propid="value" datasetid="ds_main_cond" columnid="opdd"/>
  303. <BindItem id="item1" compid="grp_sea.cmb_rosette" propid="value" datasetid="ds_main_cond" columnid="rosette"/>
  304. <BindItem id="item2" compid="grp_sea.cmb_oproomlist" propid="value" datasetid="ds_main_cond" columnid="oproomcd"/>
  305. <BindItem id="item3" compid="grp_sea.checkbox2" propid="value" datasetid="ds_main_cond" columnid="optypeflag1"/>
  306. <BindItem id="item4" compid="grp_sea.checkbox1" propid="value" datasetid="ds_main_cond" columnid="optypeflag2"/>
  307. <BindItem id="item5" compid="grp_sea.checkbox3" propid="value" datasetid="ds_main_cond" columnid="optypeflag3"/>
  308. <BindItem id="item6" compid="grp_sea.checkbox4" propid="value" datasetid="ds_main_cond" columnid="cnclop"/>
  309. <BindItem id="item7" compid="grp_sea.rdo_ccrtstat" propid="value" datasetid="ds_main_cond" columnid="ccrtstat"/>
  310. <BindItem id="item8" compid="grp_sea.radio1" propid="value" datasetid="ds_main_cond" columnid="refcartgubn"/>
  311. <BindItem id="item9" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_main_cond" columnid="refnm"/>
  312. <BindItem id="item10" compid="grp_sea.combo2" propid="value" datasetid="ds_main_cond" columnid="opstat"/>
  313. <BindItem id="item11" compid="grp_sea.combo1" propid="value" datasetid="ds_main_cond" columnid="opccrtstat"/>
  314. </Bind>
  315. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  316. * System Name :
  317. * Job Name :
  318. * Creator :
  319. * Make Date : 2016-10-12
  320. * Description :
  321. *---------------------------------------------------------------------------------------
  322. * Modify Date Modifier Modify Description
  323. *---------------------------------------------------------------------------------------
  324. * 2016-10-12 Live Converter TF->XP
  325. *
  326. *---------------------------------------------------------------------------------------
  327. ****************************************************************************************/
  328. include "com_commonxp::comm_main.xjs";
  329. include "emr_opanstxp::SMMNP03400.xjs";
  330. function SMMNP03400_oninit(obj:Form, e:InitEventInfo)
  331. {
  332. frmf_initForm(obj);
  333. }
  334. function SMMNP03400_onload(obj:Form, e:LoadEventInfo)
  335. {
  336. grdf_initGrid(grd_cartbaglist);
  337. fInit();
  338. }
  339. function grp_sea_input3_onchanged(obj:Calendar, e:ChangeEventInfo)
  340. {
  341. fSearch();
  342. }
  343. function grp_sea_btn_ref_onclick(obj:Button, e:ClickEventInfo)
  344. {
  345. fSearch()
  346. }
  347. function grp_sea_cmb_rosette_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  348. {
  349. ds_send.clearData();
  350. dsf_makeValue(ds_send, "opcnfmdd", "string", ds_main_cond.getColumn(0, "opdd"), 0);
  351. dsf_makeValue(ds_send, "rosette", "string", ds_main_cond.getColumn(0, "rosette"), 0);
  352. var oParam = {};
  353. oParam.id = "TRMNP03002";
  354. oParam.service = "opanstapp.OpAnstCCrtGoodMngt";
  355. oParam.method = "reqGetOmcdlist";
  356. oParam.inds = "req=ds_send";
  357. oParam.outds = "ds_init_oproomlist=oproomlist";
  358. oParam.async = false;
  359. oParam.callback = "cf_TRMNP03002";
  360. tranf_submit(oParam);
  361. }
  362. function cf_TRMNP03002(sSvcId, nErrorCode, sErrorMsg)
  363. {
  364. if(nErrorCode < 0)
  365. {
  366. return;
  367. }
  368. else
  369. {
  370. frmf_addComboItem("grp_sea.cmb_oproomlist","전 체","","above");
  371. grp_sea.cmb_oproomlist.value = "";
  372. }
  373. }
  374. function grp_sea_cmb_oproomlist_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  375. {
  376. fSearch();
  377. }
  378. function grp_sea_checkbox2_onclick(obj:CheckBox, e:ClickEventInfo)
  379. {
  380. if(obj.value == "1")
  381. {
  382. }
  383. else
  384. {
  385. ds_main_cond.setColumn(0, "optypeflag1", "")
  386. }
  387. }
  388. function grp_sea_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
  389. {
  390. if(obj.value == "2")
  391. {
  392. }
  393. else
  394. {
  395. ds_main_cond.setColumn(0, "optypeflag2", "")
  396. }
  397. }
  398. function grp_sea_checkbox3_onclick(obj:CheckBox, e:ClickEventInfo)
  399. {
  400. if(obj.value == "3")
  401. {
  402. }
  403. else
  404. {
  405. ds_main_cond.setColumn(0, "optypeflag3", "")
  406. }
  407. }
  408. function grp_sea_checkbox4_onclick(obj:CheckBox, e:ClickEventInfo)
  409. {
  410. if(obj.value == "4")
  411. {
  412. }
  413. else
  414. {
  415. ds_main_cond.setColumn(0, "cnclop", "")
  416. }
  417. }
  418. function grp_sea_rdo_ccrtstat_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  419. {
  420. fSearch();
  421. }
  422. function grp_sea_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  423. {
  424. fSearch();
  425. }
  426. function grp_sea_btn_patsear_onclick(obj:Button, e:ClickEventInfo)
  427. {
  428. frmf_setParameter("refnm", ds_main_cond.getColumn(0, "refnm"));
  429. frmf_modal("SPMNP06100", "SPMNP06100", "", "", "", "", "", "", "", "", "", "", "M");
  430. var getData = frmf_getParameter("SendData");
  431. if(utlf_isNull(getData))
  432. {
  433. return;
  434. }
  435. else
  436. {
  437. var getDataTemp1 = String(getData).split("|");
  438. ds_main_cond.setColumn(0, "refnm", getDataTemp1[0]);
  439. fSearch();
  440. }
  441. }
  442. function grp_sea_combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  443. {
  444. fSearch();
  445. }
  446. function grp_sea_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  447. {
  448. fSearch();
  449. }
  450. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  451. {
  452. grdf_exportExcel(grd_cartbaglist, "excel", "SheetName", "true", "", "");
  453. }
  454. ]]></Script>
  455. </Form>
  456. </FDL>