SMMNN03000_분만실인계장.xfdl 117 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNN03000" position="absolute 0 0 1163 753" titletext="분만실 인계" oninit="SMMNN03000_oninit" onload="SMMNN03000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="분만실 인계" class="tit_1" position="absolute 0 0 120 25"/>
  8. <Tab id="switch1" taborder="1" tabindex="0" position="absolute 0 40 1161 751" class="tab_Normal">
  9. <Tabpages>
  10. <Tabpage id="board" text="분만실 게시판">
  11. <Layouts>
  12. <Layout>
  13. <Div id="import3" taborder="0" url="SMMNN03100_분만실게시판.xfdl" position="absolute 190 5 970 693"/>
  14. </Layout>
  15. </Layouts>
  16. </Tabpage>
  17. <Tabpage id="chklist" text="업무 체크리스트">
  18. <Layouts>
  19. <Layout>
  20. <Button id="btn_baseinfo" taborder="1" text="기준자료관리" class="btn2" position="absolute 1070 40 1156 59"/>
  21. <Grid id="grd_chk1" taborder="2" binddataset="ds_grd_chk1" useinputpanel="false" position="absolute 5 118 385 548">
  22. <Formats>
  23. <Format id="default">
  24. <Columns>
  25. <Column size="290"/>
  26. <Column size="55"/>
  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. </Columns>
  34. <Rows>
  35. <Row size="24" band="head"/>
  36. <Row size="24"/>
  37. </Rows>
  38. <Band id="head">
  39. <Cell text="Day 업무"/>
  40. <Cell col="1" text="시행"/>
  41. <Cell col="2" text="chkid"/>
  42. <Cell col="3" text="dutycd"/>
  43. <Cell col="4" text="workdd"/>
  44. <Cell col="5" text="caption2"/>
  45. <Cell col="6" text="caption1"/>
  46. <Cell col="7"/>
  47. </Band>
  48. <Band id="body">
  49. <Cell text="bind:chknm"/>
  50. <Cell col="1" text="bind:chkyn" edittype="checkbox" displaytype="checkbox"/>
  51. <Cell col="2" text="bind:chkid"/>
  52. <Cell col="3" text="bind:dutycd"/>
  53. <Cell col="4" text="bind:workdd"/>
  54. <Cell col="5" text="bind:gubn"/>
  55. <Cell col="6" text="bind:dutynm"/>
  56. <Cell col="7" text="bind:lastupdtrid"/>
  57. </Band>
  58. </Format>
  59. </Formats>
  60. </Grid>
  61. <Grid id="grd_savedutylist" class="datagrid" taborder="3" binddataset="ds_grd_savedutylist" useinputpanel="false" visible="false" position="absolute 505 0 605 100">
  62. <Formats>
  63. <Format id="default">
  64. <Columns>
  65. <Column size="10"/>
  66. <Column size="10"/>
  67. <Column size="10"/>
  68. <Column size="10"/>
  69. <Column size="10"/>
  70. <Column size="0"/>
  71. <Column size="10"/>
  72. <Column size="10"/>
  73. </Columns>
  74. <Rows>
  75. <Row size="24" band="head"/>
  76. <Row size="24"/>
  77. </Rows>
  78. <Band id="head">
  79. <Cell text="Day"/>
  80. <Cell col="1" text="확인"/>
  81. <Cell col="2" text="chkid"/>
  82. <Cell col="3" text="dutycd"/>
  83. <Cell col="4" text="workdd"/>
  84. <Cell col="5" text="caption2"/>
  85. <Cell col="6" text="dutynm"/>
  86. <Cell col="7" text="caption1"/>
  87. </Band>
  88. <Band id="body">
  89. <Cell text="bind:chknm"/>
  90. <Cell col="1" text="bind:chkyn" edittype="checkbox" displaytype="checkbox"/>
  91. <Cell col="2" text="bind:chkid"/>
  92. <Cell col="3" text="bind:dutycd"/>
  93. <Cell col="4" text="bind:workdd"/>
  94. <Cell col="5" text="bind:gubn"/>
  95. <Cell col="6" text="bind:dutynm"/>
  96. <Cell col="7" text="bind:lastupdtrid"/>
  97. </Band>
  98. </Format>
  99. </Formats>
  100. </Grid>
  101. <Grid id="grd_chk2" taborder="4" binddataset="ds_grd_chk2" useinputpanel="false" position="absolute 390 118 770 548">
  102. <Formats>
  103. <Format id="default">
  104. <Columns>
  105. <Column size="290"/>
  106. <Column size="55"/>
  107. <Column size="0"/>
  108. <Column size="0"/>
  109. <Column size="0"/>
  110. <Column size="0"/>
  111. <Column size="0"/>
  112. <Column size="0"/>
  113. </Columns>
  114. <Rows>
  115. <Row size="24" band="head"/>
  116. <Row size="24"/>
  117. </Rows>
  118. <Band id="head">
  119. <Cell text="Evening 업무"/>
  120. <Cell col="1" text="시행"/>
  121. <Cell col="2" text="chkid"/>
  122. <Cell col="3" text="dutycd"/>
  123. <Cell col="4" text="workdd"/>
  124. <Cell col="5" text="caption2"/>
  125. <Cell col="6" text="caption1"/>
  126. <Cell col="7"/>
  127. </Band>
  128. <Band id="body">
  129. <Cell text="bind:chknm"/>
  130. <Cell col="1" text="bind:chkyn" edittype="checkbox" displaytype="checkbox"/>
  131. <Cell col="2" text="bind:chkid"/>
  132. <Cell col="3" text="bind:dutycd"/>
  133. <Cell col="4" text="bind:workdd"/>
  134. <Cell col="5" text="bind:gubn"/>
  135. <Cell col="6" text="bind:dutynm"/>
  136. <Cell col="7" text="bind:lastupdtrid"/>
  137. </Band>
  138. </Format>
  139. </Formats>
  140. </Grid>
  141. <Grid id="grd_chk3" taborder="5" binddataset="ds_grd_chk3" useinputpanel="false" position="absolute 774 118 1155 548">
  142. <Formats>
  143. <Format id="default">
  144. <Columns>
  145. <Column size="290"/>
  146. <Column size="55"/>
  147. <Column size="0"/>
  148. <Column size="0"/>
  149. <Column size="0"/>
  150. <Column size="0"/>
  151. <Column size="0"/>
  152. <Column size="0"/>
  153. </Columns>
  154. <Rows>
  155. <Row size="24" band="head"/>
  156. <Row size="24"/>
  157. </Rows>
  158. <Band id="head">
  159. <Cell text="Night 업무"/>
  160. <Cell col="1" text="시행"/>
  161. <Cell col="2" text="chkid"/>
  162. <Cell col="3" text="dutycd"/>
  163. <Cell col="4" text="workdd"/>
  164. <Cell col="5" text="caption2"/>
  165. <Cell col="6" text="caption1"/>
  166. <Cell col="7"/>
  167. </Band>
  168. <Band id="body">
  169. <Cell text="bind:chknm"/>
  170. <Cell col="1" text="bind:chkyn" edittype="checkbox" displaytype="checkbox"/>
  171. <Cell col="2" text="bind:chkid"/>
  172. <Cell col="3" text="bind:dutycd"/>
  173. <Cell col="4" text="bind:workdd"/>
  174. <Cell col="5" text="bind:gubn"/>
  175. <Cell col="6" text="bind:dutynm"/>
  176. <Cell col="7" text="bind:lastupdtrid"/>
  177. </Band>
  178. </Format>
  179. </Formats>
  180. </Grid>
  181. <Shape id="roundrect5" type="roundrectangle" position="absolute 6 10 410 37"/>
  182. <Button id="button6" taborder="6" text="조회" class="btn1" position="absolute 345 13 401 35"/>
  183. <Button id="button9" taborder="7" text="저장" class="btn5" position="absolute 270 121 312 140"/>
  184. <Static id="cap_workweek" position="absolute 196 14 216 31"/>
  185. <Static id="caption4" text="업무일자 :" class="search_name" position="absolute 15 14 111 31"/>
  186. <Static id="caption14" text="요일" position="absolute 215 13 255 33"/>
  187. <Static id="caption15" text="caption15" visible="false" position="absolute 670 5 770 25"/>
  188. <Button id="button21" taborder="8" text="출력" class="btn1" visible="false" position="absolute 910 20 966 42"/>
  189. <TextArea id="textarea1" taborder="9" position="absolute 61 66 385 116"/>
  190. <Static id="caption16" text="근무자" class="cell_1" position="absolute 5 65 59 117"/>
  191. <TextArea id="textarea2" taborder="10" position="absolute 446 66 770 116"/>
  192. <Static id="caption17" text="근무자" class="cell_1" position="absolute 390 65 444 117"/>
  193. <TextArea id="textarea3" taborder="11" position="absolute 830 66 1155 116"/>
  194. <Static id="caption18" text="근무자" class="cell_1" position="absolute 774 65 828 117"/>
  195. <Calendar id="ipt_workdd" taborder="12" class="input_search" position="absolute 105 14 193 33" mask="yyyy-mm-dd"/>
  196. <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 5 60 385 66"/>
  197. <Static id="caption8" text="Day" class="tit_2" position="absolute 5 44 71 60"/>
  198. <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 390 60 770 66"/>
  199. <Static id="caption1" text="Evening" class="tit_2" position="absolute 390 44 472 60"/>
  200. <Static id="caption2" text="Night" class="tit_2" position="absolute 774 44 842 60"/>
  201. <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 774 60 1155 66"/>
  202. <Button id="button3" taborder="13" text="저장" class="btn5" position="absolute 655 121 697 140"/>
  203. <Button id="button4" taborder="14" text="저장" class="btn5" position="absolute 1040 121 1082 140"/>
  204. <Static id="caption3" text="비고" class="cell_1" position="absolute 5 550 385 570"/>
  205. <Static id="caption5" text="비고" class="cell_1" position="absolute 390 550 770 570"/>
  206. <Static id="caption7" text="비고" class="cell_1" position="absolute 775 550 1155 570"/>
  207. <TextArea id="tar_chk1" taborder="15" position="absolute 5 571 385 636"/>
  208. <TextArea id="tar_chk2" taborder="16" position="absolute 390 571 770 636"/>
  209. <TextArea id="tar_chk3" taborder="17" position="absolute 775 571 1155 636"/>
  210. <Static id="caption9" text="수간호사 확인:" position="absolute 960 660 1050 680"/>
  211. <Edit id="ipt_chiefnm" taborder="18" position="absolute 1050 660 1115 679"/>
  212. <Static id="caption10" text="확인자 :" position="absolute 235 637 295 657"/>
  213. <Edit id="ipt_cert1" taborder="19" position="absolute 290 638 385 657"/>
  214. <Edit id="ipt_cert2" taborder="20" position="absolute 675 638 770 657"/>
  215. <Edit id="ipt_cert3" taborder="21" position="absolute 1060 638 1155 657"/>
  216. <Static id="caption11" text="확인자 :" position="absolute 620 639 680 659"/>
  217. <Static id="caption13" text="확인자 :" position="absolute 1005 639 1065 659"/>
  218. <Edit id="ipt_certid1" taborder="22" visible="false" position="absolute 135 638 230 657"/>
  219. <Edit id="ipt_certid2" taborder="23" visible="false" position="absolute 515 638 610 657"/>
  220. <Edit id="ipt_certid3" taborder="24" visible="false" position="absolute 905 638 1000 657"/>
  221. <Edit id="ipt_chiefid" taborder="25" visible="false" position="absolute 870 658 935 677"/>
  222. <Button id="btn_cert" taborder="26" text="확인" class="btn5" position="absolute 1117 660 1159 679"/>
  223. <Button id="button38" taborder="27" text="오늘" class="btn2_letter2" position="absolute 290 14 332 33"/>
  224. <Button id="button39" taborder="28" text="어제" class="btn2_letter2" position="absolute 245 14 287 33"/>
  225. </Layout>
  226. </Layouts>
  227. </Tabpage>
  228. <Tabpage id="trnswork" text="물품 인계대장">
  229. <Layouts>
  230. <Layout>
  231. <Div id="grp_srch" taborder="15" position="absolute 1 1 1160 41" class="div_SA2"/>
  232. <Grid id="grd_trnssaveinfo" taborder="1" binddataset="ds_main_trnssaveinfo" useinputpanel="false" visible="false" position="absolute 565 43 915 193">
  233. <Formats>
  234. <Format id="default">
  235. <Columns>
  236. <Column size="100"/>
  237. <Column size="72"/>
  238. <Column size="68"/>
  239. <Column size="100"/>
  240. <Column size="100"/>
  241. </Columns>
  242. <Rows>
  243. <Row size="24" band="head"/>
  244. <Row size="24"/>
  245. </Rows>
  246. <Band id="head">
  247. <Cell text="caption1"/>
  248. <Cell col="1" text="caption2"/>
  249. <Cell col="2" text="caption3"/>
  250. <Cell col="3" text="caption4"/>
  251. <Cell col="4" text="caption5"/>
  252. </Band>
  253. <Band id="body">
  254. <Cell text="bind:workdd"/>
  255. <Cell col="1" text="bind:cdid"/>
  256. <Cell col="2" text="bind:dutycd"/>
  257. <Cell col="3" text="bind:qty"/>
  258. <Cell col="4" text="bind:recflag"/>
  259. </Band>
  260. </Format>
  261. </Formats>
  262. </Grid>
  263. <Button id="btn_searchtrns" taborder="2" text="조회" class="btn1" position="absolute 1030 9 1086 31" onclick="switch1_trnswork_btn_searchtrns_onclick"/>
  264. <Calendar id="ipt_trnsdd" taborder="3" class="input_search" position="absolute 120 11 208 30" mask="yyyy-mm-dd" autoselect="true" onchanged="switch1_trnswork_ipt_trnsdd_onchanged"/>
  265. <Static id="caption20" text="업무일자 :" class="search_name" position="absolute 15 12 111 29"/>
  266. <Grid id="grd_trnslist" taborder="4" binddataset="ds_main_trnsinfo_trnslist" useinputpanel="false" position="absolute 1 69 1160 695" onheadclick="switch1_trnswork_grd_trnslist_onheadclick" selecttype="multirow" scrollpixel="all" autoenter="key" cellsizingtype="both" extendsizetype="row" onkeydown="switch1_trnswork_grd_trnslist_onkeydown">
  267. <Formats>
  268. <Format id="default">
  269. <Columns>
  270. <Column size="25" band="left"/>
  271. <Column size="0"/>
  272. <Column size="132"/>
  273. <Column size="80"/>
  274. <Column size="45"/>
  275. <Column size="45"/>
  276. <Column size="45"/>
  277. <Column size="45"/>
  278. <Column size="0"/>
  279. <Column size="45"/>
  280. <Column size="45"/>
  281. <Column size="45"/>
  282. <Column size="0"/>
  283. <Column size="45"/>
  284. <Column size="45"/>
  285. <Column size="45"/>
  286. <Column size="0"/>
  287. <Column size="45"/>
  288. <Column size="45"/>
  289. <Column size="45"/>
  290. <Column size="0"/>
  291. <Column size="45"/>
  292. <Column size="45"/>
  293. <Column size="45"/>
  294. <Column size="0"/>
  295. <Column size="45"/>
  296. <Column size="45"/>
  297. <Column size="45"/>
  298. <Column size="0"/>
  299. <Column size="45"/>
  300. <Column size="45"/>
  301. <Column size="45"/>
  302. <Column size="0"/>
  303. <Column size="100"/>
  304. </Columns>
  305. <Rows>
  306. <Row size="24" band="head"/>
  307. <Row size="24" band="head"/>
  308. <Row size="24"/>
  309. </Rows>
  310. <Band id="head">
  311. <Cell rowspan="2" taborder="undefined"/>
  312. <Cell col="1" rowspan="2" text="물품코드" taborder="undefined"/>
  313. <Cell col="2" rowspan="2" text="물품" taborder="undefined"/>
  314. <Cell col="3" rowspan="2" text="유효기간" taborder="undefined"/>
  315. <Cell col="4" rowspan="2" text="보유량" taborder="undefined"/>
  316. <Cell col="5" colspan="4" taborder="undefined"/>
  317. <Cell col="9" colspan="4" taborder="undefined"/>
  318. <Cell col="13" colspan="4" taborder="undefined"/>
  319. <Cell col="17" colspan="4" taborder="undefined"/>
  320. <Cell col="21" colspan="4" taborder="undefined"/>
  321. <Cell col="25" colspan="4" taborder="undefined"/>
  322. <Cell col="29" colspan="4" taborder="undefined"/>
  323. <Cell col="33" rowspan="2" text="비고" taborder="undefined"/>
  324. <Cell row="1" col="5" text="D"/>
  325. <Cell row="1" col="6" text="E"/>
  326. <Cell row="1" col="7" text="N"/>
  327. <Cell row="1" col="8"/>
  328. <Cell row="1" col="9" text="D"/>
  329. <Cell row="1" col="10" text="E"/>
  330. <Cell row="1" col="11" text="N"/>
  331. <Cell row="1" col="12"/>
  332. <Cell row="1" col="13" text="D"/>
  333. <Cell row="1" col="14" text="E"/>
  334. <Cell row="1" col="15" text="N"/>
  335. <Cell row="1" col="16"/>
  336. <Cell row="1" col="17" text="D"/>
  337. <Cell row="1" col="18" text="E"/>
  338. <Cell row="1" col="19" text="N"/>
  339. <Cell row="1" col="20"/>
  340. <Cell row="1" col="21" text="D"/>
  341. <Cell row="1" col="22" text="E"/>
  342. <Cell row="1" col="23" text="N"/>
  343. <Cell row="1" col="24"/>
  344. <Cell row="1" col="25" text="D"/>
  345. <Cell row="1" col="26" text="E"/>
  346. <Cell row="1" col="27" text="N"/>
  347. <Cell row="1" col="28"/>
  348. <Cell row="1" col="29" text="D"/>
  349. <Cell row="1" col="30" text="E"/>
  350. <Cell row="1" col="31" text="N"/>
  351. <Cell row="1" col="32"/>
  352. </Band>
  353. <Band id="body">
  354. <Cell celltype="head"/>
  355. <Cell col="1" text="bind:cdid"/>
  356. <Cell col="2" displaytype="text" style="align:left top;padding:5 2 1 2;background:EXPR(cdid == '999999' ? '#eeffee' : '');background2:EXPR(cdid == '999999' ? '#eeffee' : '');font:Dotum,9,bold;" text="bind:cdnm" wordwrap="char"/>
  357. <Cell col="3" style="background:EXPR(cdid == '999999' ? '#eeffee' : '');background2:EXPR(cdid == '999999' ? '#eeffee' : '');font:Dotum,9,bold;" text="bind:exprdd" mask="expr:utlf_isNull(exprdd) ? '' : '####-##-##'"/>
  358. <Cell col="4" style="background:EXPR(cdid == '999999' ? '#eeffee' : '');background2:EXPR(cdid == '999999' ? '#eeffee' : '');font:Dotum,9,bold;" text="bind:qty"/>
  359. <Cell col="5" displaytype="text" edittype="expr:editvalue1" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != d1 ? '#ffff00' : backgrvalue1);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != d1 ? '#ffff00' : backgrvalue1);font:EXPR(fontvalue1);" text="bind:d1" editautoselect="true"/>
  360. <Cell col="6" displaytype="text" edittype="expr:editvalue1" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != e1 ? '#ffff00' : backgrvalue1);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != e1 ? '#ffff00' : backgrvalue1);font:EXPR(fontvalue1);" text="bind:e1" editautoselect="true"/>
  361. <Cell col="7" displaytype="text" edittype="expr:editvalue1" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != n1 ? '#ffff00' : backgrvalue1);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != n1 ? '#ffff00' : backgrvalue1);font:EXPR(fontvalue1);" text="bind:n1" editautoselect="true"/>
  362. <Cell col="8" text="bind:day1" editautoselect="true"/>
  363. <Cell col="9" displaytype="text" edittype="expr:editvalue2" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != d2 ? '#ffff00' : backgrvalue2);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != d2 ? '#ffff00' : backgrvalue2);font:EXPR(fontvalue2);" text="bind:d2" editautoselect="true"/>
  364. <Cell col="10" displaytype="text" edittype="expr:editvalue2" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != e2 ? '#ffff00' : backgrvalue2);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != e2 ? '#ffff00' : backgrvalue2);font:EXPR(fontvalue2);" text="bind:e2" editautoselect="true"/>
  365. <Cell col="11" displaytype="text" edittype="expr:editvalue2" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != n2 ? '#ffff00' : backgrvalue2);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != n2 ? '#ffff00' : backgrvalue2);font:EXPR(fontvalue2);" text="bind:n2" editautoselect="true"/>
  366. <Cell col="12" text="bind:day2" editautoselect="true"/>
  367. <Cell col="13" displaytype="text" edittype="expr:editvalue3" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != d3 ? '#ffff00' : backgrvalue3);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != d3 ? '#ffff00' : backgrvalue3);font:EXPR(fontvalue3);" text="bind:d3" editautoselect="true"/>
  368. <Cell col="14" displaytype="text" edittype="expr:editvalue3" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != e3 ? '#ffff00' : backgrvalue3);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != e3 ? '#ffff00' : backgrvalue3);font:EXPR(fontvalue3);" text="bind:e3" editautoselect="true"/>
  369. <Cell col="15" displaytype="text" edittype="expr:editvalue3" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != n3 ? '#ffff00' : backgrvalue3);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != n3 ? '#ffff00' : backgrvalue3);font:EXPR(fontvalue3);" text="bind:n3" editautoselect="true"/>
  370. <Cell col="16" text="bind:day3" editautoselect="true"/>
  371. <Cell col="17" displaytype="text" edittype="expr:editvalue4" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != d4 ? '#ffff00' : backgrvalue4);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != d4 ? '#ffff00' : backgrvalue4);font:EXPR(fontvalue4);" text="bind:d4" editautoselect="true"/>
  372. <Cell col="18" displaytype="text" edittype="expr:editvalue4" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != e4 ? '#ffff00' : backgrvalue4);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != e4 ? '#ffff00' : backgrvalue4);font:EXPR(fontvalue4);" text="bind:e4" editautoselect="true"/>
  373. <Cell col="19" displaytype="text" edittype="expr:editvalue4" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != n4 ? '#ffff00' : backgrvalue4);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != n4 ? '#ffff00' : backgrvalue4);font:EXPR(fontvalue4);" text="bind:n4" editautoselect="true"/>
  374. <Cell col="20" text="bind:day4" editautoselect="true"/>
  375. <Cell col="21" displaytype="text" edittype="expr:editvalue5" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != d5 ? '#ffff00' : backgrvalue5);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != d5 ? '#ffff00' : backgrvalue5);font:EXPR(fontvalue5);" text="bind:d5" editautoselect="true"/>
  376. <Cell col="22" displaytype="text" edittype="expr:editvalue5" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != e5 ? '#ffff00' : backgrvalue5);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != e5 ? '#ffff00' : backgrvalue5);font:EXPR(fontvalue5);" text="bind:e5" editautoselect="true"/>
  377. <Cell col="23" displaytype="text" edittype="expr:editvalue5" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != n5 ? '#ffff00' : backgrvalue5);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != n5 ? '#ffff00' : backgrvalue5);font:EXPR(fontvalue5);" text="bind:n5" editautoselect="true"/>
  378. <Cell col="24" text="bind:day5" editautoselect="true"/>
  379. <Cell col="25" displaytype="text" edittype="expr:editvalue6" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != d6 ? '#ffff00' : backgrvalue6);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != d6 ? '#ffff00' : backgrvalue6);font:EXPR(fontvalue6);" text="bind:d6" editautoselect="true"/>
  380. <Cell col="26" displaytype="text" edittype="expr:editvalue6" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != e6 ? '#ffff00' : backgrvalue6);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != e6 ? '#ffff00' : backgrvalue6);font:EXPR(fontvalue6);" text="bind:e6" editautoselect="true"/>
  381. <Cell col="27" displaytype="text" edittype="expr:editvalue6" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != n6 ? '#ffff00' : backgrvalue6);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != n6 ? '#ffff00' : backgrvalue6);font:EXPR(fontvalue6);" text="bind:n6" editautoselect="true"/>
  382. <Cell col="28" text="bind:day6" editautoselect="true"/>
  383. <Cell col="29" displaytype="text" edittype="expr:editvalue7" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != d7 ? '#ffff00' : backgrvalue7);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != d7 ? '#ffff00' : backgrvalue7);font:EXPR(fontvalue7);" text="bind:d7" editautoselect="true"/>
  384. <Cell col="30" displaytype="text" edittype="expr:editvalue7" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != e7 ? '#ffff00' : backgrvalue7);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != e7 ? '#ffff00' : backgrvalue7);font:EXPR(fontvalue7);" text="bind:e7" editautoselect="true"/>
  385. <Cell col="31" displaytype="text" edittype="expr:editvalue7" style="align:center middle;background:EXPR(cdid == '999999' ? '#eeffee' : qty != n7 ? '#ffff00' : backgrvalue7);background2:EXPR(cdid == '999999' ? '#eeffee' : qty != n7 ? '#ffff00' : backgrvalue7);font:EXPR(fontvalue7);" text="bind:n7" editautoselect="true"/>
  386. <Cell col="32" style="background:EXPR(cdid == '999999' ? '#eeffee' : qty != ? '#ffff00' : '');" text="bind:day7"/>
  387. <Cell col="33" displaytype="text" edittype="text" style="background:EXPR(cdid == '999999' ? '#eeffee' : '');background2:EXPR(cdid == '999999' ? '#eeffee' : '');" text="bind:cmt" editautoselect="true"/>
  388. </Band>
  389. </Format>
  390. </Formats>
  391. </Grid>
  392. <Static id="caption21" text="물품인계내역" class="tit_2" position="absolute 1 48 125 66"/>
  393. <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 1 64 1160 70"/>
  394. <Static id="caption22" text="조회기간 :" class="search_name" position="absolute 260 12 357 29"/>
  395. <Calendar id="ipt_trnfrdd" taborder="5" class="input_search" enable="false" position="absolute 350 10 438 29" autoselect="true"/>
  396. <Calendar id="ipt_trntodd" taborder="6" class="input_search" enable="false" position="absolute 450 10 538 29" autoselect="true"/>
  397. <Static id="caption23" text="~" position="absolute 440 10 453 30"/>
  398. <Button id="button5" taborder="7" text="저장" class="btn5" visible="false" position="absolute 1115 44 1157 64" onclick="switch1_trnswork_button5_onclick"/>
  399. <Button id="button7" taborder="8" text="기준자료" class="btn2" position="absolute 1050 44 1114 64" onclick="switch1_trnswork_button7_onclick"/>
  400. <Button id="button10" taborder="9" text="저장" class="btn5" position="absolute 1115 44 1157 64" onclick="switch1_trnswork_button10_onclick"/>
  401. <Radio id="rdo_cdgrupid" taborder="10" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 629 12 914 28" onitemchanged="switch1_trnswork_rdo_cdgrupid_onitemchanged">
  402. <Dataset id="innerdataset">
  403. <ColumnInfo>
  404. <Column id="codecolumn"/>
  405. <Column id="datacolumn"/>
  406. </ColumnInfo>
  407. <Rows>
  408. <Row>
  409. <Col id="codecolumn">001</Col>
  410. <Col id="datacolumn">물품인계대장</Col>
  411. </Row>
  412. <Row>
  413. <Col id="codecolumn">002</Col>
  414. <Col id="datacolumn">비치약관리</Col>
  415. </Row>
  416. <Row>
  417. <Col id="codecolumn">003</Col>
  418. <Col id="datacolumn">마약관리</Col>
  419. </Row>
  420. </Rows>
  421. </Dataset>
  422. </Radio>
  423. <Static id="caption24" text="구 분 :" class="search_name" visible="false" position="absolute 550 12 647 29"/>
  424. <Button id="button11" taborder="11" class="icon_next" position="absolute 210 13 223 29" onclick="switch1_trnswork_button11_onclick"/>
  425. <Button id="button12" taborder="12" class="icon_pre" position="absolute 106 13 119 29" onclick="switch1_trnswork_button12_onclick"/>
  426. <Div id="grp_duty" taborder="13" visible="false" position="absolute 890 75 1130 125" style="background:#87cefaff;">
  427. <Layouts>
  428. <Layout>
  429. <Static id="caption33" text="확인할 Duty를 선택하십시오." class="search_name" position="absolute 8 5 204 20"/>
  430. <Button id="bnt_patlabel_nm" taborder="23" text="확인" class="btn5" position="absolute 150 24 192 44" onclick="switch1_trnswork_grp_duty_bnt_patlabel_nm_onclick"/>
  431. <Button id="button27" taborder="24" text="취소" class="btn5" position="absolute 193 24 235 44" onclick="switch1_trnswork_grp_duty_button27_onclick"/>
  432. <Radio id="rdo_dutyflag" taborder="25" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 6 25 144 42" index="-1" style="textpadding:0 3 0 3;">
  433. <Dataset id="innerdataset">
  434. <ColumnInfo>
  435. <Column id="codecolumn"/>
  436. <Column id="datacolumn"/>
  437. </ColumnInfo>
  438. <Rows>
  439. <Row>
  440. <Col id="codecolumn"/>
  441. <Col id="datacolumn">전체</Col>
  442. </Row>
  443. <Row>
  444. <Col id="codecolumn">D</Col>
  445. <Col id="datacolumn">D</Col>
  446. </Row>
  447. <Row>
  448. <Col id="codecolumn">E</Col>
  449. <Col id="datacolumn">E</Col>
  450. </Row>
  451. <Row>
  452. <Col id="codecolumn">N</Col>
  453. <Col id="datacolumn">N</Col>
  454. </Row>
  455. </Rows>
  456. </Dataset>
  457. </Radio>
  458. </Layout>
  459. </Layouts>
  460. </Div>
  461. <Button id="button18" taborder="14" text="엑셀" class="btn7" position="absolute 1090 9 1146 31" onclick="switch1_trnswork_button18_onclick"/>
  462. <Shape id="line11" class="line_4" position="absolute 1019 10 1025 31" linetype="vertical"/>
  463. </Layout>
  464. </Layouts>
  465. </Tabpage>
  466. <Tabpage id="repair" text="장비수리">
  467. <Layouts>
  468. <Layout>
  469. <Div id="grp_srch" taborder="7" position="absolute 1 1 1160 41" class="div_SA2"/>
  470. <Grid id="grd_repairlist" taborder="1" binddataset="ds_main_repairinfo_repairlist" useinputpanel="false" position="absolute 1 70 1160 695">
  471. <Formats>
  472. <Format id="default">
  473. <Columns>
  474. <Column size="25" band="left"/>
  475. <Column size="79"/>
  476. <Column size="100"/>
  477. <Column size="124"/>
  478. <Column size="100"/>
  479. <Column size="85"/>
  480. <Column size="123"/>
  481. <Column size="98"/>
  482. <Column size="62"/>
  483. <Column size="82"/>
  484. <Column size="65"/>
  485. <Column size="193"/>
  486. </Columns>
  487. <Rows>
  488. <Row size="24" band="head"/>
  489. <Row size="24"/>
  490. </Rows>
  491. <Band id="head">
  492. <Cell/>
  493. <Cell col="1" text="등록일자"/>
  494. <Cell col="2" text="자산코드"/>
  495. <Cell col="3" text="장비명"/>
  496. <Cell col="4" text="규격"/>
  497. <Cell col="5" text="취득일자"/>
  498. <Cell col="6" text="고장내용"/>
  499. <Cell col="7" text="의뢰부서"/>
  500. <Cell col="8" text="의뢰자"/>
  501. <Cell col="9" text="수리일자"/>
  502. <Cell col="10" text="수리결과"/>
  503. <Cell col="11" text="수리결과"/>
  504. </Band>
  505. <Band id="body">
  506. <Cell celltype="head"/>
  507. <Cell col="1" text="bind:genrdd" mask="expr:utlf_isNull(genrdd) || genrdd == '-' ? '' : '####-##-##'"/>
  508. <Cell col="2" text="bind:fixasetcd"/>
  509. <Cell col="3" displaytype="text" text="bind:goodflagengnm"/>
  510. <Cell col="4" text="bind:goodspec"/>
  511. <Cell col="5" text="bind:possndd" mask="expr:utlf_isNull(possndd) || possndd == '-' ? '' : '####-##-##'"/>
  512. <Cell col="6" displaytype="text" text="bind:hdrncspec"/>
  513. <Cell col="7" text="bind:execdeptnm"/>
  514. <Cell col="8" text="bind:fstrgstrnm"/>
  515. <Cell col="9" text="bind:rpirenddd" mask="expr:utlf_isNull(rpirenddd) || rpirenddd == '-' ? '' : '####-##-##'"/>
  516. <Cell col="10" text="bind:workstatnm"/>
  517. <Cell col="11" displaytype="text" text="bind:lastrpirrslt"/>
  518. </Band>
  519. </Format>
  520. </Formats>
  521. </Grid>
  522. <Button id="btn_searchrpir" taborder="2" text="조회" class="btn1" position="absolute 1030 9 1086 31" onclick="switch1_repair_btn_searchrpir_onclick"/>
  523. <Shape id="line7" class="line_4" position="absolute 1019 9 1025 30" linetype="vertical"/>
  524. <Static id="caption30" text="~" position="absolute 200 11 213 31"/>
  525. <Calendar id="ipt_rpirfromdd" taborder="3" class="input_search" position="absolute 110 11 198 30" dateformat="yyyy-MM-dd" value="null"/>
  526. <Calendar id="ipt_rpirtodd" taborder="4" class="input_search" position="absolute 210 11 298 30" dateformat="yyyy-MM-dd"/>
  527. <Static id="caption29" text="조회기간 :" class="search_name" position="absolute 20 13 101 30"/>
  528. <Static id="caption31" text="장비수리내역" class="tit_2" position="absolute 1 49 125 71"/>
  529. <Shape id="line8" linetype="horizontal" class="line_10" position="absolute 1 65 1160 71"/>
  530. <CheckBox id="checkbox1" taborder="5" position="absolute 301 11 401 31" text="완료제외" truevalue="Y" onclick="switch1_repair_checkbox1_onclick"/>
  531. <Button id="button19" taborder="6" text="엑셀" class="btn7" position="absolute 1090 9 1146 31" onclick="switch1_repair_button19_onclick"/>
  532. </Layout>
  533. </Layouts>
  534. </Tabpage>
  535. <Tabpage id="good" text="물품수리">
  536. <Layouts>
  537. <Layout>
  538. <Div id="grp_srch" taborder="10" class="div_SA2" position="absolute 1 1 1160 41"/>
  539. <Shape id="line9" linetype="horizontal" class="line_10" position="absolute 1 65 1160 71"/>
  540. <Static id="caption12" text="~" position="absolute 200 11 213 31"/>
  541. <Static id="caption19" text="물품수리내역" class="tit_2" position="absolute 1 49 125 71"/>
  542. <Calendar id="ipt_goodtodd" taborder="1" class="input_search" position="absolute 210 11 298 30" dateformat="yyyy-MM-dd"/>
  543. <Calendar id="ipt_goodfromdd" taborder="2" class="input_search" position="absolute 110 11 198 30" dateformat="yyyy-MM-dd" value="null"/>
  544. <Button id="btn_searchgood" taborder="3" text="조회" class="btn1" position="absolute 1030 9 1086 31" onclick="switch1_good_btn_searchgood_onclick"/>
  545. <Static id="caption32" text="조회기간 :" class="search_name" position="absolute 20 13 109 30"/>
  546. <Shape id="line10" linetype="vertical" class="line_4" position="absolute 1019 10 1025 31"/>
  547. <Grid id="grd_goodlist" class="datagrid2" taborder="4" binddataset="ds_main_goodinfo_goodlist" useinputpanel="false" position="absolute 1 70 1160 696">
  548. <Formats>
  549. <Format id="default">
  550. <Columns>
  551. <Column size="25" band="left"/>
  552. <Column size="84"/>
  553. <Column size="0"/>
  554. <Column size="182"/>
  555. <Column size="50"/>
  556. <Column size="44"/>
  557. <Column size="61"/>
  558. <Column size="62"/>
  559. <Column size="46"/>
  560. <Column size="61"/>
  561. <Column size="85"/>
  562. <Column size="66"/>
  563. <Column size="0"/>
  564. <Column size="378"/>
  565. <Column size="0"/>
  566. </Columns>
  567. <Rows>
  568. <Row size="30" band="head"/>
  569. <Row size="24"/>
  570. </Rows>
  571. <Band id="head">
  572. <Cell/>
  573. <Cell col="1" text="등록일자"/>
  574. <Cell col="2" text="물품코드"/>
  575. <Cell col="3" text="물품명"/>
  576. <Cell col="4" text="총&#10;재고량"/>
  577. <Cell col="5" text="수량"/>
  578. <Cell col="6" text="내용"/>
  579. <Cell col="7" text="등록자"/>
  580. <Cell col="8" text="연락&#10;유무"/>
  581. <Cell col="9" text="처리&#10;내역"/>
  582. <Cell col="10" text="종료일자"/>
  583. <Cell col="11" text="확인자"/>
  584. <Cell col="12" text="확인자ID"/>
  585. <Cell col="13" text="비고"/>
  586. <Cell col="14" text="caption1"/>
  587. </Band>
  588. <Band id="body">
  589. <Cell celltype="head"/>
  590. <Cell col="1" displaytype="date" edittype="date" text="bind:gnrldd"/>
  591. <Cell col="2" text="bind:goodcd"/>
  592. <Cell col="3" displaytype="text" text="bind:goodnm"/>
  593. <Cell col="4" text="bind:safestocqty"/>
  594. <Cell col="5" displaytype="text" edittype="text" text="bind:qty"/>
  595. <Cell col="6" displaytype="combo" edittype="combo" text="bind:rpirflag" combodataset="ds_cmb_rpirflag" combocodecol="value" combodatacol="label"/>
  596. <Cell col="7" text="bind:fstrgstrnm"/>
  597. <Cell col="8" displaytype="combo" edittype="combo" text="bind:sendyn" combodataset="ds_cmb_sendyn" combocodecol="value" combodatacol="label"/>
  598. <Cell col="9" displaytype="combo" edittype="combo" text="bind:rsltflag" combodataset="ds_cmb_rsltflag" combocodecol="value" combodatacol="label"/>
  599. <Cell col="10" displaytype="date" edittype="date" text="bind:enddd"/>
  600. <Cell col="11" text="bind:certnm"/>
  601. <Cell col="12" text="bind:certid"/>
  602. <Cell col="13" displaytype="text" edittype="text" text="bind:cmt"/>
  603. <Cell col="14" text="bind:seqno"/>
  604. </Band>
  605. </Format>
  606. </Formats>
  607. </Grid>
  608. <Button id="button23" taborder="5" text="추가" class="btn2" position="absolute 1030 45 1072 65" onclick="switch1_good_button23_onclick"/>
  609. <Button id="button24" taborder="6" text="삭제" class="btn2" position="absolute 1073 45 1115 65" onclick="switch1_good_button24_onclick"/>
  610. <Button id="button25" taborder="7" text="저장" class="btn5" position="absolute 1116 45 1158 65" onclick="switch1_good_button25_onclick"/>
  611. <Button id="button20" taborder="8" text="엑셀" class="btn7" position="absolute 1090 9 1146 31" onclick="switch1_good_button20_onclick"/>
  612. <Static id="caption53" text="조회기간 :" class="search_name" position="absolute 330 13 403 30"/>
  613. <Radio id="radio3" taborder="9" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 406 12 585 28">
  614. <Dataset id="innerdataset">
  615. <ColumnInfo>
  616. <Column id="codecolumn"/>
  617. <Column id="datacolumn"/>
  618. </ColumnInfo>
  619. <Rows>
  620. <Row>
  621. <Col id="codecolumn"/>
  622. <Col id="datacolumn">전체</Col>
  623. </Row>
  624. <Row>
  625. <Col id="codecolumn">1</Col>
  626. <Col id="datacolumn">미종료</Col>
  627. </Row>
  628. <Row>
  629. <Col id="codecolumn">2</Col>
  630. <Col id="datacolumn">종료</Col>
  631. </Row>
  632. </Rows>
  633. </Dataset>
  634. </Radio>
  635. </Layout>
  636. </Layouts>
  637. </Tabpage>
  638. <Tabpage id="narc">
  639. <Layouts>
  640. <Layout>
  641. <Shape id="roundrect7" type="roundrectangle" position="absolute 6 10 410 37"/>
  642. <Button id="button40" taborder="1" text="조회" class="btn1" position="absolute 345 13 401 35"/>
  643. <Calendar id="ipt_narcdd" taborder="2" class="input_search" position="absolute 105 14 193 33" mask="yyyy-mm-dd"/>
  644. <Static id="caption42" text="업무일자 :" class="search_name" position="absolute 15 14 111 31"/>
  645. <Static id="caption43" text="요일" position="absolute 215 13 255 33"/>
  646. <Static id="cap_narcweek" position="absolute 196 14 216 31"/>
  647. <Button id="button37" taborder="3" text="어제" class="btn2_letter2" position="absolute 245 14 287 33"/>
  648. <Button id="button36" taborder="4" text="오늘" class="btn2_letter2" position="absolute 290 14 332 33"/>
  649. <Grid id="grd_narclist1" class="datagrid2" taborder="5" binddataset="ds_grd_narclist1" useinputpanel="false" position="absolute 0 65 385 600">
  650. <Formats>
  651. <Format id="default">
  652. <Columns>
  653. <Column size="181"/>
  654. <Column size="75"/>
  655. <Column size="35"/>
  656. <Column size="35"/>
  657. <Column size="35"/>
  658. <Column size="0"/>
  659. <Column size="0"/>
  660. <Column size="0"/>
  661. </Columns>
  662. <Rows>
  663. <Row size="24" band="head"/>
  664. <Row size="24"/>
  665. </Rows>
  666. <Band id="head">
  667. <Cell text="처방명"/>
  668. <Cell col="1" text="유효일자"/>
  669. <Cell col="2" text="수량"/>
  670. <Cell col="3" text="현량"/>
  671. <Cell col="4" text="처방"/>
  672. <Cell col="5" text="caption3"/>
  673. <Cell col="6" text="caption1"/>
  674. <Cell col="7" text="caption2"/>
  675. </Band>
  676. <Band id="body">
  677. <Cell text="bind:cdnm"/>
  678. <Cell col="1" text="bind:exprdd" mask="yyyy-mm-dd"/>
  679. <Cell col="2" text="bind:qty"/>
  680. <Cell col="3" text="bind:curqty" edittype="text" displaytype="text" mask="#,###"/>
  681. <Cell col="4" text="bind:prcpqty" edittype="text" displaytype="text"/>
  682. <Cell col="5" text="bind:workdd"/>
  683. <Cell col="6" text="bind:cdid"/>
  684. <Cell col="7" text="bind:dutycd"/>
  685. </Band>
  686. </Format>
  687. </Formats>
  688. </Grid>
  689. <Shape id="line14" linetype="horizontal" class="line_1" position="absolute 0 57 385 63"/>
  690. <Static id="caption41" text="Day" class="tit_2" position="absolute 5 46 55 59"/>
  691. <Static id="caption44" text="Evening" class="tit_2" position="absolute 395 46 461 59"/>
  692. <Shape id="line15" linetype="horizontal" class="line_1" position="absolute 390 57 775 63"/>
  693. <Static id="caption45" text="Night" class="tit_2" position="absolute 785 46 837 60"/>
  694. <Shape id="line16" linetype="horizontal" class="line_1" position="absolute 780 57 1160 63"/>
  695. <Grid id="grd_narclist3" class="datagrid2" taborder="6" binddataset="ds_grd_narclist3" useinputpanel="false" position="absolute 780 65 1160 600">
  696. <Formats>
  697. <Format id="default">
  698. <Columns>
  699. <Column size="177"/>
  700. <Column size="75"/>
  701. <Column size="35"/>
  702. <Column size="35"/>
  703. <Column size="35"/>
  704. <Column size="0"/>
  705. <Column size="0"/>
  706. <Column size="0"/>
  707. </Columns>
  708. <Rows>
  709. <Row size="24" band="head"/>
  710. <Row size="24"/>
  711. </Rows>
  712. <Band id="head">
  713. <Cell text="처방명"/>
  714. <Cell col="1" text="유효일자"/>
  715. <Cell col="2" text="수량"/>
  716. <Cell col="3" text="현량"/>
  717. <Cell col="4" text="처방"/>
  718. <Cell col="5" text="caption3"/>
  719. <Cell col="6" text="caption1"/>
  720. <Cell col="7" text="caption2"/>
  721. </Band>
  722. <Band id="body">
  723. <Cell text="bind:cdnm"/>
  724. <Cell col="1" text="bind:exprdd" mask="yyyy-mm-dd"/>
  725. <Cell col="2" text="bind:qty"/>
  726. <Cell col="3" text="bind:curqty" edittype="text" displaytype="text" mask="#,###"/>
  727. <Cell col="4" text="bind:prcpqty" edittype="text" displaytype="text"/>
  728. <Cell col="5" text="bind:workdd"/>
  729. <Cell col="6" text="bind:cdid"/>
  730. <Cell col="7" text="bind:dutycd"/>
  731. </Band>
  732. </Format>
  733. </Formats>
  734. </Grid>
  735. <Grid id="grd_narclist2" class="datagrid2" taborder="7" binddataset="ds_grd_narclist2" useinputpanel="false" position="absolute 390 65 775 600">
  736. <Formats>
  737. <Format id="default">
  738. <Columns>
  739. <Column size="181"/>
  740. <Column size="75"/>
  741. <Column size="35"/>
  742. <Column size="35"/>
  743. <Column size="35"/>
  744. <Column size="0"/>
  745. <Column size="0"/>
  746. <Column size="0"/>
  747. </Columns>
  748. <Rows>
  749. <Row size="24" band="head"/>
  750. <Row size="24"/>
  751. </Rows>
  752. <Band id="head">
  753. <Cell text="처방명"/>
  754. <Cell col="1" text="유효일자"/>
  755. <Cell col="2" text="수량"/>
  756. <Cell col="3" text="현량"/>
  757. <Cell col="4" text="처방"/>
  758. <Cell col="5" text="caption3"/>
  759. <Cell col="6" text="caption1"/>
  760. <Cell col="7" text="caption2"/>
  761. </Band>
  762. <Band id="body">
  763. <Cell text="bind:cdnm"/>
  764. <Cell col="1" text="bind:exprdd" mask="yyyy-mm-dd"/>
  765. <Cell col="2" text="bind:qty"/>
  766. <Cell col="3" text="bind:curqty" edittype="text" displaytype="text" mask="#,###"/>
  767. <Cell col="4" text="bind:prcpqty" edittype="text" displaytype="text"/>
  768. <Cell col="5" text="bind:workdd" edittype="text" displaytype="text"/>
  769. <Cell col="6" text="bind:cdid"/>
  770. <Cell col="7" text="bind:dutycd"/>
  771. </Band>
  772. </Format>
  773. </Formats>
  774. </Grid>
  775. <Radio id="rdo_nacgrup" taborder="8" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 415 25 660 40">
  776. <Dataset id="innerdataset">
  777. <ColumnInfo>
  778. <Column id="codecolumn"/>
  779. <Column id="datacolumn"/>
  780. </ColumnInfo>
  781. <Rows>
  782. <Row>
  783. <Col id="codecolumn">001</Col>
  784. <Col id="datacolumn">물품인계대장</Col>
  785. </Row>
  786. <Row>
  787. <Col id="codecolumn">002</Col>
  788. <Col id="datacolumn">비치약관리</Col>
  789. </Row>
  790. <Row>
  791. <Col id="codecolumn">003</Col>
  792. <Col id="datacolumn">마약관리</Col>
  793. </Row>
  794. </Rows>
  795. </Dataset>
  796. </Radio>
  797. <Button id="btn_narccert1" taborder="9" text="저장" class="btn5" position="absolute 343 40 385 59"/>
  798. <Button id="btn_narccert2" taborder="10" text="저장" class="btn5" position="absolute 733 40 775 59"/>
  799. <Button id="btn_narccert3" taborder="11" text="저장" class="btn5" position="absolute 1118 40 1160 59"/>
  800. <Static id="caption46" text="인계자 :" position="absolute 122 605 184 625"/>
  801. <Static id="caption47" text="인수자 :" position="absolute 122 628 182 648"/>
  802. <Edit id="output1" taborder="12" readonly="true" position="absolute 180 605 255 624"/>
  803. <Button id="btn_cert1" taborder="13" text="인계확인" class="btn5" position="absolute 257 604 321 623"/>
  804. <Button id="btn_trnsin1" taborder="14" text="인수확인" class="btn5" position="absolute 257 628 321 647"/>
  805. <Edit id="output2" taborder="15" readonly="true" position="absolute 180 628 255 647"/>
  806. <Static id="caption48" text="인계자 :" position="absolute 512 605 574 625"/>
  807. <Static id="caption49" text="인수자 :" position="absolute 512 628 572 648"/>
  808. <Button id="btn_cert2" taborder="16" text="인계확인" class="btn5" position="absolute 647 604 711 623"/>
  809. <Button id="btn_trnsin2" taborder="17" text="인수확인" class="btn5" position="absolute 647 628 711 647"/>
  810. <Edit id="output3" taborder="18" readonly="true" position="absolute 570 605 645 624"/>
  811. <Edit id="output4" taborder="19" readonly="true" position="absolute 570 628 645 647"/>
  812. <Edit id="output5" taborder="20" readonly="true" position="absolute 952 630 1027 649"/>
  813. <Static id="caption50" text="인계자 :" position="absolute 894 607 956 627"/>
  814. <Static id="caption51" text="인수자 :" position="absolute 894 630 954 650"/>
  815. <Button id="btn_cert3" taborder="21" text="인계확인" class="btn5" position="absolute 1029 606 1093 625"/>
  816. <Edit id="output6" taborder="22" readonly="true" position="absolute 952 607 1027 626"/>
  817. <Button id="btn_trnsin3" taborder="23" text="인수확인" class="btn5" position="absolute 1029 630 1093 649"/>
  818. <Shape id="line17" linetype="horizontal" class="line_2" position="absolute 0 652 1160 658"/>
  819. <Static id="caption52" text="수간호사 :" position="absolute 840 670 909 690"/>
  820. <Edit id="opt_cheifcertnm" taborder="24" readonly="true" position="absolute 910 670 985 689"/>
  821. <Button id="btn_chiefcert" taborder="25" text="수간호사확인" class="btn5" position="absolute 987 670 1073 689"/>
  822. <Button id="btn_chiefcertcncl" taborder="26" text="수간호사취소" class="btn5" position="absolute 1075 670 1161 689"/>
  823. <Button id="btn_certcncl3" taborder="27" text="인계취소" class="btn5" position="absolute 1095 605 1159 624"/>
  824. <Button id="btn_trnsincncl3" taborder="28" text="인수취소" class="btn5" position="absolute 1095 629 1159 648"/>
  825. <Button id="btn_trnsincncl2" taborder="29" text="인수취소" class="btn5" position="absolute 713 628 777 647"/>
  826. <Button id="btn_certcncl2" taborder="30" text="인계취소" class="btn5" position="absolute 713 604 777 623"/>
  827. <Button id="btn_certcncl1" taborder="31" text="인계취소" class="btn5" position="absolute 325 604 389 623"/>
  828. <Button id="btn_trnsincncl1" taborder="32" text="인수취소" class="btn5" position="absolute 325 628 389 647"/>
  829. <Button id="button41" taborder="33" text="출력" class="btn4" position="absolute 1100 10 1156 32"/>
  830. <Div id="group3" taborder="34" visible="false" position="absolute 935 40 1140 111">
  831. <Layouts>
  832. <Layout>
  833. <Calendar id="ipt_prtfromdd" taborder="1" position="absolute 5 25 95 44"/>
  834. <Calendar id="ipt_prttodd" taborder="2" position="absolute 110 25 200 44"/>
  835. <Static id="caption54" text="* 출력기간을 선택하십시오." position="absolute 5 5 180 25"/>
  836. <Button id="button42" taborder="3" text="확인" class="btn5" position="absolute 115 50 157 69"/>
  837. <Button id="button43" taborder="4" text="취소" class="btn2_letter2" position="absolute 160 50 202 69"/>
  838. </Layout>
  839. </Layouts>
  840. </Div>
  841. <Static id="caption55" text="마약인계 출력물은 저장된 내역에 한해서만 출력이 됩니다." position="absolute 780 10 1098 30"/>
  842. </Layout>
  843. </Layouts>
  844. </Tabpage>
  845. </Tabpages>
  846. </Tab>
  847. <Button id="button1" taborder="2" onclick="Button_onclick" class="btn_tab_S" visible="true" position="absolute 0 30 92 54" text="분만실 게시판"/>
  848. <Button id="button2" taborder="3" text="업무 체크리스트" onclick="Button_onclick" class="btn_tab" visible="false" position="absolute 525 30 629 54"/>
  849. <Button id="btn_trns" taborder="4" text="물품 인계대장" onclick="Button_onclick" class="btn_tab" visible="true" position="absolute 93 30 185 54"/>
  850. <Button id="button13" taborder="5" text="장비수리" onclick="Button_onclick" class="btn_tab" visible="true" position="absolute 186 30 258 54"/>
  851. <Button id="button22" taborder="6" text="물품수리" onclick="Button_onclick" class="btn_tab" visible="true" position="absolute 259 30 331 54"/>
  852. <Button id="button30" taborder="7" text="약품관리" onclick="Button_onclick" class="btn_tab" position="absolute 332 30 404 54"/>
  853. <Button id="button26" taborder="8" text="응급처방물품관리" onclick="Button_onclick" class="btn_tab" visible="false" position="absolute 630 30 734 54"/>
  854. <Shape id="line02" class="line_10" position="absolute 0 51 1161 57"/>
  855. </Layout>
  856. </Layouts>
  857. <Objects>
  858. <Dataset id="ds_main_pcainfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  859. <ColumnInfo>
  860. <Column id="pcalist" type="STRING" size="256"/>
  861. </ColumnInfo>
  862. <Rows>
  863. <Row>
  864. <Col id="pcalist"/>
  865. </Row>
  866. </Rows>
  867. </Dataset>
  868. <Dataset id="ds_main_cond_goodinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  869. <ColumnInfo>
  870. <Column id="fromdd" type="STRING" size="256"/>
  871. <Column id="todd" type="STRING" size="256"/>
  872. <Column id="flag" type="STRING" size="256"/>
  873. <Column id="recflag" type="STRING" size="256"/>
  874. </ColumnInfo>
  875. <Rows>
  876. <Row>
  877. <Col id="fromdd"/>
  878. <Col id="todd"/>
  879. <Col id="flag"/>
  880. <Col id="recflag"/>
  881. </Row>
  882. </Rows>
  883. </Dataset>
  884. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  885. <ColumnInfo>
  886. <Column id="hidden" type="STRING" size="256"/>
  887. </ColumnInfo>
  888. <Rows>
  889. <Row>
  890. <Col id="hidden"/>
  891. </Row>
  892. </Rows>
  893. </Dataset>
  894. <Dataset id="ds_main_chklists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  895. <ColumnInfo>
  896. <Column id="dutylist1" type="STRING" size="256"/>
  897. <Column id="dutylist2" type="STRING" size="256"/>
  898. <Column id="dutylist3" type="STRING" size="256"/>
  899. </ColumnInfo>
  900. <Rows>
  901. <Row>
  902. <Col id="dutylist1"/>
  903. <Col id="dutylist2"/>
  904. <Col id="dutylist3"/>
  905. </Row>
  906. </Rows>
  907. </Dataset>
  908. <Dataset id="ds_code" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  909. <ColumnInfo>
  910. <Column id="codeinfo" type="STRING" size="256"/>
  911. </ColumnInfo>
  912. <Rows>
  913. <Row>
  914. <Col id="codeinfo"/>
  915. </Row>
  916. </Rows>
  917. </Dataset>
  918. <Dataset id="ds_main_cond_trnsinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  919. <ColumnInfo>
  920. <Column id="workdd" type="STRING" size="256"/>
  921. <Column id="fromdd" type="STRING" size="256"/>
  922. <Column id="todd" type="STRING" size="256"/>
  923. <Column id="cdgrupid" type="STRING" size="256"/>
  924. <Column id="flag" type="STRING" size="256"/>
  925. <Column id="recflag" type="STRING" size="256"/>
  926. </ColumnInfo>
  927. <Rows>
  928. <Row>
  929. <Col id="workdd"/>
  930. <Col id="fromdd"/>
  931. <Col id="todd"/>
  932. <Col id="cdgrupid">001</Col>
  933. <Col id="flag"/>
  934. <Col id="recflag">01</Col>
  935. </Row>
  936. </Rows>
  937. </Dataset>
  938. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  939. <ColumnInfo>
  940. <Column id="prtnarcinfo" type="STRING" size="256"/>
  941. </ColumnInfo>
  942. <Rows>
  943. <Row>
  944. <Col id="prtnarcinfo"/>
  945. </Row>
  946. </Rows>
  947. </Dataset>
  948. <Dataset id="ds_main_cond_chklist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  949. <ColumnInfo>
  950. <Column id="workdd" type="STRING" size="256"/>
  951. <Column id="workweek" type="STRING" size="256"/>
  952. <Column id="cmt1" type="STRING" size="256"/>
  953. <Column id="cmt2" type="STRING" size="256"/>
  954. <Column id="cmt3" type="STRING" size="256"/>
  955. <Column id="certid1" type="STRING" size="256"/>
  956. <Column id="certid2" type="STRING" size="256"/>
  957. <Column id="certid3" type="STRING" size="256"/>
  958. <Column id="certnm1" type="STRING" size="256"/>
  959. <Column id="certnm2" type="STRING" size="256"/>
  960. <Column id="certnm3" type="STRING" size="256"/>
  961. <Column id="chiefid" type="STRING" size="256"/>
  962. <Column id="chiefnm" type="STRING" size="256"/>
  963. </ColumnInfo>
  964. <Rows>
  965. <Row>
  966. <Col id="workdd"/>
  967. <Col id="workweek"/>
  968. <Col id="cmt1"/>
  969. <Col id="cmt2"/>
  970. <Col id="cmt3"/>
  971. <Col id="certid1"/>
  972. <Col id="certid2"/>
  973. <Col id="certid3"/>
  974. <Col id="certnm1"/>
  975. <Col id="certnm2"/>
  976. <Col id="certnm3"/>
  977. <Col id="chiefid"/>
  978. <Col id="chiefnm"/>
  979. </Row>
  980. </Rows>
  981. </Dataset>
  982. <Dataset id="ds_main_chksaveinfo_dutychkinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  983. <ColumnInfo>
  984. <Column id="dutylist" type="STRING" size="256"/>
  985. </ColumnInfo>
  986. <Rows>
  987. <Row>
  988. <Col id="dutylist"/>
  989. </Row>
  990. </Rows>
  991. </Dataset>
  992. <Dataset id="ds_main_trnsinfo_trnslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_trnsinfo_trnslist_oncolumnchanged">
  993. <ColumnInfo>
  994. <Column id="trnslist" type="STRING" size="256"/>
  995. </ColumnInfo>
  996. <Rows>
  997. <Row>
  998. <Col id="trnslist"/>
  999. </Row>
  1000. </Rows>
  1001. </Dataset>
  1002. <Dataset id="ds_main_cond_pcainfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1003. <ColumnInfo>
  1004. <Column id="fromdd" type="STRING" size="256"/>
  1005. <Column id="todd" type="STRING" size="256"/>
  1006. <Column id="rtnflag" type="STRING" size="256"/>
  1007. <Column id="pcakind" type="STRING" size="256"/>
  1008. </ColumnInfo>
  1009. <Rows>
  1010. <Row>
  1011. <Col id="fromdd"/>
  1012. <Col id="todd"/>
  1013. <Col id="rtnflag">1</Col>
  1014. <Col id="pcakind"/>
  1015. </Row>
  1016. </Rows>
  1017. </Dataset>
  1018. <Dataset id="ds_main_cond_repairinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1019. <ColumnInfo>
  1020. <Column id="fromdd" type="STRING" size="256"/>
  1021. <Column id="todd" type="STRING" size="256"/>
  1022. <Column id="chkyn" type="STRING" size="256"/>
  1023. </ColumnInfo>
  1024. <Rows>
  1025. <Row>
  1026. <Col id="fromdd"/>
  1027. <Col id="todd"/>
  1028. <Col id="chkyn"/>
  1029. </Row>
  1030. </Rows>
  1031. </Dataset>
  1032. <Dataset id="ds_main_cond_erprcpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1033. <ColumnInfo>
  1034. <Column id="opdd" type="STRING" size="256"/>
  1035. <Column id="erdchktype" type="STRING" size="256"/>
  1036. </ColumnInfo>
  1037. <Rows>
  1038. <Row>
  1039. <Col id="opdd"/>
  1040. <Col id="erdchktype">B</Col>
  1041. </Row>
  1042. </Rows>
  1043. </Dataset>
  1044. <Dataset id="ds_mnwmcode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1045. <ColumnInfo>
  1046. <Column id="mnwmcode" type="STRING" size="256"/>
  1047. </ColumnInfo>
  1048. <Rows>
  1049. <Row>
  1050. <Col id="mnwmcode"/>
  1051. </Row>
  1052. </Rows>
  1053. </Dataset>
  1054. <Dataset id="ds_main_chksaveinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1055. <ColumnInfo/>
  1056. </Dataset>
  1057. <Dataset id="ds_main_erprcpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1058. <ColumnInfo>
  1059. <Column id="erdruglist" type="STRING" size="256"/>
  1060. </ColumnInfo>
  1061. <Rows>
  1062. <Row>
  1063. <Col id="erdruglist"/>
  1064. </Row>
  1065. </Rows>
  1066. </Dataset>
  1067. <Dataset id="ds_main_narcinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1068. <ColumnInfo>
  1069. <Column id="narclist1" type="STRING" size="256"/>
  1070. <Column id="narclist2" type="STRING" size="256"/>
  1071. <Column id="narclist3" type="STRING" size="256"/>
  1072. </ColumnInfo>
  1073. <Rows>
  1074. <Row>
  1075. <Col id="narclist1"/>
  1076. <Col id="narclist2"/>
  1077. <Col id="narclist3"/>
  1078. </Row>
  1079. </Rows>
  1080. </Dataset>
  1081. <Dataset id="ds_init_pcainfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1082. <ColumnInfo>
  1083. <Column id="pcalist" type="STRING" size="256"/>
  1084. </ColumnInfo>
  1085. <Rows>
  1086. <Row>
  1087. <Col id="pcalist"/>
  1088. </Row>
  1089. </Rows>
  1090. </Dataset>
  1091. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1092. <ColumnInfo/>
  1093. </Dataset>
  1094. <Dataset id="ds_main_cond_narcinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1095. <ColumnInfo>
  1096. <Column id="workdd" type="STRING" size="256"/>
  1097. <Column id="workweek" type="STRING" size="256"/>
  1098. <Column id="cdgrupid" type="STRING" size="256"/>
  1099. <Column id="prtfromdd" type="STRING" size="256"/>
  1100. <Column id="prttodd" type="STRING" size="256"/>
  1101. </ColumnInfo>
  1102. <Rows>
  1103. <Row>
  1104. <Col id="workdd"/>
  1105. <Col id="workweek"/>
  1106. <Col id="cdgrupid"/>
  1107. <Col id="prtfromdd"/>
  1108. <Col id="prttodd"/>
  1109. </Row>
  1110. </Rows>
  1111. </Dataset>
  1112. <Dataset id="ds_main_goodinfo_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_goodinfo_goodlist_oncolumnchanged"/>
  1113. <Dataset id="ds_main_repairinfo_repairlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  1114. <Dataset id="ds_prtemp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1115. <ColumnInfo>
  1116. <Column id="chklistsprt" type="STRING" size="256"/>
  1117. </ColumnInfo>
  1118. <Rows>
  1119. <Row>
  1120. <Col id="chklistsprt"/>
  1121. </Row>
  1122. </Rows>
  1123. </Dataset>
  1124. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1125. <ColumnInfo>
  1126. <Column id="send" type="STRING" size="256"/>
  1127. </ColumnInfo>
  1128. <Rows>
  1129. <Row>
  1130. <Col id="send"/>
  1131. </Row>
  1132. </Rows>
  1133. </Dataset>
  1134. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1135. <ColumnInfo/>
  1136. </Dataset>
  1137. <Dataset id="ds_main_dutytable" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  1138. <ColumnInfo>
  1139. <Column id="daynm" type="STRING" size="256"/>
  1140. <Column id="evenm" type="STRING" size="256"/>
  1141. <Column id="nightnm" type="STRING" size="256"/>
  1142. </ColumnInfo>
  1143. <Rows>
  1144. <Row>
  1145. <Col id="daynm"/>
  1146. <Col id="evenm"/>
  1147. <Col id="nightnm"/>
  1148. </Row>
  1149. </Rows>
  1150. </Dataset>
  1151. <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1152. <Dataset id="ds_main_trnssaveinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1153. <ColumnInfo>
  1154. <Column id="workdd" type="STRING" size="256"/>
  1155. <Column id="cdid" type="STRING" size="256"/>
  1156. <Column id="dutycd" type="STRING" size="256"/>
  1157. <Column id="qty" type="STRING" size="256"/>
  1158. <Column id="recflag" type="STRING" size="256"/>
  1159. </ColumnInfo>
  1160. </Dataset>
  1161. <Dataset id="ds_cmb_rpirflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1162. <ColumnInfo>
  1163. <Column id="label" type="STRING" size="256"/>
  1164. <Column id="value" type="STRING" size="256"/>
  1165. </ColumnInfo>
  1166. <Rows>
  1167. <Row>
  1168. <Col id="label">분실</Col>
  1169. <Col id="value">1</Col>
  1170. </Row>
  1171. <Row>
  1172. <Col id="label">파손</Col>
  1173. <Col id="value">2</Col>
  1174. </Row>
  1175. <Row>
  1176. <Col id="label">소모</Col>
  1177. <Col id="value">3</Col>
  1178. </Row>
  1179. </Rows>
  1180. </Dataset>
  1181. <Dataset id="ds_cmb_sendyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1182. <ColumnInfo>
  1183. <Column id="label" type="STRING" size="256"/>
  1184. <Column id="value" type="STRING" size="256"/>
  1185. </ColumnInfo>
  1186. <Rows>
  1187. <Row>
  1188. <Col id="label">Y</Col>
  1189. <Col id="value">Y</Col>
  1190. </Row>
  1191. <Row>
  1192. <Col id="label">N</Col>
  1193. <Col id="value">N</Col>
  1194. </Row>
  1195. </Rows>
  1196. </Dataset>
  1197. <Dataset id="ds_cmb_rsltflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1198. <ColumnInfo>
  1199. <Column id="label" type="STRING" size="256"/>
  1200. <Column id="value" type="STRING" size="256"/>
  1201. </ColumnInfo>
  1202. <Rows>
  1203. <Row>
  1204. <Col id="label">교환</Col>
  1205. <Col id="value">1</Col>
  1206. </Row>
  1207. <Row>
  1208. <Col id="label">수리</Col>
  1209. <Col id="value">2</Col>
  1210. </Row>
  1211. <Row>
  1212. <Col id="label">청구</Col>
  1213. <Col id="value">3</Col>
  1214. </Row>
  1215. </Rows>
  1216. </Dataset>
  1217. </Objects>
  1218. <Bind>
  1219. <BindItem id="item0" compid="switch1.trnswork.ipt_trnsdd" propid="value" datasetid="ds_main_cond_trnsinfo" columnid="workdd"/>
  1220. <BindItem id="item1" compid="switch1.trnswork.ipt_trnfrdd" propid="value" datasetid="ds_main_cond_trnsinfo" columnid="fromdd"/>
  1221. <BindItem id="item2" compid="switch1.trnswork.ipt_trntodd" propid="value" datasetid="ds_main_cond_trnsinfo" columnid="todd"/>
  1222. <BindItem id="item3" compid="switch1.trnswork.rdo_cdgrupid" propid="value" datasetid="ds_main_cond_trnsinfo" columnid="cdgrupid"/>
  1223. <BindItem id="item4" compid="switch1.trnswork.grp_duty.rdo_dutyflag" propid="value" datasetid="ds_main_cond_trnsinfo" columnid="flag"/>
  1224. <BindItem id="item5" compid="switch1.repair.ipt_rpirfromdd" propid="value" datasetid="ds_main_cond_repairinfo" columnid="fromdd"/>
  1225. <BindItem id="item6" compid="switch1.repair.ipt_rpirtodd" propid="value" datasetid="ds_main_cond_repairinfo" columnid="todd"/>
  1226. <BindItem id="item7" compid="switch1.repair.checkbox1" propid="value" datasetid="ds_main_cond_repairinfo" columnid="chkyn"/>
  1227. <BindItem id="item8" compid="switch1.good.ipt_goodtodd" propid="value" datasetid="ds_main_cond_goodinfo" columnid="todd"/>
  1228. <BindItem id="item9" compid="switch1.good.ipt_goodfromdd" propid="value" datasetid="ds_main_cond_goodinfo" columnid="fromdd"/>
  1229. <BindItem id="item10" compid="switch1.good.radio3" propid="value" datasetid="ds_main_cond_goodinfo" columnid="flag"/>
  1230. </Bind>
  1231. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1232. * System Name :
  1233. * Job Name :
  1234. * Creator :
  1235. * Make Date : 2017-02-15
  1236. * Description :
  1237. *---------------------------------------------------------------------------------------
  1238. * Modify Date Modifier Modify Description
  1239. *---------------------------------------------------------------------------------------
  1240. * 2017-02-15 Live Converter TF->XP
  1241. *
  1242. *---------------------------------------------------------------------------------------
  1243. ****************************************************************************************/
  1244. //=======================================================================================
  1245. // Lib Include
  1246. //---------------------------------------------------------------------------------------
  1247. include "com_commonxp::comm_main.xjs";
  1248. //include "emr_carecomxp::CareCom.xjs";
  1249. var arErrorCode = new HashArray();
  1250. //=======================================================================================
  1251. // Function
  1252. //---------------------------------------------------------------------------------------
  1253. /****************************************************************************************
  1254. * Argument : N/A
  1255. * Description : 조회실행
  1256. ****************************************************************************************/
  1257. var cmtflag = "";
  1258. function fChklistSrch() {
  1259. cmtflag = "";
  1260. var workdd = model.getValue("/root/main/cond/chklist/workdd");
  1261. var chkdd1 = workdd.toDate("YYYYMMDD");
  1262. var workweek = getDateTime(chkdd1, 'W');
  1263. model.setValue("/root/main/cond/chklist/workweek", workweek);
  1264. model.removenode("/root/send/chksend");
  1265. model.makeValue("/root/send/chksend/workdd", workdd);
  1266. model.makeValue("/root/send/chksend/dd", workdd.substr(6,2));
  1267. model.makeValue("/root/send/chksend/workweek", workweek);
  1268. model.makeValue("/root/send/chksend/userdeptcd", getUserInfo("dutplcecd"));
  1269. model.makeValue("/root/send/chksend/gubn", "A");
  1270. submit("TRMNP00571");
  1271. var node1 = instance1.selectNodes("/root/main/chklists/dutycmtlist1");
  1272. var node2 = instance1.selectNodes("/root/main/chklists/dutycmtlist2");
  1273. var node3 = instance1.selectNodes("/root/main/chklists/dutycmtlist3");
  1274. var node4 = instance1.selectNodes("/root/main/chklists/chieflist");
  1275. if(node1.length > 0) {
  1276. model.makeValue("/root/main/cond/chklist/certid1", model.getValue("/root/main/chklists/dutycmtlist1/certid"));
  1277. model.makeValue("/root/main/cond/chklist/certnm1", model.getValue("/root/main/chklists/dutycmtlist1/certnm"));
  1278. model.makeValue("/root/main/cond/chklist/cmt1" , model.getValue("/root/main/chklists/dutycmtlist1/cmt"));
  1279. } else {
  1280. model.makeValue("/root/main/cond/chklist/certid1", getUserInfo("userid"));
  1281. model.makeValue("/root/main/cond/chklist/certnm1", getUserInfo("usernm"));
  1282. model.makeValue("/root/main/cond/chklist/cmt1", "");
  1283. }
  1284. if(node2.length >0) {
  1285. model.makeValue("/root/main/cond/chklist/certid2", model.getValue("/root/main/chklists/dutycmtlist2/certid"));
  1286. model.makeValue("/root/main/cond/chklist/certnm2", model.getValue("/root/main/chklists/dutycmtlist2/certnm"));
  1287. model.makeValue("/root/main/cond/chklist/cmt2" , model.getValue("/root/main/chklists/dutycmtlist2/cmt"));
  1288. } else {
  1289. model.makeValue("/root/main/cond/chklist/certid2", getUserInfo("userid"));
  1290. model.makeValue("/root/main/cond/chklist/certnm2", getUserInfo("usernm"));
  1291. model.makeValue("/root/main/cond/chklist/cmt2", "");
  1292. }
  1293. if(node3.length > 0) {
  1294. model.makeValue("/root/main/cond/chklist/certid3", model.getValue("/root/main/chklists/dutycmtlist3/certid"));
  1295. model.makeValue("/root/main/cond/chklist/certnm3", model.getValue("/root/main/chklists/dutycmtlist3/certnm"));
  1296. model.makeValue("/root/main/cond/chklist/cmt3" , model.getValue("/root/main/chklists/dutycmtlist3/cmt"));
  1297. } else {
  1298. model.makeValue("/root/main/cond/chklist/certid3", getUserInfo("userid"));
  1299. model.makeValue("/root/main/cond/chklist/certnm3", getUserInfo("usernm"));
  1300. model.makeValue("/root/main/cond/chklist/cmt3", "");
  1301. }
  1302. var existyn = "N";
  1303. var chiefid="";
  1304. if(node4.length > 0) {
  1305. chiefid = model.getValue("/root/main/chklists/chieflist/chiefid");
  1306. if(chiefid == "") {
  1307. ipt_chiefid.value = "";
  1308. ipt_chiefnm.value = "";
  1309. } else {
  1310. ipt_chiefid.value = model.getValue("/root/main/chklists/chieflist/chiefid");
  1311. ipt_chiefnm.value = model.getValue("/root/main/chklists/chieflist/chiefnm");
  1312. existyn = "Y";
  1313. }
  1314. } else {
  1315. }
  1316. if(existyn == "Y") {
  1317. ipt_chiefnm.value = ipt_chiefnm.value + "(완료)";
  1318. }
  1319. submit("TRMNP00572");
  1320. }
  1321. function fChklistsSave(seq){
  1322. var msg = messageBox("체크된 정보를","Q002");
  1323. if(msg =="6"){
  1324. if(seq == 1) {
  1325. model.makeValue("/root/main/cond/chklist/certid" + seq, getUserInfo("userid"));
  1326. model.makeValue("/root/main/cond/chklist/certnm" + seq, getUserInfo("usernm"));
  1327. }
  1328. var datagrid = document.controls("grd_chk" + seq);
  1329. var cmt = document.controls("tar_chk" + seq);
  1330. var certid = document.controls("ipt_certid" + seq);
  1331. var updt = getGridUpdateData(datagrid);
  1332. model.makeValue("/root/send/savedata/dutylist", updt);
  1333. var cmtcnt = cmt.value;
  1334. var certidcnt = certid.value;
  1335. if(certidcnt == "" || certidcnt == null) {
  1336. certidcnt = getUserInfo("userid");
  1337. }
  1338. model.makeValue("/root/send/savedata/cmt", cmtcnt);
  1339. model.makeValue("/root/send/savedata/certid", certidcnt);
  1340. model.makeValue("/root/send/savedata/gubn", "A");
  1341. model.makeValue("/root/send/savedata/workdd", ipt_workdd.value);
  1342. model.makeValue("/root/send/savedata/dutycd", datagrid.valueMatrix(1, datagrid.colRef("dutycd")));
  1343. if(submit("TXMNP00571")){
  1344. messageBox("저장","I002");
  1345. fChklistSrch();
  1346. }
  1347. } else {
  1348. return;
  1349. }
  1350. }
  1351. function fChgRptUserid(grdObj){
  1352. var datagrid = document.controls(grdObj);
  1353. if(datagrid.col == datagrid.colRef("chkyn")){
  1354. for(var k= datagrid.fixedRows;k < datagrid.rows; k++){
  1355. var Workdd = datagrid.valueMatrix(k,datagrid.colRef("workdd"));
  1356. var Lastupdtrid = datagrid.valueMatrix(k,datagrid.colRef("lastupdtrid"));
  1357. var Comuserid = getUserId();
  1358. if((Workdd !="")&&(Lastupdtrid!="")){
  1359. datagrid.valueMatrix(k,datagrid.colRef("lastupdtrid"))=Comuserid;
  1360. datagrid.rowStatus(k) = "2";
  1361. }
  1362. }
  1363. }
  1364. }
  1365. function fChngNarcList(grdObj) {
  1366. var datagrid = document.controls(grdObj);
  1367. var prcpqty = datagrid.valueMatrix(datagrid.row, datagrid.colRef("prcpqty"));
  1368. var curqty = datagrid.valueMatrix(datagrid.row, datagrid.colRef("curqty"));
  1369. var qty = datagrid.valueMatrix(datagrid.row, datagrid.colRef("qty"));
  1370. if(datagrid.col == datagrid.colRef("curqty") && curqty !="" && curqty != null){
  1371. datagrid.valueMatrix(datagrid.row, datagrid.colRef("prcpqty")) = parseInt(qty) - parseInt(curqty);
  1372. datagrid.rowStatus(datagrid.row) = "2";
  1373. }
  1374. }
  1375. /****************************************************************************************
  1376. * Argument : calcn - 순번
  1377. * : calcd - 대상일자
  1378. * Description : 조회기간계산
  1379. ****************************************************************************************/
  1380. function fCalcdate(calcn, calcd){
  1381. calcd = calcd.toDate("YYYYMMDD");
  1382. calcd = calcd.getAddDate(calcn , "D");
  1383. calcd = calcd.getDateFormat("YYYYMMDD");
  1384. return calcd;
  1385. }
  1386. /****************************************************************************************
  1387. * Argument : fromdd - 대상일자
  1388. * Description : 일자계산하여 조회기간 설정
  1389. ****************************************************************************************/
  1390. function fCalcWorkDate(fromdd) {
  1391. var sDate = fromdd;
  1392. var sFromDate = sDate.toDate();
  1393. var sToDate = sDate.toDate();
  1394. var sWeek = sFromDate.getDayOfWeek("N");
  1395. if(sWeek == 0) {
  1396. sWeek = 7;
  1397. }
  1398. var sFromday = 0;
  1399. var sToday = 0;
  1400. sFromday = parseInt(sWeek) -1;
  1401. sToday = 7 - parseInt(sWeek);
  1402. var sfrmdd = sFromDate.getAddDate( sFromday * -1 , "D");
  1403. sfrmdd = sfrmdd.getDateFormat();
  1404. var stodd = sToDate.getAddDate(sToday).getDateFormat();
  1405. ds_main_cond_trnsinfo.setColumn(0,"fromdd",sfrmdd);
  1406. ds_main_cond_trnsinfo.setColumn(0,"todd",stodd);
  1407. }
  1408. function fSaveErPrcpInfo(pStat) {
  1409. var sel;
  1410. if(grd_erdruglist.rows > 0) {
  1411. for(var i = grd_erdruglist.fixedRows; i < grd_erdruglist.rows; i++) {
  1412. sel = grd_erdruglist.valueMatrix(i, grd_erdruglist.colRef("sel"));
  1413. if(sel == "Y") {
  1414. if(pStat == "Save") {
  1415. grd_erdruglist.valueMatrix(i, grd_erdruglist.colRef("scgubn")) = "S";
  1416. } else if(pStat == "Cancel") {
  1417. grd_erdruglist.valueMatrix(i, grd_erdruglist.colRef("scgubn")) = "C";
  1418. } else if(pStat == "Memo") {
  1419. grd_erdruglist.valueMatrix(i, grd_erdruglist.colRef("scgubn")) = "M";
  1420. }
  1421. }
  1422. }
  1423. }
  1424. var updt = getGridUpdateData(grd_erdruglist);
  1425. model.makeValue("/root/send/savedata/erprcpinfo/erdruglist", updt);
  1426. submit("TXMNP07406");
  1427. btn_erprcp.dispatch("DOMActivate");
  1428. }
  1429. //마약관리를 조회한다.
  1430. function fNarcSrch() {
  1431. model.removeNodeset("/root/send/narcsend");
  1432. model.makeNode("/root/send/narcsend");
  1433. model.copyNode("/root/send/narcsend", "/root/main/cond/narcinfo");
  1434. //마약리스트를 조회한다.
  1435. submit("TRMNP07406");
  1436. fChkNarcAuth();
  1437. }
  1438. function fChkNarcAuth() {
  1439. var btn; //btn_cert
  1440. var btn1; //btn_trnsin
  1441. var btn2; //btn_narccert
  1442. var btn3; //btn_certcncl
  1443. var btn4; //btn_trnsincncl
  1444. var chiefcertid = model.getValue("/root/main/narcinfo/trnslist/chiefcertid");
  1445. //수간호사 확인이 되었을 경우, 현량 수정 및 인계, 인수자 변경불가.
  1446. if(chiefcertid != "" && chiefcertid != null) {
  1447. for(var i = 1; i <= 3; i++) {
  1448. btn = document.controls("btn_cert" + i);
  1449. btn1 = document.controls("btn_trnsin" + i);
  1450. btn2 = document.controls("btn_narccert" + i);
  1451. btn3 = document.controls("btn_certcncl" + i);
  1452. btn4 = document.controls("btn_trnsincncl" + i);
  1453. btn.disabled = true;
  1454. btn1.disabled = true;
  1455. btn2.disabled = true;
  1456. btn3.disabled = true;
  1457. btn4.disabled = true;
  1458. }
  1459. } else {
  1460. for(var i = 1; i <= 3; i++) {
  1461. btn = document.controls("btn_cert" + i);
  1462. btn1 = document.controls("btn_trnsin" + i);
  1463. btn2 = document.controls("btn_narccert" + i);
  1464. btn3 = document.controls("btn_certcncl" + i);
  1465. btn4 = document.controls("btn_trnsincncl" + i);
  1466. btn.disabled = false;
  1467. btn1.disabled = false;
  1468. btn2.disabled = false;
  1469. btn3.disabled = false;
  1470. btn4.disabled = false;
  1471. }
  1472. for(var i = 1; i <= 3; i++) {
  1473. var trnsinnm = model.getValue("/root/main/narcinfo/trnslist/trnsinnm" + i);
  1474. var certnm = model.getValue("/root/main/narcinfo/trnslist/certnm" + i);
  1475. btn = document.controls("btn_cert" + i);
  1476. btn1 = document.controls("btn_trnsin" + i);
  1477. btn2 = document.controls("btn_narccert" + i);
  1478. btn3 = document.controls("btn_certcncl" + i);
  1479. btn4 = document.controls("btn_trnsincncl" + i);
  1480. btn1.disabled = false;
  1481. if(certnm =="" || certnm == null) {
  1482. btn1.disabled = true;
  1483. btn4.disabled = true;
  1484. }
  1485. //인수가 되었을경우, 인계확인, 현량수정 저장할수 없게 막음.
  1486. if(trnsinnm!="" && trnsinnm != null) {
  1487. btn.disabled = true;
  1488. btn2.disabled = true;
  1489. btn3.disabled = true;
  1490. } else {
  1491. btn.disabled = false;
  1492. btn2.disabled = false;
  1493. btn3.disabled = false;
  1494. }
  1495. }
  1496. }
  1497. }
  1498. function fSaveNarcInfo(flag, dutycd, cnclflag) {
  1499. var workdd = ipt_narcdd.value;
  1500. var grdnm;
  1501. var dutynm = "";
  1502. var flagnm = "";
  1503. if(dutycd == "D") {
  1504. grdnm = document.controls("grd_narclist1");
  1505. dutynm = "Day";
  1506. } else if(dutycd == "E") {
  1507. grdnm = document.controls("grd_narclist2");
  1508. dutynm="Evening";
  1509. } else if(dutycd == "N") {
  1510. grdnm = document.controls("grd_narclist3");
  1511. dutynm = "Night";
  1512. }
  1513. if(flag == "1") {
  1514. for(var i = grdnm.fixedRows; i < grdnm.rows; i++) {
  1515. grdnm.rowStatus(i) = "2";
  1516. }
  1517. model.makeValue("/root/send/savedata/narcinfo/narclist", getGridUpdateData(grdnm));
  1518. submit("TXMNP07407");
  1519. if(cnclflag == "" || cnclflag == null) {
  1520. flagnm = "인계확인";
  1521. } else {
  1522. flagnm = "인계취소";
  1523. }
  1524. } else if(flag == "2") {
  1525. if(cnclflag == "" || cnclflag == null) {
  1526. flagnm = "인수확인";
  1527. } else {
  1528. flagnm = "인수취소";
  1529. }
  1530. }
  1531. var rtn;
  1532. if(flag == "1" || flag == "2") {
  1533. rtn = messageBox(workdd.substr(0,4) + "년 " + workdd.substr(4, 2) + "월 " + workdd.substr(6, 2) + "일 " + dutynm + "번 근무 "+ flagnm + "을 하시겠습니까?", "Q");
  1534. } else { //flag == "3"
  1535. if(cnclflag != "" && cnclflag != null) {
  1536. rtn = messageBox(workdd.substr(0,4) + "년 " + workdd.substr(4, 2) + "월 " + workdd.substr(6, 2) + "일 " + "수간호사 마약확인 취소를 하시겠습니까? ", "Q");
  1537. } else {
  1538. rtn = messageBox("확인후엔 인계, 인수 내역을 수정하실수 없습니다.\n" + workdd.substr(0,4) + "년 " + workdd.substr(4, 2) + "월 " + workdd.substr(6, 2) + "일 " + "수간호사 마약확인을 하시겠습니까? ", "Q");
  1539. }
  1540. }
  1541. //flag가 3일경우 dutycd 값이 ''이면 확인 ''이 아니면 취소로 사용하겠음.
  1542. if(rtn == "6") {
  1543. model.makeValue("/root/send/savedata/workdd", ipt_narcdd.value);
  1544. model.makeValue("/root/send/savedata/cdgrupid", rdo_nacgrup.value);
  1545. model.makeValue("/root/send/savedata/flag", flag);
  1546. model.makeValue("/root/send/savedata/dutycd", dutycd);
  1547. model.makeValue("/root/send/savedata/cnclflag",cnclflag);
  1548. submit("TXMNN03002"); // 140916 - AYS
  1549. } else {
  1550. }
  1551. fNarcSrch();
  1552. }
  1553. /****************************************************************************************
  1554. * Argument : N/A
  1555. * Description : 탭버튼 선택시 클래스 초기화
  1556. ****************************************************************************************/
  1557. function lf_btnNoSelect() {
  1558. button1.class = "btn_tab";
  1559. btn_trns.class = "btn_tab";
  1560. button13.class = "btn_tab";
  1561. button22.class = "btn_tab";
  1562. button30.class = "btn_tab";
  1563. //사용하지 않는듯 하다
  1564. // button2.class = "btn_tab";
  1565. // button26.class = "btn_tab";
  1566. }
  1567. //=======================================================================================
  1568. // Event
  1569. //---------------------------------------------------------------------------------------
  1570. /****************************************************************************************
  1571. * Components : Form
  1572. * Description : 화면 처음 초기화시 폼초기화
  1573. ****************************************************************************************/
  1574. function SMMNN03000_oninit(obj:Form, e:InitEventInfo)
  1575. {
  1576. frmf_initForm(obj); // 폼 초기화
  1577. }
  1578. function SMMNN03000_onload(obj:Form, e:LoadEventInfo)
  1579. {
  1580. dsf_createDsRow("ds_send2_reqdata", [
  1581. {col:"cdgrupid", type:"STRING", size:256, val:"'045'"}
  1582. , {col:"srchdd", type:"STRING", size:256, val:utlf_getCurrentDate()}
  1583. , {col:"flag", type:"STRING", size:256, val:""}
  1584. , {col:"allflag", type:"STRING", size:256, val:""}
  1585. ]);
  1586. var oParam = {};
  1587. oParam.id = "TRMNW00001";
  1588. oParam.service = "wardcareapp.WardCareMngt";
  1589. oParam.method = "reqGetNursHardCdInfo";
  1590. oParam.inds = "req=ds_send2_reqdata";
  1591. oParam.outds = "ds_codelist=codelist";
  1592. oParam.async = false;
  1593. //oParam.callback = "cf_TRMNW00001";
  1594. tranf_submit(oParam);
  1595. var jobposcd = sysf_getUserInfo("jobposcd");
  1596. jobposcd = "75";
  1597. if(jobposcd == "75") {
  1598. switch1.chklist.btn_cert.enable = true;
  1599. switch1.chklist.btn_baseinfo.enable = true;
  1600. } else {
  1601. switch1.chklist.btn_cert.enable = false;
  1602. switch1.chklist.btn_baseinfo.enable = false;
  1603. }
  1604. grdf_setRowTypeIcon(switch1.trnswork.grd_trnslist, 0); // 그리드 상태 표시
  1605. }
  1606. /****************************************************************************************
  1607. * Components : Button
  1608. * Description : 탭버튼 선택 이벤트
  1609. ****************************************************************************************/
  1610. function Button_onclick(obj:Button, e:ClickEventInfo)
  1611. {
  1612. lf_btnNoSelect();
  1613. obj.class = "btn_tab_S";
  1614. if(obj.name == "button1") switch1.tabindex = 0;
  1615. if(obj.name == "btn_trns") {
  1616. switch1.tabindex = 2;
  1617. ds_main_trnssaveinfo.clearData();
  1618. ds_main_cond_trnsinfo.setColumn(0,"workdd",utlf_getCurrentDate());
  1619. fCalcWorkDate(utlf_getCurrentDate());
  1620. ds_main_cond_trnsinfo.setColumn(0,"cdgrupid","001");
  1621. switch1.trnswork.grd_trnslist.setFormatColProperty(switch1.trnswork.grd_trnslist.getBindCellIndex("body","exprdd"),"size",0);
  1622. switch1_trnswork_btn_searchtrns_onclick();
  1623. }
  1624. if(obj.name == "button13") {
  1625. switch1.tabindex = 3;
  1626. ds_main_cond_repairinfo.setColumn(0,"fromdd",utlf_getCurrentDate());
  1627. ds_main_cond_repairinfo.setColumn(0,"todd",utlf_getCurrentDate());
  1628. dsf_makeValue(ds_main_cond_repairinfo,"deptcd","string",ds_codelist.getColumn(0,"cdid"));
  1629. switch1_repair_btn_searchrpir_onclick();
  1630. }
  1631. if(obj.name == "button22") {
  1632. switch1.tabindex = 4;
  1633. ds_main_cond_goodinfo.setColumn(0,"fromdd",utlf_getCurrentDate());
  1634. ds_main_cond_goodinfo.setColumn(0,"todd",utlf_getCurrentDate());
  1635. dsf_makeValue(ds_main_cond_repairinfo,"deptcd","string",ds_codelist.getColumn(0,"cdid"));
  1636. switch1_repair_btn_searchrpir_onclick();
  1637. }
  1638. if(obj.name == "button30") {
  1639. switch1.tabindex = 2;
  1640. ds_main_trnssaveinfo.clearData();
  1641. ds_main_cond_trnsinfo.setColumn(0,"workdd",utlf_getCurrentDate());
  1642. fCalcWorkDate(utlf_getCurrentDate());
  1643. ds_main_cond_trnsinfo.setColumn(0,"cdgrupid","002");
  1644. switch1.trnswork.grd_trnslist.setFormatColProperty(switch1.trnswork.grd_trnslist.getBindCellIndex("body","exprdd"),"size",90);
  1645. switch1_trnswork_btn_searchtrns_onclick();
  1646. }
  1647. //사용하지 않는듯 하다
  1648. // if(obj.name == "button2") switch1.tabindex = 1;
  1649. // if(obj.name == "button26") switch1.tabindex = 0;
  1650. }
  1651. /****************************************************************************************
  1652. * Components : Button
  1653. * Description : 물품 인계내역 조회
  1654. ****************************************************************************************/
  1655. function switch1_trnswork_btn_searchtrns_onclick(obj:Button, e:ClickEventInfo)
  1656. {
  1657. ds_main_trnssaveinfo.clearData();
  1658. // grd_trnslist.rebuildStyle();
  1659. dsf_createDs("ds_send_trnsinfo");
  1660. ds_send_trnsinfo.copyData(ds_main_cond_trnsinfo);
  1661. var oParam = {};
  1662. oParam.id = "TRMNN03002";
  1663. oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
  1664. oParam.method = "reqGetTrnsInfo";
  1665. oParam.inds = "req=ds_send_trnsinfo";
  1666. oParam.outds = "ds_main_trnsinfo_trnslist=trnslist";
  1667. oParam.async = false;
  1668. //oParam.callback = "cf_TRMNN03002";
  1669. tranf_submit(oParam);
  1670. var fromdd = ds_main_cond_trnsinfo.getColumn(0,"fromdd");
  1671. var sCalcdd;
  1672. var workdd = ds_main_cond_trnsinfo.getColumn(0,"workdd");
  1673. var sRecflag = ds_main_cond_trnsinfo.getColumn(0, "recflag");
  1674. for(var i = 1; i < 8; i++) {
  1675. sCalcdd = fCalcdate(i-1, fromdd);
  1676. if(sCalcdd == workdd) {
  1677. for(var j = 0 ; j < ds_main_trnsinfo_trnslist.rowcount; j++) {
  1678. if(ds_main_trnsinfo_trnslist.getColumn(j,"cdid") == "999999"){
  1679. continue;
  1680. }
  1681. var nRow1 = ds_main_trnssaveinfo.addRow();
  1682. ds_main_trnssaveinfo.setColumn(nRow1,"dutycd","D");
  1683. ds_main_trnssaveinfo.setColumn(nRow1,"workdd",workdd);
  1684. ds_main_trnssaveinfo.setColumn(nRow1,"cdid",ds_main_trnsinfo_trnslist.getColumn(j,"cdid"));
  1685. ds_main_trnssaveinfo.setColumn(nRow1,"qty",ds_main_trnsinfo_trnslist.getColumn(j,"d"+ (i)));
  1686. ds_main_trnssaveinfo.setColumn(nRow1,"recflag",sRecflag);
  1687. var nRow2 = ds_main_trnssaveinfo.addRow();
  1688. ds_main_trnssaveinfo.setColumn(nRow2,"dutycd","E");
  1689. ds_main_trnssaveinfo.setColumn(nRow2,"workdd",workdd);
  1690. ds_main_trnssaveinfo.setColumn(nRow2,"cdid",ds_main_trnsinfo_trnslist.getColumn(j,"cdid"));
  1691. ds_main_trnssaveinfo.setColumn(nRow2,"qty",ds_main_trnsinfo_trnslist.getColumn(j,"e"+ (i)));
  1692. ds_main_trnssaveinfo.setColumn(nRow2,"recflag",sRecflag);
  1693. var nRow3 = ds_main_trnssaveinfo.addRow();
  1694. ds_main_trnssaveinfo.setColumn(nRow3,"dutycd","N");
  1695. ds_main_trnssaveinfo.setColumn(nRow3,"workdd",workdd);
  1696. ds_main_trnssaveinfo.setColumn(nRow3,"cdid",ds_main_trnsinfo_trnslist.getColumn(j,"cdid"));
  1697. ds_main_trnssaveinfo.setColumn(nRow3,"qty",ds_main_trnsinfo_trnslist.getColumn(j,"n"+ (i)));
  1698. ds_main_trnssaveinfo.setColumn(nRow3,"recflag",sRecflag);
  1699. ds_main_trnsinfo_trnslist.enableevent = false;
  1700. ds_main_trnsinfo_trnslist.updatecontrol = false;
  1701. ds_main_trnsinfo_trnslist.addColumn("editvalue" + (i),"string");
  1702. ds_main_trnsinfo_trnslist.addColumn("backgrvalue" + (i),"string");
  1703. ds_main_trnsinfo_trnslist.addColumn("fontvalue" + (i),"string");
  1704. ds_main_trnsinfo_trnslist.setColumn(j,"editvalue" + (i),"text");
  1705. ds_main_trnsinfo_trnslist.setColumn(j,"backgrvalue" + (i),"#eeffee");
  1706. ds_main_trnsinfo_trnslist.setColumn(j,"fontvalue" + (i),"Dotum,9,bold");
  1707. ds_main_trnsinfo_trnslist.updatecontrol = true;
  1708. ds_main_trnsinfo_trnslist.enableevent = true;
  1709. ds_main_trnsinfo_trnslist.enableevent = false;
  1710. ds_main_trnsinfo_trnslist.updatecontrol = false;
  1711. switch1.trnswork.grd_trnslist.setCellProperty("Head",i+4 ,"font","Dotum,9,bold");
  1712. switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+9 ,"font","Dotum,9,bold");
  1713. switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+10 ,"font","Dotum,9,bold");
  1714. switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+11 ,"font","Dotum,9,bold");
  1715. ds_main_trnsinfo_trnslist.updatecontrol = true;
  1716. ds_main_trnsinfo_trnslist.enableevent = true;
  1717. }
  1718. } else {
  1719. ds_main_trnsinfo_trnslist.enableevent = false;
  1720. ds_main_trnsinfo_trnslist.updatecontrol = false;
  1721. dsf_setFixVal(ds_main_trnsinfo_trnslist, "editvalue" + (i)+":none,backgrvalue" + (i)+":,fontvalue" + (i)+":");
  1722. switch1.trnswork.grd_trnslist.setCellProperty("Head",i+4 ,"font","Dotum,9");
  1723. switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+9 ,"font","Dotum,9");
  1724. switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+10 ,"font","Dotum,9");
  1725. switch1.trnswork.grd_trnslist.setCellProperty("Head",(i*4)+11 ,"font","Dotum,9");
  1726. ds_main_trnsinfo_trnslist.updatecontrol = true;
  1727. ds_main_trnsinfo_trnslist.enableevent = true;
  1728. }
  1729. ds_main_trnsinfo_trnslist.enableevent = false;
  1730. ds_main_trnsinfo_trnslist.updatecontrol = false;
  1731. switch1.trnswork.grd_trnslist.setCellProperty("Head",i+4,"text",sCalcdd.substr(0,4) + "-" + sCalcdd.substr(4,2) + "-" + sCalcdd.substr(6,2));
  1732. ds_main_trnsinfo_trnslist.updatecontrol = true;
  1733. ds_main_trnsinfo_trnslist.enableevent = true;
  1734. }
  1735. }
  1736. /****************************************************************************************
  1737. * Components : Button
  1738. * Description : 전일 조회
  1739. ****************************************************************************************/
  1740. function switch1_trnswork_button12_onclick(obj:Button, e:ClickEventInfo)
  1741. {
  1742. var sChkdd = ds_main_cond_trnsinfo.getColumn(0,"workdd");
  1743. var sCalcdd = fCalcdate(-1, sChkdd);
  1744. ds_main_cond_trnsinfo.setColumn(0,"workdd",sCalcdd);
  1745. var chkdd1 = sCalcdd.toDate("YYYYMMDD");
  1746. switch1_trnswork_ipt_trnsdd_onchanged();
  1747. }
  1748. /****************************************************************************************
  1749. * Components : Button
  1750. * Description : 후일 조회
  1751. ****************************************************************************************/
  1752. function switch1_trnswork_button11_onclick(obj:Button, e:ClickEventInfo)
  1753. {
  1754. var sChkdd = ds_main_cond_trnsinfo.getColumn(0,"workdd");
  1755. var sCalcdd = fCalcdate(1, sChkdd);
  1756. ds_main_cond_trnsinfo.setColumn(0,"workdd",sCalcdd);
  1757. var chkdd1 = sCalcdd.toDate("YYYYMMDD");
  1758. switch1_trnswork_ipt_trnsdd_onchanged();
  1759. }
  1760. /****************************************************************************************
  1761. * Components : Button
  1762. * Description : 선택일자 조회
  1763. ****************************************************************************************/
  1764. function switch1_trnswork_ipt_trnsdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  1765. {
  1766. fCalcWorkDate(ds_main_cond_trnsinfo.getColumn(0,"workdd"));
  1767. switch1_trnswork_btn_searchtrns_onclick();
  1768. }
  1769. /****************************************************************************************
  1770. * Components : Button
  1771. * Description : 엑셀 저장
  1772. ****************************************************************************************/
  1773. function switch1_trnswork_button18_onclick(obj:Button, e:ClickEventInfo)
  1774. {
  1775. var name = switch1.trnswork.rdo_cdgrupid.text;
  1776. if( ds_main_trnsinfo_trnslist.rowcount > 0 ){
  1777. grdf_exportExcel(switch1.trnswork.grd_trnslist, name, name, false, "", "user", false);
  1778. } else {
  1779. sysf_messageBox("조회된 데이터가 ", "I004");
  1780. }
  1781. }
  1782. /****************************************************************************************
  1783. * Components : Radio
  1784. * Description : 구분선택
  1785. ****************************************************************************************/
  1786. function switch1_trnswork_rdo_cdgrupid_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1787. {
  1788. switch1_trnswork_btn_searchtrns_onclick();
  1789. }
  1790. /****************************************************************************************
  1791. * Components : Button
  1792. * Description : 분만실인계장기준자료 팝업 오픈
  1793. ****************************************************************************************/
  1794. function switch1_trnswork_button7_onclick(obj:Button, e:ClickEventInfo)
  1795. {
  1796. frmf_modal("SMMNN03200","SMMNN03200","","","","","","","","","","","M");
  1797. }
  1798. /****************************************************************************************
  1799. * Components : Button
  1800. * Description : 저장 그룹 오픈
  1801. ****************************************************************************************/
  1802. function switch1_trnswork_button10_onclick(obj:Button, e:ClickEventInfo)
  1803. {
  1804. switch1.trnswork.grp_duty.visible = true;
  1805. }
  1806. /****************************************************************************************
  1807. * Components : Button
  1808. * Description : 저장 확인
  1809. ****************************************************************************************/
  1810. function switch1_trnswork_grp_duty_bnt_patlabel_nm_onclick(obj:Button, e:ClickEventInfo)
  1811. {
  1812. switch1_trnswork_button5_onclick();
  1813. switch1.trnswork.grp_duty.visible = false;
  1814. var workdd = ds_main_cond_trnsinfo.getColumn(0,"workdd");
  1815. var sRecflag = ds_main_cond_trnsinfo.getColumn(0, "recflag");
  1816. var duty = ds_main_cond_trnsinfo.getColumn(0,"flag");
  1817. var dutynm = "";
  1818. if(utlf_isNull(duty)) {
  1819. dutynm = "전체";
  1820. } else if(duty == "D") {
  1821. dutynm = "Day";
  1822. } else if(duty == "E") {
  1823. dutynm = "Evening";
  1824. } else if(duty == "N") {
  1825. dutynm = "Night";
  1826. }
  1827. var rtn = sysf_messageBox(workdd.substr(0,4) + "-" + workdd.substr(4,2) + "-" + workdd.substr(6,2) + "일 " + dutynm + " 저장_확인을 하시겠습니까?", "Q");
  1828. if(rtn == "6") {
  1829. dsf_createDsRow("ds_send_savedata", [{col: "workdd" , val: ds_main_cond_trnsinfo.getColumn(0,"workdd")}
  1830. ,{col: "dutycd" , val: ds_main_cond_trnsinfo.getColumn(0,"flag")}
  1831. ,{col: "cdgrupid" , val: ds_main_cond_trnsinfo.getColumn(0,"cdgrupid")}
  1832. ,{col: "recflag" , val: sRecflag}
  1833. ]);
  1834. var oParam = {};
  1835. oParam.id = "TXMNN03002";
  1836. oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
  1837. oParam.method = "reqSetCnfmTrns";
  1838. oParam.inds = "req=ds_send_savedata";
  1839. oParam.outds = "";
  1840. oParam.async = false;
  1841. //oParam.callback = "cf_TXMNN03002";
  1842. tranf_submit(oParam);
  1843. switch1_trnswork_btn_searchtrns_onclick();
  1844. }
  1845. }
  1846. /****************************************************************************************
  1847. * Components : Button
  1848. * Description : 저장 그룹 close
  1849. ****************************************************************************************/
  1850. function switch1_trnswork_grp_duty_button27_onclick(obj:Button, e:ClickEventInfo)
  1851. {
  1852. switch1.trnswork.grp_duty.visible = false;
  1853. }
  1854. /****************************************************************************************
  1855. * Components : Button
  1856. * Description : 숨은 저장
  1857. ****************************************************************************************/
  1858. function switch1_trnswork_button5_onclick(obj:Button, e:ClickEventInfo)
  1859. {
  1860. for(var i = 0; i < ds_main_trnssaveinfo.rowcount; i++) {
  1861. grdf_setStatus(switch1.trnswork.grd_trnssaveinfo, "D", [i]);
  1862. }
  1863. var updtdata = grdf_getGridUpdateData(switch1.trnswork.grd_trnssaveinfo, "all");
  1864. grdf_setStatusColumn(updtdata, "status");
  1865. // if(!utlf_isNull(updtdata)) {
  1866. if(updtdata.rowcount > 0) {
  1867. dsf_createDs("ds_send_savedata_trnslist");
  1868. ds_send_savedata_trnslist.copyData(updtdata,true);
  1869. dsf_setDefaultVal(ds_send_savedata_trnslist, "qty:0");
  1870. var oParam = {};
  1871. oParam.id = "TXMNN03003";
  1872. oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
  1873. oParam.method = "reqSetTrnsInfo";
  1874. oParam.inds = "req=ds_send_savedata_trnslist";
  1875. oParam.outds = "";
  1876. oParam.async = false;
  1877. //oParam.callback = "cf_TXMNN03003";
  1878. tranf_submit(oParam);
  1879. }
  1880. if(!utlf_isNull(cmtflag)) {
  1881. var updtdata = grdf_getGridUpdateData(switch1.trnswork.grd_trnslist, "all");
  1882. dsf_createDs("ds_send_savedata_cmtlist");
  1883. ds_send_savedata_cmtlist.copyData(updtdata,true);
  1884. dsf_setFixVal(ds_send_savedata_cmtlist, "cdgrupid:"+ds_main_cond_trnsinfo.getColumn(0,"cdgrupid")+",recflag:"+ds_main_cond_trnsinfo.getColumn(0,"recflag"));
  1885. var oParam = {};
  1886. oParam.id = "TXMNN03004";
  1887. oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
  1888. oParam.method = "reqSetTrnsCmtInfo";
  1889. oParam.inds = "req=ds_send_savedata_cmtlist";
  1890. oParam.outds = "";
  1891. oParam.async = false;
  1892. //oParam.callback = "cf_TXMNN03004";
  1893. tranf_submit(oParam);
  1894. switch1_trnswork_btn_searchtrns_onclick();
  1895. }
  1896. }
  1897. /****************************************************************************************
  1898. * Components : Button
  1899. * Description : 장비수리 조회
  1900. ****************************************************************************************/
  1901. function switch1_repair_btn_searchrpir_onclick(obj:Button, e:ClickEventInfo)
  1902. {
  1903. ds_main_trnssaveinfo.clearData();
  1904. dsf_createDs("ds_send_repairinfo");
  1905. ds_send_repairinfo.copyData(ds_main_cond_repairinfo);
  1906. var oParam = {};
  1907. oParam.id = "TRMNP07403";
  1908. oParam.service = "opanstapp.OpAnstRec";
  1909. oParam.method = "reqGetRepairInfo";
  1910. oParam.inds = "req=ds_send_repairinfo";
  1911. oParam.outds = "ds_main_repairinfo_repairlist=repairlist";
  1912. oParam.async = true;
  1913. //oParam.callback = "cf_TRMNP07403";
  1914. tranf_submit(oParam);
  1915. }
  1916. /****************************************************************************************
  1917. * Components : Button
  1918. * Description : 장비수리 엑셀저장
  1919. ****************************************************************************************/
  1920. function switch1_repair_button19_onclick(obj:Button, e:ClickEventInfo)
  1921. {
  1922. if( ds_main_repairinfo_repairlist.rowcount > 0 ){
  1923. grdf_exportExcel(switch1.repair.grd_repairlist, "장비수리내역", "장비수리내역", false, "", "user", false);
  1924. } else {
  1925. sysf_messageBox("조회된 데이터가 ", "I004");
  1926. }
  1927. }
  1928. /****************************************************************************************
  1929. * Components : CheckBox
  1930. * Description : 완료제외 체크
  1931. ****************************************************************************************/
  1932. function switch1_repair_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
  1933. {
  1934. if(obj.value == false) ds_main_cond_repairinfo.setColumn(0,"chkyn","");
  1935. }
  1936. /****************************************************************************************
  1937. * Components : Button
  1938. * Description : 물품수리 조회
  1939. ****************************************************************************************/
  1940. function switch1_good_btn_searchgood_onclick(obj:Button, e:ClickEventInfo)
  1941. {
  1942. var sRecflag = ds_main_cond_trnsinfo.getColumn(0,"recflag");
  1943. dsf_makeValue(ds_main_cond_goodinfo,"recflag","string",sRecflag);
  1944. ds_main_trnssaveinfo.clearData();
  1945. dsf_createDs("ds_send_goodinfo");
  1946. ds_send_goodinfo.copyData(ds_main_cond_goodinfo);
  1947. var oParam = {};
  1948. oParam.id = "TRMNN03001";
  1949. oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
  1950. oParam.method = "reqGetGoodRpirInfo";
  1951. oParam.inds = "req=ds_send_goodinfo";
  1952. oParam.outds = "ds_main_goodinfo_goodlist=goodlist";
  1953. oParam.async = true;
  1954. //oParam.callback = "cf_TRMNN03001";
  1955. tranf_submit(oParam);
  1956. }
  1957. /****************************************************************************************
  1958. * Components : Button
  1959. * Description : 물품수리내역 엑셀저장
  1960. ****************************************************************************************/
  1961. function switch1_good_button20_onclick(obj:Button, e:ClickEventInfo)
  1962. {
  1963. if( ds_main_goodinfo_goodlist.rowcount > 0 ){
  1964. grdf_exportExcel(switch1.good.grd_goodlist, "물품수리내역", "물품수리내역", false, "", "user", false);
  1965. } else {
  1966. sysf_messageBox("조회된 데이터가 ", "I004");
  1967. }
  1968. }
  1969. /****************************************************************************************
  1970. * Components : Button
  1971. * Description : 물품수리내역 추가
  1972. ****************************************************************************************/
  1973. function switch1_good_button23_onclick(obj:Button, e:ClickEventInfo)
  1974. {
  1975. sysf_setModelProperty("flag","popup");
  1976. sysf_setModelProperty("cdgrupid","001");
  1977. frmf_modal("SMMNN03200","SMMNN03200","","","","","","","","","","","M"); //SMMNN03200_분만실인계장기준자료 미전환
  1978. sysf_setModelProperty("flag","");
  1979. sysf_setModelProperty("cdgrupid","");
  1980. }
  1981. /****************************************************************************************
  1982. * Components : Button
  1983. * Description : 물품수리내역 삭제
  1984. ****************************************************************************************/
  1985. function switch1_good_button24_onclick(obj:Button, e:ClickEventInfo)
  1986. {
  1987. var cRow = ds_main_goodinfo_goodlist.rowposition;
  1988. if( ds_main_goodinfo_goodlist.getRowType(cRow) == 2 ) {
  1989. ds_main_goodinfo_goodlist.deleteRow(cRow);
  1990. }else{
  1991. grdf_setStatus(switch1.good.grd_goodlist, "D", [cRow]);
  1992. }
  1993. }
  1994. /****************************************************************************************
  1995. * Components : Button
  1996. * Description : 물품수리내역 저장
  1997. ****************************************************************************************/
  1998. function switch1_good_button25_onclick(obj:Button, e:ClickEventInfo)
  1999. {
  2000. var updatedata = grdf_getGridUpdateData(switch1.good.grd_goodlist, "all");
  2001. grdf_setStatusColumn(updatedata, "m");
  2002. var sRecflag = ds_main_cond_trnsinfo.getColumn(0, "recflag");
  2003. if(updatedata.rowcount > 0) {
  2004. var gnrldd;
  2005. var goodnm;
  2006. var safestocqty;
  2007. var rpirflag;
  2008. for(var i = 0; i < ds_main_goodinfo_goodlist.rowcount; i++) {
  2009. gnrldd = ds_main_goodinfo_goodlist.getColumn(i,"gnrldd");
  2010. goodnm = ds_main_goodinfo_goodlist.getColumn(i,"goodnm");
  2011. rpirflag = ds_main_goodinfo_goodlist.getColumn(i,"rpirflag");
  2012. if(utlf_isNull(gnrldd)) {
  2013. sysf_messageBox("등록일자를 입력하세요", "E");
  2014. return;
  2015. }
  2016. if(utlf_isNull(goodnm)) {
  2017. sysf_messageBox("물픔을 선택하세요", "E");
  2018. return;
  2019. }
  2020. if(utlf_isNull(rpirflag)) {
  2021. sysf_messageBox("내용을 입력하세요", "E");
  2022. return;
  2023. }
  2024. }
  2025. } else {
  2026. sysf_messageBox("저장할 내역이 존재하지 않습니다.", "E");
  2027. return;
  2028. }
  2029. dsf_createDs("ds_send_savedata_goodlist");
  2030. ds_send_savedata_goodlist.copyData(updatedata,true);
  2031. ds_send_savedata_goodlist.updateColID("m","status");
  2032. ds_send_savedata_goodlist.updateColID("goodcd","cdid");
  2033. dsf_setFixVal(ds_send_savedata_goodlist, "flag:1,recflag:"+sRecflag);
  2034. var oParam = {};
  2035. oParam.id = "TXMNN03001";
  2036. oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
  2037. oParam.method = "reqExeGoodRpirInfo";
  2038. oParam.inds = "goodlist=ds_send_savedata_goodlist";
  2039. oParam.outds = "";
  2040. oParam.async = false;
  2041. //oParam.callback = "cf_TXMNN03001";
  2042. tranf_submit(oParam);
  2043. switch1_good_btn_searchgood_onclick();
  2044. }
  2045. /****************************************************************************************
  2046. * Components : Dataset
  2047. * Description : 종료일자 입력시 확인자 입력
  2048. ****************************************************************************************/
  2049. function ds_main_goodinfo_goodlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2050. {
  2051. if(e.columnid == "enddd") {
  2052. obj.setColumn(e.row,"certid",sysf_getUserInfo("userid"));
  2053. obj.setColumn(e.row,"certnm",sysf_getUserInfo("usernm"));
  2054. }
  2055. }
  2056. function switch1_trnswork_grd_trnslist_onkeydown(obj:Grid, e:KeyEventInfo)
  2057. {
  2058. if(e.keycode == 13){
  2059. obj.showEditor(false);
  2060. }
  2061. }
  2062. function ds_main_trnsinfo_trnslist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2063. {
  2064. switch1.trnswork.grd_trnslist.updateToDataset();
  2065. var col = switch1.trnswork.grd_trnslist.currentcol;
  2066. var ref;
  2067. var seq;
  2068. var duty;
  2069. var workdd;
  2070. var dutycd;
  2071. var cdid;
  2072. if(col >= switch1.trnswork.grd_trnslist.getBindCellIndex("body", "d1") && col <= switch1.trnswork.grd_trnslist.getBindCellIndex("body", "n7")) {
  2073. ref = switch1.trnswork.grd_trnslist.getCellProperty("body", col, "text").replace("bind:", "");
  2074. seq = ref.substr(1,1);
  2075. duty = ref.substr(0,1);
  2076. if(duty == "d") {
  2077. dutycd = "D";
  2078. } else if(duty == "e") {
  2079. dutycd = "E";
  2080. } else if(duty == "n") {
  2081. dutycd = "N";
  2082. }
  2083. workdd = ds_main_trnsinfo_trnslist.getColumn(ds_main_trnsinfo_trnslist.rowposition, "day" + seq);
  2084. cdid = ds_main_trnsinfo_trnslist.getColumn(ds_main_trnsinfo_trnslist.rowposition, "cdid");
  2085. qty = switch1.trnswork.grd_trnslist.getCellValue(ds_main_trnsinfo_trnslist.rowposition, col); //ds_main_trnsinfo_trnslist.getColumn(ds_main_trnsinfo_trnslist.rowposition, col);
  2086. //alert("workdd: " + workdd + " cdid: " + cdid + " duty: " + dutycd + " qty: " + qty);
  2087. //var node = instance1.selectNodes(grd_trnssaveinfo.nodeset + "[workdd='" + workdd + "' and cdid='" + cdid + "' and dutycd='" + dutycd + "']");
  2088. ds_main_trnssaveinfo.filter("workdd == '" + workdd + "' && cdid == '" + cdid + "' && dutycd == '" + dutycd + "'");
  2089. //sysf_trace("workdd : " + workdd)
  2090. //sysf_trace("cdid : " + cdid)
  2091. //sysf_trace("dutycd : " + dutycd)
  2092. //sysf_trace("rowcount : " + ds_main_trnssaveinfo.rowcount)
  2093. if(ds_main_trnssaveinfo.rowcount > 0) {
  2094. //sysf_trace("qty : " + qty)
  2095. sysf_trace("22")
  2096. ds_main_trnssaveinfo.setColumn(0, "qty", qty);
  2097. } else {
  2098. var row = ds_main_trnssaveinfo.addRow();
  2099. ds_main_trnssaveinfo.setColumn(row, "dutycd", dutycd);
  2100. ds_main_trnssaveinfo.setColumn(row, "workdd", workdd);
  2101. ds_main_trnssaveinfo.setColumn(row, "cdid", cdid);
  2102. ds_main_trnssaveinfo.setColumn(row, "qty", qty);
  2103. }
  2104. }
  2105. ds_main_trnssaveinfo.filter("");
  2106. if(col == switch1.trnswork.grd_trnslist.getBindCellIndex("body", "cmt")) {
  2107. cmtflag = "1";
  2108. }
  2109. }
  2110. ]]></Script>
  2111. </Form>
  2112. </FDL>