SMMNP03500_CaseCart반납관리.xfdl 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNP03500" position="absolute 0 0 1202 769" titletext="Cart Bag" oninit="SMMNP03500_oninit" onload="SMMNP03500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Grid id="grd_casecartrtnmngtlist" class="datagrid2" taborder="9" binddataset="ds_main_castcartrtnmngtlist" autoenter="select" useinputpanel="false" cellsizingtype="both" autofittype="col" position="absolute 0 102 1195 764" anchor="all" oncelldblclick="grd_casecartrtnmngtlist_oncelldblclick" extendsizetype="row" autosizingtype="row" cellclickbound="cell">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="24"/>
  12. <Column size="50"/>
  13. <Column size="50"/>
  14. <Column size="50"/>
  15. <Column size="50"/>
  16. <Column size="45"/>
  17. <Column size="120"/>
  18. <Column size="75"/>
  19. <Column size="75"/>
  20. <Column size="330"/>
  21. <Column size="75"/>
  22. <Column size="75"/>
  23. <Column size="50"/>
  24. <Column size="50"/>
  25. <Column size="50"/>
  26. <Column size="0"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="0"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. </Columns>
  42. <Rows>
  43. <Row size="32" band="head"/>
  44. <Row size="24"/>
  45. </Rows>
  46. <Band id="head">
  47. <Cell/>
  48. <Cell col="1" text=" 출력"/>
  49. <Cell col="2" text=" 반납"/>
  50. <Cell col="3" text="Cart&#10;상태"/>
  51. <Cell col="4" text="집도과"/>
  52. <Cell col="5" text="불출"/>
  53. <Cell col="6" text="수술일시"/>
  54. <Cell col="7" text="등록번호"/>
  55. <Cell col="8" text="환자명"/>
  56. <Cell col="9" text="수술명"/>
  57. <Cell col="10" text="집도의"/>
  58. <Cell col="11" text="마취의"/>
  59. <Cell col="12" text="마취&#10;종류"/>
  60. <Cell col="13" text="진행&#10;상태"/>
  61. <Cell col="14" text="수술&#10;구분"/>
  62. <Cell col="15" text="수술예약번호"/>
  63. <Cell col="16" text="수술상태"/>
  64. <Cell col="17" text="roomcd"/>
  65. <Cell col="18" text="sa"/>
  66. <Cell col="19" text="병동명"/>
  67. <Cell col="20" text="수술일자"/>
  68. <Cell col="21" text="환자구분"/>
  69. <Cell col="22" text="수술시작시간"/>
  70. <Cell col="23" text="수술진행코드"/>
  71. <Cell col="24"/>
  72. <Cell col="25"/>
  73. <Cell col="26"/>
  74. <Cell col="27"/>
  75. <Cell col="28"/>
  76. <Cell col="29"/>
  77. </Band>
  78. <Band id="body">
  79. <Cell celltype="head" expr="currow+1"/>
  80. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:prntflag" expr="expr:prntflag == 'true' ? 1 : 0"/>
  81. <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:rtnflag" expr="expr:rtnflag == 'true' ? 1 : 0"/>
  82. <Cell col="3" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:ccrtstatnm"/>
  83. <Cell col="4" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:perfdeptabbr"/>
  84. <Cell col="5" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:oproomnm"/>
  85. <Cell col="6" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:opdt" mask="####-##-## ##:##" maskchar=" "/>
  86. <Cell col="7" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:pid"/>
  87. <Cell col="8" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:patnm"/>
  88. <Cell col="9" style="align:left middle;color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:opnm"/>
  89. <Cell col="10" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:perfnm"/>
  90. <Cell col="11" style="align:left middle;color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:anstdrnm"/>
  91. <Cell col="12" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:anstkind"/>
  92. <Cell col="13" style="align:center middle;color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:opstat" wordwrap="word" autosizerow="limitmin"/>
  93. <Cell col="14" style="color:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');color2:EXPR(ccrtstat == '9' ? '#0000FF' : opstatcd == '19' || opstatcd == '29' || opstatcd == '39' ? '#D22D2D' : '#000000');" text="bind:opflag"/>
  94. <Cell col="15" text="bind:oprsrvno"/>
  95. <Cell col="16" text="bind:ccrtstat"/>
  96. <Cell col="17" text="bind:roomcd"/>
  97. <Cell col="18" text="bind:sa"/>
  98. <Cell col="19" text="bind:wardnm"/>
  99. <Cell col="20" text="bind:opcnfmdd"/>
  100. <Cell col="21" text="bind:disp1"/>
  101. <Cell col="22" text="bind:disp2"/>
  102. <Cell col="23" text="bind:disp3"/>
  103. <Cell col="24" text="bind:goodstat"/>
  104. <Cell col="25" text="bind:instrstat"/>
  105. <Cell col="26" text="bind:cststat"/>
  106. <Cell col="27" text="bind:patflagcd"/>
  107. <Cell col="28" text="bind:tm"/>
  108. <Cell col="29" text="bind:opstatcd"/>
  109. </Band>
  110. </Format>
  111. </Formats>
  112. </Grid>
  113. <Static text="Cart Bag 반납관리" position="absolute 0 0 248 25" id="caption6" class="tit_1"/>
  114. <Button id="btn_cnclrtn" taborder="2" text="반납취소" class="btn5" visible="false" position="absolute 1131 78 1195 97" anchor="top right" onclick="btn_cnclrtn_onclick"/>
  115. <Div id="grp_sea" anchor="left top right" taborder="4" class="div_SA" position="absolute 0 25 1195 65">
  116. <Layouts>
  117. <Layout>
  118. <Static id="caption2" text="수술일자 :" class="search_name" position="absolute 381 12 453 32"/>
  119. <Static id="caption4" text="수술방 :" class="search_name" position="absolute 713 12 775 32"/>
  120. <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1123 10 1179 32" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
  121. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1104 10 1110 32" anchor="top right"/>
  122. <Combo id="cmb_oproomlist" taborder="2" innerdataset="@ds_init_oproomlist" codecolumn="oproomcd" datacolumn="oproomnm" class="combo_search" position="absolute 838 12 896 32" onitemchanged="grp_sea_cmb_oproomlist_onitemchanged"/>
  123. <Calendar id="input3" taborder="3" class="input_search" position="absolute 457 12 557 32" onchanged="grp_sea_input3_onchanged" autoselect="true"/>
  124. <Radio id="radio1" taborder="4" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 258 12 366 32" onitemchanged="grp_sea_radio1_onitemchanged">
  125. <Dataset id="innerdataset">
  126. <ColumnInfo>
  127. <Column id="codecolumn"/>
  128. <Column id="datacolumn"/>
  129. </ColumnInfo>
  130. <Rows>
  131. <Row>
  132. <Col id="codecolumn">1</Col>
  133. <Col id="datacolumn">반납</Col>
  134. </Row>
  135. <Row>
  136. <Col id="codecolumn">2</Col>
  137. <Col id="datacolumn">미반납</Col>
  138. </Row>
  139. </Rows>
  140. </Dataset>
  141. </Radio>
  142. <Static id="caption5" text="반납여부 :" class="search_name" position="absolute 182 12 253 32"/>
  143. <Static id="caption7" text="등록번호 :" class="search_name" position="absolute 911 12 989 32"/>
  144. <Edit id="input1" taborder="5" autoselect="true" autoskip="true" position="absolute 993 12 1093 32" onkeyup="grp_sea_input1_onkeyup"/>
  145. <Combo id="cmb_rosette" taborder="6" innerdataset="@ds_init_rosettelist" codecolumn="rosettecd" datacolumn="rosettenm" class="combo_search" position="absolute 776 12 834 32" onitemchanged="grp_sea_cmb_rosette_onitemchanged"/>
  146. <Static id="caption10" text="구분 :" class="search_name" position="absolute 12 12 57 32"/>
  147. <Radio id="rdo_cartgubn" taborder="7" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 62 12 162 32" onitemchanged="grp_sea_rdo_cartgubn_onitemchanged">
  148. <Dataset id="innerdataset">
  149. <ColumnInfo>
  150. <Column id="codecolumn"/>
  151. <Column id="datacolumn"/>
  152. </ColumnInfo>
  153. <Rows>
  154. <Row>
  155. <Col id="codecolumn">O</Col>
  156. <Col id="datacolumn">수술</Col>
  157. </Row>
  158. <Row>
  159. <Col id="codecolumn">A</Col>
  160. <Col id="datacolumn">마취</Col>
  161. </Row>
  162. </Rows>
  163. </Dataset>
  164. </Radio>
  165. <Button id="btn_tommorow" taborder="8" text="내일" class="btn2" position="absolute 653 12 695 32" onclick="grp_sea_btn_tommorow_onclick"/>
  166. <Button id="btn_today" taborder="9" text="오늘" class="btn2" position="absolute 608 12 650 32" onclick="grp_sea_btn_today_onclick"/>
  167. <Button id="btn_yesterday" taborder="10" text="어제" class="btn2" position="absolute 563 12 605 32" onclick="grp_sea_btn_yesterday_onclick"/>
  168. </Layout>
  169. </Layouts>
  170. </Div>
  171. <Shape id="line1" class="line_10" position="absolute 0 97 1195 103" anchor="left top right"/>
  172. <Button id="btn_listprn" taborder="5" text="List출력" class="btn2" position="absolute 1003 78 1067 97" anchor="top right" onclick="btn_listprn_onclick"/>
  173. <Static id="caption3" text="※ Cart Bag 반납내역상세조회는 더블 클릭하시면 조회할 수 있습니다." position="absolute 340 78 764 98" style="color:#ff0000ff;font:Dotum,9,bold;"/>
  174. <Static id="caption1" text="Cart Bag 반납관리" class="tit_2" position="absolute 0 81 147 103"/>
  175. <Button id="btn_excel" taborder="6" text="Excel" class="btn7" position="absolute 1069 78 1130 97" anchor="top right" onclick="btn_excel_onclick"/>
  176. <Button id="btn_rtnprn" taborder="7" text="반납 상세내역 출력" class="btn5" position="absolute 882 78 1001 97" anchor="top right" onclick="btn_rtnprn_onclick"/>
  177. <Div id="group5" taborder="8" style="background:#87cefaff;border:1 solid #808080ff ;" visible="false" position="absolute 923 139 1173 189">
  178. <Layouts>
  179. <Layout>
  180. <Static id="caption14" text="출력할 구분을 체크하십시요." class="tit_2" position="absolute 4 3 192 25" anchor="default"/>
  181. <Button id="btn_prtlabel" taborder="1" text="확인" class="btn5" position="absolute 155 25 197 44" anchor="default" onclick="group5_btn_prtlabel_onclick"/>
  182. <Button id="button3" taborder="2" text="취소" class="btn5" position="absolute 200 25 242 44" anchor="default" onclick="group5_button3_onclick"/>
  183. <CheckBox id="checkbox5" taborder="3" text="물품" truevalue="Y" position="absolute 5 25 50 45" anchor="default" onclick="group5_checkbox5_onclick"/>
  184. <CheckBox id="checkbox6" taborder="4" text="기구/소모품" truevalue="I" position="absolute 50 25 135 45" anchor="default" onclick="group5_checkbox6_onclick"/>
  185. </Layout>
  186. </Layouts>
  187. </Div>
  188. <Static id="caption8" class="color_6" position="absolute 149 81 164 96" style="background:#d22d2dff;"/>
  189. <Static id="caption15" text="취소" position="absolute 169 82 204 97"/>
  190. <Static id="caption9" text="반납" position="absolute 219 82 254 97"/>
  191. <Static id="caption18" class="color_6" position="absolute 199 81 214 96" style="background:#2d2dd2ff;"/>
  192. <Button id="btn_rtn" taborder="1" text="반납" class="btn5" position="absolute 1152 78 1194 97" anchor="top right" onclick="btn_rtn_onclick"/>
  193. <Div id="grp_report" taborder="10" position="absolute 294 280 567 449" visible="false">
  194. <Layouts>
  195. <Layout width="273" height="169"/>
  196. </Layouts>
  197. </Div>
  198. <CheckBox id="chk_prntflag" taborder="11" position="absolute 31 109 51 127" truevalue="true" falsevalue="false" onclick="chk_prntflag_onclick"/>
  199. <CheckBox id="chk_rtnflag" taborder="12" position="absolute 77 109 97 127" truevalue="true" falsevalue="false" onclick="chk_rtnflag_onclick"/>
  200. </Layout>
  201. </Layouts>
  202. <Objects>
  203. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  204. <ColumnInfo>
  205. <Column id="opdd" type="STRING" size="256"/>
  206. <Column id="oproomcd" type="STRING" size="256"/>
  207. <Column id="rtnflag" type="STRING" size="256"/>
  208. <Column id="refcartgubn" type="STRING" size="256"/>
  209. <Column id="pid" type="STRING" size="256"/>
  210. <Column id="rosette" type="STRING" size="256"/>
  211. <Column id="prntgood" type="STRING" size="256"/>
  212. <Column id="prntinstr" type="STRING" size="256"/>
  213. <Column id="prntcst" type="STRING" size="256"/>
  214. <Column id="openflag" type="STRING" size="256"/>
  215. <Column id="prntpad" type="STRING" size="256"/>
  216. <Column id="cartgubn" type="STRING" size="256"/>
  217. </ColumnInfo>
  218. <Rows>
  219. <Row>
  220. <Col id="opdd"/>
  221. <Col id="oproomcd"/>
  222. <Col id="rtnflag">2</Col>
  223. <Col id="refcartgubn">O</Col>
  224. <Col id="pid"/>
  225. <Col id="rosette"/>
  226. <Col id="prntgood">G</Col>
  227. <Col id="prntinstr"/>
  228. <Col id="prntcst"/>
  229. <Col id="openflag">CCR</Col>
  230. <Col id="prntpad"/>
  231. <Col id="cartgubn">O</Col>
  232. </Row>
  233. </Rows>
  234. </Dataset>
  235. <Dataset id="ds_init_rosettelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  236. <ColumnInfo>
  237. <Column id="rosettecd" type="STRING" size="256" sumtext="rosettecd"/>
  238. <Column id="rosettenm" type="STRING" size="256" sumtext="rosettenm"/>
  239. </ColumnInfo>
  240. </Dataset>
  241. <Dataset id="ds_init_oproomlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  242. <ColumnInfo>
  243. <Column id="oproomcd" type="STRING" size="256" sumtext="수술실코드"/>
  244. <Column id="oproomnm" type="STRING" size="256" sumtext="수술실명 "/>
  245. </ColumnInfo>
  246. </Dataset>
  247. <Dataset id="ds_main_castcartrtnmngtlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_castcartrtnmngtlist_oncolumnchanged">
  248. <ColumnInfo>
  249. <Column id="prntflag" type="STRING" size="256" sumtext="출력"/>
  250. <Column id="rtnflag" type="STRING" size="256" sumtext="반납"/>
  251. <Column id="ccrtstatnm" type="STRING" size="256" sumtext="카트상태"/>
  252. <Column id="perfdeptabbr" type="STRING" size="256" sumtext="집도과"/>
  253. <Column id="oproomnm" type="STRING" size="256" sumtext="불출수술방"/>
  254. <Column id="opdt" type="STRING" size="256" sumtext="수술일시"/>
  255. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  256. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  257. <Column id="opnm" type="STRING" size="256" sumtext="수술명"/>
  258. <Column id="perfnm" type="STRING" size="256" sumtext="집도의"/>
  259. <Column id="anstdrnm" type="STRING" size="256" sumtext="마취의"/>
  260. <Column id="anstkind" type="STRING" size="256" sumtext="마취방법"/>
  261. <Column id="opstat" type="STRING" size="256" sumtext="진행상태"/>
  262. <Column id="opflag" type="STRING" size="256" sumtext="수술구분"/>
  263. <Column id="oprsrvno" type="STRING" size="256" sumtext="수술예약번호"/>
  264. <Column id="ccrtstat" type="STRING" size="256" sumtext="카트상태"/>
  265. <Column id="roomcd" type="STRING" size="256" sumtext="roomcd"/>
  266. <Column id="sa" type="STRING" size="256" sumtext="sa"/>
  267. <Column id="oproomcd" type="STRING" size="256" sumtext="oproomcd"/>
  268. <Column id="wardnm" type="STRING" size="256" sumtext="wardnm"/>
  269. <Column id="opcnfmdd" type="STRING" size="256" sumtext="opcnfmdd"/>
  270. <Column id="disp1" type="STRING" size="256" sumtext="혈액주의"/>
  271. <Column id="disp2" type="STRING" size="256" sumtext="접촉주의"/>
  272. <Column id="disp3" type="STRING" size="256" sumtext="공기주의"/>
  273. <Column id="goodstat" type="STRING" size="256" sumtext="물품"/>
  274. <Column id="instrstat" type="STRING" size="256" sumtext="기구"/>
  275. <Column id="cststat" type="STRING" size="256" sumtext="소모품"/>
  276. <Column id="patflagcd" type="STRING" size="256" sumtext="환자구분"/>
  277. <Column id="tm" type="STRING" size="256" sumtext="시간"/>
  278. <Column id="opstatcd" type="STRING" size="256" sumtext="수술상태값"/>
  279. <Column id="prntopdt" type="STRING" size="256" sumtext="출력용수술일시"/>
  280. <Column id="bagstat" type="STRING" size="256" sumtext="출력용수술일시"/>
  281. </ColumnInfo>
  282. </Dataset>
  283. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  284. <Dataset id="ds_properties_error" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  285. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  286. <Dataset id="ds_send_report" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  287. </Objects>
  288. <Bind>
  289. <BindItem id="item0" compid="grp_sea.rdo_cartgubn" propid="value" datasetid="ds_main_cond" columnid="cartgubn"/>
  290. <BindItem id="item1" compid="grp_sea.radio1" propid="value" datasetid="ds_main_cond" columnid="rtnflag"/>
  291. <BindItem id="item2" compid="grp_sea.input3" propid="value" datasetid="ds_main_cond" columnid="opdd"/>
  292. <BindItem id="item3" compid="grp_sea.cmb_rosette" propid="value" datasetid="ds_main_cond" columnid="rosette"/>
  293. <BindItem id="item4" compid="grp_sea.cmb_oproomlist" propid="value" datasetid="ds_main_cond" columnid="oproomcd"/>
  294. <BindItem id="item5" compid="grp_sea.input1" propid="value" datasetid="ds_main_cond" columnid="pid"/>
  295. <BindItem id="item6" compid="group5.checkbox5" propid="value" datasetid="ds_main_cond" columnid="prntgood"/>
  296. <BindItem id="item7" compid="group5.checkbox6" propid="value" datasetid="ds_main_cond" columnid="prntinstr"/>
  297. </Bind>
  298. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  299. * System Name :
  300. * Job Name :
  301. * Creator :
  302. * Make Date : 2016-10-12
  303. * Description :
  304. *---------------------------------------------------------------------------------------
  305. * Modify Date Modifier Modify Description
  306. *---------------------------------------------------------------------------------------
  307. * 2016-10-12 Live Converter TF->XP
  308. *
  309. *---------------------------------------------------------------------------------------
  310. ****************************************************************************************/
  311. include "com_commonxp::comm_main.xjs";
  312. include "emr_opanstxp::SMMNP03500.xjs";
  313. function SMMNP03500_oninit(obj:Form, e:InitEventInfo)
  314. {
  315. frmf_initForm(obj);
  316. }
  317. function SMMNP03500_onload(obj:Form, e:LoadEventInfo)
  318. {
  319. grdf_initGrid(grd_casecartrtnmngtlist);
  320. fInit();
  321. }
  322. function grp_sea_rdo_cartgubn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  323. {
  324. fSearch();
  325. }
  326. function grp_sea_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  327. {
  328. if(obj.value == "1" )
  329. {
  330. btn_listprn.position.left = 1003;
  331. btn_listprn.position.right = 1067;
  332. btn_listprn.position.width = 64;
  333. btn_excel.position.left = 1069;
  334. btn_excel.position.right = 1130;
  335. btn_excel.position.width = 61;
  336. btn_cnclrtn.position.left = 1131;
  337. btn_cnclrtn.position.right = 1195;
  338. btn_cnclrtn.position.width = 64;
  339. btn_rtnprn.position.left = 882;
  340. btn_rtnprn.position.right = 1001;
  341. btn_rtnprn.position.width = 119;
  342. btn_cnclrtn.visible = true;
  343. btn_rtn.visible = false;
  344. }
  345. else
  346. {
  347. btn_listprn.position.left = 1024;
  348. btn_listprn.position.width = 64;
  349. btn_listprn.position.right = 1088;
  350. btn_excel.position.left = 1090;
  351. btn_excel.position.right = 1151;
  352. btn_excel.position.width = 61;
  353. btn_rtn.position.left = 1152;
  354. btn_rtn.position.right = 1195;
  355. btn_rtn.position.width = 42;
  356. btn_rtnprn.position.left = 903;
  357. btn_rtnprn.position.right = 1022;
  358. btn_rtnprn.position.width = 119;
  359. btn_cnclrtn.visible = false;
  360. btn_rtn.visible = true;
  361. }
  362. fSearch();
  363. }
  364. function grp_sea_input3_onchanged(obj:Calendar, e:ChangeEventInfo)
  365. {
  366. fSearch();
  367. }
  368. function grp_sea_cmb_rosette_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  369. {
  370. ds_send.clearData();
  371. dsf_makeValue(ds_send, "opcnfmdd", "string", ds_main_cond.getColumn(0, "opdd"), 0);
  372. dsf_makeValue(ds_send, "rosette", "string", ds_main_cond.getColumn(0, "rosette"), 0);
  373. var oParam = {};
  374. oParam.id = "TRMNP03002";
  375. oParam.service = "opanstapp.OpAnstCCrtGoodMngt";
  376. oParam.method = "reqGetOmcdlist";
  377. oParam.inds = "req=ds_send";
  378. oParam.outds = "ds_init_oproomlist=oproomlist";
  379. oParam.async = false;
  380. oParam.callback = "cf_TRMNP03002";
  381. tranf_submit(oParam);
  382. }
  383. function cf_TRMNP03002(sSvcId, nErrorCode, sErrorMsg)
  384. {
  385. if(nErrorCode < 0)
  386. {
  387. return;
  388. }
  389. else
  390. {
  391. frmf_addComboItem("grp_sea.cmb_oproomlist","전체","","above");
  392. }
  393. }
  394. function grp_sea_cmb_oproomlist_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  395. {
  396. fSearch();
  397. }
  398. function grp_sea_input1_onkeyup(obj:Edit, e:KeyEventInfo)
  399. {
  400. if(e.keycode == 13)
  401. {
  402. obj.updateToDataset();
  403. }
  404. }
  405. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  406. {
  407. grdf_clearSort(grd_casecartrtnmngtlist);
  408. fSearch();
  409. }
  410. function chk_prntflag_onclick(obj:CheckBox, e:ClickEventInfo)
  411. {
  412. if(obj.value == "true")
  413. {
  414. for(var i = 0; i < ds_main_castcartrtnmngtlist.rowcount; i++)
  415. {
  416. ds_main_castcartrtnmngtlist.setColumn(i, "prntflag", "true");
  417. }
  418. }
  419. else
  420. {
  421. for(var i = 0; i < ds_main_castcartrtnmngtlist.rowcount; i++)
  422. {
  423. ds_main_castcartrtnmngtlist.setColumn(i, "prntflag", "false");
  424. }
  425. }
  426. }
  427. function chk_rtnflag_onclick(obj:CheckBox, e:ClickEventInfo)
  428. {
  429. if(obj.value == "true")
  430. {
  431. for(var i = 0; i < ds_main_castcartrtnmngtlist.rowcount; i++)
  432. {
  433. ds_main_castcartrtnmngtlist.setColumn(i, "rtnflag", "true");
  434. }
  435. }
  436. else
  437. {
  438. for(var i = 0; i < ds_main_castcartrtnmngtlist.rowcount; i++)
  439. {
  440. ds_main_castcartrtnmngtlist.setColumn(i, "rtnflag", "false");
  441. }
  442. }
  443. }
  444. function ds_main_castcartrtnmngtlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  445. {
  446. if(e.columnid == "prntflag")
  447. {
  448. obj.setColumn(e.row, "prntflag", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
  449. }
  450. if(e.columnid == "rtnflag")
  451. {
  452. obj.setColumn(e.row, "rtnflag", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
  453. }
  454. }
  455. function btn_rtnprn_onclick(obj:Button, e:ClickEventInfo)
  456. {
  457. group5.visible = true;
  458. }
  459. function btn_listprn_onclick(obj:Button, e:ClickEventInfo)
  460. {
  461. var objDOM = rptf_createDOM();
  462. rptf_setNodeListToDOM(objDOM, "/root/main/cond", ds_main_cond);
  463. rptf_setNodeListToDOM(objDOM, "/root/main/castcartrtnmngtlist", ds_main_castcartrtnmngtlist);
  464. var objParam = new Object();
  465. objParam.xml_data_XML1 = objDOM.documentElement.source;
  466. var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0;";
  467. rptf_exeReportPreview30(["RPMNP03503"],[objParam], option);
  468. }
  469. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  470. {
  471. grdf_exportExcel(grd_casecartrtnmngtlist, "excel", "SheetName", "true", "", "");
  472. }
  473. function btn_rtn_onclick(obj:Button, e:ClickEventInfo)
  474. {
  475. fSaveRtn();
  476. }
  477. function btn_cnclrtn_onclick(obj:Button, e:ClickEventInfo)
  478. {
  479. fCnclRtn();
  480. }
  481. function group5_checkbox5_onclick(obj:CheckBox, e:ClickEventInfo)
  482. {
  483. if(obj.value == "G")
  484. {
  485. }
  486. else
  487. {
  488. ds_main_cond.setColumn(0, "prntgood", "");
  489. }
  490. }
  491. function group5_checkbox6_onclick(obj:CheckBox, e:ClickEventInfo)
  492. {
  493. if(obj.value == "I")
  494. {
  495. }
  496. else
  497. {
  498. ds_main_cond.setColumn(0, "prntinstr", "");
  499. }
  500. }
  501. function group5_btn_prtlabel_onclick(obj:Button, e:ClickEventInfo)
  502. {
  503. fPrntCartRtnHist("1");
  504. group5.visible = false;
  505. }
  506. function group5_button3_onclick(obj:Button, e:ClickEventInfo)
  507. {
  508. group5.visible = false;
  509. }
  510. function grd_casecartrtnmngtlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  511. {
  512. fDblClick();
  513. fSearch();
  514. }
  515. function grp_sea_btn_yesterday_onclick(obj:Button, e:ClickEventInfo)
  516. {
  517. var sChkdd = utlf_getCurrentDate();
  518. var sCalcdd = fCalcdate(-1, sChkdd);
  519. ds_main_cond.setColumn(0, "opdd", sCalcdd);
  520. }
  521. function grp_sea_btn_today_onclick(obj:Button, e:ClickEventInfo)
  522. {
  523. var sChkdd = utlf_getCurrentDate();
  524. ds_main_cond.setColumn(0, "opdd", sChkdd);
  525. }
  526. function grp_sea_btn_tommorow_onclick(obj:Button, e:ClickEventInfo)
  527. {
  528. var sChkdd = utlf_getCurrentDate();
  529. var sCalcdd = fCalcdate(1, sChkdd);
  530. ds_main_cond.setColumn(0, "opdd", sCalcdd);
  531. }
  532. function fCalcdate(calcn, calcd){
  533. calcd = calcd.toDate("YYYYMMDD");
  534. calcd = calcd.getAddDate(calcn , "D");
  535. calcd = calcd.getDateFormat("YYYYMMDD");
  536. return calcd;
  537. }]]></Script>
  538. </Form>
  539. </FDL>