SMMNN03500_NICU인계장.xfdl 143 KB

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