SMAEA06300_내시경세척기관리.xfdl 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAEA06300" position="absolute 0 0 1256 805" titletext="Scope세척 자료관리" onload="SMAEA06300_onload" onclose="SMAEA06300_onclose" oninit="SMAEA06300_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="Scope세척 자료관리" class="tit_1" position="absolute 0 0 196 25" positiontype="position" onclick="caption6_onclick"/>
  8. <Grid id="grd_washlist" taborder="16" useinputpanel="false" position="absolute 382 148 1248 782" anchor="all" autofittype="col" binddataset="ds_main_washlist" positiontype="position" ondbclick="grd_deptmemolist_ondbclick" autosizingtype="row" extendsizetype="row" oncelldblclick="grd_washlist_oncelldblclick">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="30"/>
  13. <Column size="100"/>
  14. <Column size="42"/>
  15. <Column size="83"/>
  16. <Column size="100"/>
  17. <Column size="92"/>
  18. <Column size="52"/>
  19. <Column size="104"/>
  20. <Column size="85"/>
  21. <Column size="64"/>
  22. <Column size="57"/>
  23. <Column size="58"/>
  24. <Column size="86"/>
  25. <Column size="59"/>
  26. <Column size="0"/>
  27. </Columns>
  28. <Rows>
  29. <Row size="22" band="head"/>
  30. <Row size="24"/>
  31. </Rows>
  32. <Band id="head">
  33. <Cell/>
  34. <Cell col="1" text="세척일자"/>
  35. <Cell col="2" colspan="2" text="세척기명" taborder="undefined"/>
  36. <Cell col="4" text="처방일"/>
  37. <Cell col="5" text="처방코드"/>
  38. <Cell col="6" colspan="2" text="Scope명" taborder="undefined"/>
  39. <Cell col="8" text="환자번호"/>
  40. <Cell col="9" text="환자명"/>
  41. <Cell col="10" text="시작시간"/>
  42. <Cell col="11" colspan="2" text="세척담당" taborder="undefined"/>
  43. <Cell col="13" text="종료시간"/>
  44. <Cell col="14"/>
  45. </Band>
  46. <Band id="body">
  47. <Cell celltype="head" text="expr:expr:currow+1"/>
  48. <Cell col="1" displaytype="text" style="align:center middle;" text="bind:washdd" mask="####-##-##" autosizerow="limitmin"/>
  49. <Cell col="2" text="bind:machineid"/>
  50. <Cell col="3" style="align:center middle;" text="bind:machinenm" autosizerow="limitmin"/>
  51. <Cell col="4" displaytype="text" edittype="none" style="align:center;" text="bind:prcpdd" mask="####-##-##" autosizerow="limitmin"/>
  52. <Cell col="5" text="bind:calcscorcd"/>
  53. <Cell col="6" text="bind:scopeid"/>
  54. <Cell col="7" text="bind:scopenm"/>
  55. <Cell col="8" text="bind:pid"/>
  56. <Cell col="9" text="bind:patnm"/>
  57. <Cell col="10" displaytype="text" style="align:center;" text="bind:washstm" mask="##:##" autosizerow="limitmin"/>
  58. <Cell col="11" text="bind:washerid"/>
  59. <Cell col="12" text="bind:washernm"/>
  60. <Cell col="13" displaytype="text" style="align:center;" text="bind:washetm" mask="##:##" autosizerow="limitmin"/>
  61. <Cell col="14" text="bind:cretno"/>
  62. </Band>
  63. </Format>
  64. </Formats>
  65. </Grid>
  66. <Static id="caption22" text="세척현황" class="tit_2" position="absolute 380 124 464 144" positiontype="position" onclick="caption22_onclick"/>
  67. <Button id="btn_execl" taborder="48" text="엑셀" position="absolute 1124 120 1176 140" anchor="top right" class="btn7" positiontype="position" onclick="btn_execl_onclick"/>
  68. <Div id="grp_item" taborder="57" position="absolute -1 20 1256 112" style="border:1 solid #808080ff ;" class="div_SA">
  69. <Layouts>
  70. <Layout>
  71. <Edit id="ipt_scopeid" taborder="2" position="absolute 582 32 638 52" anchor="default" onkeydown="grp_item_ipt_scopeid_onkeydown" autoselect="true"/>
  72. <Static id="caption13" text="Scope 번호 :" class="search_name" position="absolute 484 32 580 44" anchor="default"/>
  73. <Button id="btn_scope" taborder="5" class="icon_search" position="absolute 640 34 654 50" anchor="default" onclick="grp_item_btn_scope_onclick"/>
  74. <Edit id="opt_scopenm" taborder="6" readonly="true" position="absolute 658 32 756 52" anchor="default"/>
  75. <Static id="caption00" text="세척기번호 :" class="search_name" position="absolute 212 30 299 50" onclick="Div00_caption00_onclick" anchor="default"/>
  76. <Edit id="ipt_machineid" taborder="1" position="absolute 302 32 364 52" anchor="default" onkeydown="grp_item_ipt_machineid_onkeydown" autoselect="true"/>
  77. <Edit id="opt_machinenm" taborder="7" readonly="true" position="absolute 384 32 462 52" anchor="default"/>
  78. <Button id="btn_machine" taborder="8" onclick="grp_recinfo_btn_machine_onclick" class="icon_search" position="absolute 368 32 380 55" anchor="default"/>
  79. <Static id="caption01" text="세척담당 :" onclick="Div00_caption00_onclick" class="search_name" position="absolute 484 6 562 27" anchor="default" style="align:center middle;"/>
  80. <Edit id="ipt_washerid" taborder="4" position="absolute 582 7 644 27" anchor="default" onkeydown="grp_item_ipt_washerid_onkeydown" autoselect="true"/>
  81. <Button id="btn_washer" taborder="10" class="icon_search" position="absolute 648 7 664 20" anchor="default" onclick="grp_item_btn_washer_onclick"/>
  82. <Edit id="opt_washernm" taborder="11" readonly="true" position="absolute 664 7 740 27" anchor="default"/>
  83. <Button id="btn_save" taborder="12" text="저장" position="absolute 1120 48 1181 73" anchor="default" onclick="grp_item_btn_save_onclick" class="btn3"/>
  84. <Static id="caption02" text="환자번호 :" onclick="Div00_caption00_onclick" class="search_name" position="absolute 212 6 298 29" style="align:left middle;" anchor="default"/>
  85. <Edit id="ipt_pid" taborder="13" position="absolute 302 7 372 27" anchor="default"/>
  86. <Edit id="opt_patnm" taborder="14" readonly="true" position="absolute 378 7 446 27" anchor="default"/>
  87. <Static id="caption03" text="세척일자 :" onclick="Div00_caption00_onclick" class="search_name" position="absolute 212 56 298 79" style="align:left middle;" anchor="default"/>
  88. <Static id="caption04" text="세척시작 :" onclick="Div00_caption00_onclick" class="search_name" position="absolute 484 58 570 73" style="align:left middle;" anchor="default"/>
  89. <Static id="caption05" text="처방코드 :" onclick="Div00_caption00_onclick" class="search_name" position="absolute 828 30 904 51" style="align:left middle;" anchor="default"/>
  90. <Edit id="opt_calcscorcd" taborder="15" readonly="true" position="absolute 908 31 1020 51" anchor="default"/>
  91. <Static id="caption06" text="처방일자 :" onclick="Div00_caption00_onclick" class="search_name" position="absolute 828 6 906 30" style="align:left middle;" anchor="default"/>
  92. <Static id="caption07" text="세척종료 :" onclick="Div00_caption00_onclick" class="search_name" position="absolute 662 56 740 75" style="align:left middle;" anchor="default"/>
  93. <Button id="btn_del" taborder="19" text="삭제" position="absolute 1183 48 1242 73" anchor="default" onclick="grp_item_btn_del_onclick" class="btn4"/>
  94. <Calendar id="ipt_washdd" taborder="20" autoselect="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 302 56 402 77" anchor="default"/>
  95. <Calendar id="ipt_prcpdd" taborder="21" autoselect="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 908 7 1010 27" anchor="default"/>
  96. <MaskEdit id="ipt_washstm" taborder="3" type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" autoskip="true" class="input_default" position="absolute 582 56 626 76" anchor="default" onkeydown="grp_item_ipt_washstm_onkeydown" onkillfocus="grp_item_ipt_washstm_onkillfocus"/>
  97. <Button id="btn_washstm" taborder="23" class="icon_clock" position="absolute 628 56 652 71" anchor="default" onclick="grp_item_btn_washstm_onclick"/>
  98. <MaskEdit id="ipt_washetm" taborder="24" type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" autoskip="true" class="input_default" position="absolute 740 56 784 76" anchor="default"/>
  99. <Button id="btn_washetm" taborder="25" class="icon_clock" position="absolute 785 56 808 76" anchor="default" onclick="grp_item_btn_washetm_onclick"/>
  100. <Static id="caption08" text="생성번호 :" onclick="Div00_caption00_onclick" class="search_name" position="absolute 828 53 906 73" style="align:left middle;" anchor="default"/>
  101. <Edit id="ipt_cretno" taborder="26" autoselect="true" position="absolute 908 54 962 75" anchor="default"/>
  102. <Static id="caption4" text="작업일자 :" onclick="grp_sea_caption4_onclick" class="search_name" position="absolute 8 11 95 31" anchor="default"/>
  103. <Calendar id="ipt_workdd" taborder="27" autoselect="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 90 10 190 30" anchor="default"/>
  104. </Layout>
  105. </Layouts>
  106. </Div>
  107. <Static id="caption00" text="전체" onclick="caption22_onclick" class="tit_2" position="absolute 0 124 88 144"/>
  108. <Grid id="grd_subordlist2" taborder="59" binddataset="ds_grd_subordlist2" useinputpanel="false" selecttype="multirow" cellsizingtype="col" onrbuttonup="group3_switch1_case10_grd_subordlist2_onrbuttonup" position="absolute 0 148 377 781" anchor="all" oncellclick="grd_subordlist2_oncellclick">
  109. <Formats>
  110. <Format id="default">
  111. <Columns>
  112. <Column size="25" band="left"/>
  113. <Column size="60"/>
  114. <Column size="59"/>
  115. <Column size="34"/>
  116. <Column size="60"/>
  117. <Column size="48"/>
  118. <Column size="41"/>
  119. <Column size="200"/>
  120. <Column size="0"/>
  121. <Column size="33"/>
  122. <Column size="0"/>
  123. <Column size="80"/>
  124. <Column size="70"/>
  125. <Column size="0"/>
  126. <Column size="0"/>
  127. <Column size="0"/>
  128. <Column size="0"/>
  129. <Column size="0"/>
  130. <Column size="0"/>
  131. <Column size="0"/>
  132. <Column size="0"/>
  133. <Column size="0"/>
  134. <Column size="0"/>
  135. <Column size="0"/>
  136. <Column size="0"/>
  137. <Column size="0"/>
  138. <Column size="0"/>
  139. <Column size="0"/>
  140. <Column size="0"/>
  141. <Column size="0"/>
  142. <Column size="0"/>
  143. <Column size="0"/>
  144. <Column size="0"/>
  145. <Column size="0"/>
  146. <Column size="0"/>
  147. <Column size="0"/>
  148. <Column size="0"/>
  149. <Column size="0"/>
  150. </Columns>
  151. <Rows>
  152. <Row size="38" band="head"/>
  153. <Row size="24"/>
  154. </Rows>
  155. <Band id="head">
  156. <Cell/>
  157. <Cell col="1" text="상태"/>
  158. <Cell col="2" text="실배정"/>
  159. <Cell col="3" text="세척유무" wordwrap="word"/>
  160. <Cell col="4" text="등록번호"/>
  161. <Cell col="5" text="환자명"/>
  162. <Cell col="6" text="S/A"/>
  163. <Cell col="7" text="검사"/>
  164. <Cell col="8" text="검사"/>
  165. <Cell col="9" text="구분"/>
  166. <Cell col="10" text="수납"/>
  167. <Cell col="11" text="진료과"/>
  168. <Cell col="12" text="진료의"/>
  169. <Cell col="13" text="판독의"/>
  170. <Cell col="14" text="basesuppdeptcd"/>
  171. <Cell col="15" text="excupartcd"/>
  172. <Cell col="16" text="cretno"/>
  173. <Cell col="17" text="prcpexecdeptcd"/>
  174. <Cell col="18" text="rsrvdd"/>
  175. <Cell col="19" text="excupartnm"/>
  176. <Cell col="20" text="ioflag"/>
  177. <Cell col="21" text="issdeptcd"/>
  178. <Cell col="22" text="age"/>
  179. <Cell col="23" text="prcpgenrflag"/>
  180. <Cell col="24" text="rsrvdt"/>
  181. <Cell col="25" text="excuroomcd"/>
  182. <Cell col="26" text="rsrvrem"/>
  183. <Cell col="27" text="execprcpuniqno"/>
  184. <Cell col="28" text="prcpdd"/>
  185. <Cell col="29" text="rsrvdt"/>
  186. <Cell col="30" text="orddrid"/>
  187. <Cell col="31" text="위치"/>
  188. <Cell col="32" text="orddeptcd"/>
  189. <Cell col="33" text="orddd"/>
  190. <Cell col="34" text="aftrcptinfo"/>
  191. <Cell col="35" text="caption1"/>
  192. <Cell col="36" text="caption2"/>
  193. <Cell col="37" text="excupartnm"/>
  194. </Band>
  195. <Band id="body">
  196. <Cell celltype="head" text="expr:currow+1"/>
  197. <Cell col="1" displaytype="combo" edittype="none" style="align:center;" text="bind:execprcpstatcd" combodataset="ds_init_M0011" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  198. <Cell col="2" displaytype="combo" edittype="none" style="align:left;padding:1 2 1 2;" text="bind:excuroomcd" combodataset="ds_init_cmb_excuroom" combocodecol="basecd" combodatacol="basecdflagdesc" enable="false"/>
  199. <Cell col="3" displaytype="normal" edittype="normal" style="color:EXPR(washyn == 'Y' ? '#FF0000' : '#080808');" text="bind:washyn" calendardisplaynulltype="nulltext"/>
  200. <Cell col="4" style="color:EXPR(vipflag == 'Y' ? '#FF9A00' : '');color2:EXPR(vipflag == 'Y' ? '#FF9A00' : '');" text="bind:pid"/>
  201. <Cell col="5" text="bind:hngnm"/>
  202. <Cell col="6" text="bind:sna"/>
  203. <Cell col="7" text="bind:excucdnm"/>
  204. <Cell col="8" text="bind:calcscorcd"/>
  205. <Cell col="9" text="bind:genrflag"/>
  206. <Cell col="10" text="bind:rcptyn"/>
  207. <Cell col="11" text="bind:orddepthngnm"/>
  208. <Cell col="12" text="bind:orddrnm"/>
  209. <Cell col="13" text="bind:cnfmmannm"/>
  210. <Cell col="14" text="bind:basesuppdeptcd"/>
  211. <Cell col="15" text="bind:excupartcd"/>
  212. <Cell col="16" text="bind:cretno"/>
  213. <Cell col="17" text="bind:prcpexecdeptcd"/>
  214. <Cell col="18" text="bind:rsrvdd"/>
  215. <Cell col="19" text="bind:excupartnm"/>
  216. <Cell col="20" text="bind:ioflag"/>
  217. <Cell col="21" text="bind:issdept"/>
  218. <Cell col="22" text="bind:age"/>
  219. <Cell col="23" text="bind:prcpgenrflag"/>
  220. <Cell col="24" text="bind:rsrvdt"/>
  221. <Cell col="25" text="bind:excuroomcd"/>
  222. <Cell col="26" text="bind:rsrvrem"/>
  223. <Cell col="27" text="bind:execprcpuniqno"/>
  224. <Cell col="28" text="bind:prcpdd"/>
  225. <Cell col="29" text="bind:rsrvdt"/>
  226. <Cell col="30" text="bind:orddrid"/>
  227. <Cell col="31" text="bind:statflag"/>
  228. <Cell col="32" text="bind:orddeptcd"/>
  229. <Cell col="33" text="bind:orddd"/>
  230. <Cell col="34" text="bind:pacsnocretyn"/>
  231. <Cell col="35" text="bind:eqmtifyn"/>
  232. <Cell col="36" text="bind:bf_srchrsrvtm"/>
  233. <Cell col="37" text="bind:execdd"/>
  234. </Band>
  235. </Format>
  236. </Formats>
  237. </Grid>
  238. <Shape id="line2" class="line_10" position="absolute 0 143 378 149"/>
  239. <Shape id="line00" class="line_10" position="absolute 380 143 1248 149"/>
  240. <Button id="btn_retrieve" taborder="60" text="조회" position="absolute 317 120 369 140" onclick="Button00_onclick" class="btn1"/>
  241. <Button id="btn_sea" taborder="61" text="조회" onclick="btn_sea_onclick" class="btn1" position="absolute 1184 120 1240 140" anchor="top right"/>
  242. </Layout>
  243. </Layouts>
  244. <Objects>
  245. <Dataset id="ds_main_washlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  246. <ColumnInfo>
  247. <Column id="washdd" type="STRING" size="256"/>
  248. <Column id="machineid" type="STRING" size="256"/>
  249. <Column id="machinenm" type="STRING" size="256"/>
  250. <Column id="prcpdd" type="STRING" size="256"/>
  251. <Column id="calcscorcd" type="STRING" size="256"/>
  252. <Column id="scopeid" type="STRING" size="256"/>
  253. <Column id="scopenm" type="STRING" size="256"/>
  254. <Column id="pid" type="STRING" size="256"/>
  255. <Column id="patnm" type="STRING" size="256"/>
  256. <Column id="washstm" type="STRING" size="256"/>
  257. <Column id="washetm" type="STRING" size="256"/>
  258. <Column id="washerid" type="STRING" size="256"/>
  259. <Column id="execprcpuniqno" type="STRING" size="256"/>
  260. <Column id="instcd" type="STRING" size="256"/>
  261. <Column id="washernm" type="STRING" size="256"/>
  262. <Column id="cretno" type="STRING" size="256"/>
  263. </ColumnInfo>
  264. </Dataset>
  265. <Dataset id="ds_main_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  266. <ColumnInfo>
  267. <Column id="pid" type="STRING" size="256"/>
  268. <Column id="patnm" type="STRING" size="256"/>
  269. <Column id="prcpdd" type="STRING" size="256"/>
  270. <Column id="execprcpuniqno" type="STRING" size="256"/>
  271. <Column id="orddd" type="STRING" size="256"/>
  272. <Column id="suppdeptcd" type="STRING" size="256"/>
  273. <Column id="calcscorcd" type="STRING" size="256"/>
  274. <Column id="washdd" type="STRING" size="256"/>
  275. <Column id="washernm" type="STRING" size="256"/>
  276. <Column id="machineid" type="STRING" size="256"/>
  277. <Column id="machinenm" type="STRING" size="256"/>
  278. <Column id="scopeid" type="STRING" size="256"/>
  279. <Column id="scopenm" type="STRING" size="256"/>
  280. <Column id="washstm" type="STRING" size="256"/>
  281. <Column id="washetm" type="STRING" size="256"/>
  282. <Column id="washerid" type="STRING" size="256"/>
  283. <Column id="acptdd" type="STRING" size="256"/>
  284. <Column id="stat" type="STRING" size="256"/>
  285. <Column id="cretno" type="STRING" size="256"/>
  286. </ColumnInfo>
  287. </Dataset>
  288. <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  289. <ColumnInfo>
  290. <Column id="dutplcecd" type="STRING" size="256"/>
  291. <Column id="specdraddyn" type="STRING" size="256"/>
  292. </ColumnInfo>
  293. <Rows>
  294. <Row/>
  295. </Rows>
  296. </Dataset>
  297. <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  298. <ColumnInfo>
  299. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  300. <Column id="cdid" type="STRING" size="256"/>
  301. <Column id="grupcdid" type="STRING" size="256"/>
  302. </ColumnInfo>
  303. </Dataset>
  304. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  305. <ColumnInfo>
  306. <Column id="checkseq" type="STRING" size="256"/>
  307. <Column id="grupcdid" type="STRING" size="256"/>
  308. <Column id="count" type="STRING" size="256"/>
  309. </ColumnInfo>
  310. <Rows>
  311. <Row/>
  312. </Rows>
  313. </Dataset>
  314. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_oncolumnchanged">
  315. <ColumnInfo>
  316. <Column id="windowloadinstance" type="STRING" size="256"/>
  317. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  318. <Column id="grupcdid" type="STRING" size="256"/>
  319. <Column id="cdid" type="STRING" size="256"/>
  320. <Column id="suppdeptcd" type="STRING" size="256"/>
  321. <Column id="workdd" type="STRING" size="256"/>
  322. <Column id="cretno" type="STRING" size="256"/>
  323. </ColumnInfo>
  324. <Rows>
  325. <Row/>
  326. </Rows>
  327. </Dataset>
  328. <Dataset id="ds_grd_subordlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  329. <ColumnInfo>
  330. <Column id="execprcpstatcd" type="STRING"/>
  331. <Column id="excuroomcd" type="STRING"/>
  332. <Column id="rsrvtm" type="STRING"/>
  333. <Column id="pid" type="STRING"/>
  334. <Column id="hngnm" type="STRING"/>
  335. <Column id="sna" type="STRING"/>
  336. <Column id="prcpnm" type="STRING"/>
  337. <Column id="calcscorcd" type="STRING"/>
  338. <Column id="genrflag" type="STRING"/>
  339. <Column id="rcptyn" type="STRING"/>
  340. <Column id="orddepthngnm" type="STRING"/>
  341. <Column id="orddrnm" type="STRING"/>
  342. <Column id="cnfmmannm" type="STRING"/>
  343. <Column id="basesuppdeptcd" type="STRING"/>
  344. <Column id="excupartcd" type="STRING"/>
  345. <Column id="cretno" type="STRING"/>
  346. <Column id="prcpexecdeptcd" type="STRING"/>
  347. <Column id="rsrvdd" type="STRING"/>
  348. <Column id="excupartnm" type="STRING"/>
  349. <Column id="ioflag" type="STRING"/>
  350. <Column id="issdept" type="STRING"/>
  351. <Column id="age" type="STRING"/>
  352. <Column id="prcpgenrflag" type="STRING"/>
  353. <Column id="rsrvdt" type="STRING"/>
  354. <Column id="excuroomcd" type="STRING"/>
  355. <Column id="rsrvrem" type="STRING"/>
  356. <Column id="execprcpuniqno" type="STRING"/>
  357. <Column id="prcpdd" type="STRING"/>
  358. <Column id="rsrvdt" type="STRING"/>
  359. <Column id="orddrid" type="STRING"/>
  360. <Column id="statflag" type="STRING"/>
  361. <Column id="orddeptcd" type="STRING"/>
  362. <Column id="orddd" type="STRING"/>
  363. <Column id="pacsnocretyn" type="STRING"/>
  364. <Column id="eqmtifyn" type="STRING"/>
  365. <Column id="bf_srchrsrvtm" type="STRING"/>
  366. <Column id="execdd" type="STRING"/>
  367. <Column id="washyn" type="STRING" size="256"/>
  368. </ColumnInfo>
  369. </Dataset>
  370. <Dataset id="ds_init_M0011" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  371. <ColumnInfo>
  372. <Column id="cdid" type="STRING" size="256"/>
  373. <Column id="cdnm" type="STRING" size="256"/>
  374. </ColumnInfo>
  375. </Dataset>
  376. <Dataset id="ds_init_cmb_excuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  377. <ColumnInfo>
  378. <Column id="excuroomcdnm" type="STRING"/>
  379. <Column id="excuroomcdid" type="STRING"/>
  380. </ColumnInfo>
  381. </Dataset>
  382. </Objects>
  383. <Bind>
  384. <BindItem id="item44" compid="grp_item.opt_scopenm" propid="value" datasetid="ds_main_item" columnid="scopenm"/>
  385. <BindItem id="item0" compid="grp_item.opt_machinenm" propid="value" datasetid="ds_main_item" columnid="machinenm"/>
  386. <BindItem id="item1" compid="grp_item.opt_washernm" propid="value" datasetid="ds_main_item" columnid="washernm"/>
  387. <BindItem id="item2" compid="grp_item.opt_patnm" propid="value" datasetid="ds_main_item" columnid="patnm"/>
  388. <BindItem id="item4" compid="grp_item.opt_calcscorcd" propid="value" datasetid="ds_main_item" columnid="calcscorcd"/>
  389. <BindItem id="item6" compid="grp_item.ipt_washdd" propid="value" datasetid="ds_main_item" columnid="washdd"/>
  390. <BindItem id="item8" compid="grp_item.ipt_prcpdd" propid="value" datasetid="ds_main_item" columnid="prcpdd"/>
  391. <BindItem id="item15" compid="grp_item.ipt_washstm" propid="value" datasetid="ds_main_item" columnid="washstm"/>
  392. <BindItem id="item5" compid="grp_item.ipt_washetm" propid="value" datasetid="ds_main_item" columnid="washetm"/>
  393. <BindItem id="item7" compid="grp_item.ipt_pid" propid="value" datasetid="ds_main_item" columnid="pid"/>
  394. <BindItem id="item9" compid="grp_item.ipt_machineid" propid="value" datasetid="ds_main_item" columnid="machineid"/>
  395. <BindItem id="item10" compid="grp_item.ipt_scopeid" propid="value" datasetid="ds_main_item" columnid="scopeid"/>
  396. <BindItem id="item11" compid="grp_item.ipt_washerid" propid="value" datasetid="ds_main_item" columnid="washerid"/>
  397. <BindItem id="item3" compid="grp_item.ipt_cretno" propid="value" datasetid="ds_main_item" columnid="cretno"/>
  398. <BindItem id="item12" compid="grp_item.ipt_workdd" propid="value" datasetid="ds_send" columnid="workdd"/>
  399. </Bind>
  400. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  401. * System Name : KU2.0
  402. * Job Name :
  403. * File Name :
  404. * Creator :
  405. * Make Date : 2016-04-04
  406. *
  407. * Description :
  408. *---------------------------------------------------------------------------------------
  409. * Modify Date Modifier Modify Description
  410. *---------------------------------------------------------------------------------------
  411. *---------------------------------------------------------------------------------------
  412. ****************************************************************************************/
  413. include "com_commonxp::comm_main.xjs";
  414. include "ast_examcurexp::AEZ0001.xjs";
  415. var lv_chk = "";
  416. //=======================================================================================
  417. // Function
  418. //---------------------------------------------------------------------------------------
  419. function dataClear() {
  420. ds_main_item.clearData();
  421. ds_main_item.addRow();
  422. }
  423. /****************************************************************************************
  424. * Components : 내시경세척기관리
  425. * Components ID : SMAEA06300
  426. * Event : onload
  427. * Argument : 01.obj : Object Event has occurred
  428. * : 02.e : Event Object
  429. * Description :
  430. ****************************************************************************************/
  431. function SMAEA06300_onload(obj:Form, e:LoadEventInfo)
  432. {
  433. if (ds_send_globalinstance.rowcount < 1 ) {
  434. ds_send_globalinstance.addRow();
  435. }
  436. grp_item.ipt_workdd.value = utlf_getCurrentDate(); //현재일자 세팅
  437. //부서정보 가져오기
  438. lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
  439. ds_send_globalinstance.setColumn(0,"specdraddyn","Y");
  440. ds_send_globalinstance.setColumn(0,"dutplcecd", utlf_transNullToEmpty(frmf_getParameter("AST_DEPTCD"))); //부서코드
  441. ds_send.setColumn(0, "windowloadinstance", "SMAEA06300"); //코드조회 참조정보
  442. var arrParam = [{dsNm: "ds_init_A0608", cdGrpId: "A0608"}
  443. ,{dsNm: "ds_init_M0011", cdGrpId: "M0011"}
  444. ]
  445. appf_getCodeList(arrParam);
  446. dsf_createDsRow("ds_send_reqparam", [{col: "basesuppdeptcd", val:ds_send_globalinstance.getColumn(0,"dutplcecd")}
  447. ,{col: "rbasecdflag", val:"R" }
  448. ,{col: "ebasecdflag", val:"E" }
  449. ,{col: "largeclass", val:"M5"}
  450. ]);
  451. //검사실 코드 갖고오기
  452. var oParam = {};
  453. oParam.id = "TRAEA01511";
  454. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  455. oParam.method = "reqGetInitFuncExamCureRoomList";
  456. oParam.inds = "reqparam=ds_send_reqparam";
  457. oParam.outds = "ds_init_cmb_excuroom=initexcuroom ds_init_prcpexecdeptcdlist=prcpexecdeptcdlist";
  458. oParam.async = false;
  459. //oParam.callback = "cf_TRAEA01511";
  460. tranf_submit(oParam);
  461. var patinfo = opener.frmf_getParameter("SMAEA06300_parm_pinfo");
  462. //20190327
  463. grdf_setGridSort(grd_washlist); // 그리드 소트만
  464. grdf_setGridSort(grd_subordlist2); // 그리드 소트만
  465. // trace(patinfo);
  466. if (patinfo == "" || patinfo == null) {
  467. } else {
  468. patinfo = patinfo.split("▦");
  469. ds_main_item.clearData();
  470. ds_main_item.addRow();
  471. ds_main_item.setColumn(0, "pid", patinfo[0] ) //pid
  472. ds_main_item.setColumn(0, "acptdd", patinfo[1] ) //acptdd
  473. ds_main_item.setColumn(0, "orddd", patinfo[2] ) //orddd
  474. ds_main_item.setColumn(0, "prcpdd", patinfo[3] ) //prcpdd
  475. ds_main_item.setColumn(0, "execprcpuniqno", patinfo[4] ) //execprcpuniqno
  476. ds_main_item.setColumn(0, "patnm", patinfo[5] ) //patnm
  477. ds_main_item.setColumn(0, "calcscorcd", patinfo[6] ) //calcscorcd
  478. ds_main_item.setColumn(0, "suppdeptcd", patinfo[7] ) //suppdeptcd
  479. ds_main_item.setColumn(0, "washdd", utlf_getCurrentDate() ) //일자
  480. ds_main_item.setColumn(0, "stat", "I" ) //상태:insert
  481. ds_main_item.setColumn(0, "cretno", "1" ) //cretno
  482. grp_item.ipt_washerid.setFocus();
  483. }
  484. }
  485. function cf_TRAEA01301(strSvcID, nErrorCode, strErrorMsg){
  486. //에러 처리
  487. if(nErrorCode == 0){
  488. if(ds_init_suppdept.findRow("suppdeptcd", suppdeptcd) < 0)
  489. {
  490. ds_cond_reqparam.setColumn(0, "basesuppdeptcd", "");
  491. }
  492. }
  493. }
  494. /****************************************************************************************
  495. * Components :
  496. * Components ID : btn_sea
  497. * Event : onclick
  498. * Argument : 01.obj : Object Event has occurred
  499. * : 02.e : Event Object
  500. * Description :
  501. ****************************************************************************************/
  502. function btn_sea_onclick(obj:Button, e:ClickEventInfo)
  503. {
  504. ds_send.setColumn(0,"suppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
  505. ds_send.setColumn(0,"workdd", grp_item.ipt_workdd.value);
  506. var oParam = {};
  507. oParam.id = "TRAEA06302";
  508. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  509. oParam.method = "reqGetWashList";
  510. oParam.inds = "req=ds_send";
  511. oParam.outds = "ds_main_washlist=washlist";
  512. oParam.async = false;
  513. oParam.callback = "cf_TRAEA06302";
  514. tranf_submit(oParam);
  515. dataClear();
  516. }
  517. function cf_TRAEA06302(sSvcId, nErrorCode, sErrorMsg) {
  518. if(nErrorCode < 0) return;
  519. }
  520. /****************************************************************************************
  521. * Components :
  522. * Components ID : btn_execl
  523. * Event : onclick
  524. * Argument : 01.obj : Object Event has occurred
  525. * : 02.e : Event Object
  526. * Description :
  527. ****************************************************************************************/
  528. function btn_execl_onclick(obj:Button, e:ClickEventInfo)
  529. {
  530. grdf_exportExcel(grd_washlist, "Scop세척정보 현황", "세척정보");
  531. }
  532. function grp_recinfo_btn_machine_onclick(obj:Button, e:ClickEventInfo)
  533. {
  534. ds_hidden.clearData();
  535. ds_hidden.addRow();
  536. ds_hidden.setColumn(0, "checkseq","01");
  537. ds_hidden.setColumn(0, "grupcdid","A0014"); //세척기명
  538. var objArg = new Object();
  539. objArg.arg_ds_source = "";
  540. frmf_modal("SPAEA02301", "SPAEA02301" ,objArg,"","", "100", "100", "", "", "", "", "","M");
  541. }
  542. function grp_item_ipt_machineid_onkeydown(obj:Edit, e:KeyEventInfo)
  543. {
  544. if(e.keycode == 13) {
  545. obj.updateToDataset();
  546. if (utlf_isNull(obj.value)) return;
  547. ds_send_data.clearData();
  548. ds_send.setColumn(0,"basesuppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
  549. ds_send.setColumn(0,"cdid", grp_item.ipt_machineid.value);
  550. ds_send.setColumn(0,"grupcdid", "A0014" );
  551. var oParam = {};
  552. oParam.id = "TRAEA06301";
  553. oParam.service = "examcurebaseapp.ExamCureCode";
  554. oParam.method = "reqGetCommonCodeList";
  555. oParam.inds = "req=ds_send";
  556. oParam.outds = "ds_send_data=item";
  557. oParam.async = false;
  558. oParam.callback = "cf_TRAEA06301";
  559. tranf_submit(oParam);
  560. if ( ds_send_data.rowcount > 0 ) {
  561. ds_main_item.setColumn(0,"machinenm", ds_send_data.getColumn(0,"cdnm"));
  562. } else {
  563. sysf_messageBox("해당 자료가 없습니다. 재입력하시기 바랍니다.", "I000");
  564. return;
  565. }
  566. grp_item.ipt_scopeid.setFocus();
  567. }
  568. }
  569. function cf_TRAEA06301(sSvcId, nErrorCode, sErrorMsg) {
  570. if(nErrorCode < 0) return;
  571. }
  572. function grp_item_btn_scope_onclick(obj:Button, e:ClickEventInfo)
  573. {
  574. ds_hidden.clearData();
  575. ds_hidden.addRow();
  576. ds_hidden.setColumn(0, "checkseq","02");
  577. ds_hidden.setColumn(0, "grupcdid","A0015"); //SCOPE
  578. var objArg = new Object();
  579. objArg.arg_ds_source = "";
  580. frmf_modal("SPAEA02301", "SPAEA02301" ,objArg,"","", "100", "100", "", "", "", "", "","M");
  581. }
  582. function grp_item_btn_washer_onclick(obj:Button, e:ClickEventInfo)
  583. {
  584. ds_hidden.clearData();
  585. ds_hidden.addRow();
  586. ds_hidden.setColumn(0, "checkseq","03");
  587. ds_hidden.setColumn(0, "grupcdid","A0016"); //세척기담당
  588. var objArg = new Object();
  589. objArg.arg_ds_source = "";
  590. frmf_modal("SPAEA02301", "SPAEA02301" ,objArg,"","", "100", "100", "", "", "", "", "","M");
  591. }
  592. function SMAEA06300_oninit(obj:Form, e:InitEventInfo)
  593. {
  594. frmf_initForm(obj); // 화면공통
  595. }
  596. function grp_item_ipt_scopeid_onkeydown(obj:Edit, e:KeyEventInfo)
  597. {
  598. if(e.keycode == 13) {
  599. obj.updateToDataset();
  600. if (utlf_isNull(obj.value)) return;
  601. ds_send_data.clearData();
  602. ds_send.setColumn(0,"basesuppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
  603. ds_send.setColumn(0,"cdid", grp_item.ipt_scopeid.value);
  604. ds_send.setColumn(0,"grupcdid", "A0015" );
  605. var oParam = {};
  606. oParam.id = "TRAEA06301";
  607. oParam.service = "examcurebaseapp.ExamCureCode";
  608. oParam.method = "reqGetCommonCodeList";
  609. oParam.inds = "req=ds_send";
  610. oParam.outds = "ds_send_data=item";
  611. oParam.async = false;
  612. oParam.callback = "cf_TRAEA06301";
  613. tranf_submit(oParam);
  614. if ( ds_send_data.rowcount > 0 ) {
  615. ds_main_item.setColumn(0,"scopenm", ds_send_data.getColumn(0,"cdnm"));
  616. } else {
  617. sysf_messageBox("해당 자료가 없습니다. 재입력하시기 바랍니다.", "I000");
  618. obj.setFocus();
  619. obj.autoselect = true;
  620. return;
  621. }
  622. grp_item.ipt_washstm.setFocus();
  623. }
  624. }
  625. function grp_item_ipt_washerid_onkeydown(obj:Edit, e:KeyEventInfo)
  626. {
  627. if(e.keycode == 13) {
  628. obj.updateToDataset();
  629. if (utlf_isNull(grp_item.ipt_washerid.value)) return;
  630. ds_send_data.clearData();
  631. ds_send.setColumn(0,"basesuppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
  632. ds_send.setColumn(0,"cdid", grp_item.ipt_washerid.value);
  633. ds_send.setColumn(0,"grupcdid", "A0016" );
  634. var oParam = {};
  635. oParam.id = "TRAEA06301";
  636. oParam.service = "examcurebaseapp.ExamCureCode";
  637. oParam.method = "reqGetCommonCodeList";
  638. oParam.inds = "req=ds_send";
  639. oParam.outds = "ds_send_data=item";
  640. oParam.async = false;
  641. oParam.callback = "cf_TRAEA06301";
  642. tranf_submit(oParam);
  643. if ( ds_send_data.rowcount > 0 ) {
  644. ds_main_item.setColumn(0,"washernm", ds_send_data.getColumn(0,"cdnm"));
  645. } else {
  646. sysf_messageBox("해당 자료가 없습니다. 재입력하시기 바랍니다.", "I000");
  647. obj.setFocus();
  648. obj.autoselect = true;
  649. return;
  650. }
  651. grp_item.ipt_machineid.setFocus();
  652. }
  653. }
  654. function grp_item_ipt_washstm_onkeydown(obj:MaskEdit, e:KeyEventInfo)
  655. {
  656. if(obj.getLength() == 4) {
  657. // trace("fromdt = " + grp_item.ipt_washstm.value);
  658. grp_item.ipt_cretno.setFocus();
  659. }
  660. }
  661. function grp_item_btn_washstm_onclick(obj:Button, e:ClickEventInfo)
  662. {
  663. dsf_makeValue(ds_main_item, "washstm", "string", String(utlf_getCurrentTime()).substr(0,4) , 0);
  664. var fromdt = ds_main_item.getColumn(0, "washdd") + ds_main_item.getColumn(0, "washstm");
  665. fromdt = fromdt.toDate("YYYYMMDDhhmmss");
  666. var tWashetm = fromdt.getAddDate(17,"m").getDateFormat("YYYYMMDDhhmmss");
  667. ds_main_item.setColumn(0, "washetm", tWashetm.substr(8,4));
  668. grp_item.ipt_cretno.setFocus();
  669. }
  670. function grp_item_btn_washetm_onclick(obj:Button, e:ClickEventInfo)
  671. {
  672. dsf_makeValue(ds_main_item, "washetm", "string", String(utlf_getCurrentTime()).substr(0,4) , 0);
  673. }
  674. function grp_item_btn_save_onclick(obj:Button, e:ClickEventInfo)
  675. {
  676. if ( utlf_transNullToEmpty(ds_main_item.getColumn(0,"pid")) == "") {
  677. sysf_messageBox("처리할 자료를 더블클릭한 후 처리하시기 바랍니다.", "E999", "");
  678. return ;
  679. }
  680. if ( utlf_transNullToEmpty(ds_main_item.getColumn(0,"machinenm")) == "") {
  681. sysf_messageBox("세척기명을 ", "C002");
  682. grp_item.ipt_machineid.setFocus();
  683. return ;
  684. }
  685. if ( utlf_transNullToEmpty(ds_main_item.getColumn(0,"scopenm")) == "") {
  686. sysf_messageBox("Scope명을 ", "C002");
  687. grp_item.ipt_scopeid.setFocus();
  688. return ;
  689. }
  690. if ( utlf_transNullToEmpty(ds_main_item.getColumn(0,"washstm")) == "") {
  691. sysf_messageBox("세척시작시간을 ", "C002");
  692. grp_item.ipt_washstm.setFocus();
  693. return ;
  694. }
  695. if ( utlf_transNullToEmpty(ds_main_item.getColumn(0,"washernm")) == "") {
  696. sysf_messageBox("세척담당자를 ", "C002");
  697. grp_item.ipt_washerid.setFocus();
  698. return ;
  699. }
  700. var oParam = {};
  701. oParam.id = "TXAEA06301";
  702. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  703. oParam.method = "reqInsWashList";
  704. oParam.inds = "reqparam=ds_main_item";
  705. oParam.outds = "ds_hidden=item";
  706. oParam.async = false;
  707. oParam.callback = "cf_TXAEA06301";
  708. tranf_submit(oParam);
  709. frmf_inputEnterKey("btn_retrieve", "onclick", new ClickEventInfo);
  710. //data 클리어
  711. dataClear();
  712. }
  713. function cf_TXAEA06301(sSvcId, nErrorCode, sErrorMsg) {
  714. if(nErrorCode < 0) return;
  715. }
  716. function grd_washlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  717. {
  718. trace( grd_washlist.rowcount );
  719. if ( grd_washlist.rowcount <= 0 ) return;
  720. ds_main_item.clearData();
  721. ds_main_item.addRow();
  722. ds_main_item.setColumn(0, "pid", ds_main_washlist.getColumn(e.row, "pid") );
  723. ds_main_item.setColumn(0, "patnm", ds_main_washlist.getColumn(e.row, "patnm") );
  724. ds_main_item.setColumn(0, "prcpdd", ds_main_washlist.getColumn(e.row, "prcpdd") );
  725. ds_main_item.setColumn(0, "calcscorcd", ds_main_washlist.getColumn(e.row, "calcscorcd") );
  726. ds_main_item.setColumn(0, "washdd", ds_main_washlist.getColumn(e.row, "washdd") );
  727. ds_main_item.setColumn(0, "machineid", ds_main_washlist.getColumn(e.row, "machineid") );
  728. ds_main_item.setColumn(0, "machinenm", ds_main_washlist.getColumn(e.row, "machinenm") );
  729. ds_main_item.setColumn(0, "scopeid", ds_main_washlist.getColumn(e.row, "scopeid") );
  730. ds_main_item.setColumn(0, "scopenm", ds_main_washlist.getColumn(e.row, "scopenm") );
  731. ds_main_item.setColumn(0, "washstm", ds_main_washlist.getColumn(e.row, "washstm") );
  732. ds_main_item.setColumn(0, "washetm", ds_main_washlist.getColumn(e.row, "washetm") );
  733. ds_main_item.setColumn(0, "washerid", ds_main_washlist.getColumn(e.row, "washerid") );
  734. ds_main_item.setColumn(0, "washernm", ds_main_washlist.getColumn(e.row, "washernm") );
  735. ds_main_item.setColumn(0, "execprcpuniqno", ds_main_washlist.getColumn(e.row, "execprcpuniqno") );
  736. ds_main_item.setColumn(0, "stat", "M" );
  737. ds_main_item.setColumn(0, "cretno", ds_main_washlist.getColumn(e.row, "cretno") );
  738. }
  739. function grp_item_ipt_washstm_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  740. {
  741. var fromdt = ds_main_item.getColumn(0, "washdd") + ds_main_item.getColumn(0, "washstm");
  742. fromdt = fromdt.toDate("YYYYMMDDhhmmss");
  743. //trace("fromdt = " + fromdt);
  744. var tWashetm = fromdt.getAddDate(17,"m").getDateFormat("YYYYMMDDhhmmss");
  745. ds_main_item.setColumn(0, "washetm", tWashetm.substr(8,4));
  746. }
  747. function grp_item_btn_del_onclick(obj:Button, e:ClickEventInfo)
  748. {
  749. var machineid = ds_main_item.getColumn(0, "machineid");
  750. if (utlf_isNull(machineid)){
  751. sysf_messageBox("처리할 자료를 더블클릭한 후 처리하시기 바랍니다.", "E999", "");
  752. }
  753. var oParam = {};
  754. oParam.id = "TXAEA06303";
  755. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  756. oParam.method = "reqSetWashListDelete";
  757. oParam.inds = "reqparam=ds_main_item";
  758. oParam.outds = "ds_hidden=item";
  759. oParam.async = false;
  760. oParam.callback = "cf_TXAEA06303";
  761. tranf_submit(oParam);
  762. frmf_inputEnterKey("grp_sea.btn_sea", "onclick", new ClickEventInfo);
  763. }
  764. function cf_TXAEA06303(sSvcId, nErrorCode, sErrorMsg) {
  765. if(nErrorCode < 0) return;
  766. }
  767. function Button00_onclick(obj:Button, e:ClickEventInfo)
  768. {
  769. ds_send.setColumn(0,"suppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd"));
  770. ds_send.setColumn(0,"workdd", grp_item.ipt_workdd.value);
  771. dsf_createDsRow("ds_send_reqparam", [{col: "suppdeptcd1", val:ds_send.getColumn(0,"suppdeptcd")}
  772. ,{col: "srchdate1", val:ds_send.getColumn(0,"workdd")}
  773. ,{col: "pid", val:"" }
  774. ]);
  775. var oParam = {};
  776. oParam.id = "TRAEA01504_dummy";
  777. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  778. oParam.method = "reqGetAcptList";
  779. oParam.inds = "reqparam=ds_send_reqparam";
  780. oParam.outds = "ds_grd_subordlist2=acptlist";
  781. oParam.async = false;
  782. //oParam.callback = "cf_TRAEA01504";
  783. tranf_submit(oParam);
  784. }
  785. function grd_subordlist2_oncellclick(obj:Grid, e:GridClickEventInfo)
  786. {
  787. // trace( ds_grd_subordlist2.rowcount );
  788. if ( ds_grd_subordlist2.rowcount <= 0 ) return;
  789. ds_main_item.clearData();
  790. ds_main_item.addRow();
  791. if (ds_grd_subordlist2.getColumn(e.row, "washyn") == 'Y')
  792. {
  793. sysf_messageBox("Scope 세척자료가 ", "I010");
  794. ds_main_item.setColumn(0, "cretno", "2" ) //cretno
  795. } else {
  796. ds_main_item.setColumn(0, "cretno", "1" ) //cretno
  797. }
  798. ds_main_item.setColumn(0, "pid", ds_grd_subordlist2.getColumn(e.row, "pid") );
  799. ds_main_item.setColumn(0, "patnm", ds_grd_subordlist2.getColumn(e.row, "hngnm") );
  800. ds_main_item.setColumn(0, "prcpdd", ds_grd_subordlist2.getColumn(e.row, "prcpdd") );
  801. ds_main_item.setColumn(0, "acptdd", grp_item.ipt_workdd.value);
  802. ds_main_item.setColumn(0, "calcscorcd", ds_grd_subordlist2.getColumn(e.row, "calcscorcd") );
  803. ds_main_item.setColumn(0, "execprcpuniqno", ds_grd_subordlist2.getColumn(e.row, "execprcpuniqno") );
  804. ds_main_item.setColumn(0, "suppdeptcd", ds_send_globalinstance.getColumn(0,"dutplcecd") );
  805. ds_main_item.setColumn(0, "washdd", grp_item.ipt_workdd.value);
  806. ds_main_item.setColumn(0, "stat", "I" );
  807. grp_item.ipt_washerid.setFocus();
  808. }
  809. ]]></Script>
  810. </Form>
  811. </FDL>