SMPIF30100_개인별미수관리.xrw 166 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>개인별미수관리(SMPIF30100)</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <clamym_mtrt>
  11. <searchflag>1</searchflag>
  12. <clamym/>
  13. <acptno/>
  14. </clamym_mtrt>
  15. <acptno_mtrt>
  16. <searchflag>2</searchflag>
  17. <acptno/>
  18. <clamym/>
  19. </acptno_mtrt>
  20. <clam_mtrt>
  21. <clamym/>
  22. <acptno/>
  23. <judgdg/>
  24. <instcd/>
  25. <clamno/>
  26. <offset/>
  27. <pagesize>10000</pagesize>
  28. <insukind/>
  29. <filesaveyn/>
  30. <docuseqnofrom/>
  31. <docuseqnoto/>
  32. </clam_mtrt>
  33. <clam_med>
  34. <acptno/>
  35. <clamym/>
  36. <clamno/>
  37. <judgdg/>
  38. <cpcd/>
  39. <assocd/>
  40. <instcd/>
  41. <offset/>
  42. <pagesize>10000</pagesize>
  43. <docuseqnofrom/>
  44. <docuseqnoto/>
  45. </clam_med>
  46. <acptclam>
  47. <searchflag>1</searchflag>
  48. <item01/>
  49. <item02/>
  50. <instcd/>
  51. <cpcd/>
  52. <assocd/>
  53. <clamno/>
  54. </acptclam>
  55. <srchcond>
  56. <searchflag>1</searchflag>
  57. <srchcond01/>
  58. <srchcond02/>
  59. <instcd/>
  60. <clamno/>
  61. <insukind/>
  62. <srchcond03/>
  63. </srchcond>
  64. <searchgridrow>
  65. <docuseqno/>
  66. <pid/>
  67. <patnm/>
  68. </searchgridrow>
  69. <searchgridrowmed>
  70. <docuseqno/>
  71. <pid/>
  72. <patnm/>
  73. </searchgridrowmed>
  74. <inducs>
  75. <termflag>1</termflag>
  76. <srchcond01/>
  77. <srchcond02/>
  78. <clamno/>
  79. <insukind>41</insukind>
  80. </inducs>
  81. </send>
  82. <init>
  83. <gubun_clamym/>
  84. <gubun_acptno/>
  85. <acptmed>1</acptmed>
  86. <clamddmed/>
  87. <prepatnm/>
  88. <prepatnmcnt/>
  89. <P0008list>
  90. <P0008>
  91. <cdnm/>
  92. <cdid/>
  93. </P0008>
  94. </P0008list>
  95. <P0485list>
  96. <P0485>
  97. <cdnm/>
  98. <cdid/>
  99. </P0485>
  100. </P0485list>
  101. <P0121list>
  102. <P0121>
  103. <cdnm/>
  104. <cdid/>
  105. </P0121>
  106. </P0121list>
  107. <P0455list>
  108. <P0455>
  109. <cdnm/>
  110. <cdid/>
  111. </P0455>
  112. </P0455list>
  113. </init>
  114. <main>
  115. <list00>
  116. <list00_acptno>
  117. <acptno01>
  118. <acptno/>
  119. </acptno01>
  120. </list00_acptno>
  121. <list00_clamym>
  122. <clamym01>
  123. <clamym/>
  124. </clamym01>
  125. </list00_clamym>
  126. <srchcond>
  127. <srchcond02/>
  128. <srchcond03/>
  129. </srchcond>
  130. <acptnocnt>
  131. <cnt/>
  132. </acptnocnt>
  133. <clamno>
  134. <clamno/>
  135. </clamno>
  136. </list00>
  137. <list01>
  138. <judgdg01>
  139. <judgdg/>
  140. <acptdd/>
  141. </judgdg01>
  142. <decoseq>
  143. <judgdg/>
  144. <decoseq/>
  145. </decoseq>
  146. </list01>
  147. <list01temp>
  148. <judgdg01>
  149. <judgdg>전체</judgdg>
  150. </judgdg01>
  151. </list01temp>
  152. <list02>
  153. <gridpifmiunc00>
  154. <instcd/>
  155. <ordym/>
  156. <clamym/>
  157. <clamflagnm/>
  158. <ioflag/>
  159. <ordfildnm/>
  160. <clamno/>
  161. <clamcnt/>
  162. <clmcstotamt/>
  163. <clownbamt/>
  164. <clclamamt/>
  165. <clownbmaxexcnt/>
  166. <clownbmaxexamt/>
  167. <sumtypecd/>
  168. <acptdd/>
  169. </gridpifmiunc00>
  170. </list02>
  171. <list03>
  172. <gridpifmiunc01>
  173. <judgdg/>
  174. <clamcnt/>
  175. <clmcstotamt/>
  176. <clownbamt/>
  177. <clclamamt/>
  178. <clownbmaxexcnt/>
  179. <clownbmaxexamt/>
  180. <clsuppcnt/>
  181. <clsuppamt/>
  182. <jrsltcnt/>
  183. <jrownbamt/>
  184. <jrownbrtnamt/>
  185. <jrownaddbamt/>
  186. <jrtrudirecpamt/>
  187. <clamamt2/>
  188. <jrownbmaxexamt/>
  189. <jrsuppamt/>
  190. <jrjudgdeciamt/>
  191. <resdnretecnt/>
  192. <resdnreteamt/>
  193. <retecnt/>
  194. <retetotordamt/>
  195. <reteamt/>
  196. <retemaxexamt/>
  197. <retesuppamt/>
  198. <sendcnt/>
  199. <sendtotordamt/>
  200. <sendamt/>
  201. <sendmaxexamt/>
  202. <sendmaxexcnt/>
  203. <sendsuppamt/>
  204. <sendsuppcnt/>
  205. <cutcnt/>
  206. <adjtamt/>
  207. <orgreduamt/>
  208. <clhandicaprfund/>
  209. <jrhandicaprfund/>
  210. <jrhandicaprfundcnt/>
  211. <retehandicaprfund/>
  212. <sendhandicaprfund/>
  213. <clhandicaprfundcnt/>
  214. </gridpifmiunc01>
  215. </list03>
  216. <list04>
  217. <gridpifmiunc02>
  218. <clamym/>
  219. <decoseq/>
  220. <instcd/>
  221. <judgdg/>
  222. <acptno/>
  223. <clamno/>
  224. <firstresdnrete/>
  225. <resdnrete/>
  226. <clamdeptnm/>
  227. <orddeptnm/>
  228. <docuseqno/>
  229. <pid/>
  230. <patnm/>
  231. <patrrgstno/>
  232. <clmcstotamt/>
  233. <clownbamt/>
  234. <clclamamt/>
  235. <clownbmaxexamt/>
  236. <clsuppamt/>
  237. <clhandicaprfund/>
  238. <jrmcstotamt/>
  239. <jrownbamt/>
  240. <jrjudgdeciamt/>
  241. <jrownbmaxexamt/>
  242. <jrsuppamt/>
  243. <jrhandicaprfund/>
  244. <adjtamt1/>
  245. <adjtamt2/>
  246. <adjtamtsum/>
  247. <adjtresn1/>
  248. <adjtresn2/>
  249. <orgreduamt/>
  250. <jrownaddbamt/>
  251. <orddridnm/>
  252. <insukind/>
  253. <insdnm/>
  254. <corpmark/>
  255. <corpmarknm/>
  256. <fixrateyn/>
  257. <chosindayno/>
  258. <ordfromdd/>
  259. <statflag/>
  260. <clamdg/>
  261. <pidsn/>
  262. </gridpifmiunc02>
  263. <gridpifmiuncbyinducs>
  264. <clamym/>
  265. <decoseq/>
  266. <instcd/>
  267. <judgdg/>
  268. <acptno/>
  269. <clamno/>
  270. <firstresdnrete/>
  271. <clamdeptnm/>
  272. <orddeptnm/>
  273. <docuseqno/>
  274. <pid/>
  275. <patnm/>
  276. <patrrgstno/>
  277. <clamflag/>
  278. <clclamamt/>
  279. <jrjudgdeciamt/>
  280. <adjtamtsum/>
  281. <maindiagcd/>
  282. <orddrid/>
  283. <insukind/>
  284. <insuno/>
  285. <insunm/>
  286. <certno/>
  287. <cretfromdd/>
  288. <ordfromdd/>
  289. <chosindayno/>
  290. <acptno/>
  291. <judgdg/>
  292. <ioflag/>
  293. <statflag/>
  294. <pidsn/>
  295. </gridpifmiuncbyinducs>
  296. </list04>
  297. <list05>
  298. <gridpifmiunc03>
  299. </gridpifmiunc03>
  300. </list05>
  301. <list00med>
  302. <list00_acptclam>
  303. <acptclam01>
  304. <acptclam/>
  305. </acptclam01>
  306. <acptnocnt>
  307. <cnt/>
  308. </acptnocnt>
  309. </list00_acptclam>
  310. <list00_cpcd>
  311. <cpcd01>
  312. <cpcd/>
  313. <cpnm/>
  314. </cpcd01>
  315. </list00_cpcd>
  316. <list00_assocd>
  317. <assocd01>
  318. <assocd/>
  319. <assonm/>
  320. </assocd01>
  321. </list00_assocd>
  322. </list00med>
  323. <list01med>
  324. <judgdg01>
  325. <judgdg/>
  326. </judgdg01>
  327. <decoseq>
  328. <judgdg/>
  329. <decoseq/>
  330. </decoseq>
  331. </list01med>
  332. <list02med>
  333. <gridpifmmiun00>
  334. <instcd/>
  335. <ordym/>
  336. <clamym/>
  337. <clamflagnm/>
  338. <ioflag/>
  339. <ordfildnm/>
  340. <clamno/>
  341. <clamcnt/>
  342. <clamtotordamt/>
  343. <clamownbamt/>
  344. <clamamt/>
  345. <clhandicaprfund/>
  346. </gridpifmmiun00>
  347. </list02med>
  348. <list03med>
  349. <gridpifmmiun01>
  350. <judgdg/>
  351. <clamno/>
  352. <clamcnt/>
  353. <clmcstotamt/>
  354. <clownbamt/>
  355. <clsecuinstbamt/>
  356. <clhandicaprfund/>
  357. <jrsltcnt/>
  358. <jrmcstotamt/>
  359. <jrownbamt/>
  360. <jrrtnamt/>
  361. <jraddchrgamt/>
  362. <jrtrudirecpamt/>
  363. <clamamt2/>
  364. <jrjudgdeciamt/>
  365. <jrsubtamt/>
  366. <jrhandicaprfund/>
  367. <qualretecnt/>
  368. <qualretetotordamt/>
  369. <qualreteamt/>
  370. <qualretehandicaprfund/>
  371. <judgretecnt/>
  372. <judgretetotordamt/>
  373. <judgreteamt/>
  374. <judgretehandicaprfund/>
  375. <sendcnt/>
  376. <sendtotordamt/>
  377. <sendamt/>
  378. <sendhandicaprfund/>
  379. <cutcnt/>
  380. <adjtamt/>
  381. <orgreduamt/>
  382. </gridpifmmiun01>
  383. </list03med>
  384. <list04med>
  385. <gridpifmmiun02>
  386. <clamym/>
  387. <decoseq/>
  388. <instcd/>
  389. <clamno/>
  390. <qualrete/>
  391. <depoflag/>
  392. <clamdeptnm/>
  393. <orddeptnm/>
  394. <docuseqno/>
  395. <pid/>
  396. <patnm/>
  397. <patrrgstno/>
  398. <clmcstotamt/>
  399. <clownbamt/>
  400. <clsecuinstbamt/>
  401. <clhandicaprfund/>
  402. <jrmcstotamt/>
  403. <jrownbamt/>
  404. <jrjudgdeciamt/>
  405. <jrhandicaprfund/>
  406. <jradjtsum1/>
  407. <jradjtsum2/>
  408. <jradjtsum/>
  409. <adjtresn1/>
  410. <adjtresn2/>
  411. <instreductamt/>
  412. <handicapcvrtamt/>
  413. <orgreduamt/>
  414. <jraddchrgamt/>
  415. <diagcd/>
  416. <orddridnm/>
  417. <orddrid/>
  418. <insukind/>
  419. <procinstmark/>
  420. <procinstmarknm/>
  421. <fixrateflag/>
  422. <chosindayno/>
  423. <oprcpdayno/>
  424. <ordfromdd/>
  425. <spclcd/>
  426. <acptno/>
  427. <judgdg/>
  428. <ioflag/>
  429. <clamdg/>
  430. <pidsn/>
  431. </gridpifmmiun02>
  432. </list04med>
  433. <list05med>
  434. <gridpifmmiun03/>
  435. </list05med>
  436. <result_list05/>
  437. <inducs>
  438. <list00>
  439. <srchcond>
  440. <srchcond02/>
  441. </srchcond>
  442. <acptnocnt>
  443. <cnt/>
  444. </acptnocnt>
  445. </list00>
  446. </inducs>
  447. <list001>
  448. <U0001>
  449. <clamno/>
  450. </U0001>
  451. <U0002>
  452. <judgdg/>
  453. </U0002>
  454. </list001>
  455. </main>
  456. <temp>
  457. <csv>
  458. <gridpifmiunc02/>
  459. </csv>
  460. </temp>
  461. </root>
  462. </instance>
  463. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  464. <submission id="TRPIF30101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchcond" resultref="/root/main/list00"/>
  465. <submission id="TRPIF30102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/acptno_mtrt" resultref="/root/main/list00/list00_clamym"/>
  466. <submission id="TRPIF30103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/clam_mtrt" resultref="/root/main/list01"/>
  467. <submission id="TRPIF30104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/clam_mtrt" resultref="/root/main/list02"/>
  468. <submission id="TRPIF30105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/clam_mtrt" resultref="/root/main/list03"/>
  469. <submission id="TRPIF30106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/clam_mtrt" add="bottom" resultref="/root/main/list04"/>
  470. <submission id="TRPIF30107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/acptclam" resultref="/root/main/list00med/list00_acptclam"/>
  471. <submission id="TRPIF30108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/acptclam" resultref="/root/main/list00med/list00_cpcd"/>
  472. <submission id="TRPIF30109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/acptclam" resultref="/root/main/list00med/list00_assocd"/>
  473. <submission id="TRPIF30110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/clam_med" resultref="/root/main/list01med"/>
  474. <submission id="TRPIF30115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/clam_med" resultref="/root/main/list02med"/>
  475. <submission id="TRPIF30116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/clam_med" resultref="/root/main/list03med"/>
  476. <submission id="TRPIF30117" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/clam_med" add="bottom" resultref="/root/main/list04med"/>
  477. <submission id="TRPIF30118" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/clam_mtrt" resultref="/root/temp/csv"/>
  478. <submission id="TXPIF30101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list05" resultref="/root/main/result_list05"/>
  479. <submission id="TXPIF30102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list05med" resultref="/root/result"/>
  480. </model>
  481. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  482. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  483. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  484. <script type="javascript" ev:event="xforms-ready">
  485. <![CDATA[
  486. model.toggle("case1");
  487. model.setFocus("ipt_srchcond01");
  488. // 보험유형
  489. zbcfGetCodeList(
  490. new Array("P0008", "P0485", "P0121", "P0455"),
  491. new Array("/root/init/P0008list", "/root/init/P0485list", "/root/init/P0121list", "/root/init/P0455list")
  492. ,false
  493. );
  494. // Session_Init();
  495. // rdo_clamym.value = '1' ;
  496. ]]>
  497. </script>
  498. <script type="javascript">
  499. <![CDATA[
  500. var flag = "Y";
  501. var flagmed = "Y";
  502. function Session_Init() {
  503. // var vinstcd = getUserInfo("posinstcd");
  504. // model.setValue("/root/send/send_mtrt/instcd", vinstcd);
  505. // model.setValue("/root/send/send_mtrt00/instcd", vinstcd);
  506. }
  507. function Instance_Init() {
  508. model.resetInstanceNode("/root/main/list01");
  509. model.resetInstanceNode("/root/main/list02");
  510. model.resetInstanceNode("/root/main/list03");
  511. model.removeNodeSet("/root/main/list04");
  512. cmb_judgdg.value = ""; // 값을 비워줘야 그냥 조회버튼 클릭시 심사차수가 콤보에 세팅되면서 1개차수만 존재시 자동으로 명일련별 청구사항까지 조회하게 됨.
  513. model.refresh();
  514. }
  515. function Instancemed_Init() {
  516. // model.resetInstanceNode("/root/main/list01med");
  517. // model.resetInstanceNode("/root/main/list02med");
  518. model.resetInstanceNode("/root/main/list03med");
  519. model.removeNodeSet("/root/main/list04med");
  520. cmb_judgdgmed.value = ""; // 값을 비워줘야 그냥 조회버튼 클릭시 심사차수가 콤보에 세팅되면서 1개차수만 존재시 자동으로 명일련별 청구사항까지 조회하게 됨.
  521. model.refresh();
  522. }
  523. // 요양급여(보험) 팝업전 심사차수 체크
  524. function chkJudgdg(btnnum) {
  525. if(rdo_srchcond.value == "" || cmb_judgdg.value == "없음") {
  526. messageBox("조회할 심결데이터가","I004");
  527. return false;
  528. }
  529. if(btnnum == "1" || btnnum == "2" || btnnum == "3" || btnnum == "4" || btnnum == "5") {
  530. if(rdo_srchcond.value != "" & (cmb_judgdg.value == "" || cmb_judgdg.value == "전체")) {
  531. messageBox("하나의 심사차수를","C002");
  532. model.setFocus("cmb_judgdg");
  533. return false;
  534. }
  535. }
  536. return true;
  537. }
  538. // 의료급여(보호) 팝업전 심사차수 체크
  539. function chkJudgdgMed(btnnum) {
  540. if(rdo_acptnomed.value == "" || cmb_judgdgmed.value == "없음") {
  541. messageBox("조회할 심결데이터가","I004");
  542. return false;
  543. }
  544. if(btnnum == "1" || btnnum == "2" || btnnum == "4") {
  545. if(rdo_acptnomed.value != "" & (cmb_judgdgmed.value == "" || cmb_judgdgmed.value == "전체")) {
  546. messageBox("하나의 심사차수를","C002");
  547. model.setFocus("cmb_judgdgmed");
  548. return false;
  549. }
  550. }
  551. return true;
  552. }
  553. // 산재 팝업전 심사차수 체크
  554. function chkIndsJudgdg(btnnum) {
  555. if(rdo_indusrchcond.value == "" || combo2.value == "없음") {
  556. messageBox("조회할 심결데이터가","I004");
  557. return false;
  558. }
  559. if(btnnum == "1" || btnnum == "2" || btnnum == "3" || btnnum == "4" || btnnum == "5") {
  560. if(rdo_indusrchcond.value != "" & (combo2.value == "" || combo2.value == "전체")) {
  561. messageBox("하나의 심사차수를","C002");
  562. model.setFocus("combo2");
  563. return false;
  564. }
  565. }
  566. return true;
  567. }
  568. // 조회실행메소드
  569. function search() {
  570. Instance_Init() ;
  571. model.resetInstanceNode("/root/send/clam_mtrt/judgdg");
  572. model.refresh();
  573. if(rdo_srchcond.value == "1") {
  574. var vacptno = ipt_srchcond01.value;
  575. var vclamym = cmb_srchcond02.value;
  576. if(vacptno == ""){
  577. messageBox("접수번호를 반드시","C001");
  578. model.setFocus("ipt_srchcond01");
  579. return false ;
  580. }
  581. if(vclamym == ""){
  582. messageBox("청구년월을 반드시","C002");
  583. model.setFocus("cmb_srchcond02");
  584. return false ;
  585. }
  586. model.setValue("/root/send/clam_mtrt/clamym", vclamym) ;
  587. model.setValue("/root/send/clam_mtrt/acptno", vacptno) ;
  588. model.setValue("/root/send/clam_mtrt/insukind", model.getValue("/root/send/srchcond/insukind")) ;
  589. } else if(rdo_srchcond.value == "2") {
  590. var vclamym = ipt_srchcond01.value;
  591. var vacptno = cmb_srchcond02.value;
  592. if(vclamym == ""){
  593. messageBox("청구년월을 반드시","C001");
  594. model.setFocus("ipt_srchcond01");
  595. return false ;
  596. }
  597. if(vacptno == ""){
  598. messageBox("접수번호를 반드시","C002");
  599. model.setFocus("cmb_srchcond02");
  600. return false ;
  601. }
  602. model.setValue("/root/send/clam_mtrt/clamym", vclamym) ;
  603. model.setValue("/root/send/clam_mtrt/acptno", vacptno) ;
  604. model.setValue("/root/send/clam_mtrt/insukind", model.getValue("/root/send/srchcond/insukind")) ;
  605. } else {
  606. messageBox("조회조건을","I007");
  607. return false ;
  608. }
  609. submit("TRPIF30103") ; //심사차수
  610. submit("TRPIF30104") ; //청구내역
  611. //submit("TRPIF30106") ; //명세서별 조회
  612. model.setValue("/root/send/clam_mtrt/clamno", model.getValue("/root/main/list02/gridpifmiunc00/clamno")) ;
  613. model.setValue("/root/send/clam_mtrt/instcd", model.getValue("/root/main/list02/gridpifmiunc00/instcd"));
  614. // 2007.12.07 페이지단위 조회를 위한 값 0으로 세팅
  615. model.setValue("/root/send/clam_mtrt/offset",0);
  616. if(cmb_judgdg.length == 0) {
  617. //submit("TRPIF30104") ; //청구내역
  618. submit("TRPIF30105") ; //청구내역
  619. submit("TRPIF30106") ; //명세서별 조회(청구데이터만 조회)
  620. model.makeNode("/root/main/list01/judgdg01/judgdg");
  621. model.setValue("/root/main/list01/judgdg01/judgdg","없음");
  622. cmb_judgdg.value = model.getValue("/root/main/list01/judgdg01/judgdg");
  623. model.refresh();
  624. //submit("TRPIF30106") ; //명세서별 조회
  625. } else if(cmb_judgdg.length == 1) {
  626. cmb_judgdg.select(0);
  627. cmb_judgdg.select(0);
  628. //searchByJudgdg();
  629. } else if(cmb_judgdg.length >1) {
  630. //copyNodeType("/root/main/list01/judgdg01","/root/main/list01temp/judgdg01","before");
  631. //addComboItem("cmb_judgdg", " ", "전체");
  632. cmb_judgdg.value = model.getValue("/root/main/list01/judgdg01[0]/judgdg");
  633. cmb_judgdg.value = model.getValue("/root/main/list01/judgdg01[0]/judgdg");
  634. model.refresh();
  635. model.setFocus("cmb_judgdg");
  636. cmb_judgdg.select(0);
  637. }
  638. }
  639. // 심사차수 선택시 실행되는 함수(보험)
  640. function searchByJudgdg() {
  641. //model.resetInstanceNode("/root/main/list03");
  642. //model.resetInstanceNode("/root/main/list04");
  643. model.removenode("/root/main/list03");
  644. model.removenode("/root/main/list04");
  645. model.setValue("/root/send/clam_mtrt/insukind", model.getValue("/root/send/srchcond/insukind"));
  646. model.refresh();
  647. //model.removeNodeset("/root/main/list02/gridpifmiunc00");
  648. //model.removeNodeset("/root/main/list03/gridpifmiunc01");
  649. //model.removeNodeset("/root/main/list04/gridpifmiunc02");
  650. //submit("TRPIF30103") ; //심사차수
  651. //submit("TRPIF30104") ; //청구내역
  652. //submit("TRPIF30106") ; //명세서별 조회
  653. //model.setValue("/root/send/clam_mtrt/clamno", model.getValue("/root/main/list02/gridpifmiunc00/clamno")) ;
  654. //model.setValue("/root/send/clam_mtrt/instcd", model.getValue("/root/main/list02/gridpifmiunc00/instcd"));
  655. /*if(cmb_judgdg.length == 0) {
  656. submit("TRPIF30106") ; //명세서별 조회
  657. model.makeNode("/root/main/list01/judgdg01/judgdg");
  658. model.setValue("/root/main/list01/judgdg01/judgdg","없음");
  659. cmb_judgdg.value = model.getValue("/root/main/list01/judgdg01/judgdg");
  660. model.refresh();
  661. //submit("TRPIF30106") ; //명세서별 조회
  662. } else if(cmb_judgdg.length == 1) {
  663. submit("TRPIF30105") ; //심결내역
  664. submit("TRPIF30106") ; //명세서별 조회
  665. } else {
  666. copyNodeType("/root/main/list01/judgdg01","/root/main/list01temp/judgdg01","before");
  667. cmb_judgdg.value = model.getValue("/root/main/list01/judgdg01[0]/judgdg");
  668. model.refresh();
  669. }*/
  670. var vjudgdg = model.getValue("/root/send/clam_mtrt/judgdg");
  671. if (vjudgdg == "") {
  672. messageBox("심사차수를","I007");
  673. model.setfocus("cmb_judgdg");
  674. return false;
  675. }
  676. // submit("TRPIF30104") ; //청구내역
  677. submit("TRPIF30105") ; //심결내역
  678. submit("TRPIF30106") ; //명세서별 조회
  679. //autoScrollYN();
  680. // grd_pifmiunc02.rebuild();
  681. /*
  682. var vstatflag, vadjtresn, i ;
  683. var vmiunc02rows = grd_pifmiunc02.rows ;
  684. for ( i = 1; i < vmiunc02rows; i++ ) {
  685. vstatflag = model.getValue("/root/main/list04/gridpifmiunc02[" + i + "]/statflag");
  686. vadjtresn = model.getValue("/root/main/list04/gridpifmiunc02[" + i + "]/adjtresn");
  687. if(grd_pifmiunc02.valueMatrix(i,7) == "Y") {
  688. grd_pifmiunc02.isReadOnly(i,7) = true;
  689. }
  690. switch (vstatflag) {
  691. case "01" :
  692. if(vadjtresn > "") {
  693. grd_pifmiunc02.rowStyle(i,"data","color") = "#ff0000" ;//빨강 삭감
  694. }
  695. break ;
  696. case "02" :
  697. grd_pifmiunc02.rowStyle(i,"data","color") = "#0000ff" ;//파랑 심사보류
  698. break ;
  699. case "04" :
  700. grd_pifmiunc02.rowStyle(i,"data","color") = "#800080" ;//보라 반송
  701. break ;
  702. default :
  703. // grd_pifmiunc02.
  704. // grd_pifmiunc02.rowStyle(i,"data","color") = "#ff6600" ;//검정
  705. break ;
  706. }
  707. }*/
  708. }
  709. // 보호의 조회실행 함수
  710. function searchProc(callflag) {
  711. Instancemed_Init() ;
  712. /*
  713. model.resetInstanceNode("/root/main/list01med");
  714. model.resetInstanceNode("/root/main/list02med");
  715. model.resetInstanceNode("/root/main/list03med");
  716. model.resetInstanceNode("/root/main/list04med");
  717. */
  718. var vsearchflag = model.getValue("/root/send/acptclam/searchflag");
  719. //model.refresh();
  720. // 페이지단위 조회를 위한 값 0으로 세팅
  721. model.setValue("/root/send/clam_mtrt/offset",0);
  722. // 2010.01.26 이놈이 여기에 있어서 될일이 아니다. 이제서야 셋팅하면 청구사항은 언제 셋팅해서 조회하란 말이냐?
  723. // if(rdo_acptnomed.value == "1") {
  724. // model.setValue("/root/send/clam_med/acptno", model.getValue("/root/send/acptclam/item01")) ;
  725. // model.setValue("/root/send/clam_med/clamym", model.getValue("/root/send/acptclam/item02")) ;
  726. // } else if(rdo_acptnomed.value == "2") {
  727. // model.setValue("/root/send/clam_med/acptno", model.getValue("/root/send/acptclam/item02")) ;
  728. // model.setValue("/root/send/clam_med/clamym", model.getValue("/root/send/acptclam/item01")) ;
  729. // }
  730. /////////////////////////////// 요기까지임
  731. model.setValue("/root/send/clam_med/cpcd", model.getValue("/root/send/acptclam/cpcd")) ;
  732. model.setValue("/root/send/clam_med/assocd", model.getValue("/root/send/acptclam/assocd")) ;
  733. submit("TRPIF30110") ; //심사차수
  734. // submit("TRPIF30115") ; //청구내역
  735. //submit("TRPIF30117") ; //명세서조회
  736. // 2007.12.07 페이지단위 조회를 위한 값 0으로 세팅
  737. model.setValue("/root/send/clam_med/offset",0);
  738. if(cmb_judgdgmed.length == 0) {
  739. submit("TRPIF30116") ; //심결내역
  740. submit("TRPIF30117") ; //명세서별 조회
  741. model.makeNode("/root/main/list01med/judgdg01/judgdg");
  742. model.setValue("/root/main/list01med/judgdg01/judgdg","없음");
  743. cmb_judgdgmed.value = model.getValue("/root/main/list01med/judgdg01/judgdg");
  744. model.refresh();
  745. //submit("TRPIF30106") ; //명세서별 조회
  746. } else if(cmb_judgdgmed.length == 1) {
  747. //cmb_judgdgmed.value = model.getValue("/root/main/list01med/judgdg01[1]/judgdg");
  748. //model.refresh();
  749. cmb_judgdgmed.select(0);
  750. /*if(callflag == "cpcd" || callflag == "assocd") {
  751. searchMedByJudgdg();
  752. }*/
  753. } else if(cmb_judgdgmed.length > 1) {
  754. //copyNodeType("/root/main/list01med/judgdg01","/root/main/list01temp/judgdg01","before");
  755. addComboItem("cmb_judgdgmed", " ", "전체");
  756. cmb_judgdgmed.value = model.getValue("/root/main/list01med/judgdg01[0]/judgdg");
  757. model.refresh();
  758. }
  759. }
  760. // 심사차수 선택시 실행되는 함수(보호)
  761. function searchMedByJudgdg() {
  762. var vjudgdg = model.getValue("/root/send/clam_med/judgdg");
  763. model.removeNodeset("/root/main/list03med");
  764. model.removeNodeset("/root/main/list04med");
  765. if (vjudgdg == "") {
  766. alert("심사차수 확인하세요") ;
  767. model.setfocus("cmb_judgdg");
  768. return false;
  769. }
  770. // submit("TRPIF30115") ; //청구내역
  771. submit("TRPIF30116") ; //심결내역
  772. submit("TRPIF30117") ; //명세서
  773. grd_pifmmiun02.rebuild();
  774. autoScrollYNMed();
  775. }
  776. // ****************************************// 요양급여 다음 페이지 자동 조회 관련 메소드 ****************************************//
  777. // 스크롤바 마지막까지 내릴시 다음 페이지 자동조회하기
  778. function fSubmitOnScroll() {
  779. autoScrollYN();
  780. if(flag == "Y") {
  781. if(grd_pifmiunc02.vscroll.attribute("max") == grd_pifmiunc02.vscroll.attribute("pos")) {
  782. // end of scroll
  783. model.setValue("/root/send/clam_mtrt/offset", Number(grd_pifmiunc02.rows)-1); // grid의 header row는 제외
  784. submit("TRPIF30106");
  785. grd_pifmiunc02.dispatch("onmouseup"); // 스크롤바 처리를 위한 이벤트 발생
  786. }
  787. }
  788. }
  789. // 명일련으로 바로가기 데이터 못찾았을시 다음페이지 불러와서 다시 재조회하는 function
  790. function researchgrid(item1, item2) {
  791. flag = "N";
  792. var endrow = grd_pifmiunc02.rows;
  793. fSubmitOnScroll2();
  794. model.refresh();
  795. var rows = grd_pifmiunc02.rows;
  796. var cnt = 0;
  797. if(endrow < rows-1) {
  798. // 명일련으로 바로가기 시도할 경우
  799. if(item1 == "docuseqno") {
  800. for(var i=endrow;i<rows;i++) {
  801. if(grd_pifmiunc02.valueMatrix(i,10) == item2) {
  802. //grd_pifmiunc02.select(i,9) = true;
  803. grd_pifmiunc02.row = i;
  804. grd_pifmiunc02.topRow = i;
  805. cnt++;
  806. flag = "Y";
  807. return false;
  808. }
  809. }
  810. }
  811. // 등록번호로 바로가기 시도할 경우
  812. if(item1 == "pid") {
  813. for(var i=endrow;i<rows;i++) {
  814. if(grd_pifmiunc02.valueMatrix(i,11) == item2) {
  815. //grd_pifmiunc02.select(i,9) = true;
  816. grd_pifmiunc02.row = i;
  817. grd_pifmiunc02.topRow = i;
  818. cnt++;
  819. flag = "Y";
  820. return false;
  821. }
  822. }
  823. }
  824. // 수진자명으로 바로가기 시도할 경우
  825. if(item1 == "patnm") {
  826. for(var i=endrow;i<rows;i++) {
  827. if(model.getValue("/root/main/list04/gridpifmiunc02["+i+"]/patnm") == item2) {
  828. //if(grd_pifmiunc02.valueMatrix(i,12) == item2) {
  829. //grd_pifmiunc02.select(i,9) = true;
  830. grd_pifmiunc02.row = i;
  831. grd_pifmiunc02.topRow = i;
  832. cnt++;
  833. flag = "Y";
  834. return false;
  835. }
  836. }
  837. }
  838. if(cnt == 0) {
  839. researchgrid(item1,item2);
  840. }
  841. } else {
  842. if(item1 == "docuseqno") {
  843. messageBox("찾으시는 명일련이","I004");
  844. }
  845. if(item1 == "pid") {
  846. messageBox("찾으시는 등록번호가","I004");
  847. }
  848. if(item1 == "patnm") {
  849. messageBox("찾으시는 수진자가","I004");
  850. }
  851. return false;
  852. }
  853. }
  854. // 명일련으로 그리드 데이터 바로찾기할때 그리드에 해당 데이터 없을시 다음 페이지 자동 조회후 다시 명일련으로 자동 조회
  855. function fSubmitOnScroll2() {
  856. model.setValue("/root/send/clam_mtrt/offset", Number(grd_pifmiunc02.rows)-1); // grid의 header row는 제외
  857. submit("TRPIF30106");
  858. grd_pifmiunc02.dispatch("onmouseup"); // 스크롤바 처리를 위한 이벤트 발생
  859. }
  860. // ****************************************// 의료급여 다음 페이지 자동 조회 관련 메소드 ****************************************//
  861. // 스크롤바 마지막까지 내릴시 다음 페이지 자동조회하기
  862. function fSubmitOnScrollMed(flag) {
  863. autoScrollYNMed();
  864. if(flagmed == "Y") {
  865. if(grd_pifmmiun02.vscroll.attribute("max") == grd_pifmmiun02.vscroll.attribute("pos")) {
  866. // end of scroll
  867. model.setValue("/root/send/clam_med/offset", Number(grd_pifmmiun02.rows)-1); // grid의 header row는 제외
  868. submit("TRPIF30117");
  869. grd_pifmmiun02.dispatch("onmouseup"); // 스크롤바 처리를 위한 이벤트 발생
  870. }
  871. }
  872. }
  873. // 명일련으로 바로가기 데이터 못찾았을시 다음페이지 불러와서 다시 재조회하는 function
  874. function researchgridmed(item1, item2) {
  875. flagmed = "N";
  876. var endrow = grd_pifmmiun02.rows;
  877. fSubmitOnScroll2Med();
  878. model.refresh();
  879. var rows = grd_pifmmiun02.rows;
  880. var cnt = 0;
  881. if(endrow < rows) {
  882. // 명일련으로 바로가기 시도할 경우
  883. if(item1 == "docuseqno") {
  884. for(var i=endrow;i<rows;i++) {
  885. if(model.getValue("/root/main/list04med/gridpifmmiun02["+i+"]/docuseqno") == item2) {
  886. //grd_pifmiunc02.select(i,9) = true;
  887. grd_pifmmiun02.row = i;
  888. grd_pifmmiun02.topRow = i;
  889. cnt++;
  890. flagmed = "Y";
  891. return false;
  892. }
  893. }
  894. if(cnt == 0) {
  895. researchgridmed(docuseqno);
  896. }
  897. }
  898. // 등록번호로 바로가기 시도할 경우
  899. if(item1 == "pid") {
  900. for(var i=endrow;i<rows;i++) {
  901. if(model.getValue("/root/main/list04med/gridpifmmiun02["+i+"]/pid") == item2) {
  902. //grd_pifmiunc02.select(i,9) = true;
  903. grd_pifmmiun02.row = i;
  904. grd_pifmmiun02.topRow = i;
  905. cnt++;
  906. flagmed = "Y";
  907. return false;
  908. }
  909. }
  910. if(cnt == 0) {
  911. researchgridmed(docuseqno);
  912. }
  913. }
  914. // 수진자명으로 바로가기 시도할 경우
  915. if(item1 == "patnm") {
  916. for(var i=endrow;i<rows;i++) {
  917. if(model.getValue("/root/main/list04med/gridpifmmiun02["+i+"]/patnm") == item2) {
  918. //grd_pifmiunc02.select(i,9) = true;
  919. grd_pifmmiun02.row = i;
  920. grd_pifmmiun02.topRow = i;
  921. cnt++;
  922. flagmed = "Y";
  923. return false;
  924. }
  925. }
  926. if(cnt == 0) {
  927. researchgridmed(item1, item2);
  928. }
  929. }
  930. } else {
  931. if(item1 == "docuseqno") {
  932. messageBox("찾으시는 명일련이","I004");
  933. }
  934. if(item1 == "pid") {
  935. messageBox("찾으시는 등록번호가","I004");
  936. }
  937. if(item1 == "patnm") {
  938. messageBox("찾으시는 수진자가","I004");
  939. }
  940. return false;
  941. }
  942. }
  943. // 명일련으로 그리드 데이터 바로찾기할때 그리드에 해당 데이터 없을시 다음 페이지 자동 조회후 다시 명일련으로 자동 조회
  944. function fSubmitOnScroll2Med() {
  945. model.setValue("/root/send/clam_med/offset", Number(grd_pifmmiun02.rows)-1); // grid의 header row는 제외
  946. submit("TRPIF30117");
  947. grd_pifmmiun02.dispatch("onmouseup"); // 스크롤바 처리를 위한 이벤트 발생
  948. }
  949. // 2008.01.10 이창재. 요양급여 조회결과 그리드의 스크롤 관련 자동조회여부
  950. function autoScrollYN() {
  951. // 조회결과 갯수를 페이지사이즈로 나눈 나머지가 0이 아니면 더이상 조회할 데이터가 없다는 것이므로 스크롤시 자동조회 기능 없앰.
  952. if((grd_pifmiunc02.rows-1)%Number(model.getValue("/root/send/clam_mtrt/pagesize")) != 0) {
  953. flag = "N";
  954. } else {
  955. flag = "Y";
  956. }
  957. }
  958. // 2008.01.10 이창재. 의료급여 조회결과 그리드의 스크롤 관련 자동조회여부
  959. function autoScrollYNMed() {
  960. // 조회결과 갯수를 페이지사이즈로 나눈 나머지가 0이 아니면 더이상 조회할 데이터가 없다는 것이므로 스크롤시 자동조회 기능 없앰.
  961. if((grd_pifmmiun02.rows-1)%Number(model.getValue("/root/send/clam_med/pagesize")) != 0) {
  962. flagmed = "N";
  963. }
  964. }
  965. function fclaminfoserch() {
  966. model.resetInstanceNode("/root/main/list00med/list00_cpcd");
  967. model.resetInstanceNode("/root/main/list00med/list00_assocd");
  968. model.resetInstanceNode("/root/main/list01med");
  969. model.resetInstanceNode("/root/main/list02med");
  970. model.resetInstanceNode("/root/main/list03med");
  971. model.resetInstanceNode("/root/main/list04med");
  972. // cmb_cpcd.value = "";
  973. // cmb_assocd.value = "";
  974. model.setValue("/root/send/acptclam/cpcd", "");
  975. model.setValue("/root/send/acptclam/assocd", "");
  976. // 2010.01.26 조회시에 셋팅되게 되어 있던걸 이쪽으로 옮겼다. 청구사항 조회시 얘네들이 셋팅 되어 있어야 하니까.
  977. if(rdo_acptnomed.value == "1") {
  978. model.setValue("/root/send/clam_med/acptno", model.getValue("/root/send/acptclam/item01")) ;
  979. model.setValue("/root/send/clam_med/clamym", model.getValue("/root/send/acptclam/item02")) ;
  980. } else if(rdo_acptnomed.value == "2") {
  981. model.setValue("/root/send/clam_med/acptno", model.getValue("/root/send/acptclam/item02")) ;
  982. model.setValue("/root/send/clam_med/clamym", model.getValue("/root/send/acptclam/item01")) ;
  983. }
  984. // model.setValue("/root/send/clam_med/cpcd", model.getValue("/root/send/acptclam/cpcd")) ;
  985. // model.setValue("/root/send/clam_med/assocd", model.getValue("/root/send/acptclam/assocd")) ;
  986. //////////////////////////////////// 요기까지임.
  987. /// 청구사항 조회
  988. if(submit("TRPIF30115")) { //청구내역
  989. model.setValue("/root/send/acptclam/clamno", model.getValue("/root/main/list02med/gridpifmmiun00/clamno"));
  990. model.setValue("/root/send/clam_med/clamno", model.getValue("/root/main/list02med/gridpifmmiun00/clamno")) ;
  991. submit("TRPIF30108") ; // 해당 접수번호에 존재하는 시도코드 조회
  992. model.setValue("/root/send/clam_med/cpcd", model.getValue("/root/send/acptclam/cpcd")) ;
  993. model.setValue("/root/send/clam_med/assocd", model.getValue("/root/send/acptclam/assocd")) ;
  994. }
  995. /*if(cmb_cpcd.length > 0) {
  996. model.setFocus("cmb_cpcd");
  997. //cmb_cpcd.select(0);
  998. }*/
  999. if(cmb_cpcd.length > 0) {
  1000. addComboItem("cmb_cpcd"," ");
  1001. model.setFocus("cmb_cpcd");
  1002. }
  1003. searchProc();
  1004. }
  1005. ]]>
  1006. </script>
  1007. </xhtml:head>
  1008. <xhtml:body guideline="1,1192;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  1009. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  1010. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:254px; height:14px; ">개인별미수관리</caption>
  1011. </group>
  1012. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:722px; ">
  1013. <col type="checkbox"/>
  1014. <switch id="switch1" style="left:0px; top:36px; width:1194px; height:679px; ">
  1015. <case id="case1" class="sw_box" selected="true" style="left:0px; top:0px; width:1194px; height:695px; ">
  1016. <datagrid id="grd_pifmiunc02" nodeset="/root/main/list04/gridpifmiunc02" class="datagrid2" caption="청구월^미수일련번호^기관기호^심사차수^접수번호^청구번호^기존주민보류^주민&#xA;보류^청구과^진료과^명일련^등록번호^수진자^주민번호^청구&#xA;총진료비^청구&#xA;본인부담^청구액^100미만 청구&#xA;총진료비^100미만 청구&#xA;본인부담^100미만 청구액^청구상한금^청구지원금^청구장애인^심결&#xA;총진료비^심결&#xA;본인부담^심사결정액^100미만 심결&#xA;총진료비^100미만 심결&#xA;본인부담^100미만 심결&#xA;청구액^심결상한금^심결지원금^심결장애인^조정소계I^조정소계II^조정삭감액^조정사유^조정사유^실삭감액^본인&#xA;추가부담금^진료의^산재유형^피보험자^기관기호^기관명^구분&#xA;(정률)^내원&#xA;일수^요양개시일^상태&#xA;구분" colsep="^" colwidth="30, 30, 30, 37, 30, 30, 30, 30, 45, 45, 45, 70, 60, 100, 80, 80, 80, 100, 100, 100, 80, 80, 74, 80, 80, 80, 100, 100, 100, 79, 80, 73, 80, 80, 80, 30, 30, 80, 80, 50, 60, 60, 80, 100, 40, 40, 80, 40, 100, 100" dataheight="25" defaultrows="1" explorerbar="sortshowmove" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="1" rowsep="|" style="left:0px; top:369px; width:1192px; height:276px; ">
  1017. <col ref="clamym" visibility="hidden"/>
  1018. <col ref="decoseq" visibility="hidden"/>
  1019. <col ref="instcd" visibility="hidden"/>
  1020. <col ref="judgdg" visibility="hidden"/>
  1021. <col ref="acptno" visibility="hidden"/>
  1022. <col ref="clamno" visibility="hidden"/>
  1023. <col ref="firstresdnrete" visibility="hidden"/>
  1024. <col checkvalue="Y,N" ref="resdnrete" type="checkbox"/>
  1025. <col ref="clamdeptnm"/>
  1026. <col ref="orddeptnm" style="text-align:center; "/>
  1027. <col ref="docuseqno" style="text-align:center; "/>
  1028. <col ref="pid" style="text-align:center; "/>
  1029. <col ref="patnm" style="text-align:center; "/>
  1030. <col ref="patrrgstno" format="999999-9999999" style="text-align:center; "/>
  1031. <col ref="clmcstotamt" format="(-)#,###" style="text-align:right; "/>
  1032. <col ref="clownbamt" format="(-)#,###" style="text-align:right; "/>
  1033. <col ref="clclamamt" format="(-)#,###" style="text-align:right; "/>
  1034. <col ref="clblwtotownamt" format="(-)#,###" style="text-align:right; "/>
  1035. <col ref="clblwownbamt" format="(-)#,###" style="text-align:right; "/>
  1036. <col ref="clblwinsuclamamt" format="(-)#,###" style="text-align:right; "/>
  1037. <col ref="clownbmaxexamt" format="(-)#,###" style="text-align:right; "/>
  1038. <col ref="clsuppamt" format="(-)#,###" style="text-align:right; "/>
  1039. <col ref="clhandicaprfund" format="(-)#,###" style="text-align:right; "/>
  1040. <col ref="jrmcstotamt" format="(-)#,###" style="text-align:right; "/>
  1041. <col ref="jrownbamt" format="(-)#,###" style="text-align:right; "/>
  1042. <col ref="jrjudgdeciamt" format="(-)#,###" style="text-align:right; "/>
  1043. <col ref="jrblwtotownamt" format="(-)#,###" style="text-align:right; "/>
  1044. <col ref="jrblwownbamt" format="(-)#,###" style="text-align:right; "/>
  1045. <col ref="jrblwinsuclamamt" format="(-)#,###" style="text-align:right; "/>
  1046. <col ref="jrownbmaxexamt" format="(-)#,###" style="text-align:right; "/>
  1047. <col ref="jrsuppamt" format="(-)#,###" style="text-align:right; "/>
  1048. <col ref="jrhandicaprfund" format="(-)#,###" style="text-align:right; "/>
  1049. <col ref="adjtamt1" format="(-)#,###" style="text-align:right; "/>
  1050. <col ref="adjtamt2" format="(-)#,###" style="text-align:right; "/>
  1051. <col ref="adjtamtsum" format="(-)#,###" style="text-align:right; "/>
  1052. <col ref="adjtresn1" style="text-align:center; "/>
  1053. <col ref="adjtresn2" style="text-align:center; "/>
  1054. <col ref="orgreduamt" format="(-)#,###" style="text-align:right; "/>
  1055. <col ref="jrownaddbamt" format="(-)#,###" style="text-align:right; "/>
  1056. <col ref="orddridnm" style="text-align:center; "/>
  1057. <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
  1058. <choices>
  1059. <itemset nodeset="/root/init/P0008list/P0008">
  1060. <label ref="cdnm"/>
  1061. <value ref="cdid"/>
  1062. </itemset>
  1063. </choices>
  1064. </col>
  1065. <col ref="insdnm" style="text-align:center; "/>
  1066. <col ref="corpmark"/>
  1067. <col ref="corpmarknm"/>
  1068. <col ref="fixrateyn" style="text-align:center; "/>
  1069. <col ref="chosindayno" format="#,###" style="text-align:right; "/>
  1070. <col ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1071. <col ref="statflag" visibility="hidden" style="text-align:center; "/>
  1072. <col ref="clamdg" visibility="hidden"/>
  1073. <col ref="pidsn" visibility="hidden"/>
  1074. <script type="javascript" ev:event="onclick">
  1075. <![CDATA[
  1076. var vrowindex, vcolindex, vresdnrete, vstatflag ;
  1077. vrowindex = grd_pifmiunc02.row;
  1078. vcolindex = grd_pifmiunc02.col;
  1079. if(vrowindex > 1 && vcolindex == 8) {
  1080. // vresdnrete = model.getValue("/root/main/list04/gridpifmiunc02[" + vrowindex + "]/resdnrete") ;
  1081. // if (vresdnrete == 'N' ) return ;
  1082. vstatflag = model.getValue("/root/main/list04/gridpifmiunc02[" + vrowindex + "]/statflag") ;
  1083. //vstatflag = '02' 심사보류, '03' 주민보류, '04' 반송(개발자 정의코드)
  1084. if (vstatflag == "02") {
  1085. messageBox("심사보류건은 선택할 수","I004");
  1086. model.setValue("/root/main/list04/gridpifmiunc02[" + vrowindex + "]/resdnrete", "N") ;
  1087. return ;
  1088. }
  1089. if (vstatflag == "03") {
  1090. messageBox("주민보류 삭제는 주민보류 팝업화면에서만","I006");
  1091. model.setValue("/root/main/list04/gridpifmiunc02[" + vrowindex + "]/resdnrete", "Y") ;
  1092. return ;
  1093. }
  1094. if (vstatflag == "04" ) {
  1095. messageBox("반송건은 선택할 수","I004");
  1096. model.setValue("/root/main/list04/gridpifmiunc02[" + vrowindex + "]/resdnrete", "N") ;
  1097. return ;
  1098. }
  1099. }
  1100. ]]>
  1101. </script>
  1102. <!--script type="javascript" ev:event="onscroll">
  1103. <![CDATA[
  1104. fSubmitOnScroll(flag); // 스크롤바 맨밑에 왔을시 자동실행되어 다음 페이지 조회해옴
  1105. ]]>
  1106. </script-->
  1107. <script type="javascript" ev:event="oncopy">
  1108. <![CDATA[
  1109. grid_oncopy();
  1110. ]]>
  1111. </script>
  1112. <script type="javascript" ev:event="onaftersort">
  1113. <![CDATA[
  1114. grd_pifmiunc02.gridToInstance();
  1115. ]]>
  1116. </script>
  1117. </datagrid>
  1118. <group id="group4" style="left:0px; top:5px; width:1192px; height:35px; vertical-align:top; ">
  1119. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1192px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  1120. <button id="button15" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  1121. <caption>조회</caption>
  1122. <script type="javascript" ev:event="onclick">
  1123. <![CDATA[
  1124. model.removenode("/root/main/list04");
  1125. submit("TRPIF30106") ; //명세서별 조회(청구데이터만 조회)
  1126. // search();
  1127. ]]>
  1128. </script>
  1129. </button>
  1130. <line id="line2" class="line_4" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  1131. <input id="ipt_srchcond01" ref="/root/send/srchcond/srchcond01" class="input_s_essential" inputtype="button" maxlength="7" style="left:174px; top:8px; width:105px; height:19px; ">
  1132. <script type="javascript" ev:event="DOMFocusOut">
  1133. <![CDATA[
  1134. if(ipt_srchcond01.value == "") {
  1135. return false;
  1136. }
  1137. //if(event.keyCode == "13") {
  1138. // setInputNodeCurText();
  1139. // model.removenode("/root/main/list00");
  1140. model.resetInstanceNode("/root/main/list00");
  1141. model.removenode("/root/main/list01");
  1142. model.removenode("/root/main/list02");
  1143. model.removenode("/root/main/list03");
  1144. model.removenode("/root/main/list04");
  1145. model.setValue("/root/send/clam_mtrt/docuseqnofrom", "");
  1146. model.setValue("/root/send/clam_mtrt/docuseqnoto", "");
  1147. // model.resetInstanceNode("/root/main/list01");
  1148. // model.resetInstanceNode("/root/main/list02");
  1149. // model.resetInstanceNode("/root/main/list03");
  1150. // model.resetInstanceNode("/root/main/list04");
  1151. model.setValue("/root/send/srchcond/srchcond02","");
  1152. // model.setValue("/root/send/srchcond/srchcond03","");
  1153. model.setValue("/root/send/srchcond/insukind","11");
  1154. model.refresh();
  1155. var srchflag = model.getValue("/root/send/srchcond/searchflag");
  1156. if(srchflag == "1") {
  1157. if (ipt_srchcond01.value == "") {
  1158. messageBox("접수번호를","C001") ;
  1159. model.setfocus("ipt_srchcond01");
  1160. return false;
  1161. }
  1162. }
  1163. if(srchflag == "2") {
  1164. if (ipt_srchcond01.value == "") {
  1165. messageBox("청구년월을","C001") ;
  1166. model.setfocus("ipt_srchcond01");
  1167. return false;
  1168. }
  1169. }
  1170. // Session_Init();
  1171. // model.setValue("/root/send/send_mtrt/searchflag", "2") ;
  1172. submit("TRPIF30101") ;
  1173. if(ipt_acptnocnt.value > 1) {
  1174. opt_comment.visible = true;
  1175. opt_comment.value = "[ 같은 접수번호가 여러개("+ipt_acptnocnt.value+"개) 있습니다. ]";
  1176. } else {
  1177. opt_comment.visible = false;
  1178. }
  1179. // model.setfocus("cmb_clamymlist");
  1180. if(cmb_srchcond02.length > 0) {
  1181. if(cmb_srchcond02.length == 1) {
  1182. cmb_srchcond02.select(0);
  1183. } else {
  1184. model.setFocus("cmb_srchcond02");
  1185. }
  1186. // search();
  1187. }
  1188. //}
  1189. ]]>
  1190. </script>
  1191. <script type="javascript" ev:event="onbuttonclick">
  1192. <![CDATA[
  1193. var srchflag = model.getValue("/root/send/srchcond/searchflag");
  1194. //조회조건이 청구년월일 경우 버튼 동작 안하도록 설정
  1195. if(srchflag == "2") {
  1196. return false;
  1197. }
  1198. model.makeNode("/root/send/send01/termflag");
  1199. model.makeNode("/root/send/send01/fromdd");
  1200. model.makeNode("/root/send/send01/todd");
  1201. model.makeNode("/root/send/send01/insukind");
  1202. model.makeNode("/root/send/send01/acptno");
  1203. model.setValue("/root/send/send01/insukind","11");
  1204. setParameter("SPPIF30302_RTNTYPE", "P");
  1205. modal("SPPIF30302", 1, 1, 1, "SPPIF30302", "/root/send/send01", "/root/send");
  1206. model.setValue("/root/send/srchcond/srchcond01", getParameter("SPPIF30302_acptno"));
  1207. model.removeNodeset("/root/send/send01");
  1208. clearParameter("SPPIF30302_RTNTYPE");
  1209. clearParameter("SPPIF30302_acptno");
  1210. ipt_srchcond01.refresh();
  1211. if( model.getValue("/root/send/srchcond/srchcond01") != '' ){
  1212. //ipt_srchcond01.dispatch("DOMFocusOut");
  1213. model.setFocus("cmb_srchcond02");
  1214. }
  1215. ]]>
  1216. </script>
  1217. </input>
  1218. <select1 id="cmb_srchcond02" ref="/root/send/srchcond/srchcond02" class="combo_search" appearance="minimal" style="left:280px; top:8px; width:100px; height:19px; ">
  1219. <choices>
  1220. <itemset nodeset="/root/main/list00/srchcond">
  1221. <label ref="srchcond02"/>
  1222. <value ref="srchcond02"/>
  1223. </itemset>
  1224. </choices>
  1225. <script type="javascript" ev:event="xforms-select">
  1226. <![CDATA[
  1227. search();
  1228. ]]>
  1229. </script>
  1230. </select1>
  1231. <select1 id="rdo_srchcond" ref="/root/send/srchcond/searchflag" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:15px; top:9px; width:145px; height:17px; font-weight:bold; border-style:none; ">
  1232. <choices>
  1233. <item>
  1234. <label>접수번호</label>
  1235. <value>1</value>
  1236. </item>
  1237. <item>
  1238. <label>청구년월</label>
  1239. <value>2</value>
  1240. </item>
  1241. </choices>
  1242. <script type="javascript" ev:event="xforms-value-changed">
  1243. <![CDATA[
  1244. if(rdo_srchcond.value == "1") {
  1245. model.resetInstanceNode("/root/main/list00");
  1246. ipt_srchcond01.value = "";
  1247. ipt_srchcond01.attribute("maxlength") = 7;
  1248. model.refresh();
  1249. } else {
  1250. model.resetInstanceNode("/root/main/list00");
  1251. ipt_srchcond01.value = "";
  1252. ipt_srchcond01.attribute("maxlength") = 6;
  1253. model.refresh();
  1254. }
  1255. model.setFocus("ipt_srchcond01");
  1256. //model.setValue("/root/send/acptclam/searchflag", "1");
  1257. ]]>
  1258. </script>
  1259. </select1>
  1260. <input id="ipt_acptnocnt" ref="/root/main/list00/acptnocnt/cnt" visibility="hidden" style="left:820px; top:10px; width:30px; height:19px; "/>
  1261. <output id="opt_comment" visibility="hidden" style="left:595px; top:8px; width:220px; height:19px; color:#999999; "/>
  1262. <input id="input87" ref="/root/main/list02/gridpifmiunc00/acptdd" class="input_s_essential" style="left:491px; top:8px; width:90px; height:19px; "/>
  1263. <caption id="caption115" class="search_name" style="left:399px; top:9px; width:86px; height:17px; ">접수일자 :</caption>
  1264. <caption id="caption119" class="search_name" style="left:855px; top:9px; width:86px; height:17px; ">명일련 :</caption>
  1265. <input id="ipt_docuseqnofrom" ref="/root/send/clam_mtrt/docuseqnofrom" class="input_search" style="left:930px; top:8px; width:70px; height:19px; ">
  1266. <script type="javascript" ev:event="onkeydown">
  1267. <![CDATA[
  1268. if(event.keyCode == "13") { // enter key
  1269. setInputNodeCurText();
  1270. ipt_docuseqnoto.value = ipt_docuseqnofrom.value;
  1271. model.refreshpart("/root/send/clam_mtrt");
  1272. }
  1273. ]]>
  1274. </script>
  1275. </input>
  1276. <input id="ipt_docuseqnoto" ref="/root/send/clam_mtrt/docuseqnoto" class="input_search" style="left:1021px; top:8px; width:70px; height:19px; "/>
  1277. <caption id="caption121" style="left:1005px; top:10px; width:15px; height:20px; ">~</caption>
  1278. </group>
  1279. <line id="line8" class="line_2" style="x1:0px; y1:216px; x2:205px; y2:216px; "/>
  1280. <line id="line9" class="line_1" style="x1:1016px; y1:164px; x2:1192px; y2:164px; "/>
  1281. <input id="input8" ref="/root/main/list03/gridpifmiunc01/sendtotordamt" class="input_default" format="(-)#,###" style="left:922px; top:195px; width:87px; height:19px; text-align:right; "/>
  1282. <caption id="caption50" class="cell_1" style="left:212px; top:293px; width:96px; height:23px; vertical-align:middle; ">청구액</caption>
  1283. <line id="line20" class="line_2" style="x1:821px; y1:217px; x2:1008px; y2:217px; "/>
  1284. <line id="line21" class="line_2" style="x1:821px; y1:241px; x2:1008px; y2:241px; "/>
  1285. <line id="line10" class="line_3" style="x1:0px; y1:140px; x2:218px; y2:140px; "/>
  1286. <caption id="caption41" class="tit_2" style="left:827px; top:149px; width:129px; height:13px; ">반송내역사항</caption>
  1287. <input id="input20" ref="/root/main/list03/gridpifmiunc01/sendsuppcnt" class="input_default" format="#,###" style="left:921px; top:270px; width:28px; height:19px; text-align:right; "/>
  1288. <caption id="caption30" class="cell_1" style="left:821px; top:219px; width:98px; height:23px; vertical-align:middle; ">[반송] 반송액</caption>
  1289. <line id="line22" class="line_2" style="x1:821px; y1:266px; x2:1008px; y2:266px; "/>
  1290. <line id="line11" class="line_2" style="x1:0px; y1:241px; x2:205px; y2:241px; "/>
  1291. <caption id="caption42" class="tit_2" style="left:1020px; top:149px; width:110px; height:13px; ">삭감내역사항</caption>
  1292. <caption id="caption31" class="cell_1" style="left:821px; top:194px; width:98px; height:23px; vertical-align:middle; ">[반송] 총진료비</caption>
  1293. <input id="input10" ref="/root/main/list03/gridpifmiunc01/sendsuppamt" class="input_default" format="(-)#,###" style="left:950px; top:270px; width:59px; height:19px; text-align:right; "/>
  1294. <line id="line12" class="line_2" style="x1:0px; y1:266px; x2:205px; y2:266px; "/>
  1295. <input id="input11" ref="/root/main/list03/gridpifmiunc01/jrownaddbamt" class="input_default" format="(-)#,###" style="left:311px; top:246px; width:92px; height:19px; text-align:right; "/>
  1296. <caption id="caption32" class="cell_1" style="left:1016px; top:219px; width:85px; height:23px; vertical-align:middle; ">실삭감액</caption>
  1297. <line id="line24" class="line_2" style="x1:1017px; y1:192px; x2:1191px; y2:192px; "/>
  1298. <caption id="caption1" class="tit_2" style="left:5px; top:98px; width:160px; height:13px; ">심사차수별 미수관리</caption>
  1299. <input id="input12" ref="/root/main/list03/gridpifmiunc01/sendmaxexamt" class="input_default" format="(-)#,###" style="left:950px; top:245px; width:59px; height:19px; text-align:right; "/>
  1300. <input id="input23" ref="/root/main/list03/gridpifmiunc01/sendamt" class="input_default" format="(-)#,###" style="left:922px; top:221px; width:87px; height:19px; text-align:right; "/>
  1301. <line id="line14" class="line_2" style="x1:212px; y1:192px; x2:616px; y2:192px; "/>
  1302. <line id="line25" class="line_2" style="x1:1017px; y1:217px; x2:1191px; y2:217px; "/>
  1303. <caption id="caption11" class="cell_1" style="left:0px; top:218px; width:85px; height:23px; vertical-align:middle; ">본인부담금</caption>
  1304. <caption id="caption22" class="cell_1" style="left:0px; top:243px; width:85px; height:23px; vertical-align:middle; ">청구액</caption>
  1305. <input id="input13" ref="/root/main/list03/gridpifmiunc01/sendcnt" class="input_default" format="#,###" style="left:922px; top:171px; width:87px; height:19px; text-align:right; "/>
  1306. <caption id="caption23" class="cell_1" style="left:821px; top:243px; width:98px; height:23px; vertical-align:middle; ">[반송] 상한액</caption>
  1307. <caption id="caption34" class="cell_1" style="left:1016px; top:194px; width:85px; height:23px; vertical-align:middle; ">조정금액</caption>
  1308. <input id="input24" ref="/root/main/list03/gridpifmiunc01/cutcnt" class="input_default" format="#,###" style="left:1104px; top:171px; width:88px; height:19px; text-align:right; "/>
  1309. <caption id="caption12" class="cell_1" style="left:1009px; top:118px; width:85px; height:21px; vertical-align:middle; background-color:#ffff99; ">수진자</caption>
  1310. <caption id="caption13" class="cell_1" style="left:212px; top:169px; width:96px; height:23px; vertical-align:middle; ">건수</caption>
  1311. <input id="input14" ref="/root/main/list03/gridpifmiunc01/jrownbrtnamt" class="input_default" format="(-)#,###" style="left:311px; top:221px; width:92px; height:19px; text-align:right; "/>
  1312. <caption id="caption24" class="cell_1" style="left:821px; top:268px; width:98px; height:23px; vertical-align:middle; ">[반송] 지원금</caption>
  1313. <input id="input25" ref="/root/main/list03/gridpifmiunc01/adjtamt" class="input_default" format="(-)#,###" style="left:1104px; top:195px; width:88px; height:19px; text-align:right; "/>
  1314. <select1 id="cmb_judgdg" ref="/root/send/clam_mtrt/judgdg" class="combo_default" appearance="minimal" style="left:118px; top:119px; width:100px; height:19px; ">
  1315. <choices>
  1316. <itemset nodeset="/root/main/list01/judgdg01">
  1317. <label ref="judgdg"/>
  1318. <value ref="judgdg"/>
  1319. </itemset>
  1320. </choices>
  1321. <script type="javascript" ev:event="xforms-select">
  1322. <![CDATA[
  1323. if(cmb_judgdg.value == "없음") {
  1324. return false;
  1325. } else {
  1326. model.removenode("/root/main/list03");
  1327. model.removenode("/root/main/list04");
  1328. model.setValue("/root/send/clam_mtrt/insukind", model.getValue("/root/send/srchcond/insukind"));
  1329. model.refresh();
  1330. var vjudgdg = model.getValue("/root/send/clam_mtrt/judgdg");
  1331. if (vjudgdg == "") {
  1332. messageBox("심사차수를","I007");
  1333. model.setfocus("cmb_judgdg");
  1334. return false;
  1335. }
  1336. // submit("TRPIF30104") ; //청구내역
  1337. submit("TRPIF30105") ; //심결내역
  1338. // submit("TRPIF30106") ; //명세서별 조회
  1339. // searchByJudgdg();
  1340. }
  1341. ]]>
  1342. </script>
  1343. </select1>
  1344. <caption id="caption4" class="cell_1" style="left:0px; top:169px; width:85px; height:23px; vertical-align:middle; ">건수</caption>
  1345. <caption id="caption25" class="cell_1" style="left:212px; top:218px; width:96px; height:23px; vertical-align:middle; ">본인부담환급금</caption>
  1346. <input id="input15" ref="/root/main/list03/gridpifmiunc01/jrsltcnt" class="input_default" format="#,###" style="left:311px; top:171px; width:92px; height:19px; text-align:right; "/>
  1347. <caption id="caption14" class="cell_1" style="left:808px; top:117px; width:85px; height:23px; vertical-align:middle; background-color:#ffff99; ">등록번호</caption>
  1348. <line id="line1" class="line_1" style="x1:0px; y1:113px; x2:1192px; y2:113px; "/>
  1349. <caption id="caption5" class="tit_2" style="left:6px; top:150px; width:78px; height:13px; ">청구사항</caption>
  1350. <caption id="caption15" class="cell_1" style="left:212px; top:268px; width:96px; height:23px; vertical-align:middle; ">위탁검사지급금</caption>
  1351. <input id="input27" ref="/root/main/list03/gridpifmiunc01/jrtrudirecpamt" class="input_default" format="(-)#,###" style="left:311px; top:271px; width:92px; height:19px; text-align:right; "/>
  1352. <caption id="caption37" class="cell_1" style="left:1016px; top:169px; width:85px; height:23px; vertical-align:middle; ">건수</caption>
  1353. <caption id="caption26" class="cell_1" style="left:0px; top:194px; width:85px; height:23px; vertical-align:middle; ">총진료비</caption>
  1354. <input id="input16" ref="/root/main/list03/gridpifmiunc01/clownbamt" class="input_default" format="(-)#,###" style="left:88px; top:219px; width:117px; height:19px; text-align:right; "/>
  1355. <line id="line29" class="line_3" style="x1:0px; y1:340px; x2:205px; y2:340px; "/>
  1356. <line id="line3" class="line_1" style="x1:212px; y1:164px; x2:616px; y2:164px; "/>
  1357. <input id="input17" ref="/root/main/list03/gridpifmiunc01/jrownbamt" class="input_default" format="(-)#,###" style="left:311px; top:196px; width:92px; height:19px; text-align:right; "/>
  1358. <input id="input39" ref="/root/main/list03/gridpifmiunc01/clamamt2" class="input_default" format="(-)#,###" style="left:311px; top:295px; width:92px; height:19px; text-align:right; "/>
  1359. <caption id="caption7" class="cell_1" style="left:407px; top:194px; width:90px; height:23px; vertical-align:middle; ">지원금 | 소계</caption>
  1360. <input id="input2" ref="/root/main/list03/gridpifmiunc01/jrjudgdeciamt" class="input_default" format="(-)#,###" style="left:500px; top:221px; width:116px; height:19px; text-align:right; "/>
  1361. <line id="line19" class="line_2" style="x1:821px; y1:192px; x2:1008px; y2:192px; "/>
  1362. <caption id="caption16" class="cell_1" style="left:606px; top:117px; width:85px; height:23px; vertical-align:middle; background-color:#ffff99; ">명일련</caption>
  1363. <caption id="caption27" class="cell_1" style="left:0px; top:117px; width:115px; height:23px; vertical-align:middle; ">심사차수</caption>
  1364. <caption id="caption39" class="tit_2" style="left:221px; top:149px; width:78px; height:13px; ">심결사항</caption>
  1365. <caption id="caption17" class="cell_1" style="left:212px; top:194px; width:96px; height:23px; vertical-align:middle; ">본인부담금</caption>
  1366. <caption id="caption28" class="cell_1" style="left:821px; top:169px; width:98px; height:23px; vertical-align:middle; ">[반송] 건수</caption>
  1367. <line id="line4" class="line_1" style="x1:0px; y1:164px; x2:205px; y2:164px; "/>
  1368. <input id="input3" ref="/root/main/list03/gridpifmiunc01/clamcnt" class="input_default" format="#,###" style="left:88px; top:171px; width:117px; height:19px; text-align:right; "/>
  1369. <input id="input18" ref="/root/main/list03/gridpifmiunc01/clmcstotamt" class="input_default" format="(-)#,###" style="left:88px; top:195px; width:117px; height:19px; text-align:right; "/>
  1370. <caption id="caption9" class="cell_1" style="left:212px; top:243px; width:96px; height:23px; vertical-align:middle; ">본인추가부담금</caption>
  1371. <caption id="caption18" class="cell_1" style="left:407px; top:219px; width:90px; height:23px; vertical-align:middle; ">심사결정액</caption>
  1372. <line id="line5" class="line_2" style="x1:0px; y1:192px; x2:205px; y2:192px; "/>
  1373. <line id="line6" class="line_1" style="x1:821px; y1:164px; x2:1009px; y2:164px; "/>
  1374. <caption id="caption19" class="cell_1" style="left:0px; top:293px; width:85px; height:23px; vertical-align:middle; ">지원금 | 소계</caption>
  1375. <line id="line7" class="line_3" style="x1:606px; y1:139px; x2:1192px; y2:139px; "/>
  1376. <input id="input6" ref="/root/main/list03/gridpifmiunc01/clclamamt" class="input_default" format="(-)#,###" style="left:88px; top:245px; width:117px; height:19px; text-align:right; "/>
  1377. <input id="input55" ref="/root/main/list03/gridpifmiunc01/clsuppcnt" class="input_default" format="#,###" style="left:88px; top:295px; width:37px; height:19px; text-align:right; "/>
  1378. <input id="input56" ref="/root/main/list03/gridpifmiunc01/orgreduamt" class="input_default" format="(-)#,###" style="left:1104px; top:221px; width:88px; height:19px; text-align:right; "/>
  1379. <line id="line66" class="line_1" style="x1:0px; y1:60px; x2:1192px; y2:60px; "/>
  1380. <caption id="caption86" class="cell_1" style="left:606px; top:64px; width:85px; height:23px; vertical-align:middle; ">내원유형</caption>
  1381. <caption id="caption87" class="cell_1" style="left:1009px; top:65px; width:85px; height:23px; vertical-align:middle; ">청구번호</caption>
  1382. <line id="line67" class="line_3" style="x1:0px; y1:88px; x2:1192px; y2:88px; "/>
  1383. <input id="input60" ref="/root/main/list02/gridpifmiunc00/clamym" class="input_default" format="yyyy-mm" style="left:88px; top:66px; width:111px; height:19px; "/>
  1384. <input id="input61" ref="/root/main/list02/gridpifmiunc00/clamflagnm" class="input_default" style="left:492px; top:66px; width:111px; height:19px; "/>
  1385. <caption id="caption88" class="cell_1" style="left:1px; top:65px; width:85px; height:23px; vertical-align:middle; ">청구년월</caption>
  1386. <input id="input63" ref="/root/main/list02/gridpifmiunc00/ordfildnm" class="input_default" style="left:895px; top:66px; width:111px; height:19px; "/>
  1387. <input id="input64" ref="/root/main/list02/gridpifmiunc00/ordym" class="input_default" format="yyyy-mm" style="left:290px; top:66px; width:111px; height:19px; "/>
  1388. <input id="input65" ref="/root/main/list02/gridpifmiunc00/ioflag" class="input_default" style="left:694px; top:66px; width:111px; height:19px; "/>
  1389. <input id="input66" ref="/root/main/list02/gridpifmiunc00/clamno" class="input_default" style="left:1097px; top:66px; width:92px; height:19px; "/>
  1390. <caption id="caption90" class="cell_1" style="left:404px; top:65px; width:85px; height:23px; vertical-align:middle; ">청구구분</caption>
  1391. <caption id="caption91" class="cell_1" style="left:202px; top:64px; width:85px; height:23px; vertical-align:middle; ">미수월</caption>
  1392. <caption id="caption92" class="tit_2" style="left:6px; top:45px; width:111px; height:13px; ">심사결정사항</caption>
  1393. <caption id="caption93" class="cell_1" style="left:808px; top:65px; width:85px; height:23px; vertical-align:middle; ">진료분야</caption>
  1394. <line id="line30" class="line_3" style="x1:212px; y1:340px; x2:402px; y2:340px; "/>
  1395. <line id="line31" class="line_3" style="x1:821px; y1:315px; x2:1009px; y2:315px; "/>
  1396. <line id="line32" class="line_3" style="x1:1016px; y1:243px; x2:1192px; y2:243px; "/>
  1397. <line id="line16" class="line_2" style="x1:212px; y1:242px; x2:402px; y2:242px; "/>
  1398. <line id="line17" class="line_2" style="x1:212px; y1:267px; x2:402px; y2:267px; "/>
  1399. <line id="line18" class="line_2" style="x1:212px; y1:292px; x2:402px; y2:292px; "/>
  1400. <line id="line70" class="line_3" style="x1:407px; y1:242px; x2:616px; y2:242px; "/>
  1401. <group id="group6" scroll="auto" style="left:0px; top:647px; width:1192px; height:27px; ">
  1402. <line id="line26" class="line_6" style="x1:0px; y1:0px; x2:1192px; y2:0px; "/>
  1403. <button id="button1" class="btn3_letter6" style="left:0px; top:5px; width:104px; height:22px; ">
  1404. <caption>주민보류관리</caption>
  1405. <script type="javascript" ev:event="onclick">
  1406. <![CDATA[
  1407. // var i, j = 0, vresdnrete ;
  1408. // var vrowcount = grd_piehf202.rows ;
  1409. // for (i = 1; i < vrowcount ; i++) {
  1410. // vresdnrete = model.getValue("/root/main/list02/gridpiehf202[" + i + "]/resdnrete");
  1411. // if (vresdnrete == "Y") {
  1412. // j = j + 1 ;
  1413. // model.setValue("/root/main/list03/gridpiehf202lnk[" + i + "]/judgdg", model.getValue("/root/main/list02/gridpiehf202/judgdg"));
  1414. // model.setValue("/root/main/list03/gridpiehf202lnk[" + i + "]/acptno", model.getValue("/root/main/list02/gridpiehf202/acptno"));
  1415. // model.setValue("/root/main/list03/gridpiehf202lnk[" + i + "]/clamno", model.getValue("/root/main/list02/gridpiehf202/clamno"));
  1416. // model.setValue("/root/main/list03/gridpiehf202lnk[" + i + "]/docuseqno", model.getValue("/root/main/list02/gridpiehf202/docuseqno"));
  1417. // model.makeNode( "/root/main/list03/gridpiehf202lnk[" + j + "]/judgdg");
  1418. // model.makeNode( "/root/main/list03/gridpiehf202lnk[" + j + "]/acptno");
  1419. // model.makeNode( "/root/main/list03/gridpiehf202lnk[" + j + "]/clamno");
  1420. // model.makeNode( "/root/main/list03/gridpiehf202lnk[" + j + "]/docuseqno");
  1421. // model.setValue("/root/main/list03/gridpiehf202lnk[" + j + "]/judgdg", model.getValue("/root/main/list02/gridpiehf202[" + i + "]/judgdg"));
  1422. // model.setValue("/root/main/list03/gridpiehf202lnk[" + j + "]/acptno", model.getValue("/root/main/list02/gridpiehf202[" + i + "]/acptno"));
  1423. // model.setValue("/root/main/list03/gridpiehf202lnk[" + j + "]/clamno", model.getValue("/root/main/list02/gridpiehf202[" + i+ "]/clamno"));
  1424. // model.setValue("/root/main/list03/gridpiehf202lnk[" + j + "]/docuseqno", model.getValue("/root/main/list02/gridpiehf202[" + i + "]/docuseqno"));
  1425. // }
  1426. // }
  1427. if(chkJudgdg("1")) {
  1428. for(var i=0;i<cmb_judgdg.length;i++) {
  1429. if(cmb_judgdg.value == model.getValue("/root/main/list01/decoseq["+i+"]/judgdg")) {
  1430. model.makeNode("/root/send/clam_mtrt/decoseq");
  1431. model.setValue("/root/send/clam_mtrt/decoseq", model.getValue("/root/main/list01/decoseq["+i+"]/decoseq"));
  1432. }
  1433. }
  1434. modal("SMPIF30110", 1, 1, 1, "SMPIF30110", "/root/send/clam_mtrt", "/root/send/sendlnk");
  1435. }
  1436. ]]>
  1437. </script>
  1438. </button>
  1439. <button id="btn_send" class="btn3_letter4" style="left:209px; top:5px; width:80px; height:22px; ">
  1440. <caption>반송관리</caption>
  1441. <script type="javascript" ev:event="onclick">
  1442. <![CDATA[
  1443. if(chkJudgdg("3")) {
  1444. model.makeNode("/root/send/clam_mtrt/screenflag");
  1445. model.setValue("/root/send/clam_mtrt/screenflag","bohum");
  1446. for(var i=1;i<=cmb_judgdg.length;i++) {
  1447. if(cmb_judgdg.value == model.getValue("/root/main/list01/decoseq["+i+"]/judgdg")) {
  1448. model.makeNode("/root/send/clam_mtrt/decoseq");
  1449. model.setValue("/root/send/clam_mtrt/decoseq", model.getValue("/root/main/list01/decoseq["+i+"]/decoseq"));
  1450. }
  1451. }
  1452. modal("SMPIF30130", 1, 1, 1, "SMPIF30130", "/root/send/clam_mtrt", "/root/send/sendlnk");
  1453. }
  1454. ]]>
  1455. </script>
  1456. </button>
  1457. <button id="btn_judgrete" class="btn3_letter6" style="left:104px; top:5px; width:104px; height:22px; ">
  1458. <caption>심사보류관리</caption>
  1459. <script type="javascript" ev:event="onclick">
  1460. <![CDATA[
  1461. if(chkJudgdg("2")) {
  1462. for(var i=1;i<=cmb_judgdg.length;i++) {
  1463. if(cmb_judgdg.value == model.getValue("/root/main/list01/decoseq["+i+"]/judgdg")) {
  1464. model.makeNode("/root/send/clam_mtrt/decoseq");
  1465. model.setValue("/root/send/clam_mtrt/decoseq", model.getValue("/root/main/list01/decoseq["+i+"]/decoseq"));
  1466. }
  1467. }
  1468. modal("SMPIF30120", 1, 1, 1, "SMPIF30120", "/root/send/clam_mtrt", "/root/send/sendlnk");
  1469. }
  1470. ]]>
  1471. </script>
  1472. </button>
  1473. <button id="btn_save" class="btn4_letter2" style="left:1135px; top:5px; width:56px; height:22px; ">
  1474. <caption>저장</caption>
  1475. <script type="javascript" ev:event="onclick">
  1476. <![CDATA[
  1477. var vjudgdg = model.getValue("/root/send/clam_mtrt/judgdg") ;
  1478. if(cmb_judgdg.length > 0) {
  1479. if (vjudgdg == "") {
  1480. messageBox("심사차수를","C002");
  1481. model.setFocus("cmb_judgdg");
  1482. return ;
  1483. }
  1484. }
  1485. model.setValue("/root/main/list05/gridpifmiunc03", grd_pifmiunc02.getUpdateData());
  1486. if(submit("TXPIF30101")) {
  1487. //model.removeNodeset("/root/main/list02");
  1488. // model.removeNodeset("/root/main/list03");
  1489. model.removeNodeset("/root/main/list04");
  1490. model.refresh();
  1491. // submit("TRPIF30105"); //청구내역 조회 // 2010.03.12 명세서만 조회되게 요청함.
  1492. submit("TRPIF30106"); //명세서별 조회
  1493. messageBox("저장 ","I002") ;
  1494. }
  1495. ]]>
  1496. </script>
  1497. </button>
  1498. <button id="button2" class="btn3_letter5" style="left:290px; top:5px; width:84px; height:22px; ">
  1499. <caption>상한금관리</caption>
  1500. <script type="javascript" ev:event="onclick">
  1501. <![CDATA[
  1502. // 2010.03.29 접수증만 와도 대상자를 보여주세요.
  1503. // if(chkJudgdg("4")) {
  1504. model.makeNode("/root/send/clam_mtrt/screenflag");
  1505. model.setValue("/root/send/clam_mtrt/screenflag","bohum");
  1506. model.makeNode("/root/send/clam_mtrt/openflag");
  1507. model.setValue("/root/send/clam_mtrt/openflag","상한금");
  1508. model.makeNode("/root/send/clam_mtrt/inddepoflag"); // 2010.03.05 상한금 플레그 추가
  1509. model.setValue("/root/send/clam_mtrt/inddepoflag","06"); // 2010.03.05 상한금 플레그 추가
  1510. for(var i=1;i<=cmb_judgdg.length;i++) {
  1511. if(cmb_judgdg.value == model.getValue("/root/main/list01/decoseq["+i+"]/judgdg")) {
  1512. model.makeNode("/root/send/clam_mtrt/decoseq");
  1513. model.setValue("/root/send/clam_mtrt/decoseq", model.getValue("/root/main/list01/decoseq["+i+"]/decoseq"));
  1514. }
  1515. }
  1516. modal("SMPIF30170", 1, 1, 1, "SMPIF30170", "/root/send/clam_mtrt", "/root/send");
  1517. // }
  1518. ]]>
  1519. </script>
  1520. </button>
  1521. <button id="button6" class="btn3_letter5" style="left:383px; top:5px; width:92px; height:22px; ">
  1522. <caption>지원금관리</caption>
  1523. <script type="javascript" ev:event="onclick">
  1524. <![CDATA[
  1525. // 2010.03.29 접수증만 와도 대상자를 보여주세요.
  1526. // if(chkJudgdg("5")) {
  1527. model.makeNode("/root/send/clam_mtrt/screenflag");
  1528. model.setValue("/root/send/clam_mtrt/screenflag","bohum");
  1529. model.makeNode("/root/send/clam_mtrt/openflag");
  1530. model.setValue("/root/send/clam_mtrt/openflag","지원금");
  1531. for(var i=1;i<=cmb_judgdg.length;i++) {
  1532. if(cmb_judgdg.value == model.getValue("/root/main/list01/decoseq["+i+"]/judgdg")) {
  1533. model.makeNode("/root/send/clam_mtrt/decoseq");
  1534. model.setValue("/root/send/clam_mtrt/decoseq", model.getValue("/root/main/list01/decoseq["+i+"]/decoseq"));
  1535. }
  1536. }
  1537. modal("SMPIF30180", 1, 1, 1, "SMPIF30180", "/root/send/clam_mtrt", "/root/send");
  1538. // }
  1539. ]]>
  1540. </script>
  1541. </button>
  1542. <button id="button22" class="btn3_letter5" style="left:477px; top:5px; width:92px; height:22px; ">
  1543. <caption>장애인관리</caption>
  1544. <script type="javascript" ev:event="onclick">
  1545. <![CDATA[
  1546. //if(chkJudgdgMed("2")) {
  1547. model.setValue("/root/send/clam_med/acptno",model.getValue("/root/send/clam_mtrt/acptno"));
  1548. if ( model.getValue("/root/send/clam_mtrt/judgdg") != "없음" ) {
  1549. model.setValue("/root/send/clam_med/judgdg",model.getValue("/root/send/clam_mtrt/judgdg"));
  1550. }
  1551. model.setValue("/root/send/clam_med/clamno",model.getValue("/root/send/clam_mtrt/clamno"));
  1552. modal("SMPIF30150", 1, 1, 1, "SMPIF30150", "/root/send", "/root/send/sendlnk");
  1553. //}
  1554. ]]>
  1555. </script>
  1556. </button>
  1557. </group>
  1558. <caption id="caption8" class="tit_2" style="left:6px; top:349px; width:178px; height:13px; ">명세서일련번호별 청구사항</caption>
  1559. <line id="line13" class="line_1" style="x1:0px; y1:364px; x2:1192px; y2:364px; "/>
  1560. <input id="ipt_docuseqno1" ref="/root/send/searchgridrow/docuseqno" class="input_default" style="left:694px; top:118px; width:111px; height:19px; ">
  1561. <script type="javascript" ev:event="onkeyup">
  1562. <![CDATA[
  1563. if(event.keyCode == "13") {
  1564. setInputNodeCurText();
  1565. //ipt_docuseqno1.value = "";
  1566. ipt_pid1.value = "";
  1567. ipt_patnm.value = "";
  1568. var docuseqno = ipt_docuseqno1.value;
  1569. var cnt = 0;
  1570. /*if(docuseqno.length == 0) {
  1571. return false;
  1572. } else if(docuseqno.length == 1) {
  1573. docuseqno = "0000"+docuseqno;
  1574. } else if(docuseqno.length == 2) {
  1575. docuseqno = "000"+docuseqno;
  1576. } else if(docuseqno.length == 3) {
  1577. docuseqno = "00"+docuseqno;
  1578. } else if(docuseqno.length == 4) {
  1579. docuseqno = "0"+docuseqno;
  1580. } else if(docuseqno.length == 5) {
  1581. docuseqno = docuseqno;
  1582. } else if(docuseqno.length > 5) {
  1583. messageBox("명세서일련번호는 최대 5자리","E008");
  1584. ipt_docuseqno2.value = "";
  1585. return false;
  1586. }*/
  1587. if(docuseqno.length > 5) {
  1588. messageBox("명세서일련번호는 최대 5자리","E008");
  1589. ipt_docuseqno2.value = "";
  1590. return false;
  1591. }
  1592. flag = "N";
  1593. var rows = grd_pifmiunc02.rows;
  1594. for(var i=1;i<rows;i++) {
  1595. //if(model.getValue("/root/main/list04/gridpifmiunc02["+i+"]/docuseqno") == docuseqno) {
  1596. if(grd_pifmiunc02.valueMatrix(i,11) == docuseqno) {
  1597. //grd_pifmiunc02.select(i,9) = true;
  1598. grd_pifmiunc02.row = i;
  1599. grd_pifmiunc02.topRow = i;
  1600. cnt++;
  1601. flag = "Y";
  1602. return false;
  1603. }
  1604. }
  1605. if(cnt == 0) {
  1606. messageBox("찾는 명일련이","I004");
  1607. model.setFocus("ipt_docuseqno1");
  1608. //researchgrid("docuseqno",docuseqno);
  1609. }
  1610. }
  1611. ]]>
  1612. </script>
  1613. </input>
  1614. <input id="ipt_pid1" ref="/root/send/searchgridrow/pid" class="input_default" style="left:895px; top:118px; width:111px; height:19px; ">
  1615. <script type="javascript" ev:event="onkeyup">
  1616. <![CDATA[
  1617. if(event.keyCode == "13") {
  1618. setInputNodeCurText();
  1619. ipt_docuseqno1.value = "";
  1620. //ipt_pid1.value = "";
  1621. ipt_patnm.value = "";
  1622. var pid = ipt_pid1.value;
  1623. var rows = grd_pifmiunc02.rows;
  1624. var cnt = 0;
  1625. flag = "N";
  1626. for(var i=1;i<rows;i++) {
  1627. //if(model.getValue("/root/main/list04/gridpifmiunc02["+i+"]/pid") == pid) {
  1628. if(grd_pifmiunc02.valueMatrix(i,12) == pid) {
  1629. grd_pifmiunc02.row = i;
  1630. grd_pifmiunc02.topRow = i;
  1631. cnt++;
  1632. flag = "Y";
  1633. return false;
  1634. }
  1635. }
  1636. if(cnt == 0) {
  1637. messageBox("찾는 등록번호가","I004");
  1638. model.setFocus("ipt_pid1");
  1639. //researchgrid("pid",pid);
  1640. }
  1641. }
  1642. ]]>
  1643. </script>
  1644. </input>
  1645. <input id="ipt_patnm" ref="/root/send/searchgridrow/patnm" class="input_default" style="left:1097px; top:118px; width:92px; height:19px; ">
  1646. <script type="javascript" ev:event="onkeyup">
  1647. <![CDATA[
  1648. if(event.keyCode == "13") {
  1649. setInputNodeCurText();
  1650. ipt_docuseqno1.value = "";
  1651. ipt_pid1.value = "";
  1652. //ipt_patnm.value = "";
  1653. var patnm = ipt_patnm.value;
  1654. var rows = grd_pifmiunc02.rows;
  1655. var cnt = 0;
  1656. flag = "N";
  1657. if(model.getValue("/root/init/prepatnm") == "") {
  1658. for(var i=1;i<rows;i++) {
  1659. //if(model.getValue("/root/main/list04/gridpifmiunc02["+i+"]/patnm") == patnm) {
  1660. if(grd_pifmiunc02.valueMatrix(i,13) == patnm) {
  1661. grd_pifmiunc02.row = i;
  1662. grd_pifmiunc02.topRow = i;
  1663. model.setValue("/root/init/prepatnmcnt",i);
  1664. cnt++;
  1665. flag = "Y";
  1666. break;
  1667. }
  1668. }
  1669. model.setValue("/root/init/prepatnm",ipt_patnm.value);
  1670. } else {
  1671. if(patnm == model.getValue("/root/init/prepatnm")) {
  1672. for(var i=Number(model.getValue("root/init/prepatnmcnt"))+1;i<rows;i++) {
  1673. //if(model.getValue("/root/main/list04/gridpifmiunc02["+i+"]/patnm") == patnm) {
  1674. if(grd_pifmiunc02.valueMatrix(i,13) == patnm) {
  1675. grd_pifmiunc02.row = i;
  1676. grd_pifmiunc02.topRow = i;
  1677. model.setValue("/root/init/prepatnmcnt",i);
  1678. cnt++;
  1679. flag = "Y";
  1680. break;
  1681. }
  1682. }
  1683. } else {
  1684. for(var i=1;i<rows;i++) {
  1685. //if(model.getValue("/root/main/list04/gridpifmiunc02["+i+"]/patnm") == patnm) {
  1686. if(grd_pifmiunc02.valueMatrix(i,13) == patnm) {
  1687. grd_pifmiunc02.row = i;
  1688. grd_pifmiunc02.topRow = i;
  1689. model.setValue("/root/init/prepatnmcnt",i);
  1690. cnt++;
  1691. flag = "Y";
  1692. break;
  1693. }
  1694. }
  1695. model.setValue("/root/init/prepatnm",ipt_patnm.value);
  1696. }
  1697. }
  1698. if(cnt == 0) {
  1699. messageBox("찾는 명일련이","I004");
  1700. model.setFocus("ipt_patnm");
  1701. //researchgrid("patnm",patnm);
  1702. }
  1703. }
  1704. ]]>
  1705. </script>
  1706. </input>
  1707. <caption id="caption45" class="tit_2" style="left:413px; top:247px; width:129px; height:13px; ">주민보류사항</caption>
  1708. <line id="line52" class="line_1" style="x1:407px; y1:262px; x2:616px; y2:262px; "/>
  1709. <input id="input1" ref="/root/main/list03/gridpifmiunc01/resdnretecnt" class="input_default" format="#,###" style="left:498px; top:269px; width:118px; height:19px; text-align:right; "/>
  1710. <caption id="caption54" class="cell_1" style="left:407px; top:267px; width:88px; height:23px; vertical-align:middle; ">[보류] 건수</caption>
  1711. <line id="line54" class="line_2" style="x1:408px; y1:291px; x2:615px; y2:291px; "/>
  1712. <caption id="caption59" class="cell_1" style="left:407px; top:293px; width:88px; height:23px; vertical-align:middle; ">[보류] 보류액</caption>
  1713. <input id="input30" ref="/root/main/list03/gridpifmiunc01/resdnreteamt" class="input_default" format="(-)#,###" style="left:498px; top:294px; width:118px; height:19px; text-align:right; "/>
  1714. <line id="line77" class="line_3" style="x1:407px; y1:315px; x2:616px; y2:315px; "/>
  1715. <button id="button12" class="btn2_letter4" style="left:1127px; top:343px; width:64px; height:19px; ">
  1716. <caption>엑셀저장</caption>
  1717. <script type="javascript" ev:event="onclick">
  1718. <![CDATA[
  1719. var today = new Date();
  1720. var yy = today.getYear()+"";
  1721. var mm = today.getMonth()+1;
  1722. var dd = today.getDate();
  1723. if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
  1724. if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
  1725. var tmp = yy+mm+dd;
  1726. //var fileName = window.fileDialog("save", ",", false, "개인별미수관리(보험)_"+tmp, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1727. /*
  1728. var clamym = model.getValue("/root/send/clam_mtrt/clamym");
  1729. var acptno = model.getValue("/root/send/clam_mtrt/acptno");
  1730. var judgdg = model.getValue("/root/send/clam_mtrt/judgdg");
  1731. var clamno = model.getValue("/root/send/clam_mtrt/clamno");
  1732. var offset = model.getValue("/root/send/clam_mtrt/offset");
  1733. var pagesize = model.getValue("/root/send/clam_mtrt/pagesize");
  1734. var insukind = model.getValue("/root/send/clam_mtrt/insukind");
  1735. var instcd = model.getValue("/root/send/clam_mtrt/instcd");
  1736. var param = "&clamym="+clamym+"&acptno="+acptno+"&judgdg="+judgdg+"&clamno="+clamno+"&offset="+offset+"&pagesize="+pagesize+"&insukind="+insukind+"&instcd="+instcd+"&filesaveyn=Y";
  1737. download("TRPIF30118",param,"개인별미수관리(보험)_"+tmp+".csv",true);
  1738. */
  1739. //var fileName = window.fileDialog("save", ",", false, "개인별미수관리(보험)_"+tmp, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  1740. var fileName = window.fileDialog("save", "|", true, "개인별미수관리(보험)_"+tmp, "", "Excel Files(*.xls)|*.xls");
  1741. if (fileName != "") {
  1742. grd_pifmiunc02.saveExcel(fileName, "SheetName", true, true, "", "", "");
  1743. }
  1744. ]]>
  1745. </script>
  1746. </button>
  1747. <input id="input32" ref="/root/main/list03/gridpifmiunc01/clownbmaxexcnt" class="input_default" format="#,###" style="left:88px; top:270px; width:37px; height:19px; text-align:right; "/>
  1748. <caption id="caption65" class="cell_1" style="left:0px; top:268px; width:85px; height:23px; vertical-align:middle; ">상한액 | 소계</caption>
  1749. <line id="line78" class="line_2" style="x1:5px; y1:292px; x2:205px; y2:292px; "/>
  1750. <input id="input53" ref="/root/main/list03/gridpifmiunc01/sendmaxexcnt" class="input_default" format="#,###" style="left:921px; top:245px; width:28px; height:19px; text-align:right; "/>
  1751. <caption id="caption66" class="cell_1" style="left:407px; top:169px; width:90px; height:23px; vertical-align:middle; ">상한액 | 소계</caption>
  1752. <line id="line79" class="line_2" style="x1:212px; y1:218px; x2:616px; y2:218px; "/>
  1753. <input id="input62" ref="/root/main/list03/gridpifmiunc01/clownbmaxexamt" class="input_default" format="(-)#,###" style="left:128px; top:270px; width:77px; height:19px; text-align:right; "/>
  1754. <input id="input70" ref="/root/main/list03/gridpifmiunc01/clsuppamt" class="input_default" format="(-)#,###" style="left:128px; top:295px; width:77px; height:19px; text-align:right; "/>
  1755. <input id="input72" ref="/root/main/list03/gridpifmiunc01/jrsuppamt" class="input_default" format="(-)#,###" style="left:500px; top:196px; width:116px; height:19px; text-align:right; "/>
  1756. <input id="input73" ref="/root/main/list03/gridpifmiunc01/jrownbmaxexamt" class="input_default" format="(-)#,###" style="left:500px; top:171px; width:116px; height:19px; text-align:right; "/>
  1757. <input id="input74" ref="/root/main/list03/gridpifmiunc01/retetotordamt" class="input_default" format="(-)#,###" style="left:725px; top:195px; width:89px; height:19px; text-align:right; "/>
  1758. <line id="line80" class="line_3" style="x1:624px; y1:315px; x2:814px; y2:315px; "/>
  1759. <line id="line81" class="line_2" style="x1:624px; y1:217px; x2:813px; y2:217px; "/>
  1760. <line id="line82" class="line_2" style="x1:624px; y1:241px; x2:813px; y2:241px; "/>
  1761. <line id="line83" class="line_2" style="x1:624px; y1:266px; x2:813px; y2:266px; "/>
  1762. <caption id="caption71" class="cell_1" style="left:624px; top:219px; width:98px; height:23px; vertical-align:middle; ">[심.보] 보류액</caption>
  1763. <caption id="caption74" class="tit_2" style="left:630px; top:149px; width:129px; height:13px; ">심사보류사항</caption>
  1764. <input id="input76" ref="/root/main/list03/gridpifmiunc01/retesuppamt" class="input_default" format="(-)#,###" style="left:725px; top:270px; width:89px; height:19px; text-align:right; "/>
  1765. <caption id="caption83" class="cell_1" style="left:624px; top:194px; width:99px; height:23px; vertical-align:middle; ">[심.보] 총진료비</caption>
  1766. <input id="input77" ref="/root/main/list03/gridpifmiunc01/reteamt" class="input_default" format="(-)#,###" style="left:725px; top:221px; width:89px; height:19px; text-align:right; "/>
  1767. <input id="input78" ref="/root/main/list03/gridpifmiunc01/retemaxexamt" class="input_default" format="(-)#,###" style="left:725px; top:245px; width:89px; height:19px; text-align:right; "/>
  1768. <caption id="caption89" class="cell_1" style="left:624px; top:243px; width:98px; height:23px; vertical-align:middle; ">[심.보] 상한액</caption>
  1769. <input id="input79" ref="/root/main/list03/gridpifmiunc01/retecnt" class="input_default" format="#,###" style="left:725px; top:171px; width:89px; height:19px; text-align:right; "/>
  1770. <caption id="caption95" class="cell_1" style="left:624px; top:268px; width:98px; height:23px; vertical-align:middle; ">[심.보] 지원금</caption>
  1771. <line id="line85" class="line_2" style="x1:624px; y1:192px; x2:813px; y2:192px; "/>
  1772. <caption id="caption103" class="cell_1" style="left:624px; top:169px; width:98px; height:23px; vertical-align:middle; ">[심.보] 건수</caption>
  1773. <line id="line86" class="line_1" style="x1:624px; y1:164px; x2:814px; y2:164px; "/>
  1774. <button id="button7" class="btn2_letter6" style="left:1039px; top:343px; width:86px; height:19px; ">
  1775. <caption>Open Excel</caption>
  1776. <script type="javascript" ev:event="DOMActivate">
  1777. <![CDATA[
  1778. try {
  1779. window.exec("excel");
  1780. } catch(e) {
  1781. alert(e);
  1782. }
  1783. ]]>
  1784. </script>
  1785. </button>
  1786. <button id="button10" class="btn2_letter3" style="left:929px; top:343px; width:53px; height:19px; ">
  1787. <caption>열카피</caption>
  1788. <script type="javascript" ev:event="onclick">
  1789. <![CDATA[
  1790. grd_pifmiunc02.attribute("selectionmode") = "bycol";
  1791. ]]>
  1792. </script>
  1793. </button>
  1794. <button id="button11" class="btn2_letter3" style="left:984px; top:343px; width:53px; height:19px; ">
  1795. <caption>행카피</caption>
  1796. <script type="javascript" ev:event="onclick">
  1797. <![CDATA[
  1798. grd_pifmiunc02.attribute("selectionmode") = "byrow";
  1799. ]]>
  1800. </script>
  1801. </button>
  1802. <button id="button13" class="btn2_letter3" style="left:874px; top:343px; width:53px; height:19px; ">
  1803. <caption>셀카피</caption>
  1804. <script type="javascript" ev:event="onclick">
  1805. <![CDATA[
  1806. grd_pifmiunc02.attribute("selectionmode") = "free";
  1807. ]]>
  1808. </script>
  1809. </button>
  1810. <caption id="caption36" style="left:510px; top:119px; width:75px; height:20px; color:#3366ff; ">
  1811. <![CDATA[바로가기 ==>]]>
  1812. </caption>
  1813. <caption id="caption106" class="cell_1" style="left:0px; top:317px; width:85px; height:23px; vertical-align:middle; ">장애인기금</caption>
  1814. <input id="input80" ref="/root/main/list03/gridpifmiunc01/clhandicaprfund" class="input_default" format="(-)#,###" style="left:128px; top:319px; width:77px; height:19px; text-align:right; "/>
  1815. <caption id="caption107" class="cell_1" style="left:212px; top:317px; width:96px; height:23px; vertical-align:middle; ">장애인기금</caption>
  1816. <input id="input81" ref="/root/main/list03/gridpifmiunc01/jrhandicaprfund" class="input_default" format="(-)#,###" style="left:342px; top:319px; width:61px; height:19px; text-align:right; "/>
  1817. <caption id="caption109" class="cell_1" style="left:625px; top:292px; width:99px; height:23px; vertical-align:middle; ">[심.보] 장애인금</caption>
  1818. <input id="input83" ref="/root/main/list03/gridpifmiunc01/retehandicaprfund" class="input_default" format="(-)#,###" style="left:726px; top:294px; width:89px; height:19px; text-align:right; "/>
  1819. <input id="input85" ref="/root/main/list03/gridpifmiunc01/sendhandicaprfund" class="input_default" format="(-)#,###" style="left:922px; top:294px; width:87px; height:19px; text-align:right; "/>
  1820. <caption id="caption114" class="cell_1" style="left:821px; top:292px; width:98px; height:23px; vertical-align:middle; ">[반송] 장애인금</caption>
  1821. <input id="input88" ref="/root/main/list03/gridpifmiunc01/clhandicaprfundcnt" class="input_default" format="#,###" style="left:88px; top:319px; width:37px; height:19px; text-align:right; "/>
  1822. <input id="input92" ref="/root/main/list03/gridpifmiunc01/jrhandicaprfundcnt" class="input_default" format="(-)#,###" style="left:310px; top:319px; width:30px; height:19px; text-align:right; "/>
  1823. </case>
  1824. <case id="case2" class="sw_box">
  1825. <datagrid id="grd_pifmmiun02" nodeset="/root/main/list04med/gridpifmmiun02" class="datagrid2" caption="청구월^미수일련번호^기관코드^청구번호^자격&#xA;보류^입금&#xA;구분^청구과^진료과^명일련^등록번호^수진자^주민번호^청구총진료비^청구본인부담^청구액^청구&#xA;장애인기금^심결총진료비^심결본인부담^심사결정액^심결&#xA;장애인기금^조정소계I^조정소계II^조정삭감액^조정사유^조정사유^기관삭감액^장애인전환금^실삭감액^본인&#xA;추가부담금^주상병^진료의^진료의&#xA;코드^보험유형^기관&#xA;기호^기관명^정액&#xA;정율^내원&#xA;일수^투약&#xA;일수^요양개시일^특정기호^접수번호^심사차수^내원&#xA;유형" colsep="^" colwidth="28, 35, 30, 33, 35, 35, 45, 45, 45, 70, 50, 95, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 30, 30, 80, 80, 80, 80, 50, 50, 60, 90, 50, 120, 40, 50, 50, 80, 76, 70, 70, 40, 100, 100" dataheight="25" defaultrows="2" ellipsis="true" explorerbar="sortshowmove" extendlastcol="false" fixedcols="12" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="1" rowsep="|" tooltip="true" style="left:0px; top:380px; width:1192px; height:260px; ">
  1826. <col ref="clamym" visibility="hidden"/>
  1827. <col ref="decoseq" visibility="hidden"/>
  1828. <col ref="instcd" visibility="hidden"/>
  1829. <col ref="clamno" visibility="hidden"/>
  1830. <col checkvalue="Y,N" ref="qualrete" type="checkbox"/>
  1831. <col ref="depoflag" style="text-align:center; "/>
  1832. <col ref="clamdeptnm" style="text-align:center; "/>
  1833. <col ref="orddeptnm" style="text-align:center; "/>
  1834. <col ref="docuseqno" style="text-align:center; "/>
  1835. <col ref="pid" style="text-align:center; "/>
  1836. <col ref="patnm" style="text-align:center; "/>
  1837. <col ref="patrrgstno" format="999999-9999999" style="text-align:center; "/>
  1838. <col ref="clmcstotamt" format="(-)#,###" style="text-align:right; "/>
  1839. <col ref="clownbamt" format="(-)#,###" style="text-align:right; "/>
  1840. <col ref="clsecuinstbamt" format="(-)#,###" style="text-align:right; "/>
  1841. <col ref="clhandicaprfund" format="(-)#,###" style="text-align:right; "/>
  1842. <col ref="jrmcstotamt" format="(-)#,###" style="text-align:right; "/>
  1843. <col ref="jrownbamt" format="(-)#,###" style="text-align:right; "/>
  1844. <col ref="jrjudgdeciamt" format="(-)#,###" style="text-align:right; "/>
  1845. <col ref="jrhandicaprfund" format="(-)#,###" style="text-align:right; "/>
  1846. <col ref="jradjtsum1" format="(-)#,###" style="text-align:right; "/>
  1847. <col ref="jradjtsum2" format="(-)#,###" style="text-align:right; "/>
  1848. <col ref="jradjtsum" format="(-)#,###" style="text-align:right; "/>
  1849. <col ref="adjtresn1" format="#,###" style="text-align:center; "/>
  1850. <col ref="adjtresn2" format="#,###" style="text-align:center; "/>
  1851. <col ref="instreductamt" format="(-)#,###" style="text-align:right; "/>
  1852. <col ref="handicapcvrtamt" format="(-)#,###" style="text-align:right; "/>
  1853. <col ref="orgreduamt" format="(-)#,###" style="text-align:right; "/>
  1854. <col ref="jraddchrgamt" format="(-)#,###" style="text-align:right; "/>
  1855. <col ref="diagcd"/>
  1856. <col ref="orddridnm" style="text-align:center; "/>
  1857. <col ref="orddrid" style="text-align:center; "/>
  1858. <col ref="insukind" style="text-align:center; "/>
  1859. <col ref="procinstmark"/>
  1860. <col ref="procinstmarknm"/>
  1861. <col ref="fixrateflag" style="text-align:center; "/>
  1862. <col ref="chosindayno" style="text-align:right; "/>
  1863. <col ref="oprcpdayno" style="text-align:right; "/>
  1864. <col ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1865. <col ref="spclcd"/>
  1866. <col ref="acptno" style="text-align:center; "/>
  1867. <col ref="judgdg" style="text-align:center; "/>
  1868. <col ref="ioflag" style="text-align:center; "/>
  1869. <col ref="clamdg" visibility="hidden"/>
  1870. <col ref="pidsn" visibility="hidden"/>
  1871. <script type="javascript" ev:event="onscroll">
  1872. <![CDATA[
  1873. fSubmitOnScrollMed(flagmed);
  1874. ]]>
  1875. </script>
  1876. <script type="javascript" ev:event="oncopy">
  1877. <![CDATA[
  1878. grid_oncopy();
  1879. ]]>
  1880. </script>
  1881. <script type="javascript" ev:event="onaftersort">
  1882. <![CDATA[
  1883. grd_pifmmiun02.gridToInstance();
  1884. ]]>
  1885. </script>
  1886. </datagrid>
  1887. <group id="group5" style="left:0px; top:5px; width:1192px; height:65px; vertical-align:top; ">
  1888. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1192px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
  1889. <line id="line34" class="line_4" style="x1:1106px; y1:7px; x2:1106px; y2:56px; border-color:#ffe4bb; border-left-style:solid; "/>
  1890. <input id="ipt_medacptno" ref="/root/send/acptclam/item01" class="input_s_essential" inputtype="button" maxlength="7" style="left:169px; top:8px; width:100px; height:19px; ">
  1891. <script type="javascript" ev:event="DOMFocusOut">
  1892. <![CDATA[
  1893. if(ipt_medacptno.value == "") {
  1894. return false;
  1895. }
  1896. //if(event.keyCode == "13") {
  1897. // setInputNodeCurText();
  1898. // model.removenode("/root/main/list00med");
  1899. // model.removenode("/root/main/list04med");
  1900. model.resetInstanceNode("/root/main/list00med");
  1901. model.resetInstanceNode("/root/main/list01med");
  1902. model.resetInstanceNode("/root/main/list02med");
  1903. model.resetInstanceNode("/root/main/list03med");
  1904. model.removenode("/root/main/list04med");
  1905. model.refresh();
  1906. cmb_clamddmed.value = "";
  1907. cmb_cpcd.value = "";
  1908. cmb_assocd.value = "";
  1909. model.setValue("/root/send/acptclam/item02", "");
  1910. model.setValue("/root/send/acptclam/cpcd", "");
  1911. model.setValue("/root/send/acptclam/assocd", "");
  1912. model.refresh();
  1913. if(rdo_acptnomed.value == "1") {
  1914. if (ipt_medacptno.value == "") {
  1915. messageBox("접수번호를","C001");
  1916. model.setfocus("ipt_medacptno");
  1917. return false;
  1918. }
  1919. }
  1920. if(rdo_acptnomed.value == "2") {
  1921. if (ipt_medacptno.value == "") {
  1922. messageBox("청구년월을","C001");
  1923. model.setfocus("ipt_medacptno");
  1924. return false;
  1925. }
  1926. }
  1927. // Session_Init();
  1928. // model.setValue("/root/send/send_mtrt/searchflag", "2") ;
  1929. // srchcond2 조회
  1930. submit("TRPIF30107") ;
  1931. if(ipt_acptnocntmed.value > 1) {
  1932. opt_commentmed.visible = true;
  1933. opt_commentmed.value = "[ 접수번호가 여러개("+ipt_acptnocntmed.value+"개) 있습니다. ]";
  1934. } else {
  1935. opt_commentmed.visible = false;
  1936. }
  1937. // model.setfocus("cmb_clamymlist");
  1938. if(cmb_clamddmed.length > 0) {
  1939. // cmb_clamddmed.select(0);
  1940. // submit("TRPIF30108") ; // 시도 조회
  1941. cmb_clamddmed.select(0);
  1942. }
  1943. fclaminfoserch();
  1944. //}
  1945. ]]>
  1946. </script>
  1947. <script type="javascript" ev:event="onbuttonclick">
  1948. <![CDATA[
  1949. //조회조건이 청구년월일 경우 버튼 동작 안하도록 설정
  1950. if(rdo_acptnomed.value == "2") {
  1951. return false;
  1952. }
  1953. model.makeNode("/root/send/send01/termflag");
  1954. model.makeNode("/root/send/send01/fromdd");
  1955. model.makeNode("/root/send/send01/todd");
  1956. model.makeNode("/root/send/send01/insukind");
  1957. model.makeNode("/root/send/send01/acptno");
  1958. model.setValue("/root/send/send01/insukind","21");
  1959. setParameter("SPPIF30302_RTNTYPE", "P");
  1960. modal("SPPIF30302", 1, 1, 1, "SPPIF30302", "/root/send/send01", "/root/send");
  1961. model.setValue("/root/send/acptclam/item01", getParameter("SPPIF30302_acptno"));
  1962. model.removeNodeset("/root/send/send01");
  1963. clearParameter("SPPIF30302_RTNTYPE");
  1964. clearParameter("SPPIF30302_acptno");
  1965. ipt_medacptno.refresh();
  1966. if( model.getValue("/root/send/acptclam/item01") != '' ){
  1967. //ipt_srchcond01.dispatch("DOMFocusOut");
  1968. model.setFocus("cmb_clamddmed");
  1969. }
  1970. ]]>
  1971. </script>
  1972. </input>
  1973. <caption id="caption84" class="search_name" style="left:655px; top:9px; width:86px; height:17px; ">시도별 :</caption>
  1974. <caption id="caption85" class="search_name" style="left:840px; top:9px; width:86px; height:17px; ">시군구별 :</caption>
  1975. <select1 id="cmb_clamddmed" ref="/root/send/acptclam/item02" class="combo_search" appearance="minimal" style="left:270px; top:8px; width:100px; height:19px; ">
  1976. <choices>
  1977. <itemset nodeset="/root/main/list00med/list00_acptclam/acptclam01">
  1978. <label ref="acptclam"/>
  1979. <value ref="acptclam"/>
  1980. </itemset>
  1981. </choices>
  1982. <script type="javascript" ev:event="xforms-value-changed">
  1983. <![CDATA[
  1984. fclaminfoserch();
  1985. ]]>
  1986. </script>
  1987. </select1>
  1988. <select1 id="rdo_acptnomed" ref="/root/send/acptclam/searchflag" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:15px; top:9px; width:145px; height:17px; font-weight:bold; border-style:none; ">
  1989. <choices>
  1990. <item>
  1991. <label>접수번호</label>
  1992. <value>1</value>
  1993. </item>
  1994. <item>
  1995. <label>청구년월</label>
  1996. <value>2</value>
  1997. </item>
  1998. </choices>
  1999. <script type="javascript" ev:event="xforms-value-changed">
  2000. <![CDATA[
  2001. if(rdo_acptnomed.value == "1") {
  2002. model.resetInstanceNode("/root/send/acptclam/item01");
  2003. model.resetInstanceNode("/root/send/acptclam/item02");
  2004. model.resetInstanceNode("/root/send/acptclam/cpcd");
  2005. model.resetInstanceNode("/root/send/acptclam/assocd");
  2006. ipt_medacptno.attribute("maxlength") = 7;
  2007. model.refresh();
  2008. model.setFocus("ipt_medacptno");
  2009. } else {
  2010. model.resetInstanceNode("/root/send/acptclam/item01");
  2011. model.resetInstanceNode("/root/send/acptclam/item02");
  2012. model.resetInstanceNode("/root/send/acptclam/cpcd");
  2013. model.resetInstanceNode("/root/send/acptclam/assocd");
  2014. ipt_medacptno.attribute("maxlength") = 6;
  2015. model.refresh();
  2016. model.setFocus("ipt_medacptno");
  2017. }
  2018. ]]>
  2019. </script>
  2020. </select1>
  2021. <select1 id="cmb_cpcd" ref="/root/send/acptclam/cpcd" class="combo_search" appearance="minimal" style="left:730px; top:8px; width:100px; height:19px; ">
  2022. <choices>
  2023. <itemset nodeset="/root/main/list00med/list00_cpcd/cpcd01">
  2024. <label ref="cpnm"/>
  2025. <value ref="cpcd"/>
  2026. </itemset>
  2027. </choices>
  2028. <script type="javascript" ev:event="xforms-select">
  2029. <![CDATA[
  2030. // model.resetInstanceNode("/root/main/list01med");
  2031. // model.resetInstanceNode("/root/main/list02med");
  2032. // model.resetInstanceNode("/root/main/list03med");
  2033. // model.resetInstanceNode("/root/main/list04med");
  2034. // model.resetInstanceNode("/root/main/list00med/list00_assocd");
  2035. model.setValue("/root/send/acptclam/assocd","");
  2036. cmb_assocd.value = "";
  2037. submit("TRPIF30109") ;
  2038. /* if(cmb_assocd.length > 0) {
  2039. //cmb_assocd.select(0);
  2040. model.setFocus("btn_searchmed");
  2041. }
  2042. */
  2043. if(cmb_assocd.length > 0) {
  2044. addComboItem("cmb_assocd"," ");
  2045. model.setFocus("cmb_assocd");
  2046. // cmb_assocd.select(0);
  2047. // submit("TRPIF30401"); //조회시작
  2048. }
  2049. searchProc("cpcd");
  2050. ]]>
  2051. </script>
  2052. </select1>
  2053. <button id="btn_searchmed" class="btn1_letter2" style="left:1122px; top:22px; width:56px; height:22px; ">
  2054. <caption>조회</caption>
  2055. <script type="javascript" ev:event="onclick">
  2056. <![CDATA[
  2057. if(rdo_acptnomed.value == "1") {
  2058. if(ipt_medacptno.value == "") {
  2059. messageBox("접수번호를","C001");
  2060. model.setFocus("ipt_medacptno");
  2061. return false;
  2062. } else if(cmb_clamddmed.value == "") {
  2063. messageBox("청구년월을","C002");
  2064. model.setFocus("ipt_medacptno");
  2065. return false;
  2066. }
  2067. } else if(rdo_acptnomed.value == "2") {
  2068. if(ipt_medacptno.value == "") {
  2069. messageBox("청구년월을","C001");
  2070. model.setFocus("ipt_medacptno");
  2071. return false;
  2072. } else if(cmb_clamddmed.value == "") {
  2073. messageBox("접수번호를","C002");
  2074. model.setFocus("ipt_medacptno");
  2075. return false;
  2076. }
  2077. } else {
  2078. return false;
  2079. }
  2080. // 시도코드가 없으면 조회 불가
  2081. if(cmb_cpcd.length == 0) {
  2082. messageBox("시도코드가","I004");
  2083. return false;
  2084. }
  2085. searchProc();
  2086. ]]>
  2087. </script>
  2088. </button>
  2089. <select1 id="cmb_assocd" ref="/root/send/acptclam/assocd" class="combo_search" appearance="minimal" style="left:930px; top:8px; width:155px; height:19px; ">
  2090. <choices>
  2091. <itemset nodeset="/root/main/list00med/list00_assocd/assocd01">
  2092. <label ref="assonm"/>
  2093. <value ref="assocd"/>
  2094. </itemset>
  2095. </choices>
  2096. <script type="javascript" ev:event="xforms-select">
  2097. <![CDATA[
  2098. searchProc("assocd");
  2099. ]]>
  2100. </script>
  2101. </select1>
  2102. <output id="opt_commentmed" visibility="hidden" style="left:380px; top:8px; width:265px; height:19px; color:#999999; "/>
  2103. <input id="input89" ref="/root/send/clam_med/docuseqnofrom" class="input_search" style="left:930px; top:35px; width:70px; height:19px; "/>
  2104. <input id="input91" ref="/root/send/clam_med/docuseqnoto" class="input_search" style="left:1016px; top:35px; width:70px; height:19px; "/>
  2105. <caption id="caption123" class="search_name" style="left:840px; top:36px; width:86px; height:17px; ">명일련 :</caption>
  2106. <caption id="caption124" style="left:1001px; top:37px; width:15px; height:20px; ">~</caption>
  2107. </group>
  2108. <line id="line35" class="line_2" style="x1:0px; y1:246px; x2:188px; y2:246px; "/>
  2109. <line id="line36" class="line_1" style="x1:1010px; y1:194px; x2:1192px; y2:194px; "/>
  2110. <input id="input29" ref="/root/main/list03med/gridpifmmiun01/sendtotordamt" class="input_default" format="(-)#,###" style="left:921px; top:226px; width:85px; height:19px; text-align:right; "/>
  2111. <caption id="caption35" class="cell_1" style="left:406px; top:199px; width:101px; height:23px; vertical-align:middle; ">청구액 소계</caption>
  2112. <line id="line38" class="line_2" style="x1:805px; y1:247px; x2:1005px; y2:247px; "/>
  2113. <line id="line40" class="line_2" style="x1:805px; y1:271px; x2:1005px; y2:271px; "/>
  2114. <caption id="caption40" class="tit_2" style="left:811px; top:179px; width:133px; height:13px; ">반송사항</caption>
  2115. <input id="input31" ref="/root/main/list03med/gridpifmmiun01/jrjudgdeciamt" class="input_default" format="#,###" style="left:509px; top:225px; width:85px; height:19px; text-align:right; "/>
  2116. <caption id="caption43" class="cell_1" style="left:805px; top:249px; width:113px; height:23px; vertical-align:middle; ">[반송] 지급반송액</caption>
  2117. <line id="line43" class="line_2" style="x1:805px; y1:296px; x2:1005px; y2:296px; "/>
  2118. <line id="line44" class="line_2" style="x1:0px; y1:271px; x2:188px; y2:271px; "/>
  2119. <caption id="caption44" class="tit_2" style="left:1015px; top:179px; width:130px; height:13px; ">삭감내역사항</caption>
  2120. <caption id="caption46" class="cell_1" style="left:805px; top:224px; width:113px; height:23px; vertical-align:middle; ">[반송] 총진료비</caption>
  2121. <line id="line45" class="line_2" style="x1:805px; y1:321px; x2:1005px; y2:321px; "/>
  2122. <input id="input34" ref="/root/main/list03med/gridpifmmiun01/jraddchrgamt" class="input_default" format="(-)#,###" style="left:318px; top:301px; width:85px; height:19px; text-align:right; "/>
  2123. <caption id="caption53" class="cell_1" style="left:1011px; top:199px; width:90px; height:23px; vertical-align:middle; ">건수 소계</caption>
  2124. <line id="line47" class="line_2" style="x1:1012px; y1:192px; x2:1190px; y2:192px; "/>
  2125. <input id="input36" ref="/root/main/list03med/gridpifmmiun01/sendhandicaprfund" class="input_default" format="(-)#,###" style="left:921px; top:275px; width:85px; height:19px; text-align:right; "/>
  2126. <input id="input37" ref="/root/main/list03med/gridpifmmiun01/sendamt" class="input_default" format="(-)#,###" style="left:921px; top:251px; width:85px; height:19px; text-align:right; "/>
  2127. <line id="line49" class="line_2" style="x1:195px; y1:247px; x2:594px; y2:247px; "/>
  2128. <line id="line50" class="line_2" style="x1:1012px; y1:217px; x2:1190px; y2:217px; "/>
  2129. <caption id="caption56" class="cell_1" style="left:0px; top:248px; width:100px; height:23px; vertical-align:middle; ">본인부담금 소계</caption>
  2130. <caption id="caption57" class="cell_1" style="left:0px; top:273px; width:100px; height:23px; vertical-align:middle; ">청구액 소계</caption>
  2131. <input id="input38" ref="/root/main/list03med/gridpifmmiun01/sendcnt" class="input_default" format="#,###" style="left:921px; top:200px; width:85px; height:19px; text-align:right; "/>
  2132. <caption id="caption58" class="cell_1" style="left:805px; top:273px; width:113px; height:23px; vertical-align:middle; ">[반송] 장애인</caption>
  2133. <input id="input40" ref="/root/main/list03med/gridpifmmiun01/judgreteamt" class="input_default" format="(-)#,###" style="left:921px; top:300px; width:85px; height:19px; text-align:right; "/>
  2134. <line id="line51" class="line_2" style="x1:195px; y1:272px; x2:594px; y2:272px; "/>
  2135. <caption id="caption61" class="cell_1" style="left:194px; top:199px; width:121px; height:23px; vertical-align:middle; ">건수소계</caption>
  2136. <input id="input41" ref="/root/main/list03med/gridpifmmiun01/jrrtnamt" class="input_default" format="(-)#,###" style="left:318px; top:276px; width:85px; height:19px; text-align:right; "/>
  2137. <caption id="caption62" class="cell_1" style="left:805px; top:298px; width:113px; height:23px; vertical-align:middle; ">[심사] 지급보류액</caption>
  2138. <input id="input42" ref="/root/main/list03med/gridpifmmiun01/judgretehandicaprfund" class="input_default" format="(-)#,###" style="left:921px; top:324px; width:85px; height:19px; text-align:right; "/>
  2139. <caption id="caption63" class="cell_1" style="left:0px; top:199px; width:100px; height:23px; vertical-align:middle; ">건수소계</caption>
  2140. <caption id="caption64" class="cell_1" style="left:194px; top:274px; width:121px; height:23px; vertical-align:middle; ">본인부담환급금 소계</caption>
  2141. <input id="input43" ref="/root/main/list03med/gridpifmmiun01/jrsltcnt" class="input_default" format="#,###" style="left:318px; top:200px; width:85px; height:19px; text-align:right; "/>
  2142. <line id="line55" class="line_2" style="x1:194px; y1:322px; x2:399px; y2:322px; "/>
  2143. <caption id="caption68" class="tit_2" style="left:6px; top:180px; width:78px; height:13px; ">청구사항</caption>
  2144. <caption id="caption69" class="cell_1" style="left:194px; top:324px; width:121px; height:23px; vertical-align:middle; ">위탁검사지급금 소계</caption>
  2145. <input id="input44" ref="/root/main/list03med/gridpifmmiun01/jrtrudirecpamt" class="input_default" format="(-)#,###" style="left:318px; top:326px; width:85px; height:19px; text-align:right; "/>
  2146. <caption id="caption70" class="cell_1" style="left:805px; top:323px; width:113px; height:23px; vertical-align:middle; ">[심사] 장애인</caption>
  2147. <line id="line58" class="line_2" style="x1:194px; y1:347px; x2:399px; y2:347px; "/>
  2148. <caption id="caption72" class="cell_1" style="left:0px; top:224px; width:100px; height:23px; vertical-align:middle; ">총진료비 소계</caption>
  2149. <input id="input46" ref="/root/main/list03med/gridpifmmiun01/clownbamt" class="input_default" format="(-)#,###" style="left:103px; top:250px; width:85px; height:19px; text-align:right; "/>
  2150. <line id="line59" class="line_3" style="x1:0px; y1:321px; x2:189px; y2:321px; "/>
  2151. <line id="line60" class="line_1" style="x1:193px; y1:194px; x2:594px; y2:194px; "/>
  2152. <input id="input47" ref="/root/main/list03med/gridpifmmiun01/jrownbamt" class="input_default" format="(-)#,###" style="left:318px; top:251px; width:85px; height:19px; text-align:right; "/>
  2153. <input id="input48" ref="/root/main/list03med/gridpifmmiun01/clamamt2" class="input_default" format="(-)#,###" style="left:509px; top:200px; width:85px; height:19px; text-align:right; "/>
  2154. <caption id="caption73" class="cell_1" style="left:406px; top:224px; width:100px; height:23px; vertical-align:middle; ">심사결정액 소계</caption>
  2155. <input id="input49" ref="/root/main/list03med/gridpifmmiun01/jrsubtamt" class="input_default" format="(-)#,###" style="left:509px; top:251px; width:85px; height:19px; text-align:right; "/>
  2156. <line id="line61" class="line_2" style="x1:805px; y1:222px; x2:1005px; y2:222px; "/>
  2157. <caption id="caption77" class="tit_2" style="left:203px; top:179px; width:78px; height:13px; ">심결사항</caption>
  2158. <caption id="caption78" class="cell_1" style="left:194px; top:249px; width:121px; height:23px; vertical-align:middle; ">본인부담금 소계</caption>
  2159. <caption id="caption79" class="cell_1" style="left:406px; top:274px; width:100px; height:23px; vertical-align:middle; ">장애금 소계</caption>
  2160. <caption id="caption80" class="cell_1" style="left:805px; top:199px; width:113px; height:23px; vertical-align:middle; ">[반송] 건수</caption>
  2161. <line id="line62" class="line_1" style="x1:0px; y1:194px; x2:189px; y2:194px; "/>
  2162. <input id="input50" ref="/root/main/list03med/gridpifmmiun01/clamcnt" class="input_default" format="#,###" style="left:103px; top:200px; width:85px; height:19px; text-align:right; "/>
  2163. <input id="input51" ref="/root/main/list03med/gridpifmmiun01/clmcstotamt" class="input_default" format="(-)#,###" style="left:103px; top:226px; width:85px; height:19px; text-align:right; "/>
  2164. <caption id="caption81" class="cell_1" style="left:194px; top:299px; width:121px; height:23px; vertical-align:middle; ">본인추가부담금 소계</caption>
  2165. <caption id="caption82" class="cell_1" style="left:406px; top:249px; width:100px; height:23px; vertical-align:middle; ">대불금 소계</caption>
  2166. <input id="input52" ref="/root/main/list03med/gridpifmmiun01/jrhandicaprfund" class="input_default" format="(-)#,###" style="left:509px; top:276px; width:85px; height:19px; text-align:right; "/>
  2167. <line id="line63" class="line_2" style="x1:0px; y1:222px; x2:188px; y2:222px; "/>
  2168. <line id="line64" class="line_1" style="x1:804px; y1:194px; x2:1006px; y2:194px; "/>
  2169. <input id="input54" ref="/root/main/list03med/gridpifmmiun01/clsecuinstbamt" class="input_default" format="(-)#,###" style="left:103px; top:275px; width:85px; height:19px; text-align:right; "/>
  2170. <input id="input57" ref="/root/main/list03med/gridpifmmiun01/cutcnt" class="input_default" format="#,###" style="left:1104px; top:200px; width:85px; height:19px; text-align:right; "/>
  2171. <caption id="caption55" class="tit_2" style="left:6px; top:75px; width:111px; height:13px; ">청구사항</caption>
  2172. <input id="input33" ref="/root/main/list02med/gridpifmmiun00/ordym" class="input_default" format="yyyy-mm" style="left:88px; top:96px; width:111px; height:19px; "/>
  2173. <caption id="caption60" class="cell_1" style="left:808px; top:95px; width:85px; height:23px; vertical-align:middle; ">진료분야</caption>
  2174. <input id="input35" ref="/root/main/list02med/gridpifmmiun00/clamflagnm" class="input_default" style="left:492px; top:96px; width:111px; height:19px; "/>
  2175. <input id="input67" ref="/root/main/list02med/gridpifmmiun00/ordfildnm" class="input_default" style="left:895px; top:96px; width:111px; height:19px; "/>
  2176. <line id="line42" class="line_3" style="x1:0px; y1:170px; x2:218px; y2:170px; "/>
  2177. <line id="line57" class="line_1" style="x1:0px; y1:90px; x2:1192px; y2:90px; "/>
  2178. <input id="input68" ref="/root/main/list02med/gridpifmmiun00/clamym" class="input_default" format="yyyy-mm" style="left:290px; top:96px; width:111px; height:19px; "/>
  2179. <input id="input69" ref="/root/main/list02med/gridpifmmiun00/ioflag" class="input_default" style="left:694px; top:96px; width:111px; height:19px; "/>
  2180. <caption id="caption67" class="cell_1" style="left:606px; top:94px; width:85px; height:23px; vertical-align:middle; ">내원유형</caption>
  2181. <line id="line65" class="line_3" style="x1:0px; y1:118px; x2:1192px; y2:118px; "/>
  2182. <input id="input71" ref="/root/main/list02med/gridpifmmiun00/clamno" class="input_default" style="left:1097px; top:96px; width:92px; height:19px; "/>
  2183. <caption id="caption75" class="cell_1" style="left:1009px; top:95px; width:85px; height:23px; vertical-align:middle; ">청구번호</caption>
  2184. <caption id="caption76" class="tit_2" style="left:5px; top:128px; width:160px; height:13px; ">심사차수별 미수관리</caption>
  2185. <caption id="caption94" class="cell_1" style="left:1px; top:95px; width:85px; height:23px; vertical-align:middle; ">진료년월</caption>
  2186. <caption id="caption96" class="cell_1" style="left:1009px; top:148px; width:85px; height:21px; vertical-align:middle; background-color:#ffff99; ">수진자</caption>
  2187. <select1 id="cmb_judgdgmed" ref="/root/send/clam_med/judgdg" class="combo_default" appearance="minimal" style="left:118px; top:149px; width:100px; height:19px; ">
  2188. <choices>
  2189. <itemset nodeset="/root/main/list01med/judgdg01">
  2190. <label ref="judgdg"/>
  2191. <value ref="judgdg"/>
  2192. </itemset>
  2193. </choices>
  2194. <script type="javascript" ev:event="xforms-select">
  2195. <![CDATA[
  2196. var judgdg = cmb_judgdgmed.value;
  2197. // 미수일련번호를 의료급여의 인스턴스 폴더인 clam_med에 세팅
  2198. for(var i=0;i<cmb_judgdgmed.length;i++) {
  2199. if(judgdg == model.getValue("/root/main/list01med/decoseq["+i+"]/judgdg")) {
  2200. model.makeNode("/root/send/clam_med/decoseq");
  2201. model.setValue("/root/send/clam_med/decoseq", model.getValue("/root/main/list01med/decoseq["+i+"]/decoseq"));
  2202. }
  2203. }
  2204. searchMedByJudgdg();
  2205. //submit("TRPIF30115") ; //청구내역
  2206. //submit("TRPIF30116") ; //심결내역
  2207. //submit("TRPIF30117") ; //명세서
  2208. ]]>
  2209. </script>
  2210. </select1>
  2211. <line id="line68" class="line_1" style="x1:0px; y1:143px; x2:1192px; y2:143px; "/>
  2212. <caption id="caption97" class="cell_1" style="left:808px; top:147px; width:85px; height:23px; vertical-align:middle; background-color:#ffff99; ">등록번호</caption>
  2213. <caption id="caption98" class="cell_1" style="left:606px; top:147px; width:85px; height:23px; vertical-align:middle; background-color:#ffff99; ">명일련</caption>
  2214. <caption id="caption99" class="cell_1" style="left:0px; top:147px; width:115px; height:23px; vertical-align:middle; ">심사차수</caption>
  2215. <caption id="caption100" class="cell_1" style="left:404px; top:95px; width:85px; height:23px; vertical-align:middle; ">청구구분</caption>
  2216. <caption id="caption101" class="cell_1" style="left:202px; top:94px; width:85px; height:23px; vertical-align:middle; ">미수월</caption>
  2217. <line id="line69" class="line_3" style="x1:607px; y1:169px; x2:1192px; y2:169px; "/>
  2218. <line id="line27" class="line_3" style="x1:406px; y1:297px; x2:594px; y2:297px; "/>
  2219. <line id="line41" class="line_3" style="x1:1011px; y1:272px; x2:1191px; y2:272px; "/>
  2220. <line id="line39" class="line_3" style="x1:806px; y1:345px; x2:1006px; y2:345px; "/>
  2221. <line id="line37" class="line_3" style="x1:194px; y1:346px; x2:404px; y2:346px; "/>
  2222. <line id="line46" class="line_1" style="x1:0px; y1:375px; x2:1192px; y2:375px; "/>
  2223. <caption id="caption10" class="tit_2" style="left:6px; top:360px; width:178px; height:13px; ">명세서일련번호별 청구사항</caption>
  2224. <group id="group7" scroll="auto" ref="/root/main/list04med/gridpifmmiun02" style="left:0px; top:647px; width:1192px; height:27px; ">
  2225. <line id="line48" class="line_6" style="x1:0px; y1:0px; x2:1192px; y2:0px; "/>
  2226. <button id="button4" class="btn3_letter6" style="left:0px; top:5px; width:104px; height:22px; ">
  2227. <caption>자격보류관리</caption>
  2228. <script type="javascript" ev:event="onclick">
  2229. <![CDATA[
  2230. if(chkJudgdgMed("1")) {
  2231. modal("SMPIF30140", 1, 1, 1, "SMPIF30140", "/root/send/clam_med", "/root/send/sendlnk");
  2232. }
  2233. ]]>
  2234. </script>
  2235. </button>
  2236. <button id="button5" class="btn3_letter4" style="left:345px; top:5px; width:80px; height:22px; ">
  2237. <caption>반송관리</caption>
  2238. <script type="javascript" ev:event="onclick">
  2239. <![CDATA[
  2240. if(chkJudgdgMed("4")) {
  2241. //model.setValue("/root/send/clam_med/instcd",model.getValue("/root/main/list02med/gridpifmmiun00/instcd"));
  2242. model.makeNode("/root/send/clam_med/screenflag");
  2243. model.setValue("/root/send/clam_med/screenflag", "boho");
  2244. modal("SMPIF30130", 1, 1, 1, "SMPIF30130", "/root/send/clam_med", "/root/send/sendlnk");
  2245. }
  2246. ]]>
  2247. </script>
  2248. </button>
  2249. <button id="button8" class="btn3_letter6" style="left:238px; top:5px; width:104px; height:22px; ">
  2250. <caption>심사보류관리</caption>
  2251. <script type="javascript" ev:event="onclick">
  2252. <![CDATA[
  2253. if(chkJudgdgMed("3")) {
  2254. for(var i=1;i<=cmb_judgdgmed.length;i++) {
  2255. if(cmb_judgdgmed.value == model.getValue("/root/main/list01med/decoseq["+i+"]/judgdg")) {
  2256. model.makeNode("/root/send/clam_med/decoseq");
  2257. model.setValue("/root/send/clam_med/decoseq", model.getValue("/root/main/list01med/decoseq["+i+"]/decoseq"));
  2258. }
  2259. }
  2260. modal("SMPIF30160", 1, 1, 1, "SMPIF30160", "/root/send/clam_med", "/root/send/sendlnk");
  2261. }
  2262. ]]>
  2263. </script>
  2264. </button>
  2265. <button id="button9" class="btn3_letter8" style="left:106px; top:5px; width:128px; height:22px; ">
  2266. <caption>장애인/대불금관리</caption>
  2267. <script type="javascript" ev:event="onclick">
  2268. <![CDATA[
  2269. if(chkJudgdgMed("2")) {
  2270. modal("SMPIF30150", 1, 1, 1, "SMPIF30150", "/root/send", "/root/send/sendlnk");
  2271. }
  2272. ]]>
  2273. </script>
  2274. </button>
  2275. </group>
  2276. <input id="input4" ref="/root/main/list03med/gridpifmmiun01/clhandicaprfund" class="input_default" format="(-)#,###" style="left:103px; top:300px; width:85px; height:19px; text-align:right; "/>
  2277. <caption id="caption2" class="cell_1" style="left:0px; top:298px; width:100px; height:23px; vertical-align:middle; ">장애인 소계</caption>
  2278. <caption id="caption3" class="cell_1" style="left:1011px; top:224px; width:90px; height:23px; vertical-align:middle; ">조정금액 소계</caption>
  2279. <input id="input7" ref="/root/main/list03med/gridpifmmiun01/adjtamt" class="input_default" format="(-)#,###" style="left:1104px; top:226px; width:85px; height:19px; text-align:right; "/>
  2280. <input id="input26" ref="/root/main/list03med/gridpifmmiun01/orgreduamt" class="input_default" format="(-)#,###" style="left:1104px; top:251px; width:85px; height:19px; text-align:right; "/>
  2281. <caption id="caption20" class="cell_1" style="left:1011px; top:249px; width:90px; height:23px; vertical-align:middle; ">실삭감액 소계</caption>
  2282. <line id="line56" class="line_2" style="x1:0px; y1:296px; x2:188px; y2:296px; "/>
  2283. <input id="ipt_docuseqno2" ref="/root/send/searchgridrowmed/docuseqno" class="input_default" style="left:694px; top:148px; width:111px; height:19px; ">
  2284. <script type="javascript" ev:event="onkeyup">
  2285. <![CDATA[
  2286. if(event.keyCode == "13") {
  2287. setInputNodeCurText();
  2288. //ipt_docuseqno2.value = "";
  2289. ipt_pid2.value = "";
  2290. ipt_patnmmed.value = "";
  2291. var docuseqno = ipt_docuseqno2.value;
  2292. var cnt = 0;
  2293. /*if(docuseqno.length == 0) {
  2294. return false;
  2295. } else if(docuseqno.length == 1) {
  2296. docuseqno = "0000"+docuseqno;
  2297. } else if(docuseqno.length == 2) {
  2298. docuseqno = "000"+docuseqno;
  2299. } else if(docuseqno.length == 3) {
  2300. docuseqno = "00"+docuseqno;
  2301. } else if(docuseqno.length == 4) {
  2302. docuseqno = "0"+docuseqno;
  2303. } else if(docuseqno.length == 5) {
  2304. docuseqno = docuseqno;
  2305. } else if(docuseqno.length > 5) {
  2306. messageBox("명세서일련번호는 최대 5자리","E008");
  2307. ipt_docuseqno2.value = "";
  2308. return false;
  2309. }*/
  2310. if(docuseqno.length > 5) {
  2311. messageBox("명세서일련번호는 최대 5자리","E008");
  2312. ipt_docuseqno2.value = "";
  2313. return false;
  2314. }
  2315. flagmed = "N";
  2316. var rows = grd_pifmmiun02.rows;
  2317. for(var i=1;i<rows;i++) {
  2318. if(model.getValue("/root/main/list04med/gridpifmmiun02["+i+"]/docuseqno") == docuseqno) {
  2319. grd_pifmmiun02.row = i;
  2320. grd_pifmmiun02.topRow = i;
  2321. cnt++;
  2322. flagmed = "Y";
  2323. return false;
  2324. }
  2325. }
  2326. if(cnt == 0) {
  2327. researchgridmed("docuseqno", docuseqno);
  2328. }
  2329. }
  2330. ]]>
  2331. </script>
  2332. </input>
  2333. <input id="ipt_pid2" ref="/root/send/searchgridrowmed/pid" class="input_default" style="left:895px; top:148px; width:111px; height:19px; ">
  2334. <script type="javascript" ev:event="onkeyup">
  2335. <![CDATA[
  2336. if(event.keyCode == "13") {
  2337. setInputNodeCurText();
  2338. ipt_docuseqno2.value = "";
  2339. //ipt_pid2.value = "";
  2340. ipt_patnmmed.value = "";
  2341. var pid = ipt_pid2.value;
  2342. var rows = grd_pifmmiun02.rows;
  2343. var cnt = 0;
  2344. flagmed = "N";
  2345. for(var i=1;i<rows;i++) {
  2346. if(model.getValue("/root/main/list04med/gridpifmmiun02["+i+"]/pid") == pid) {
  2347. grd_pifmmiun02.row = i;
  2348. grd_pifmmiun02.topRow = i;
  2349. cnt++;
  2350. flagmed = "Y";
  2351. return false;
  2352. }
  2353. }
  2354. if(cnt == 0) {
  2355. researchgridmed("pid", pid);
  2356. }
  2357. }
  2358. ]]>
  2359. </script>
  2360. </input>
  2361. <caption id="caption21" class="cell_1" style="left:599px; top:323px; width:113px; height:23px; vertical-align:middle; ">[심사] 총진료비</caption>
  2362. <line id="line33" class="line_2" style="x1:599px; y1:271px; x2:800px; y2:271px; "/>
  2363. <line id="line71" class="line_1" style="x1:598px; y1:194px; x2:800px; y2:194px; "/>
  2364. <caption id="caption29" class="cell_1" style="left:599px; top:298px; width:113px; height:23px; vertical-align:middle; ">[심사] 건수</caption>
  2365. <line id="line72" class="line_2" style="x1:599px; y1:296px; x2:800px; y2:296px; "/>
  2366. <caption id="caption33" class="tit_2" style="left:605px; top:179px; width:199px; height:13px; ">자격(보류,반송)/심사보류사항</caption>
  2367. <input id="input21" ref="/root/main/list03med/gridpifmmiun01/judgretetotordamt" class="input_default" format="(-)#,###" style="left:715px; top:324px; width:85px; height:19px; text-align:right; "/>
  2368. <line id="line73" class="line_2" style="x1:599px; y1:321px; x2:800px; y2:321px; "/>
  2369. <input id="input22" ref="/root/main/list03med/gridpifmmiun01/judgretecnt" class="input_default" format="#,###" style="left:715px; top:300px; width:85px; height:19px; text-align:right; "/>
  2370. <caption id="caption38" class="cell_1" style="left:599px; top:249px; width:113px; height:23px; vertical-align:middle; ">[자격] 지급보류액</caption>
  2371. <input id="input28" ref="/root/main/list03med/gridpifmmiun01/qualretehandicaprfund" class="input_default" format="(-)#,###" style="left:715px; top:275px; width:85px; height:19px; text-align:right; "/>
  2372. <caption id="caption47" class="cell_1" style="left:599px; top:224px; width:113px; height:23px; vertical-align:middle; ">[자격] 총진료비</caption>
  2373. <line id="line74" class="line_2" style="x1:599px; y1:247px; x2:800px; y2:247px; "/>
  2374. <line id="line75" class="line_3" style="x1:600px; y1:345px; x2:800px; y2:345px; "/>
  2375. <caption id="caption51" class="cell_1" style="left:599px; top:273px; width:113px; height:23px; vertical-align:middle; ">[자격] 장애인</caption>
  2376. <input id="input45" ref="/root/main/list03med/gridpifmmiun01/qualreteamt" class="input_default" format="(-)#,###" style="left:715px; top:251px; width:85px; height:19px; text-align:right; "/>
  2377. <input id="input58" ref="/root/main/list03med/gridpifmmiun01/qualretecnt" class="input_default" format="#,###" style="left:715px; top:200px; width:85px; height:19px; text-align:right; "/>
  2378. <input id="input59" ref="/root/main/list03med/gridpifmmiun01/qualretetotordamt" class="input_default" format="(-)#,###" style="left:715px; top:226px; width:85px; height:19px; text-align:right; "/>
  2379. <caption id="caption52" class="cell_1" style="left:599px; top:199px; width:113px; height:23px; vertical-align:middle; ">[자격] 건수</caption>
  2380. <line id="line76" class="line_2" style="x1:599px; y1:222px; x2:800px; y2:222px; "/>
  2381. <input id="ipt_acptnocntmed" ref="/root/main/list00med/list00_acptclam/acptnocnt/cnt" visibility="hidden" style="left:380px; top:35px; width:115px; height:19px; "/>
  2382. <input id="ipt_patnmmed" ref="/root/send/searchgridrowmed/patnm" class="input_default" style="left:1097px; top:148px; width:92px; height:19px; ">
  2383. <script type="javascript" ev:event="onkeyup">
  2384. <![CDATA[
  2385. if(event.keyCode == "13") {
  2386. setInputNodeCurText();
  2387. ipt_docuseqno2.value = "";
  2388. ipt_pid2.value = "";
  2389. //ipt_patnmmed.value = "";
  2390. var patnm = ipt_patnmmed.value;
  2391. var rows = grd_pifmmiun02.rows;
  2392. var cnt = 0;
  2393. flagmed = "N";
  2394. if(model.getValue("/root/init/prepatnm") == "") {
  2395. for(var i=1;i<rows;i++) {
  2396. if(model.getValue("/root/main/list04med/gridpifmmiun02["+i+"]/patnm") == patnm) {
  2397. grd_pifmmiun02.row =i;
  2398. grd_pifmmiun02.topRow = i;
  2399. model.setValue("/root/init/prepatnmcnt",i);
  2400. cnt++;
  2401. flagmed = "Y";
  2402. break;
  2403. }
  2404. }
  2405. model.setValue("/root/init/prepatnm",patnm);
  2406. if(cnt == 0) {
  2407. researchgridmed("patnm", patnm);
  2408. }
  2409. } else {
  2410. if(patnm == model.getValue("/root/init/prepatnm")) {
  2411. for(var i=Number(model.getValue("root/init/prepatnmcnt"))+1;i<rows;i++) {
  2412. if(model.getValue("/root/main/list04med/gridpifmmiun02["+i+"]/patnm") == patnm) {
  2413. grd_pifmmiun02.row = i;
  2414. grd_pifmmiun02.topRow = i;
  2415. model.setValue("/root/init/prepatnmcnt",i);
  2416. cnt++;
  2417. flagmed = "Y";
  2418. break;
  2419. }
  2420. }
  2421. if(cnt == 0) {
  2422. researchgridmed("patnm", patnm);
  2423. }
  2424. } else {
  2425. for(var i=1;i<rows;i++) {
  2426. if(model.getValue("/root/main/list04med/gridpifmmiun02["+i+"]/patnm") == patnm) {
  2427. grd_pifmmiun02.row = i;
  2428. grd_pifmmiun02.topRow = i;
  2429. model.setValue("/root/init/prepatnmcnt",i);
  2430. cnt++;
  2431. flagmed = "Y";
  2432. break;
  2433. }
  2434. }
  2435. model.setValue("/root/init/prepatnm",patnm);
  2436. if(cnt == 0) {
  2437. researchgridmed("patnm", patnm);
  2438. }
  2439. }
  2440. }
  2441. }
  2442. ]]>
  2443. </script>
  2444. <script type="javascript" ev:event="xforms-value-changed">
  2445. <![CDATA[
  2446. if(event.keyCode == "13") {
  2447. setInputNodeCurText();
  2448. var patnm = ipt_patnmmed.value;
  2449. var rows = grd_pifmmiun02.rows;
  2450. for(var i=1;i<rows;i++) {
  2451. if(model.getValue("/root/main/list04med/gridpifmmiun02["+i+"]/patnm") == patnm) {
  2452. grd_pifmmiun02.select(i,11) = true;
  2453. grd_pifmmiun02.topRow = i;
  2454. }
  2455. }
  2456. }
  2457. ]]>
  2458. </script>
  2459. </input>
  2460. <button id="button3" class="btn2_letter4" style="left:1127px; top:354px; width:64px; height:19px; ">
  2461. <caption>엑셀저장</caption>
  2462. <script type="javascript" ev:event="onclick">
  2463. <![CDATA[
  2464. var today = new Date();
  2465. var yy = today.getYear()+"";
  2466. var mm = today.getMonth()+1;
  2467. var dd = today.getDate();
  2468. if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
  2469. if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
  2470. var tmp = yy+mm+dd;
  2471. var fileName = window.fileDialog("save", ",", false, "개인별미수관리(보호)_"+tmp, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  2472. if (fileName != "") { grd_pifmmiun02.saveExcel(fileName, "SheetName", true, true, "", "", ""); }
  2473. ]]>
  2474. </script>
  2475. </button>
  2476. <button id="button14" class="btn2_letter6" style="left:1039px; top:354px; width:86px; height:19px; ">
  2477. <caption>Open Excel</caption>
  2478. <script type="javascript" ev:event="DOMActivate">
  2479. <![CDATA[
  2480. try {
  2481. window.exec("excel");
  2482. } catch(e) {
  2483. alert(e);
  2484. }
  2485. ]]>
  2486. </script>
  2487. </button>
  2488. <button id="button16" class="btn2_letter3" style="left:929px; top:354px; width:53px; height:19px; ">
  2489. <caption>열카피</caption>
  2490. <script type="javascript" ev:event="onclick">
  2491. <![CDATA[
  2492. grd_pifmmiun02.attribute("selectionmode") = "bycol";
  2493. ]]>
  2494. </script>
  2495. </button>
  2496. <button id="button17" class="btn2_letter3" style="left:984px; top:354px; width:53px; height:19px; ">
  2497. <caption>행카피</caption>
  2498. <script type="javascript" ev:event="onclick">
  2499. <![CDATA[
  2500. grd_pifmmiun02.attribute("selectionmode") = "byrow";
  2501. ]]>
  2502. </script>
  2503. </button>
  2504. <button id="button18" class="btn2_letter3" style="left:874px; top:354px; width:53px; height:19px; ">
  2505. <caption>셀카피</caption>
  2506. <script type="javascript" ev:event="onclick">
  2507. <![CDATA[
  2508. grd_pifmmiun02.attribute("selectionmode") = "free";
  2509. ]]>
  2510. </script>
  2511. </button>
  2512. <line id="line15" class="line_2" style="x1:195px; y1:222px; x2:594px; y2:222px; "/>
  2513. <caption id="caption102" class="cell_1" style="left:194px; top:224px; width:121px; height:23px; vertical-align:middle; ">총진료비 소계</caption>
  2514. <input id="input9" ref="/root/main/list03med/gridpifmmiun01/jrmcstotamt" class="input_default" format="(-)#,###" style="left:318px; top:226px; width:85px; height:19px; text-align:right; "/>
  2515. <button id="button21" class="btn5_letter3" style="left:819px; top:354px; width:53px; height:19px; ">
  2516. <caption>틀해제</caption>
  2517. <script type="javascript" ev:event="onclick">
  2518. <![CDATA[
  2519. grd_pifmmiun02.fixedCols = 1;
  2520. model.refresh();
  2521. ]]>
  2522. </script>
  2523. </button>
  2524. <button id="fixedcolsbtn" class="btn5_letter3" style="left:764px; top:354px; width:53px; height:19px; ">
  2525. <caption>틀고정</caption>
  2526. <script type="javascript" ev:event="onclick">
  2527. <![CDATA[
  2528. grd_pifmmiun02.fixedCols = 12;
  2529. model.refresh();
  2530. ]]>
  2531. </script>
  2532. </button>
  2533. </case>
  2534. <case id="case3">
  2535. <caption id="caption48" class="tit_2" style="left:6px; top:45px; width:111px; height:13px; ">심사결정사항</caption>
  2536. <input id="input5" ref="/root/main/list02/gridpifmiunc00/ordym" class="input_default" format="yyyy-mm" style="left:88px; top:66px; width:111px; height:19px; "/>
  2537. <caption id="caption49" class="cell_1" style="left:477px; top:169px; width:110px; height:23px; vertical-align:middle; ">건수</caption>
  2538. <line id="line23" class="line_2" style="x1:477px; y1:192px; x2:709px; y2:192px; "/>
  2539. <line id="line84" class="line_3" style="x1:238px; y1:217px; x2:470px; y2:217px; "/>
  2540. <caption id="caption104" class="cell_1" style="left:808px; top:65px; width:85px; height:23px; vertical-align:middle; ">산재유형</caption>
  2541. <input id="input19" ref="/root/main/list02/gridpifmiunc00/clamflagnm" class="input_default" style="left:492px; top:66px; width:111px; height:19px; "/>
  2542. <input id="input75" ref="/root/main/list03/gridpifmiunc01/sendtotordamt" class="input_default" format="(-)#,###" style="left:829px; top:195px; width:120px; height:19px; text-align:right; "/>
  2543. <line id="line87" class="line_1" style="x1:955px; y1:164px; x2:1191px; y2:164px; "/>
  2544. <line id="line88" class="line_1" style="x1:477px; y1:164px; x2:710px; y2:164px; "/>
  2545. <caption id="caption105" class="cell_1" style="left:477px; top:194px; width:111px; height:23px; vertical-align:middle; ">보류액</caption>
  2546. <line id="line89" class="line_3" style="x1:716px; y1:217px; x2:949px; y2:217px; "/>
  2547. <input id="input82" ref="/root/main/list03/gridpifmiunc01/retetotordamt" class="input_default" format="(-)#,###" style="left:590px; top:195px; width:120px; height:19px; text-align:right; "/>
  2548. <line id="line92" class="line_3" style="x1:955px; y1:243px; x2:1191px; y2:243px; "/>
  2549. <input id="input84" ref="/root/main/list02/gridpifmiunc00/sumtypecd" class="input_default" style="left:895px; top:66px; width:111px; height:19px; "/>
  2550. <line id="line93" class="line_3" style="x1:0px; y1:140px; x2:218px; y2:140px; "/>
  2551. <caption id="caption108" class="tit_2" style="left:480px; top:149px; width:129px; height:13px; ">지급보류사항</caption>
  2552. <input id="input86" ref="/root/main/list02/gridpifmiunc00/clamym" class="input_default" format="yyyy-mm" style="left:290px; top:66px; width:111px; height:19px; "/>
  2553. <line id="line96" class="line_1" style="x1:0px; y1:60px; x2:1192px; y2:60px; "/>
  2554. <caption id="caption110" class="tit_2" style="left:719px; top:149px; width:129px; height:13px; ">지급불능사항</caption>
  2555. <input id="input90" ref="/root/main/list02/gridpifmiunc00/ioflag" class="input_default" style="left:694px; top:66px; width:111px; height:19px; "/>
  2556. <line id="line100" class="line_3" style="x1:0px; y1:88px; x2:1192px; y2:88px; "/>
  2557. <caption id="caption111" class="cell_1" style="left:606px; top:64px; width:85px; height:23px; vertical-align:middle; ">내원유형</caption>
  2558. <caption id="caption112" class="cell_1" style="left:716px; top:194px; width:110px; height:23px; vertical-align:middle; ">불능액</caption>
  2559. <caption id="caption113" class="tit_2" style="left:956px; top:149px; width:110px; height:14px; ">삭감내역</caption>
  2560. <line id="line103" class="line_1" style="x1:0px; y1:280px; x2:1192px; y2:280px; "/>
  2561. <input id="input93" ref="/root/main/list02/gridpifmiunc00/clamno" class="input_default" style="left:1097px; top:66px; width:92px; height:19px; "/>
  2562. <caption id="caption116" class="cell_1" style="left:1009px; top:65px; width:85px; height:23px; vertical-align:middle; ">청구번호</caption>
  2563. <caption id="caption117" class="tit_2" style="left:5px; top:98px; width:160px; height:13px; ">심사차수별 미수관리</caption>
  2564. <line id="line104" class="line_2" style="x1:956px; y1:192px; x2:1190px; y2:192px; "/>
  2565. <caption id="caption118" class="cell_1" style="left:955px; top:219px; width:110px; height:23px; vertical-align:middle; ">삭감율</caption>
  2566. <button id="button19" class="btn2_letter6" style="left:1039px; top:259px; width:86px; height:19px; ">
  2567. <caption>Open Excel</caption>
  2568. <script type="javascript" ev:event="DOMActivate">
  2569. <![CDATA[
  2570. try {
  2571. window.exec("excel");
  2572. } catch(e) {
  2573. alert(e);
  2574. }
  2575. ]]>
  2576. </script>
  2577. </button>
  2578. <caption id="caption120" class="cell_1" style="left:1px; top:65px; width:85px; height:23px; vertical-align:middle; ">진료년월</caption>
  2579. <input id="input97" ref="/root/main/list03/gridpifmiunc01/orgreduamt" class="input_default" format="(-)#,###" style="left:1068px; top:221px; width:120px; height:19px; text-align:right; "/>
  2580. <line id="line105" class="line_2" style="x1:956px; y1:217px; x2:1190px; y2:217px; "/>
  2581. <line id="line106" class="line_2" style="x1:239px; y1:192px; x2:470px; y2:192px; "/>
  2582. <input id="input100" ref="/root/main/list03/gridpifmiunc01/retecnt" class="input_default" format="#,###" style="left:590px; top:171px; width:120px; height:19px; text-align:right; "/>
  2583. <input id="ipt_pid3" ref="/root/send/searchgridrow/pid" class="input_default" style="left:895px; top:118px; width:111px; height:19px; ">
  2584. <script type="javascript" ev:event="onkeyup">
  2585. <![CDATA[
  2586. if(event.keyCode == "13") {
  2587. setInputNodeCurText();
  2588. ipt_docuseqno3.value = "";
  2589. //ipt_pid1.value = "";
  2590. ipt_patnm3.value = "";
  2591. var pid = ipt_pid3.value;
  2592. var rows = grd_inducsclamspec.rows;
  2593. var cnt = 0;
  2594. flag = "N";
  2595. for(var i=1;i<rows;i++) {
  2596. //if(model.getValue("/root/main/list04/gridpifmiunc02["+i+"]/pid") == pid) {
  2597. if(grd_inducsclamspec.valueMatrix(i,11) == pid) {
  2598. grd_inducsclamspec.row = i;
  2599. grd_inducsclamspec.topRow = i;
  2600. cnt++;
  2601. flag = "Y";
  2602. return false;
  2603. }
  2604. }
  2605. if(cnt == 0) {
  2606. messageBox("찾는 등록번호가","I004");
  2607. model.setFocus("ipt_pid3");
  2608. //researchgrid("pid",pid);
  2609. }
  2610. }
  2611. ]]>
  2612. </script>
  2613. </input>
  2614. <input id="ipt_docuseqno3" ref="/root/send/searchgridrow/docuseqno" class="input_default" style="left:694px; top:118px; width:111px; height:19px; ">
  2615. <script type="javascript" ev:event="onkeyup">
  2616. <![CDATA[
  2617. if(event.keyCode == "13") {
  2618. setInputNodeCurText();
  2619. //ipt_docuseqno1.value = "";
  2620. ipt_pid3.value = "";
  2621. ipt_patnm3.value = "";
  2622. var docuseqno = ipt_docuseqno3.value;
  2623. var cnt = 0;
  2624. /*if(docuseqno.length == 0) {
  2625. return false;
  2626. } else if(docuseqno.length == 1) {
  2627. docuseqno = "0000"+docuseqno;
  2628. } else if(docuseqno.length == 2) {
  2629. docuseqno = "000"+docuseqno;
  2630. } else if(docuseqno.length == 3) {
  2631. docuseqno = "00"+docuseqno;
  2632. } else if(docuseqno.length == 4) {
  2633. docuseqno = "0"+docuseqno;
  2634. } else if(docuseqno.length == 5) {
  2635. docuseqno = docuseqno;
  2636. } else if(docuseqno.length > 5) {
  2637. messageBox("명세서일련번호는 최대 5자리","E008");
  2638. ipt_docuseqno2.value = "";
  2639. return false;
  2640. }*/
  2641. if(docuseqno.length > 5) {
  2642. messageBox("명세서일련번호는 최대 5자리","E008");
  2643. ipt_docuseqno3.value = "";
  2644. return false;
  2645. }
  2646. flag = "N";
  2647. var rows = grd_inducsclamspec.rows;
  2648. for(var i=1;i<rows;i++) {
  2649. //if(model.getValue("/root/main/list04/gridpifmiunc02["+i+"]/docuseqno") == docuseqno) {
  2650. if(grd_inducsclamspec.valueMatrix(i,10) == docuseqno) {
  2651. //grd_pifmiunc02.select(i,9) = true;
  2652. grd_inducsclamspec.row = i;
  2653. grd_inducsclamspec.topRow = i;
  2654. cnt++;
  2655. flag = "Y";
  2656. return false;
  2657. }
  2658. }
  2659. if(cnt == 0) {
  2660. messageBox("찾는 명일련이","I004");
  2661. model.setFocus("ipt_docuseqno3");
  2662. //researchgrid("docuseqno",docuseqno);
  2663. }
  2664. }
  2665. ]]>
  2666. </script>
  2667. </input>
  2668. <caption id="caption125" class="cell_1" style="left:1009px; top:118px; width:85px; height:21px; vertical-align:middle; background-color:#ffff99; ">수진자</caption>
  2669. <input id="input103" ref="/root/main/list03/gridpifmiunc01/cutcnt" class="input_default" format="#,###" style="left:1068px; top:171px; width:120px; height:19px; text-align:right; "/>
  2670. <caption id="caption126" class="cell_1" style="left:955px; top:194px; width:110px; height:23px; vertical-align:middle; ">삭감액</caption>
  2671. <input id="input104" ref="/root/main/list03/gridpifmiunc01/sendcnt" class="input_default" format="#,###" style="left:829px; top:171px; width:120px; height:19px; text-align:right; "/>
  2672. <group id="group2" style="left:0px; top:5px; width:1192px; height:35px; vertical-align:top; ">
  2673. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1192px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  2674. <button id="button20" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  2675. <caption>조회</caption>
  2676. <script type="javascript" ev:event="onclick">
  2677. <![CDATA[
  2678. // search();
  2679. model.removeNodeSet("/root/main/list04");
  2680. submit("TRPIF30106") ;
  2681. model.refresh();
  2682. // Instance_Init() ;
  2683. // model.resetInstanceNode("/root/send/clam_mtrt/judgdg");
  2684. // model.refresh();
  2685. //
  2686. // if(rdo_indusrchcond.value == "1") {
  2687. // var vacptno = ipt_indusrchcond03.value;
  2688. // var vclamym = cmb_indusrchcond03.value;
  2689. //
  2690. // if(vacptno == ""){
  2691. // messageBox("접수번호를 반드시","C001");
  2692. // model.setFocus("ipt_indusrchcond03");
  2693. // return false ;
  2694. // }
  2695. //
  2696. // if(vclamym == ""){
  2697. // messageBox("청구년월을 반드시","C002");
  2698. // model.setFocus("cmb_indusrchcond03");
  2699. // return false ;
  2700. // }
  2701. //
  2702. // model.setValue("/root/send/clam_mtrt/clamym", vclamym) ;
  2703. // model.setValue("/root/send/clam_mtrt/acptno", vacptno) ;
  2704. // model.setValue("/root/send/clam_mtrt/insukind", model.getValue("/root/send/srchcond/insukind")) ;
  2705. //
  2706. // } else if(rdo_indusrchcond.value == "2") {
  2707. // var vclamym = ipt_indusrchcond03.value;
  2708. // var vacptno = cmb_indusrchcond03.value;
  2709. //
  2710. // if(vclamym == ""){
  2711. // messageBox("청구년월을 반드시","C001");
  2712. // model.setFocus("ipt_indusrchcond03");
  2713. // return false ;
  2714. // }
  2715. // if(vacptno == ""){
  2716. // messageBox("접수번호를 반드시","C002");
  2717. // model.setFocus("cmb_indusrchcond03");
  2718. // return false ;
  2719. // }
  2720. //
  2721. // model.setValue("/root/send/clam_mtrt/clamym", vclamym) ;
  2722. // model.setValue("/root/send/clam_mtrt/acptno", vacptno) ;
  2723. // model.setValue("/root/send/clam_mtrt/insukind", model.getValue("/root/send/srchcond/insukind")) ;
  2724. //
  2725. // } else {
  2726. // messageBox("조회조건을","I007");
  2727. // return false ;
  2728. // }
  2729. //
  2730. // submit("TRPIF30103") ; //심사차수
  2731. // submit("TRPIF30104") ; //청구내역
  2732. //
  2733. // model.setValue("/root/send/clam_mtrt/clamno", model.getValue("/root/main/list02/gridpifmiunc00/clamno")) ;
  2734. // model.setValue("/root/send/clam_mtrt/instcd", model.getValue("/root/main/list02/gridpifmiunc00/instcd"));
  2735. //
  2736. // // 2007.12.07 페이지단위 조회를 위한 값 0으로 세팅
  2737. // model.setValue("/root/send/clam_mtrt/offset",0);
  2738. //
  2739. // if(combo2.length == 0) {
  2740. // //submit("TRPIF30104") ; //청구내역
  2741. // submit("TRPIF30105") ; //청구내역
  2742. // submit("TRPIF30106") ; //명세서별 조회(청구데이터만 조회)
  2743. // model.makeNode("/root/main/list01/judgdg01/judgdg");
  2744. // model.setValue("/root/main/list01/judgdg01/judgdg","없음");
  2745. // combo2.value = model.getValue("/root/main/list01/judgdg01/judgdg");
  2746. // model.refresh();
  2747. // //submit("TRPIF30106") ; //명세서별 조회
  2748. // } else if(combo2.length == 1) {
  2749. // combo2.select(0);
  2750. // //searchByJudgdg();
  2751. // } else if(combo2.length >1) {
  2752. // //copyNodeType("/root/main/list01/judgdg01","/root/main/list01temp/judgdg01","before");
  2753. //
  2754. // //addComboItem("cmb_judgdg", " ", "전체");
  2755. // combo2.value = model.getValue("/root/main/list01/judgdg01[0]/judgdg");
  2756. // model.refresh();
  2757. // model.setFocus("cmb_judgdg");
  2758. // combo2.select(0);
  2759. //
  2760. // }
  2761. ]]>
  2762. </script>
  2763. </button>
  2764. <line id="line107" class="line_4" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  2765. <select1 id="rdo_indusrchcond" ref="/root/send/srchcond/searchflag" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:15px; top:9px; width:145px; height:17px; font-weight:bold; border-style:none; ">
  2766. <choices>
  2767. <item>
  2768. <label>접수번호</label>
  2769. <value>1</value>
  2770. </item>
  2771. <item>
  2772. <label>청구년월</label>
  2773. <value>2</value>
  2774. </item>
  2775. </choices>
  2776. <script type="javascript" ev:event="xforms-value-changed">
  2777. <![CDATA[
  2778. if(rdo_indusrchcond.value == "1") {
  2779. model.resetInstanceNode("/root/main/list00");
  2780. ipt_indusrchcond03.value = "";
  2781. ipt_indusrchcond03.attribute("maxlength") = 15;
  2782. ipt_indusrchcond03.attribute("inputtype") = "button";
  2783. model.refresh();
  2784. } else {
  2785. model.resetInstanceNode("/root/main/list00");
  2786. ipt_indusrchcond03.value = "";
  2787. ipt_indusrchcond03.attribute("maxlength") = 6;
  2788. ipt_indusrchcond03.attribute("inputtype") = "";
  2789. model.refresh();
  2790. }
  2791. model.setFocus("ipt_indusrchcond03");
  2792. //model.setValue("/root/send/acptclam/searchflag", "1");
  2793. ]]>
  2794. </script>
  2795. </select1>
  2796. <input id="ipt_indusrchcond03" ref="/root/send/srchcond/srchcond01" class="input_s_essential" inputtype="button" maxlength="15" style="left:174px; top:8px; width:120px; height:19px; ">
  2797. <script type="javascript" ev:event="DOMFocusOut">
  2798. <![CDATA[
  2799. if(ipt_srchcond01.value == "") {
  2800. return false;
  2801. }
  2802. //if(event.keyCode == "13") {
  2803. // setInputNodeCurText();
  2804. // model.removenode("/root/main/list00");
  2805. model.resetInstanceNode("/root/main/list00");
  2806. model.removenode("/root/main/list01");
  2807. model.removenode("/root/main/list02");
  2808. model.removenode("/root/main/list03");
  2809. model.removenode("/root/main/list04");
  2810. // model.resetInstanceNode("/root/main/list01");
  2811. // model.resetInstanceNode("/root/main/list02");
  2812. // model.resetInstanceNode("/root/main/list03");
  2813. // model.resetInstanceNode("/root/main/list04");
  2814. model.setValue("/root/send/srchcond/srchcond02","");
  2815. model.setValue("/root/send/srchcond/insukind","41");
  2816. model.refresh();
  2817. var srchflag = model.getValue("/root/send/srchcond/searchflag");
  2818. if(srchflag == "1") {
  2819. if (ipt_srchcond01.value == "") {
  2820. messageBox("접수번호를","C001") ;
  2821. model.setfocus("ipt_srchcond01");
  2822. return false;
  2823. }
  2824. }
  2825. if(srchflag == "2") {
  2826. if (ipt_srchcond01.value == "") {
  2827. messageBox("청구년월을","C001") ;
  2828. model.setfocus("ipt_srchcond01");
  2829. return false;
  2830. }
  2831. }
  2832. // Session_Init();
  2833. // model.setValue("/root/send/send_mtrt/searchflag", "2") ;
  2834. submit("TRPIF30101") ;
  2835. if(ipt_acptnocnt.value > 1) {
  2836. opt_comment.visible = true;
  2837. opt_comment.value = "[ 같은 접수번호가 여러개("+ipt_acptnocnt.value+"개) 있습니다. ]";
  2838. } else {
  2839. opt_comment.visible = false;
  2840. }
  2841. // model.setfocus("cmb_clamymlist");
  2842. if(cmb_srchcond02.length > 0) {
  2843. if(cmb_srchcond02.length == 1) {
  2844. cmb_srchcond02.select(0);
  2845. } else {
  2846. model.setFocus("cmb_srchcond02");
  2847. }
  2848. // search();
  2849. }
  2850. //}
  2851. ]]>
  2852. </script>
  2853. <script type="javascript" ev:event="onbuttonclick">
  2854. <![CDATA[
  2855. var srchflag = model.getValue("/root/send/srchcond/searchflag");
  2856. //조회조건이 청구년월일 경우 버튼 동작 안하도록 설정
  2857. if(srchflag == "2") {
  2858. return false;
  2859. }
  2860. model.makeNode("/root/send/send01/termflag");
  2861. model.makeNode("/root/send/send01/fromdd");
  2862. model.makeNode("/root/send/send01/todd");
  2863. model.makeNode("/root/send/send01/insukind");
  2864. model.makeNode("/root/send/send01/acptno");
  2865. model.setValue("/root/send/send01/insukind","41");
  2866. setParameter("SPPIF30302_RTNTYPE", "P");
  2867. modal("SPPIF30302", 1, 1, 1, "SPPIF30302", "/root/send/send01", "/root/send");
  2868. model.setValue("/root/send/srchcond/srchcond01", getParameter("SPPIF30302_acptno"));
  2869. model.removeNodeset("/root/send/send01");
  2870. clearParameter("SPPIF30302_RTNTYPE");
  2871. clearParameter("SPPIF30302_acptno");
  2872. ipt_indusrchcond03.refresh();
  2873. if( model.getValue("/root/send/srchcond/srchcond01") != '' ){
  2874. //ipt_srchcond01.dispatch("DOMFocusOut");
  2875. model.setFocus("cmb_indusrchcond03");
  2876. }
  2877. ]]>
  2878. </script>
  2879. </input>
  2880. <select1 id="cmb_indusrchcond03" ref="/root/send/srchcond/srchcond02" class="combo_search" appearance="minimal" style="left:295px; top:8px; width:100px; height:19px; ">
  2881. <choices>
  2882. <itemset nodeset="/root/main/list00/srchcond">
  2883. <label ref="srchcond02"/>
  2884. <value ref="srchcond02"/>
  2885. </itemset>
  2886. </choices>
  2887. <script type="javascript" ev:event="xforms-select">
  2888. <![CDATA[
  2889. search();
  2890. ]]>
  2891. </script>
  2892. </select1>
  2893. <input id="ipt_acptnocntinducs" ref="/root/main/list00/acptnocnt/cnt" visibility="hidden" style="left:725px; top:8px; width:115px; height:19px; "/>
  2894. <output id="opt_commentinducs" visibility="hidden" style="left:410px; top:8px; width:220px; height:19px; color:#999999; "/>
  2895. </group>
  2896. <input id="ipt_patnm3" ref="/root/send/searchgridrow/patnm" class="input_default" style="left:1097px; top:118px; width:92px; height:19px; ">
  2897. <script type="javascript" ev:event="onkeyup">
  2898. <![CDATA[
  2899. if(event.keyCode == "13") {
  2900. setInputNodeCurText();
  2901. ipt_docuseqno3.value = "";
  2902. ipt_pid3.value = "";
  2903. //ipt_patnm.value = "";
  2904. var patnm = ipt_patnm3.value;
  2905. var rows = grd_inducsclamspec.rows;
  2906. var cnt = 0;
  2907. flag = "N";
  2908. if(model.getValue("/root/init/prepatnm") == "") {
  2909. for(var i=1;i<rows;i++) {
  2910. //if(model.getValue("/root/main/list04/gridpifmiunc02["+i+"]/patnm") == patnm) {
  2911. if(grd_inducsclamspec.valueMatrix(i,12) == patnm) {
  2912. grd_inducsclamspec.row = i;
  2913. grd_inducsclamspec.topRow = i;
  2914. model.setValue("/root/init/prepatnmcnt",i);
  2915. cnt++;
  2916. flag = "Y";
  2917. break;
  2918. }
  2919. }
  2920. model.setValue("/root/init/prepatnm",ipt_patnm3.value);
  2921. } else {
  2922. if(patnm == model.getValue("/root/init/prepatnm")) {
  2923. for(var i=Number(model.getValue("root/init/prepatnmcnt"))+1;i<rows;i++) {
  2924. //if(model.getValue("/root/main/list04/gridpifmiunc02["+i+"]/patnm") == patnm) {
  2925. if(grd_inducsclamspec.valueMatrix(i,12) == patnm) {
  2926. grd_inducsclamspec.row = i;
  2927. grd_inducsclamspec.topRow = i;
  2928. model.setValue("/root/init/prepatnmcnt",i);
  2929. cnt++;
  2930. flag = "Y";
  2931. break;
  2932. }
  2933. }
  2934. } else {
  2935. for(var i=1;i<rows;i++) {
  2936. //if(model.getValue("/root/main/list04/gridpifmiunc02["+i+"]/patnm") == patnm) {
  2937. if(grd_inducsclamspec.valueMatrix(i,12) == patnm) {
  2938. grd_inducsclamspec.row = i;
  2939. grd_inducsclamspec.topRow = i;
  2940. model.setValue("/root/init/prepatnmcnt",i);
  2941. cnt++;
  2942. flag = "Y";
  2943. break;
  2944. }
  2945. }
  2946. model.setValue("/root/init/prepatnm",ipt_patnm3.value);
  2947. }
  2948. }
  2949. if(cnt == 0) {
  2950. messageBox("찾는 수진자가","I004");
  2951. model.setFocus("ipt_patnm3");
  2952. //researchgrid("patnm",patnm);
  2953. }
  2954. }
  2955. ]]>
  2956. </script>
  2957. </input>
  2958. <caption id="caption128" class="cell_1" style="left:0px; top:169px; width:110px; height:23px; vertical-align:middle; ">건수</caption>
  2959. <input id="input108" ref="/root/main/list03/gridpifmiunc01/adjtamt" class="input_default" format="(-)#,###" style="left:1068px; top:195px; width:120px; height:19px; text-align:right; "/>
  2960. <caption id="caption130" class="cell_1" style="left:238px; top:169px; width:110px; height:23px; vertical-align:middle; ">건수</caption>
  2961. <caption id="caption131" style="left:510px; top:119px; width:75px; height:20px; color:#3366ff; ">
  2962. <![CDATA[바로가기 ==>]]>
  2963. </caption>
  2964. <caption id="caption132" class="tit_2" style="left:3px; top:150px; width:78px; height:13px; ">청구사항</caption>
  2965. <line id="line111" class="line_1" style="x1:0px; y1:113px; x2:1192px; y2:113px; "/>
  2966. <caption id="caption133" class="cell_1" style="left:808px; top:117px; width:85px; height:23px; vertical-align:middle; background-color:#ffff99; ">등록번호</caption>
  2967. <input id="input110" ref="/root/main/list03/gridpifmiunc01/jrsltcnt" class="input_default" format="#,###" style="left:351px; top:171px; width:120px; height:19px; text-align:right; "/>
  2968. <line id="line113" class="line_3" style="x1:0px; y1:217px; x2:233px; y2:217px; "/>
  2969. <caption id="caption136" class="cell_1" style="left:0px; top:194px; width:110px; height:23px; vertical-align:middle; ">청구액</caption>
  2970. <caption id="caption137" class="cell_1" style="left:955px; top:169px; width:110px; height:23px; vertical-align:middle; ">건수</caption>
  2971. <button id="button27" class="btn2_letter3" style="left:929px; top:259px; width:53px; height:19px; ">
  2972. <caption>열카피</caption>
  2973. <script type="javascript" ev:event="onclick">
  2974. <![CDATA[
  2975. grd_inducsclamspec.attribute("selectionmode") = "bycol";
  2976. ]]>
  2977. </script>
  2978. </button>
  2979. <caption id="caption139" class="cell_1" style="left:0px; top:117px; width:115px; height:23px; vertical-align:middle; ">심사차수</caption>
  2980. <caption id="caption140" class="cell_1" style="left:606px; top:117px; width:85px; height:23px; vertical-align:middle; background-color:#ffff99; ">명일련</caption>
  2981. <line id="line114" class="line_2" style="x1:716px; y1:192px; x2:948px; y2:192px; "/>
  2982. <input id="input116" ref="/root/main/list03/gridpifmiunc01/jrownbamt" class="input_default" format="(-)#,###" style="left:351px; top:196px; width:120px; height:19px; text-align:right; "/>
  2983. <line id="line115" class="line_1" style="x1:238px; y1:164px; x2:471px; y2:164px; "/>
  2984. <button id="button28" class="btn2_letter3" style="left:984px; top:259px; width:53px; height:19px; ">
  2985. <caption>행카피</caption>
  2986. <script type="javascript" ev:event="onclick">
  2987. <![CDATA[
  2988. grd_inducsclamspec.attribute("selectionmode") = "byrow";
  2989. ]]>
  2990. </script>
  2991. </button>
  2992. <line id="line116" class="line_3" style="x1:477px; y1:217px; x2:710px; y2:217px; "/>
  2993. <caption id="caption142" class="tit_2" style="left:6px; top:265px; width:178px; height:13px; ">명세서일련번호별 청구사항</caption>
  2994. <input id="input117" ref="/root/main/list03/gridpifmiunc01/clmcstotamt" class="input_default" format="(-)#,###" style="left:113px; top:195px; width:120px; height:19px; text-align:right; "/>
  2995. <input id="input118" ref="/root/main/list03/gridpifmiunc01/clamcnt" class="input_default" format="#,###" style="left:113px; top:171px; width:120px; height:19px; text-align:right; "/>
  2996. <line id="line117" class="line_1" style="x1:0px; y1:164px; x2:233px; y2:164px; "/>
  2997. <caption id="caption143" class="cell_1" style="left:716px; top:169px; width:110px; height:23px; vertical-align:middle; ">건수</caption>
  2998. <caption id="caption144" class="cell_1" style="left:238px; top:194px; width:110px; height:23px; vertical-align:middle; ">지급결정액</caption>
  2999. <caption id="caption145" class="tit_2" style="left:241px; top:149px; width:95px; height:14px; ">심결사항</caption>
  3000. <select1 id="combo2" ref="/root/send/clam_mtrt/judgdg" class="combo_default" appearance="minimal" style="left:118px; top:119px; width:100px; height:19px; ">
  3001. <choices>
  3002. <itemset nodeset="/root/main/list01/judgdg01">
  3003. <label ref="judgdg"/>
  3004. <value ref="judgdg"/>
  3005. </itemset>
  3006. </choices>
  3007. <script type="javascript" ev:event="xforms-select">
  3008. <![CDATA[
  3009. if(cmb_judgdg.value == "없음") {
  3010. return false;
  3011. } else {
  3012. searchByJudgdg();
  3013. }
  3014. ]]>
  3015. </script>
  3016. </select1>
  3017. <button id="button29" class="btn2_letter4" style="left:1127px; top:259px; width:64px; height:19px; ">
  3018. <caption>엑셀저장</caption>
  3019. <script type="javascript" ev:event="onclick">
  3020. <![CDATA[
  3021. var today = new Date();
  3022. var yy = today.getYear()+"";
  3023. var mm = today.getMonth()+1;
  3024. var dd = today.getDate();
  3025. if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
  3026. if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
  3027. var tmp = yy+mm+dd;
  3028. var fileName = window.fileDialog("save", ",", false, "개인별미수관리(산재)_"+tmp, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  3029. if (fileName != "") { grd_inducsclamspec.saveExcel(fileName, "SheetName", true, true, "", "", ""); }
  3030. ]]>
  3031. </script>
  3032. </button>
  3033. <line id="line120" class="line_2" style="x1:0px; y1:192px; x2:233px; y2:192px; "/>
  3034. <button id="button30" class="btn2_letter3" style="left:874px; top:259px; width:53px; height:19px; ">
  3035. <caption>셀카피</caption>
  3036. <script type="javascript" ev:event="onclick">
  3037. <![CDATA[
  3038. grd_inducsclamspec.attribute("selectionmode") = "free";
  3039. ]]>
  3040. </script>
  3041. </button>
  3042. <caption id="caption148" class="cell_1" style="left:404px; top:65px; width:85px; height:23px; vertical-align:middle; ">청구구분</caption>
  3043. <line id="line122" class="line_1" style="x1:716px; y1:164px; x2:949px; y2:164px; "/>
  3044. <caption id="caption150" class="cell_1" style="left:202px; top:64px; width:85px; height:23px; vertical-align:middle; ">청구월</caption>
  3045. <line id="line124" class="line_3" style="x1:606px; y1:139px; x2:1192px; y2:139px; "/>
  3046. <datagrid id="grd_inducsclamspec" nodeset="/root/main/list04/gridpifmiuncbyinducs" class="datagrid2" caption="청구월^미수일련번호^기관기호^심사차수^접수번호^청구번호^기존주민보류^청구과^진료과^명일련^등록번호^수진자^주민번호^진료구분^청구액^지급결정액^삭감액^주상병^진료의명^보험유형^산재유형^사업장기호^사업장명^관리지사^재해발생일자^병원진료개시일^진료기간^접수번호^심사차수^내원유형^상태&#xA;구분^조정사유" colsep="^" colwidth="30, 30, 30, 37, 30, 30, 30, 80, 45, 45, 70, 60, 100, 59, 80, 80, 80, 80, 80, 80, 87, 80, 80, 80, 80, 80, 35, 100, 70, 61, 40, 225" dataheight="25" defaultrows="1" explorerbar="sortshowmove" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="1" rowsep="|" style="left:0px; top:285px; width:1192px; height:355px; ">
  3047. <col ref="clamym" visibility="hidden"/>
  3048. <col ref="decoseq" visibility="hidden"/>
  3049. <col ref="instcd" visibility="hidden"/>
  3050. <col ref="judgdg" visibility="hidden"/>
  3051. <col ref="acptno" visibility="hidden"/>
  3052. <col ref="clamno" visibility="hidden"/>
  3053. <col ref="firstresdnrete" visibility="hidden"/>
  3054. <col ref="clamdeptnm"/>
  3055. <col ref="orddeptnm" style="text-align:center; "/>
  3056. <col ref="docuseqno" style="text-align:center; "/>
  3057. <col ref="pid" style="text-align:center; "/>
  3058. <col ref="patnm" style="text-align:center; "/>
  3059. <col ref="patrrgstno" format="999999-9999999" style="text-align:center; "/>
  3060. <col disabled="true" ref="clamflag" type="combo" format="(-)#,###" style="text-align:right; ">
  3061. <choices>
  3062. <itemset nodeset="/root/init/P0121list/P0121">
  3063. <label ref="cdnm"/>
  3064. <value ref="cdid"/>
  3065. </itemset>
  3066. </choices>
  3067. </col>
  3068. <col ref="clclamamt" format="(-)#,###" style="text-align:right; "/>
  3069. <col ref="jrjudgdeciamt" format="(-)#,###" style="text-align:right; "/>
  3070. <col ref="adjtamtsum" format="(-)#,###" style="text-align:right; "/>
  3071. <col ref="maindiagcd" style="text-align:left; "/>
  3072. <col ref="orddrid" style="text-align:center; "/>
  3073. <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
  3074. <choices>
  3075. <itemset nodeset="/root/init/P0008list/P0008">
  3076. <label ref="cdnm"/>
  3077. <value ref="cdid"/>
  3078. </itemset>
  3079. </choices>
  3080. </col>
  3081. <col ref="suppkind" style="text-align:center; "/>
  3082. <col ref="insuno" style="text-align:left; "/>
  3083. <col ref="insunm" style="text-align:left; "/>
  3084. <col ref="certno" style="text-align:left; "/>
  3085. <col ref="cretfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  3086. <col ref="ordfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  3087. <col ref="chosindayno" format="(-)#,###" style="text-align:right; "/>
  3088. <col ref="acptno" style="text-align:center; "/>
  3089. <col ref="judgdg" style="text-align:center; "/>
  3090. <col disabled="true" ref="ioflag" type="combo" style="text-align:center; ">
  3091. <choices>
  3092. <itemset nodeset="/root/init/P0485list/P0485">
  3093. <label ref="cdnm"/>
  3094. <value ref="cdid"/>
  3095. </itemset>
  3096. </choices>
  3097. </col>
  3098. <col ref="statflag" visibility="hidden" style="text-align:center; "/>
  3099. <col disabled="true" ref="adjtresn" type="combo">
  3100. <choices>
  3101. <itemset nodeset="/root/init/P0455list/P0455">
  3102. <label ref="cdnm"/>
  3103. <value ref="cdid"/>
  3104. </itemset>
  3105. </choices>
  3106. </col>
  3107. <script type="javascript" ev:event="onclick">
  3108. <![CDATA[
  3109. var vrowindex, vcolindex, vresdnrete, vstatflag ;
  3110. vrowindex = grd_pifmiunc02.row;
  3111. vcolindex = grd_pifmiunc02.col;
  3112. if(vrowindex < 1 || vcolindex < 8) return ;
  3113. // vresdnrete = model.getValue("/root/main/list04/gridpifmiunc02[" + vrowindex + "]/resdnrete") ;
  3114. // if (vresdnrete == 'N' ) return ;
  3115. vstatflag = model.getValue("/root/main/list04/gridpifmiunc02[" + vrowindex + "]/statflag") ;
  3116. //vstatflag = '02' 심사보류, '03' 주민보류, '04' 반송(개발자 정의코드)
  3117. if (vstatflag == "02") {
  3118. messageBox("심사보류건은 선택할 수","I004");
  3119. model.setValue("/root/main/list04/gridpifmiunc02[" + vrowindex + "]/resdnrete", "N") ;
  3120. return ;
  3121. }
  3122. if (vstatflag == "03") {
  3123. messageBox("주민보류 삭제는 주민보류 팝업화면에서만","I006");
  3124. model.setValue("/root/main/list04/gridpifmiunc02[" + vrowindex + "]/resdnrete", "Y") ;
  3125. return ;
  3126. }
  3127. if (vstatflag == "04" ) {
  3128. messageBox("반송건은 선택할 수","I004");
  3129. model.setValue("/root/main/list04/gridpifmiunc02[" + vrowindex + "]/resdnrete", "N") ;
  3130. return ;
  3131. }
  3132. ]]>
  3133. </script>
  3134. <!--script type="javascript" ev:event="onscroll">
  3135. <![CDATA[
  3136. fSubmitOnScroll(flag); // 스크롤바 맨밑에 왔을시 자동실행되어 다음 페이지 조회해옴
  3137. ]]>
  3138. </script-->
  3139. <script type="javascript" ev:event="oncopy">
  3140. <![CDATA[
  3141. grid_oncopy();
  3142. ]]>
  3143. </script>
  3144. <script type="javascript" ev:event="onaftersort">
  3145. <![CDATA[
  3146. grd_inducsclamspec.gridToInstance();
  3147. ]]>
  3148. </script>
  3149. </datagrid>
  3150. <group id="group8" scroll="auto" style="left:0px; top:647px; width:1192px; height:27px; ">
  3151. <line id="line28" class="line_6" style="x1:0px; y1:0px; x2:1192px; y2:0px; "/>
  3152. <button id="button23" class="btn3_letter4" style="left:0px; top:5px; width:80px; height:22px; ">
  3153. <caption>반송관리</caption>
  3154. <script type="javascript" ev:event="onclick">
  3155. <![CDATA[
  3156. if(chkJudgdg("3")) {
  3157. model.makeNode("/root/send/clam_mtrt/screenflag");
  3158. model.setValue("/root/send/clam_mtrt/screenflag","bohum");
  3159. for(var i=1;i<=cmb_judgdg.length;i++) {
  3160. if(cmb_judgdg.value == model.getValue("/root/main/list01/decoseq["+i+"]/judgdg")) {
  3161. model.makeNode("/root/send/clam_mtrt/decoseq");
  3162. model.setValue("/root/send/clam_mtrt/decoseq", model.getValue("/root/main/list01/decoseq["+i+"]/decoseq"));
  3163. }
  3164. }
  3165. modal("SMPIF30130", 1, 1, 1, "SMPIF30130", "/root/send/clam_mtrt", "/root/send/sendlnk");
  3166. }
  3167. ]]>
  3168. </script>
  3169. </button>
  3170. <button id="button25" class="btn4_letter2" style="left:1135px; top:5px; width:56px; height:22px; ">
  3171. <caption>저장</caption>
  3172. <script type="javascript" ev:event="onclick">
  3173. <![CDATA[
  3174. var vjudgdg = model.getValue("/root/send/clam_mtrt/judgdg") ;
  3175. if(combo2.length > 0) {
  3176. if (vjudgdg == "") {
  3177. messageBox("심사차수를","C002");
  3178. model.setFocus("combo2");
  3179. return ;
  3180. }
  3181. }
  3182. model.setValue("/root/main/list05/gridpifmiunc03", grd_inducsclamspec.getUpdateData());
  3183. if(submit("TXPIF30101")) {
  3184. model.removeNodeset("/root/main/list02");
  3185. model.removeNodeset("/root/main/list03");
  3186. model.removeNodeset("/root/main/list04");
  3187. model.refresh();
  3188. submit("TRPIF30105"); //청구내역 조회
  3189. submit("TRPIF30106"); //명세서별 조회
  3190. messageBox("저장 ","I002") ;
  3191. }
  3192. ]]>
  3193. </script>
  3194. </button>
  3195. </group>
  3196. </case>
  3197. </switch>
  3198. <button id="btn_case1" class="btn_sw" group="tab" selected="true" style="left:0px; top:15px; width:120px; height:22px; ">
  3199. <caption>요양급여(보험)</caption>
  3200. <script type="javascript" ev:event="onclick">
  3201. <![CDATA[
  3202. model.toggle("case1");
  3203. // model.setFocus("ipt_indusrchcond03");
  3204. model.resetInstanceNode("/root/send/srchcond");
  3205. model.removenode("/root/main/list00");
  3206. model.removenode("/root/main/list01");
  3207. model.removenode("/root/main/list02");
  3208. model.removenode("/root/main/list03");
  3209. model.removenode("/root/main/list04");
  3210. model.removenode("/root/main/list05");
  3211. model.setValue("/root/send/srchcond/searchflag","1");
  3212. model.refresh();
  3213. model.setFocus("ipt_srchcond01");
  3214. // model.setValue("/root/init/case_flag", "1") ;
  3215. ]]>
  3216. </script>
  3217. </button>
  3218. <button id="btn_case2" class="btn_sw" group="tab" style="left:120px; top:15px; width:120px; height:22px; ">
  3219. <caption>의료급여(보호)</caption>
  3220. <script type="javascript" ev:event="onclick">
  3221. <![CDATA[
  3222. model.toggle("case2");
  3223. model.setFocus("ipt_medacptno");
  3224. // model.setValue("/root/init/case_flag", "2") ;
  3225. ]]>
  3226. </script>
  3227. </button>
  3228. <button id="btn_case3" class="btn_sw" group="tab" style="left:240px; top:15px; width:120px; height:22px; ">
  3229. <caption>산업재해</caption>
  3230. <script type="javascript" ev:event="onclick">
  3231. <![CDATA[
  3232. model.toggle("case3");
  3233. model.setFocus("ipt_indusrchcond03");
  3234. model.resetInstanceNode("/root/send/srchcond");
  3235. model.removenode("/root/main/list00");
  3236. model.removenode("/root/main/list01");
  3237. model.removenode("/root/main/list02");
  3238. model.removenode("/root/main/list03");
  3239. model.removenode("/root/main/list04");
  3240. model.removenode("/root/main/list05");
  3241. model.setValue("/root/send/srchcond/searchflag","1");
  3242. model.refresh();
  3243. //model.setFocus("ipt_medacptno");
  3244. // model.setValue("/root/init/case_flag", "2") ;
  3245. ]]>
  3246. </script>
  3247. </button>
  3248. </group>
  3249. </xhtml:body>
  3250. </xhtml:html>