SPADC60310_KIMS약품식별약품검색.xfdl 73 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPADC60310" position="absolute 0 0 1186 765" titletext="약품식별 약품검색" oninit="SPADC60310_oninit" onload="SPADC60310_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="div_srch" taborder="32" position="absolute 0 25 353 760" class="div_SA">
  8. <Layouts>
  9. <Layout width="346" height="735">
  10. <Div id="Div00" taborder="0" style="border:1 none #808080ff ;" text="Div00" position="absolute 8 518 343 568" anchor="default">
  11. <Layouts>
  12. <Layout>
  13. <Button id="btn_all" position="absolute 0 1 45 46" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\IdentaALL.gif') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div00_btn_all_onclick"/>
  14. <Button id="btn_01" position="absolute 45 1 90 46" style="background:transparent URL('..\..\..\IMAGES\ast\AD\Iden_divi_01.gif') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div00_btn_01_onclick"/>
  15. <Button id="btn_02" position="absolute 90 1 135 46" style="background:transparent URL('..\..\..\IMAGES\ast\AD\Iden_divi_02.gif') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div00_btn_02_onclick"/>
  16. <Button id="btn_03" position="absolute 135 1 180 46" style="background:transparent URL('..\..\..\IMAGES\ast\AD\Iden_divi_03.gif') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div00_btn_03_onclick"/>
  17. <Button id="btn_04" position="absolute 180 1 225 46" style="background:transparent URL('..\..\..\IMAGES\ast\AD\Iden_divi_04.gif') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div00_btn_04_onclick"/>
  18. <Button id="btn_05" position="absolute 225 1 270 46" style="background:transparent URL('..\..\..\IMAGES\ast\AD\Iden_divi_05.gif') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div00_btn_05_onclick"/>
  19. <Button id="btn_06" position="absolute 270 1 315 46" style="background:transparent URL('..\..\..\IMAGES\ast\AD\Iden_divi_06.gif') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div00_btn_06_onclick"/>
  20. </Layout>
  21. </Layouts>
  22. </Div>
  23. <Shape id="line00" position="absolute 6 103 341 109" anchor="default"/>
  24. <Shape id="line02" position="absolute 6 129 341 135" anchor="default"/>
  25. <Shape id="line03" position="absolute 6 155 341 161" anchor="default"/>
  26. <Shape id="line04" position="absolute 6 181 341 187" anchor="default"/>
  27. <Button id="btn_shape_all" taborder="2" position="absolute 104 186 149 231" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\IdentaALL.gif') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_btn_shape_all_onclick"/>
  28. <Button id="btn_shape_all00" taborder="3" position="absolute 149 186 194 231" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\iden_type_20.gif') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_btn_shape_all00_onclick"/>
  29. <Button id="btn_shape_all01" taborder="4" position="absolute 194 186 239 231" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\iden_type_21.gif') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_btn_shape_all01_onclick"/>
  30. <Button id="btn_shape_all02" taborder="5" position="absolute 239 186 284 231" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\iden_type_22.gif') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_btn_shape_all02_onclick"/>
  31. <Div id="Div01" taborder="6" text="Div01" position="absolute 1 259 352 437" style="border:0 none #808080ff ;" anchor="default">
  32. <Layouts>
  33. <Layout>
  34. <Button id="btn_all" taborder="0" position="absolute 1 1 56 56" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\IdentaALL.gif') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_all_onclick"/>
  35. <Button id="btn_shape01" taborder="2" position="absolute 56 1 111 56" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_CC.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape01_onclick"/>
  36. <Button id="btn_shape02" taborder="3" position="absolute 111 1 166 56" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_OV.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape02_onclick"/>
  37. <Button id="btn_shape03" taborder="4" position="absolute 166 1 221 56" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_SC.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape03_onclick"/>
  38. <Button id="btn_shape04" taborder="5" position="absolute 221 1 276 56" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_TR.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape04_onclick"/>
  39. <Button id="btn_shape05" taborder="6" position="absolute 276 1 331 56" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_SQ.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape05_onclick"/>
  40. <Button id="btn_shape11" taborder="7" position="absolute 276 56 331 111" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_EI.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape11_onclick"/>
  41. <Button id="btn_shape10" taborder="8" position="absolute 221 56 276 111" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_OT.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape10_onclick"/>
  42. <Button id="btn_shape09" taborder="9" position="absolute 166 56 221 111" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_HX.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape09_onclick"/>
  43. <Button id="btn_shape08" taborder="10" position="absolute 111 56 166 111" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_PT.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape08_onclick"/>
  44. <Button id="btn_shape07" taborder="11" position="absolute 56 56 111 111" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_OB.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape07_onclick"/>
  45. <Button id="btn_shape06" taborder="12" position="absolute 1 56 56 111" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_D1.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape06_onclick"/>
  46. <Button id="btn_shape17" taborder="13" position="absolute 276 111 331 166" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_D2.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape17_onclick"/>
  47. <Button id="btn_shape16" taborder="14" position="absolute 221 111 276 166" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_BF.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape16_onclick"/>
  48. <Button id="btn_shape15" taborder="15" position="absolute 166 111 221 166" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_BT.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape15_onclick"/>
  49. <Button id="btn_shape14" taborder="16" position="absolute 111 111 166 166" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_GS.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape14_onclick"/>
  50. <Button id="btn_shape13" taborder="17" position="absolute 56 111 111 166" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_FR.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape13_onclick"/>
  51. <Button id="btn_shape12" taborder="18" position="absolute 1 111 56 166" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_KB.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape12_onclick"/>
  52. <Button id="btn_shape23" taborder="19" position="absolute 276 166 331 221" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_SD.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape23_onclick"/>
  53. <Button id="btn_shape22" taborder="20" position="absolute 221 166 276 221" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_WD.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape22_onclick"/>
  54. <Button id="btn_shape21" taborder="21" position="absolute 166 166 221 221" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_LM.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape21_onclick"/>
  55. <Button id="btn_shape20" taborder="22" position="absolute 111 166 166 221" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_PN.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape20_onclick"/>
  56. <Button id="btn_shape19" taborder="23" position="absolute 56 166 111 221" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_AN.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape19_onclick"/>
  57. <Button id="btn_shape18" taborder="24" position="absolute 1 166 56 221" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_DN.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape18_onclick"/>
  58. <Button id="btn_shape25" taborder="25" position="absolute 56 221 111 276" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_HT.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape25_onclick"/>
  59. <Button id="btn_shape24" taborder="26" position="absolute 1 221 56 276" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_AP.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape24_onclick"/>
  60. <Button id="btn_shape26" taborder="29" position="absolute 111 221 166 276" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_DC.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape26_onclick"/>
  61. <Button id="btn_shape27" taborder="30" position="absolute 166 221 221 276" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_CT.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape27_onclick"/>
  62. <Button id="btn_shape28" taborder="31" position="absolute 221 221 276 276" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_CL.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape28_onclick"/>
  63. <Button id="btn_shape29" taborder="32" position="absolute 276 221 331 276" style="focusborder:0 none #808080ff ;background:white URL('..\..\..\IMAGES\ast\AD\Identa_Shape_BL.png') stretch;border:1 solid #c1c1c1ff ;" anchor="default" onclick="div_srch_Div01_btn_shape29_onclick"/>
  64. </Layout>
  65. </Layouts>
  66. </Div>
  67. <Button id="btn_init" taborder="7" text="초기화" class="btn1" position="absolute 206 6 276 28" onclick="div_srch_btn_init_onclick"/>
  68. </Layout>
  69. </Layouts>
  70. </Div>
  71. <Static text="약품식별 약품검색" position="absolute 0 0 160 25" id="caption19" class="tit_1"/>
  72. <Shape position="absolute 357 47 1183 53" linetype="horizontal" id="line1" class="line_10"/>
  73. <Radio position="absolute 288 61 332 104" id="radio2" class="radio_search" columncount="1" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" taborder="15">
  74. <Dataset id="innerdataset">
  75. <ColumnInfo>
  76. <Column id="codecolumn"/>
  77. <Column id="datacolumn"/>
  78. </ColumnInfo>
  79. <Rows>
  80. <Row>
  81. <Col id="codecolumn">1</Col>
  82. <Col id="datacolumn">포함</Col>
  83. </Row>
  84. <Row>
  85. <Col id="codecolumn">2</Col>
  86. <Col id="datacolumn">일치</Col>
  87. </Row>
  88. </Rows>
  89. </Dataset>
  90. </Radio>
  91. <Shape position="absolute 5 54 340 60" linetype="horizontal" id="line3" class="line_1"/>
  92. <Static text="식별표시 &#13;&#10; (문자) " position="absolute 7 61 93 103" id="caption5" class="search_name" onclick="caption5_onclick" style="align:left middle;"/>
  93. <Edit position="absolute 88 60 283 79" id="ipt_char" class="input_search" onkeydown="input_onkeydown" taborder="0"/>
  94. <Static text="원내코드 :" position="absolute 7 111 93 128" id="caption1" class="search_name"/>
  95. <Static text="성분명(한글/영문) :" position="absolute 7 161 152 178" id="caption2" class="search_name"/>
  96. <Static text="제품명(한글/영문) :" position="absolute 7 137 157 154" id="caption3" class="search_name"/>
  97. <Edit position="absolute 88 108 330 127" id="input2" class="input_search" onkeydown="input_onkeydown" taborder="2"/>
  98. <Edit position="absolute 136 160 331 179" id="input3" class="input_search" onkeydown="input_onkeydown" taborder="4"/>
  99. <Edit position="absolute 136 134 331 153" id="input4" class="input_search" onkeydown="input_onkeydown" oneditclick="input4_oneditclick" taborder="3"/>
  100. <Static text="제형 :" position="absolute 7 225 109 242" id="caption6" class="search_name"/>
  101. <Static text="모양 :" position="absolute 7 267 93 284" id="caption8" class="search_name"/>
  102. <Static text="제조/판매사 :" position="absolute 7 189 109 206" id="caption9" class="search_name"/>
  103. <Static text="문양 :" position="absolute 7 471 93 488" id="caption10" class="search_name"/>
  104. <Static text="분할선 :" position="absolute 7 526 93 543" id="caption11" class="search_name"/>
  105. <Static text="색깔 :" position="absolute 7 601 93 618" id="caption13" class="search_name"/>
  106. <Combo position="absolute 128 263 348 282" id="combo2" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn" taborder="14">
  107. <Dataset id="innerdataset">
  108. <ColumnInfo>
  109. <Column id="codecolumn"/>
  110. <Column id="datacolumn"/>
  111. </ColumnInfo>
  112. <Rows>
  113. <Row>
  114. <Col id="codecolumn">
  115. </Col>
  116. <Col id="datacolumn">
  117. </Col>
  118. </Row>
  119. <Row>
  120. <Col id="codecolumn">CC</Col>
  121. <Col id="datacolumn">원형</Col>
  122. </Row>
  123. <Row>
  124. <Col id="codecolumn">BF</Col>
  125. <Col id="datacolumn">나비모양</Col>
  126. </Row>
  127. <Row>
  128. <Col id="codecolumn">OV</Col>
  129. <Col id="datacolumn">타원형</Col>
  130. </Row>
  131. <Row>
  132. <Col id="codecolumn">D2</Col>
  133. <Col id="datacolumn">다이아몬드형</Col>
  134. </Row>
  135. <Row>
  136. <Col id="codecolumn">SC</Col>
  137. <Col id="datacolumn">반원형</Col>
  138. </Row>
  139. <Row>
  140. <Col id="codecolumn">DN</Col>
  141. <Col id="datacolumn">도넛형</Col>
  142. </Row>
  143. <Row>
  144. <Col id="codecolumn">TR</Col>
  145. <Col id="datacolumn">삼각형</Col>
  146. </Row>
  147. <Row>
  148. <Col id="codecolumn">AN</Col>
  149. <Col id="datacolumn">동물모양</Col>
  150. </Row>
  151. <Row>
  152. <Col id="codecolumn">SQ</Col>
  153. <Col id="datacolumn">사각형</Col>
  154. </Row>
  155. <Row>
  156. <Col id="codecolumn">PN</Col>
  157. <Col id="datacolumn">땅콩형</Col>
  158. </Row>
  159. <Row>
  160. <Col id="codecolumn">D1</Col>
  161. <Col id="datacolumn">마름모형</Col>
  162. </Row>
  163. <Row>
  164. <Col id="codecolumn">LM</Col>
  165. <Col id="datacolumn">레몬형</Col>
  166. </Row>
  167. <Row>
  168. <Col id="codecolumn">OB</Col>
  169. <Col id="datacolumn">장방형</Col>
  170. </Row>
  171. <Row>
  172. <Col id="codecolumn">WD</Col>
  173. <Col id="datacolumn">물방울형</Col>
  174. </Row>
  175. <Row>
  176. <Col id="codecolumn">PT</Col>
  177. <Col id="datacolumn">오각형</Col>
  178. </Row>
  179. <Row>
  180. <Col id="codecolumn">SD</Col>
  181. <Col id="datacolumn">방패형</Col>
  182. </Row>
  183. <Row>
  184. <Col id="codecolumn">HX</Col>
  185. <Col id="datacolumn">육각형</Col>
  186. </Row>
  187. <Row>
  188. <Col id="codecolumn">AP</Col>
  189. <Col id="datacolumn">사과형</Col>
  190. </Row>
  191. <Row>
  192. <Col id="codecolumn">OT</Col>
  193. <Col id="datacolumn">팔각형</Col>
  194. </Row>
  195. <Row>
  196. <Col id="codecolumn">HT</Col>
  197. <Col id="datacolumn">심장형</Col>
  198. </Row>
  199. <Row>
  200. <Col id="codecolumn">EI</Col>
  201. <Col id="datacolumn">8자형</Col>
  202. </Row>
  203. <Row>
  204. <Col id="codecolumn">DC</Col>
  205. <Col id="datacolumn">십각형</Col>
  206. </Row>
  207. <Row>
  208. <Col id="codecolumn">KB</Col>
  209. <Col id="datacolumn">강낭콩형</Col>
  210. </Row>
  211. <Row>
  212. <Col id="codecolumn">CT</Col>
  213. <Col id="datacolumn">오목한삼각형</Col>
  214. </Row>
  215. <Row>
  216. <Col id="codecolumn">FR</Col>
  217. <Col id="datacolumn">과일모양</Col>
  218. </Row>
  219. <Row>
  220. <Col id="codecolumn">CL</Col>
  221. <Col id="datacolumn">클로버형</Col>
  222. </Row>
  223. <Row>
  224. <Col id="codecolumn">GS</Col>
  225. <Col id="datacolumn">구형</Col>
  226. </Row>
  227. <Row>
  228. <Col id="codecolumn">BL</Col>
  229. <Col id="datacolumn">탄환형</Col>
  230. </Row>
  231. <Row>
  232. <Col id="codecolumn">BT</Col>
  233. <Col id="datacolumn">나비넥타이형</Col>
  234. </Row>
  235. </Rows>
  236. </Dataset>
  237. </Combo>
  238. <Edit position="absolute 104 186 331 205" id="ipt_prodcmpynm" class="input_search" onkeydown="input_onkeydown" taborder="5"/>
  239. <Edit position="absolute 178 472 313 491" id="ipt_shape" class="input_search" onkeydown="input_onkeydown" taborder="13"/>
  240. <Button position="absolute 118 484 134 500" id="button2" onclick="button2_onclick" taborder="12" class="icon_search"/>
  241. <Edit readonly="true" position="absolute 252 501 307 520" id="output2" class="output" taborder="11"/>
  242. <Shape position="absolute 6 258 341 264" linetype="horizontal" id="line6"/>
  243. <Shape position="absolute 6 521 341 527" linetype="horizontal" id="line7"/>
  244. <Shape position="absolute 6 596 341 602" linetype="horizontal" id="line8"/>
  245. <Static position="absolute 77 620 117 640" align="align:center middle;" id="caption18"/>
  246. <Static position="absolute 127 619 167 639" align="align:center middle;" id="caption20"/>
  247. <Static position="absolute 176 620 216 640" align="align:center middle;" id="caption21"/>
  248. <Static position="absolute 225 620 265 640" align="align:center middle;" id="caption22"/>
  249. <Static position="absolute 28 621 68 641" align="align:center middle;" id="caption16"/>
  250. <Static position="absolute 272 620 312 640" align="align:center middle;" id="caption17"/>
  251. <Static position="absolute 228 667 268 687" align="align:center middle;" id="caption23"/>
  252. <Static position="absolute 27 651 67 671" align="align:center middle;" id="caption24"/>
  253. <Static position="absolute 77 667 117 687" align="align:center middle;" id="caption25"/>
  254. <Static position="absolute 126 667 166 687" align="align:center middle;" id="caption26"/>
  255. <Static position="absolute 175 667 215 687" align="align:center middle;" id="caption27"/>
  256. <Static position="absolute 125 713 165 733" align="align:center middle;" id="caption28"/>
  257. <Static position="absolute 76 713 116 733" align="align:center middle;" id="caption29"/>
  258. <Static position="absolute 27 713 67 733" align="align:center middle;" id="caption30"/>
  259. <Static position="absolute 277 667 317 687" align="align:center middle;" id="caption31"/>
  260. <Button position="absolute 277 31 333 53" id="btn_sea" class="btn1" text="조회" onclick="btn_sea_onclick" taborder="10"/>
  261. <Button position="absolute 357 25 413 47" id="btn_ins" class="btn4" text="등록" onclick="btn_ins_onclick" taborder="9"/>
  262. <Grid position="absolute 357 52 1184 760" id="grd_drugid" binddataset="ds_main_drugidlist" oncellclick="grd_drugid_oncellclick" autofittype="col" cellsizingtype="both" extendsizetype="row" cellclickbound="cell" taborder="8">
  263. <Formats>
  264. <Format id="default">
  265. <Columns>
  266. <Column size="25" band="left"/>
  267. <Column size="40"/>
  268. <Column size="270"/>
  269. <Column size="45"/>
  270. <Column size="45"/>
  271. <Column size="45"/>
  272. <Column size="45"/>
  273. <Column size="100"/>
  274. <Column size="80"/>
  275. <Column size="140"/>
  276. <Column size="0"/>
  277. <Column size="0"/>
  278. <Column size="0"/>
  279. <Column size="0"/>
  280. <Column size="0"/>
  281. <Column size="0"/>
  282. <Column size="0"/>
  283. </Columns>
  284. <Rows>
  285. <Row size="24" band="head"/>
  286. <Row size="108"/>
  287. </Rows>
  288. <Band id="head">
  289. <Cell/>
  290. <Cell col="1" text="선택"/>
  291. <Cell col="2" text="사진정보"/>
  292. <Cell col="3" text="문자1"/>
  293. <Cell col="4" text="문자2"/>
  294. <Cell col="5" text="장축"/>
  295. <Cell col="6" text="단축"/>
  296. <Cell col="7" text="제품명"/>
  297. <Cell col="8" text="코드"/>
  298. <Cell col="9" text="성분 및 함량"/>
  299. <Cell col="10" text="idcd"/>
  300. <Cell col="11" text="caption1"/>
  301. <Cell col="12" text="효능 및 효과"/>
  302. <Cell col="13" text="동종약"/>
  303. <Cell col="14" text="동효약"/>
  304. <Cell col="15"/>
  305. <Cell col="16"/>
  306. </Band>
  307. <Band id="body">
  308. <Cell celltype="head" text="expr:currow+1"/>
  309. <Cell col="1" displaytype="checkbox" edittype="checkbox" style="background:EXPR(copyYN=='Y'?'#ffff99':'');background2:EXPR(copyYN=='Y'?'#ffff99':'');" text="bind:sel" expr="expr:(sel==&quot;true&quot;||sel==1)?1:0"/>
  310. <Cell col="2" displaytype="none" edittype="none" style="background:stretch;background2:stretch;selectbackground:stretch;backgroundimage:BIND(phot);" text="bind:phot"/>
  311. <Cell col="3" style="align:left;background:EXPR(copyYN=='Y'?'#ffff99':'');background2:EXPR(copyYN=='Y'?'#ffff99':'');" text="bind:char1" wordwrap="char"/>
  312. <Cell col="4" style="align:left;background:EXPR(copyYN=='Y'?'#ffff99':'');background2:EXPR(copyYN=='Y'?'#ffff99':'');" text="bind:char2" wordwrap="char"/>
  313. <Cell col="5" style="align:left;background:EXPR(copyYN=='Y'?'#ffff99':'');background2:EXPR(copyYN=='Y'?'#ffff99':'');" text="bind:longax" wordwrap="char"/>
  314. <Cell col="6" style="align:left;background:EXPR(copyYN=='Y'?'#ffff99':'');background2:EXPR(copyYN=='Y'?'#ffff99':'');" text="bind:shrtax" wordwrap="char"/>
  315. <Cell col="7" style="align:left;background:EXPR(copyYN=='Y'?'#ffff99':'');background2:EXPR(copyYN=='Y'?'#ffff99':'');" text="bind:hngnm" wordwrap="char"/>
  316. <Cell col="8" style="align:left;background:EXPR(copyYN=='Y'?'#ffff99':'');background2:EXPR(copyYN=='Y'?'#ffff99':'');" text="bind:drugcd" wordwrap="char"/>
  317. <Cell col="9" style="align:left top;background:EXPR(copyYN=='Y'?'#ffff99':'');background2:EXPR(copyYN=='Y'?'#ffff99':'');" text="bind:comcnts" wordwrap="char"/>
  318. <Cell col="10" text="bind:idcd"/>
  319. <Cell col="11" text="bind:efcysmm"/>
  320. <Cell col="12" text="bind:homodrugflag"/>
  321. <Cell col="13" text="bind:samedrug"/>
  322. <Cell col="14" text="bind:photoid"/>
  323. <Cell col="15" text="bind:useyn"/>
  324. <Cell col="16" text="bind:atccode"/>
  325. </Band>
  326. </Format>
  327. </Formats>
  328. </Grid>
  329. <Shape position="absolute 6 464 341 470" linetype="horizontal" id="line9"/>
  330. <Button position="absolute 417 25 473 47" id="button3" class="btn4" text="닫기" onclick="button3_onclick" taborder="7"/>
  331. <ImageViewer position="absolute 407 196 1088 462" id="img_drugphot" visible="false" style="border:2 solid #0000ffff ;" resampling="true" stretch="fit" onclick="img_drugphot_onclick" taborder="6"/>
  332. <cp_checkboxList id="chk_color" titletext="CheckBox List" taborder="16" oninit="chk_drugtype_oninit" onload="chk_drugtype_onload" text="cp_checkboxList02" scrollbars="none" position="absolute 10 629 335 744" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  333. <TextArea id="TextArea00" taborder="17" position="absolute 69 622 109 643" style="background:#ff6700ff stretch 5,5;"/>
  334. <TextArea id="TextArea01" taborder="18" position="absolute 126 622 166 643" style="background:#fcc900ff stretch 5,5;"/>
  335. <TextArea id="TextArea02" taborder="19" position="absolute 185 622 225 643" style="background:#ff90caff stretch 5,5;"/>
  336. <TextArea id="TextArea03" taborder="20" position="absolute 243 622 283 643" style="background:#ff0300ff stretch 5,5;"/>
  337. <TextArea id="TextArea04" taborder="21" position="absolute 301 622 341 643" style="caretcolor:#6a543aff;background:#5900aeff stretch 5,5 0aeeff;"/>
  338. <TextArea id="TextArea05" taborder="22" position="absolute 11 622 51 643" style="background:#ffffffff stretch 5,5;align:center middle;font:Dotum,8;" scrollbars="none" oneditclick="TextArea05_oneditclick"/>
  339. <TextArea id="TextArea06" taborder="23" position="absolute 11 667 51 686" style="background:#078e07ff stretch 5,5;"/>
  340. <TextArea id="TextArea07" taborder="24" position="absolute 69 667 109 686" style="background:#1d92eeff stretch 5,5;"/>
  341. <TextArea id="TextArea08" taborder="25" position="absolute 126 667 166 686" style="background:#7b532cff stretch 5,5;"/>
  342. <TextArea id="TextArea09" taborder="26" position="absolute 185 667 225 686" style="background:#d6d6d6ff stretch 5,5;"/>
  343. <TextArea id="TextArea10" taborder="27" position="absolute 243 667 283 686" style="background:#000000ff stretch 5,5;"/>
  344. <TextArea id="TextArea11" taborder="28" position="absolute 301 667 341 686" style="background:#7dc526ff stretch 5,5;"/>
  345. <TextArea id="TextArea12" taborder="29" position="absolute 11 713 51 732" style="background:#14937dff stretch 5,5;"/>
  346. <TextArea id="TextArea13" taborder="30" position="absolute 69 713 109 732" style="background:#0e2278ff stretch 5,5;"/>
  347. <TextArea id="TextArea14" taborder="31" position="absolute 126 713 166 732" style="background:#ac0687ff stretch 5,5 0ff;"/>
  348. <Shape position="absolute 349 755 1184 765" linetype="horizontal" id="line2" class="line_3"/>
  349. <Radio id="rdo_devline00" taborder="33" columncount="8" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" onitemclick="rdo_devline1_onitemclick" class="radio_search" position="absolute 480 0 1168 36" style="buttonsize:15;focusborder:0 none #808080ff ;">
  350. <Dataset id="innerdataset">
  351. <ColumnInfo>
  352. <Column id="codecolumn" size="256"/>
  353. <Column id="datacolumn" size="256"/>
  354. </ColumnInfo>
  355. <Rows>
  356. <Row>
  357. <Col id="codecolumn">NL</Col>
  358. <Col id="datacolumn">분할선없음</Col>
  359. </Row>
  360. <Row>
  361. <Col id="codecolumn">SC</Col>
  362. <Col id="datacolumn">한면에 십자분할선</Col>
  363. </Row>
  364. <Row>
  365. <Col id="codecolumn">DL</Col>
  366. <Col id="datacolumn">양면에 분할선</Col>
  367. </Row>
  368. <Row>
  369. <Col id="codecolumn">DC</Col>
  370. <Col id="datacolumn">양면에 십자분할선</Col>
  371. </Row>
  372. <Row>
  373. <Col id="codecolumn">SL</Col>
  374. <Col id="datacolumn">한면에 분할선</Col>
  375. </Row>
  376. <Row>
  377. <Col id="codecolumn">LC</Col>
  378. <Col id="datacolumn">분산선/십자분할선</Col>
  379. </Row>
  380. </Rows>
  381. </Dataset>
  382. </Radio>
  383. <Shape id="line00" position="absolute 6 103 341 109"/>
  384. <TextArea id="TextArea15" taborder="35" position="absolute 186 713 226 732" style="background:stretch 5,5 0ff;"/>
  385. <Div id="Div01" taborder="34" style="border:2 solid #808080ff ;" text="Div01" position="absolute 360 368 860 724">
  386. <Layouts>
  387. <Layout>
  388. <Button id="button1" taborder="9" text="선택지움" onclick="button1_onclick" class="btn2" visible="false" position="absolute 268 3 332 22" anchor="default"/>
  389. <Button id="button8" taborder="10" text="전체선택" onclick="button8_onclick" class="btn2" visible="false" position="absolute 200 3 264 22" anchor="default"/>
  390. <Edit id="input5" taborder="11" onkeydown="input5_onkeydown" class="input_search" position="absolute 12 43 237 62" anchor="default"/>
  391. <Radio id="rdo_devline1" taborder="12" columncount="4" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" onitemclick="rdo_devline1_onitemclick" class="radio_search" position="absolute 48 61 328 81" anchor="default">
  392. <Dataset id="innerdataset">
  393. <ColumnInfo>
  394. <Column id="codecolumn"/>
  395. <Column id="datacolumn"/>
  396. </ColumnInfo>
  397. <Rows>
  398. <Row>
  399. <Col id="codecolumn">0</Col>
  400. <Col id="datacolumn">없음</Col>
  401. </Row>
  402. <Row>
  403. <Col id="codecolumn">1</Col>
  404. <Col id="datacolumn">- 형</Col>
  405. </Row>
  406. <Row>
  407. <Col id="codecolumn">2</Col>
  408. <Col id="datacolumn">+ 형</Col>
  409. </Row>
  410. <Row>
  411. <Col id="codecolumn">3</Col>
  412. <Col id="datacolumn">기타</Col>
  413. </Row>
  414. </Rows>
  415. </Dataset>
  416. </Radio>
  417. <Button id="button4" taborder="13" text="재조회" onclick="button4_onclick" class="btn1" position="absolute 251 41 319 63" anchor="default"/>
  418. <Radio id="radio3" taborder="14" columncount="4" rowcount="1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 48 92 328 112" anchor="default">
  419. <Dataset id="innerdataset">
  420. <ColumnInfo>
  421. <Column id="codecolumn"/>
  422. <Column id="datacolumn"/>
  423. </ColumnInfo>
  424. <Rows>
  425. <Row>
  426. <Col id="codecolumn">0</Col>
  427. <Col id="datacolumn">없음</Col>
  428. </Row>
  429. <Row>
  430. <Col id="codecolumn">1</Col>
  431. <Col id="datacolumn">- 형</Col>
  432. </Row>
  433. <Row>
  434. <Col id="codecolumn">2</Col>
  435. <Col id="datacolumn">+ 형</Col>
  436. </Row>
  437. <Row>
  438. <Col id="codecolumn">3</Col>
  439. <Col id="datacolumn">기타</Col>
  440. </Row>
  441. </Rows>
  442. </Dataset>
  443. </Radio>
  444. <Radio id="radio1" taborder="15" columncount="4" rowcount="0" index="0" codecolumn="codecolumn" datacolumn="datacolumn" value="1" position="absolute 12 78 317 121" anchor="default">
  445. <Dataset id="innerdataset">
  446. <ColumnInfo>
  447. <Column id="codecolumn"/>
  448. <Column id="datacolumn"/>
  449. </ColumnInfo>
  450. <Rows>
  451. <Row>
  452. <Col id="codecolumn">1</Col>
  453. <Col id="datacolumn">문자1</Col>
  454. </Row>
  455. <Row>
  456. <Col id="codecolumn">2</Col>
  457. <Col id="datacolumn">문자2</Col>
  458. </Row>
  459. <Row>
  460. <Col id="codecolumn">3</Col>
  461. <Col id="datacolumn">장축</Col>
  462. </Row>
  463. <Row>
  464. <Col id="codecolumn">4</Col>
  465. <Col id="datacolumn">단축</Col>
  466. </Row>
  467. <Row>
  468. <Col id="codecolumn">5</Col>
  469. <Col id="datacolumn">제품명</Col>
  470. </Row>
  471. <Row>
  472. <Col id="codecolumn">6</Col>
  473. <Col id="datacolumn">코드</Col>
  474. </Row>
  475. <Row>
  476. <Col id="codecolumn">7</Col>
  477. <Col id="datacolumn">성분</Col>
  478. </Row>
  479. </Rows>
  480. </Dataset>
  481. </Radio>
  482. <cp_checkboxList id="chk_tmpdrugtype" titletext="CheckBox List" taborder="16" oninit="chk_drugtype_oninit" onload="chk_drugtype_onload" text="cp_checkboxList02" scrollbars="none" position="absolute 12 125 181 147" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
  483. <Combo id="cmb_etcdrugtype" taborder="17" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="cmb_etcdrugtype_onitemchanged" position="absolute 184 126 330 145" anchor="default">
  484. <Dataset id="innerdataset">
  485. <ColumnInfo>
  486. <Column id="codecolumn"/>
  487. <Column id="datacolumn"/>
  488. </ColumnInfo>
  489. <Rows>
  490. <Row>
  491. <Col id="codecolumn">4</Col>
  492. <Col id="datacolumn">과립제</Col>
  493. </Row>
  494. <Row>
  495. <Col id="codecolumn">5</Col>
  496. <Col id="datacolumn">겔제</Col>
  497. </Row>
  498. <Row>
  499. <Col id="codecolumn">6</Col>
  500. <Col id="datacolumn">산제</Col>
  501. </Row>
  502. <Row>
  503. <Col id="codecolumn">7</Col>
  504. <Col id="datacolumn">내용액</Col>
  505. </Row>
  506. <Row>
  507. <Col id="codecolumn">8</Col>
  508. <Col id="datacolumn">외용액</Col>
  509. </Row>
  510. <Row>
  511. <Col id="codecolumn">9</Col>
  512. <Col id="datacolumn">외용연고/크림</Col>
  513. </Row>
  514. <Row>
  515. <Col id="codecolumn">20</Col>
  516. <Col id="datacolumn">질정</Col>
  517. </Row>
  518. </Rows>
  519. </Dataset>
  520. </Combo>
  521. <cp_checkboxList id="chk_drugtype" titletext="CheckBox List" taborder="18" oninit="chk_drugtype_oninit" onload="chk_drugtype_onload" text="cp_checkboxList02" scrollbars="none" position="absolute 12 270 325 292" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
  522. <CheckBox id="checkbox1" taborder="19" text="정제류" value="true" onclick="checkbox1_onclick" class="checkbox_search" position="absolute 12 245 121 265" anchor="default"/>
  523. <CheckBox id="chk_atccodeyn" taborder="20" text="같은 ATC 성분코드포함" onclick="chk_atccodeyn_onclick" class="checkbox_search" position="absolute 161 288 328 308" anchor="default"/>
  524. <Button id="button61" taborder="21" onclick="button61_onclick" class="icon_search" position="absolute 201 40 217 56" anchor="default"/>
  525. </Layout>
  526. </Layouts>
  527. </Div>
  528. <Edit id="ipt_char2" taborder="1" onkeydown="input_onkeydown" class="input_search" position="absolute 88 83 283 102"/>
  529. <CheckBox id="CheckBox00" taborder="36" text="전체" position="absolute 56 599 156 619" onchanged="CheckBox00_onchanged"/>
  530. <ImageViewer id="ImageViewer00" taborder="37" position="absolute 54 467 114 522" onclick="ImageViewer00_onclick" style="background:#ffffffff stretch;"/>
  531. <Static id="Static00" text="총건수 :" position="absolute 483 28 536 48" style="font:Dotum,9,bold;"/>
  532. <Static id="Static01" position="absolute 538 31 616 44" style="border:1 none #808080ff ;font:Dotum,9,bold;"/>
  533. <Combo id="combo00" taborder="38" codecolumn="cd" datacolumn="nm" class="combo_search" position="absolute 650 27 729 46" ontextchanged="combo00_ontextchanged" innerdataset="@ds_pageinfo" onitemchanged="combo00_onitemchanged"/>
  534. <Static id="Static02" position="absolute 733 28 750 48" style="font:Dotum,9,bold;" text="/"/>
  535. <Static id="Static03" position="absolute 743 28 767 48" style="font:Dotum,11,bold;"/>
  536. <Button id="button28" taborder="39" text="이전" position="absolute 608 25 648 47" onclick="button28_onclick"/>
  537. <Button id="button00" taborder="40" text="다음" position="absolute 768 26 808 48" onclick="button00_onclick"/>
  538. </Layout>
  539. </Layouts>
  540. <Objects>
  541. <Dataset id="ds_drugtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  542. <ColumnInfo>
  543. <Column id="cdnm" type="STRING" size="256"/>
  544. <Column id="cdid" type="STRING" size="256"/>
  545. </ColumnInfo>
  546. <Rows>
  547. <Row>
  548. <Col id="cdnm">나정</Col>
  549. <Col id="cdid">10</Col>
  550. </Row>
  551. <Row>
  552. <Col id="cdnm">필름코팅정</Col>
  553. <Col id="cdid">11</Col>
  554. </Row>
  555. <Row>
  556. <Col id="cdnm">설하정</Col>
  557. <Col id="cdid">12</Col>
  558. </Row>
  559. <Row>
  560. <Col id="cdnm">붕해현탁정</Col>
  561. <Col id="cdid">13</Col>
  562. </Row>
  563. <Row>
  564. <Col id="cdnm">당의정</Col>
  565. <Col id="cdid">14</Col>
  566. </Row>
  567. <Row>
  568. <Col id="cdnm">다층정</Col>
  569. <Col id="cdid">15</Col>
  570. </Row>
  571. <Row>
  572. <Col id="cdnm">정제</Col>
  573. <Col id="cdid">16</Col>
  574. </Row>
  575. <Row>
  576. <Col id="cdnm">츄어블정</Col>
  577. <Col id="cdid">17</Col>
  578. </Row>
  579. <Row>
  580. <Col id="cdnm">서방정</Col>
  581. <Col id="cdid">18</Col>
  582. </Row>
  583. <Row>
  584. <Col id="cdnm">장용정</Col>
  585. <Col id="cdid">19</Col>
  586. </Row>
  587. </Rows>
  588. </Dataset>
  589. <Dataset id="ds_hidden_drugidinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  590. <ColumnInfo>
  591. <Column id="srchflag" type="STRING" size="256"/>
  592. <Column id="char" type="STRING" size="256"/>
  593. <Column id="drugcd" type="STRING" size="256"/>
  594. <Column id="comcnts" type="STRING" size="256"/>
  595. <Column id="hngnm" type="STRING" size="256"/>
  596. <Column id="engnm" type="STRING" size="256"/>
  597. <Column id="srchname" type="STRING" size="256"/>
  598. <Column id="drugtype" type="STRING" size="256"/>
  599. <Column id="shapecd" type="STRING" size="256"/>
  600. <Column id="prodcmpynm" type="STRING" size="256"/>
  601. <Column id="divline1" type="STRING" size="256"/>
  602. <Column id="divline2" type="STRING" size="256"/>
  603. <Column id="color" type="STRING" size="256"/>
  604. <Column id="shape" type="STRING" size="256"/>
  605. <Column id="atccodeyn" type="STRING" size="256"/>
  606. <Column id="instcd" type="STRING" size="256"/>
  607. <Column id="divideline" type="STRING" size="256"/>
  608. <Column id="char2" type="STRING" size="256"/>
  609. <Column id="form" type="STRING" size="256"/>
  610. <Column id="outyn" type="STRING" size="256"/>
  611. <Column id="shapephot" type="STRING" size="256"/>
  612. <Column id="page" type="STRING" size="256"/>
  613. </ColumnInfo>
  614. <Rows>
  615. <Row>
  616. <Col id="srchflag">1</Col>
  617. </Row>
  618. </Rows>
  619. </Dataset>
  620. <Dataset id="ds_tmpdrugtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  621. <ColumnInfo>
  622. <Column id="cdnm" type="STRING" size="256"/>
  623. <Column id="cdid" type="STRING" size="256"/>
  624. </ColumnInfo>
  625. <Rows>
  626. <Row>
  627. <Col id="cdnm">경질캡슐</Col>
  628. <Col id="cdid">2</Col>
  629. </Row>
  630. <Row>
  631. <Col id="cdnm">연질캡슐</Col>
  632. <Col id="cdid">3</Col>
  633. </Row>
  634. </Rows>
  635. </Dataset>
  636. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  637. <ColumnInfo>
  638. <Column id="tmpdrugtype" type="STRING" size="256"/>
  639. <Column id="etcdrugtype" type="STRING" size="256"/>
  640. <Column id="drugphot" type="STRING" size="256"/>
  641. </ColumnInfo>
  642. <Rows>
  643. <Row>
  644. <Col id="tmpdrugtype">2,3</Col>
  645. </Row>
  646. </Rows>
  647. </Dataset>
  648. <Dataset id="ds_color" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  649. <ColumnInfo>
  650. <Column id="cdnm" type="STRING" size="256"/>
  651. <Column id="cdid" type="STRING" size="256"/>
  652. </ColumnInfo>
  653. <Rows>
  654. <Row>
  655. <Col id="cdnm">하양</Col>
  656. <Col id="cdid">WH</Col>
  657. </Row>
  658. <Row>
  659. <Col id="cdnm">주황</Col>
  660. <Col id="cdid">OR</Col>
  661. </Row>
  662. <Row>
  663. <Col id="cdnm">노랑</Col>
  664. <Col id="cdid">YL</Col>
  665. </Row>
  666. <Row>
  667. <Col id="cdnm">분홍</Col>
  668. <Col id="cdid">RS</Col>
  669. </Row>
  670. <Row>
  671. <Col id="cdnm">빨강</Col>
  672. <Col id="cdid">RD</Col>
  673. </Row>
  674. <Row>
  675. <Col id="cdnm">보라</Col>
  676. <Col id="cdid">VL</Col>
  677. </Row>
  678. <Row>
  679. <Col id="cdnm">초록</Col>
  680. <Col id="cdid">GN</Col>
  681. </Row>
  682. <Row>
  683. <Col id="cdnm">파랑</Col>
  684. <Col id="cdid">BL</Col>
  685. </Row>
  686. <Row>
  687. <Col id="cdnm">갈색</Col>
  688. <Col id="cdid">BR</Col>
  689. </Row>
  690. <Row>
  691. <Col id="cdnm">회색</Col>
  692. <Col id="cdid">GY</Col>
  693. </Row>
  694. <Row>
  695. <Col id="cdnm">검정</Col>
  696. <Col id="cdid">BK</Col>
  697. </Row>
  698. <Row>
  699. <Col id="cdnm">연두</Col>
  700. <Col id="cdid">YG</Col>
  701. </Row>
  702. <Row>
  703. <Col id="cdnm">청록</Col>
  704. <Col id="cdid">BG</Col>
  705. </Row>
  706. <Row>
  707. <Col id="cdnm">남색</Col>
  708. <Col id="cdid">BV</Col>
  709. </Row>
  710. <Row>
  711. <Col id="cdnm">자주</Col>
  712. <Col id="cdid">RP</Col>
  713. </Row>
  714. <Row>
  715. <Col id="cdnm">투명</Col>
  716. <Col id="cdid">TC</Col>
  717. </Row>
  718. </Rows>
  719. </Dataset>
  720. <Dataset id="ds_hidden_receiveshape" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  721. <ColumnInfo>
  722. <Column id="shape" type="STRING" size="256"/>
  723. <Column id="shapecd" type="STRING" size="256"/>
  724. </ColumnInfo>
  725. <Rows>
  726. <Row/>
  727. </Rows>
  728. </Dataset>
  729. <Dataset id="ds_temp_retri" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  730. <ColumnInfo>
  731. <Column id="restr" type="STRING" size="256"/>
  732. <Column id="retype" type="STRING" size="256"/>
  733. </ColumnInfo>
  734. <Rows>
  735. <Row>
  736. <Col id="retype">1</Col>
  737. </Row>
  738. </Rows>
  739. </Dataset>
  740. <Dataset id="ds_main_drugidlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_drugidlist_oncolumnchanged">
  741. <ColumnInfo>
  742. <Column id="sel" type="STRING" size="256"/>
  743. <Column id="phot" type="STRING" size="256"/>
  744. <Column id="char1" type="STRING" size="256"/>
  745. <Column id="char2" type="STRING" size="256"/>
  746. <Column id="longax" type="STRING" size="256"/>
  747. <Column id="shrtax" type="STRING" size="256"/>
  748. <Column id="hngnm" type="STRING" size="256"/>
  749. <Column id="drugcd" type="STRING" size="256"/>
  750. <Column id="comcnts" type="STRING" size="256"/>
  751. <Column id="efcysmm" type="STRING" size="256"/>
  752. <Column id="homodrugflag" type="STRING" size="256"/>
  753. <Column id="samedrug" type="STRING" size="256"/>
  754. <Column id="photoid" type="STRING" size="256"/>
  755. <Column id="useyn" type="STRING" size="256"/>
  756. <Column id="atccode" type="STRING" size="256"/>
  757. <Column id="drugcd" type="STRING" size="256"/>
  758. <Column id="bigphot" type="STRING" size="256"/>
  759. <Column id="kimsyn" type="STRING" size="256"/>
  760. <Column id="phot2" type="STRING" size="256"/>
  761. <Column id="outyn" type="STRING" size="256"/>
  762. </ColumnInfo>
  763. </Dataset>
  764. <Dataset id="ds_send_drugidinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  765. <ColumnInfo>
  766. <Column id="srchflag" type="STRING" size="256"/>
  767. <Column id="char" type="STRING" size="256"/>
  768. <Column id="drugcd" type="STRING" size="256"/>
  769. <Column id="comcnts" type="STRING" size="256"/>
  770. <Column id="hngnm" type="STRING" size="256"/>
  771. <Column id="engnm" type="STRING" size="256"/>
  772. <Column id="srchname" type="STRING" size="256"/>
  773. <Column id="drugtype" type="STRING" size="256"/>
  774. <Column id="shapecd" type="STRING" size="256"/>
  775. <Column id="prodcmpynm" type="STRING" size="256"/>
  776. <Column id="divline1" type="STRING" size="256"/>
  777. <Column id="divline2" type="STRING" size="256"/>
  778. <Column id="color" type="STRING" size="256"/>
  779. <Column id="shape" type="STRING" size="256"/>
  780. <Column id="atccodeyn" type="STRING" size="256"/>
  781. <Column id="instcd" type="STRING" size="256"/>
  782. <Column id="divedeline" type="STRING" size="256"/>
  783. <Column id="char2" type="STRING" size="256"/>
  784. <Column id="form" type="STRING" size="256"/>
  785. <Column id="shapephot" type="STRING" size="256"/>
  786. </ColumnInfo>
  787. <Rows>
  788. <Row>
  789. <Col id="srchflag">1</Col>
  790. </Row>
  791. </Rows>
  792. </Dataset>
  793. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  794. <ColumnInfo>
  795. <Column id="receiveref" type="STRING" size="256"/>
  796. <Column id="receiveprodcmpy" type="STRING" size="256"/>
  797. </ColumnInfo>
  798. <Rows>
  799. <Row>
  800. <Col id="receiveref">ds_hidden_drugidinfo</Col>
  801. <Col id="receiveprodcmpy">prodcmpynm</Col>
  802. </Row>
  803. </Rows>
  804. </Dataset>
  805. <Dataset id="ds_send_drugdetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  806. <ColumnInfo>
  807. <Column id="no" type="STRING" size="256"/>
  808. <Column id="comcls" type="STRING" size="256"/>
  809. <Column id="ingcd" type="STRING" size="256"/>
  810. <Column id="content" type="STRING" size="256"/>
  811. <Column id="drugcd" type="STRING" size="256"/>
  812. </ColumnInfo>
  813. <Rows>
  814. <Row>
  815. <Col id="no">1</Col>
  816. </Row>
  817. </Rows>
  818. </Dataset>
  819. <Dataset id="ds_main_drugdetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  820. <ColumnInfo>
  821. <Column id="no" type="STRING" size="256"/>
  822. <Column id="homodrugcd" type="STRING" size="256"/>
  823. <Column id="samedrug" type="STRING" size="256"/>
  824. <Column id="outyn" type="STRING" size="256"/>
  825. </ColumnInfo>
  826. <Rows>
  827. <Row/>
  828. </Rows>
  829. </Dataset>
  830. <Dataset id="ds_total" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  831. <ColumnInfo>
  832. <Column id="totcount" type="STRING" size="256"/>
  833. <Column id="pagesize" type="STRING" size="256"/>
  834. </ColumnInfo>
  835. <Rows>
  836. <Row/>
  837. </Rows>
  838. </Dataset>
  839. <Dataset id="ds_pageinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  840. <ColumnInfo>
  841. <Column id="cd" type="STRING" size="256"/>
  842. <Column id="nm" type="STRING" size="256"/>
  843. </ColumnInfo>
  844. <Rows>
  845. <Row/>
  846. </Rows>
  847. </Dataset>
  848. </Objects>
  849. <Bind>
  850. <BindItem id="item2" compid="chk_color" propid="text" datasetid="ds_drugtype" columnid=""/>
  851. <BindItem id="item3" compid="radio2" propid="value" datasetid="ds_hidden_drugidinfo" columnid="srchflag"/>
  852. <BindItem id="item4" compid="ipt_char" propid="value" datasetid="ds_hidden_drugidinfo" columnid="char"/>
  853. <BindItem id="item5" compid="input2" propid="value" datasetid="ds_hidden_drugidinfo" columnid="drugcd"/>
  854. <BindItem id="item7" compid="input3" propid="value" datasetid="ds_hidden_drugidinfo" columnid="comcnts"/>
  855. <BindItem id="item8" compid="input4" propid="value" datasetid="ds_hidden_drugidinfo" columnid="srchname"/>
  856. <BindItem id="item14" compid="combo2" propid="value" datasetid="ds_hidden_drugidinfo" columnid="shapecd"/>
  857. <BindItem id="item15" compid="ipt_prodcmpynm" propid="value" datasetid="ds_hidden_drugidinfo" columnid="prodcmpynm"/>
  858. <BindItem id="item16" compid="ipt_prodcmpynm" propid="" datasetid="ds_hidden_drugidinfo" columnid="shape"/>
  859. <BindItem id="item19" compid="chk_color" propid="" datasetid="ds_hidden_drugidinfo" columnid="color"/>
  860. <BindItem id="item11" compid="ipt_shape" propid="value" datasetid="ds_hidden_drugidinfo" columnid="shape"/>
  861. <BindItem id="item20" compid="img_drugphot" propid="image" datasetid="ds_temp" columnid="drugphot"/>
  862. <BindItem id="item21" compid="rdo_devline00" propid="value" datasetid="ds_hidden_drugidinfo" columnid="divideline"/>
  863. <BindItem id="item0" compid="Div01.chk_drugtype" propid="text" datasetid="ds_drugtype" columnid=""/>
  864. <BindItem id="item12" compid="Div01.chk_drugtype" propid="" datasetid="ds_hidden_drugidinfo" columnid="drugtype"/>
  865. <BindItem id="item6" compid="Div01.chk_atccodeyn" propid="value" datasetid="ds_hidden_drugidinfo" columnid="atccodeyn"/>
  866. <BindItem id="item22" compid="ipt_char2" propid="value" datasetid="ds_hidden_drugidinfo" columnid="char2"/>
  867. <BindItem id="item9" compid="ImageViewer00" propid="image" datasetid="ds_hidden_drugidinfo" columnid="shapephot"/>
  868. <BindItem id="item1" compid="Static01" propid="text" datasetid="ds_total" columnid="totcount"/>
  869. <BindItem id="item10" compid="combo00" propid="value" datasetid="ds_hidden_drugidinfo" columnid="page"/>
  870. <BindItem id="item13" compid="Static03" propid="text" datasetid="ds_total" columnid="pagesize"/>
  871. </Bind>
  872. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  873. * System Name :
  874. * Job Name :
  875. * Creator :
  876. * Make Date : 2015-11-13
  877. * Description :
  878. *---------------------------------------------------------------------------------------
  879. * Modify Date Modifier Modify Description
  880. *---------------------------------------------------------------------------------------
  881. * 2015-11-13 Live Converter TF->XP
  882. *
  883. *---------------------------------------------------------------------------------------
  884. ****************************************************************************************/
  885. include "com_commonxp::comm_main.xjs";
  886. include "ast_commonxp::AST.xjs";
  887. include "com_basiccodexp::ZBC001.xjs";
  888. include "ast_pharmacyxp::SPADC60310.xjs";
  889. var initstyle = "1px solid #c1c1c1ff";
  890. var selstyle = "2px solid cornflowerblue";
  891. function SPADC60310_oninit(obj:Form, e:InitEventInfo)
  892. {
  893. frmf_initForm(obj);
  894. }
  895. function SPADC60310_onload(obj:Form, e:LoadEventInfo)
  896. {
  897. fInit();
  898. fn_setChkbox();
  899. Div01.chk_drugtype.setCheckAll(true);
  900. Div01.chk_tmpdrugtype.setCheckAll(true);
  901. ds_hidden_drugidinfo.setColumn(0, "shapecd", "");
  902. div_srch.Div01.btn_all.style.border = "2px solid cornflowerblue";
  903. ds_pageinfo.setColumn(0,"cd", "1");
  904. ds_pageinfo.setColumn(0,"nm", "1페이지");
  905. ds_hidden_drugidinfo.setColumn(0, "page", 1);
  906. ds_total.setColumn(0, "pagesize", 1);
  907. ds_total.setColumn(0, "totcount", 0);
  908. }
  909. function fn_setChkbox(){
  910. //약품TYPE
  911. var sProp1="col=3,row=17,cellspacing=10,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
  912. Div01.chk_drugtype.setInitComp(sProp1, ds_drugtype, "cdid", "cdnm", "fn_DrugType");
  913. //약품
  914. var sProp1="col=2,row=17,cellspacing=10,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
  915. Div01.chk_tmpdrugtype.setInitComp(sProp1, ds_tmpdrugtype, "cdid", "cdnm", "fn_TmpDrugType");
  916. //약품
  917. var sProp1="col=6,row=10,cellspacing=14,vcellspacing=0,itemWidth=-1,itemHeight=45,overflow=''";
  918. chk_color.setInitComp(sProp1, ds_color, "cdid", "cdnm", "fn_Color");
  919. }
  920. /******************************************************************
  921. * Argument :
  922. * Description : 약품Type bind set
  923. ******************************************************************/
  924. function fn_DrugType(){
  925. var getCdid = String(chk_drugtype.getData()).replace(",", " ");
  926. ds_hidden_drugidinfo.setColumn(0, "drugtype", getCdid);
  927. }
  928. function fn_TmpDrugType(){
  929. var getCdid = String(chk_tmpdrugtype.getData()).replace(",", " ");
  930. ds_hidden_drugidinfo.setColumn(0, "tmpdrugtype", getCdid);
  931. }
  932. function fn_Color(){
  933. var getCdid = String(chk_color.getData()).replace(",", "+");
  934. ds_hidden_drugidinfo.setColumn(0, "color", getCdid);
  935. }
  936. function btn_sea_onclick(obj:Button, e:ClickEventInfo)
  937. {
  938. var tmp_atccodeyn = utlf_transNullToEmpty(ds_hidden_drugidinfo.getColumn(0, "atccodeyn"));
  939. var tmp_drugcd = utlf_transNullToEmpty(ds_hidden_drugidinfo.getColumn(0, "drugcd"));
  940. if(tmp_atccodeyn == "Y" && tmp_drugcd == ""){
  941. sysf_messageBox("[원내코드]를", "C001");
  942. return;
  943. }else if(tmp_atccodeyn == "Y" && tmp_drugcd != ""){
  944. ds_hidden_drugidinfo.setColumn(0, "atccodeyn", tmp_atccodeyn);
  945. ds_hidden_drugidinfo.setColumn(0, "drugcd" , tmp_drugcd);
  946. }
  947. fSrchDrugId();
  948. }
  949. function btn_ins_onclick(obj:Button, e:ClickEventInfo)
  950. {
  951. fInsOpenerDrugID();
  952. }
  953. function isSel(currow){
  954. if(ds_main_drugidlist.getColumn(currow, 'sel') == '1'){
  955. return true;
  956. }
  957. return false;
  958. }
  959. function input_onkeydown(obj:Edit, e:KeyEventInfo)
  960. {
  961. if(e.keycode == 13) {
  962. obj.updateToDataset();
  963. var ev = new ClickEventInfo;
  964. frmf_inputEnterKey("btn_sea", "onclick", ev );
  965. }
  966. }
  967. function button61_onclick(obj:Button, e:ClickEventInfo)
  968. {
  969. var objArg = new Object();
  970. objArg.arg_ds_hidden = ds_hidden;
  971. frmf_modal("SPADB63400", "SPADB63400", objArg, null, 0, 50, 50, null, null, null, null, null, "M");
  972. }
  973. function button2_onclick(obj:Button, e:ClickEventInfo)
  974. {
  975. var objArg = new Object();
  976. objArg.arg_ds_hidden_receiveref = ds_hidden_receiveshape;
  977. frmf_modal("SPADB62600", "SPADB62600", objArg, null, 0, 100, 150, null, null, null, null, null, "M");
  978. ds_hidden_drugidinfo.setColumn(0, "shape", ds_hidden_receiveshape.getColumn(0, "shapecd"));
  979. ds_hidden_drugidinfo.setColumn(0, "shapephot", ds_hidden_receiveshape.getColumn(0, "shape"));
  980. ds_hidden_receiveshape.clearData();
  981. ds_hidden_receiveshape.addRow();
  982. }
  983. function grd_drugid_oncellclick(obj:Grid, e:GridClickEventInfo)
  984. {
  985. if(e.col == obj.getBindCellIndex("body","phot")) {
  986. ds_temp.setColumn(0,"drugphot",ds_main_drugidlist.getColumn(e.row,"bigphot"));
  987. // setImageRefInstance("/root/temp/drugphot");
  988. img_drugphot.visible = true;
  989. }
  990. }
  991. function button8_onclick(obj:Button, e:ClickEventInfo)
  992. {
  993. fDrugTypeChk("A");
  994. }
  995. function button1_onclick(obj:Button, e:ClickEventInfo)
  996. {
  997. fDrugTypeChk("D");
  998. }
  999. function button4_onclick(obj:Button, e:ClickEventInfo)
  1000. {
  1001. ds_main_drugidlist.filter("");
  1002. var strstr = ds_temp_retri.getColumn(0, "restr");
  1003. strstr = strstr.toUpperCase() ;
  1004. var strtype = ds_temp_retri.getColumn(0, "retype");
  1005. if( utlf_isNull(strstr) ) {
  1006. sysf_messageBox("최소 1글자 이상", "C001");
  1007. input5.setFocus();
  1008. return;
  1009. }
  1010. var r_cnt = ds_main_drugidlist.rowcount ;
  1011. ds_main_drugidlist.addColumn("filterYn","string");
  1012. for( var j = 0 ; j < r_cnt ; j++ ) {
  1013. var datastr = "" ;
  1014. if (strtype == 1) {
  1015. datastr = ds_main_drugidlist.getColumn(j, "char1");
  1016. datastr = datastr.toUpperCase() ;
  1017. }
  1018. if (strtype == 2) {
  1019. datastr = ds_main_drugidlist.getColumn(j, "char2");
  1020. datastr = datastr.toUpperCase() ;
  1021. }
  1022. if (strtype == 3) {
  1023. datastr = ds_main_drugidlist.getColumn(j, "longax");
  1024. datastr = datastr.toUpperCase() ;
  1025. }
  1026. if (strtype == 4) {
  1027. datastr = ds_main_drugidlist.getColumn(j, "shrtax");
  1028. datastr = datastr.toUpperCase() ;
  1029. }
  1030. if (strtype == 5) {
  1031. datastr = ds_main_drugidlist.getColumn(j, "hngnm");
  1032. datastr = datastr.toUpperCase() ;
  1033. }
  1034. if (strtype == 6) {
  1035. datastr = ds_main_drugidlist.getColumn(j, "drugcd");
  1036. datastr = datastr.toUpperCase() ;
  1037. }
  1038. if (strtype == 7) {
  1039. datastr = ds_main_drugidlist.getColumn(j, "comcnts");
  1040. datastr = datastr.toUpperCase() ;
  1041. }
  1042. if ( strstr != "") {
  1043. if ( !utlf_isSearchString(datastr, strstr) ) {
  1044. // grd_drugid.setFormatRowProperty(j,"size",0);
  1045. // alert(j + " 사라지기") ;
  1046. ds_main_drugidlist.setColumn(j,"filterYn","Y");
  1047. } else {
  1048. ds_main_drugidlist.setColumn(j,"filterYn","N");
  1049. }
  1050. }
  1051. }
  1052. ds_main_drugidlist.filter("filterYn!='Y'");
  1053. }
  1054. function chk_drugtype_onclick(obj:cp_checkboxList, e:ClickEventInfo)
  1055. {
  1056. fDrugTypeChk("A");
  1057. }
  1058. var DrugType_Value = "1,10,11,12,13,14,15,16,17,18,19";
  1059. function checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
  1060. {
  1061. var chk_val = obj.value;
  1062. if ( chk_val ) {
  1063. chk_drugtype.setCheckAll(true);
  1064. var rep_str = String(chk_drugtype.getData()).replace(","," ") ;
  1065. ds_hidden_drugidinfo.setColumn(0, "drugtype", rep_str);
  1066. } else {
  1067. // fDrugTypeChk("D");
  1068. chk_drugtype.setCheckAll(false);
  1069. ds_hidden_drugidinfo.setColumn(0, "drugtype", "");
  1070. }
  1071. }
  1072. function button3_onclick(obj:Button, e:ClickEventInfo)
  1073. {
  1074. this.close();
  1075. }
  1076. function ds_main_drugidlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1077. {
  1078. if(e.columnid=="sel") {
  1079. obj.setColumn(e.row,e.columnid,(e.newvalue=="true"||e.newvalue==1)?"true":"false");
  1080. }
  1081. }
  1082. function input5_onkeydown(obj:Edit, e:KeyEventInfo)
  1083. {
  1084. if(e.keycode == 13) {
  1085. obj.updateToDataset();
  1086. button4_onclick();
  1087. }
  1088. }
  1089. function img_drugphot_onclick(obj:ImageViewer, e:ClickEventInfo)
  1090. {
  1091. ds_temp.setColumn(0,"drugphot", "");
  1092. img_drugphot.visible = false;
  1093. }
  1094. function cmb_etcdrugtype_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1095. {
  1096. }
  1097. function setColorBoderShape(btnKind) {
  1098. }
  1099. function setColorBoder(btnKind) {
  1100. div_srch.Div00.btn_all.style.border = initstyle;
  1101. div_srch.Div00.btn_01.style.border = initstyle;
  1102. div_srch.Div00.btn_02.style.border = initstyle;
  1103. div_srch.Div00.btn_03.style.border = initstyle;
  1104. div_srch.Div00.btn_04.style.border = initstyle;
  1105. div_srch.Div00.btn_05.style.border = initstyle;
  1106. div_srch.Div00.btn_06.style.border = initstyle;
  1107. if(btnKind == "all") {
  1108. div_srch.Div00.btn_all.style.border = selstyle;
  1109. } else if(btnKind == "01") {
  1110. div_srch.Div00.btn_01.style.border = selstyle;
  1111. } else if(btnKind == "02") {
  1112. div_srch.Div00.btn_02.style.border = selstyle;
  1113. } else if(btnKind == "03") {
  1114. div_srch.Div00.btn_03.style.border = selstyle;
  1115. } else if(btnKind == "04") {
  1116. div_srch.Div00.btn_04.style.border = selstyle;
  1117. } else if(btnKind == "05") {
  1118. div_srch.Div00.btn_05.style.border = selstyle;
  1119. } else if(btnKind == "06") {
  1120. div_srch.Div00.btn_06.style.border = selstyle;
  1121. }
  1122. }
  1123. function setBindData(btnKind) {
  1124. var dividekind = "";
  1125. if(btnKind == "all") {
  1126. dividekind = "";
  1127. } else if(btnKind == "01") {
  1128. dividekind = "NL";
  1129. } else if(btnKind == "02") {
  1130. dividekind = "DL";
  1131. } else if(btnKind == "03") {
  1132. dividekind = "SL";
  1133. } else if(btnKind == "04") {
  1134. dividekind = "SC";
  1135. } else if(btnKind == "05") {
  1136. dividekind = "DC";
  1137. } else if(btnKind == "06") {
  1138. dividekind = "LC";
  1139. }
  1140. ds_hidden_drugidinfo.setColumn(0, "divideline", dividekind);
  1141. }
  1142. function div_srch_Div00_btn_all_onclick(obj:Button, e:ClickEventInfo)
  1143. {
  1144. setColorBoder("all");
  1145. setBindData("all");
  1146. }
  1147. function div_srch_Div00_btn_01_onclick(obj:Button, e:ClickEventInfo)
  1148. {
  1149. setColorBoder("01");
  1150. setBindData("01");
  1151. }
  1152. function div_srch_Div00_btn_02_onclick(obj:Button, e:ClickEventInfo)
  1153. {
  1154. setColorBoder("02");
  1155. setBindData("02");
  1156. }
  1157. function div_srch_Div00_btn_03_onclick(obj:Button, e:ClickEventInfo)
  1158. {
  1159. setColorBoder("03");
  1160. setBindData("03");
  1161. }
  1162. function div_srch_Div00_btn_04_onclick(obj:Button, e:ClickEventInfo)
  1163. {
  1164. setColorBoder("04");
  1165. setBindData("04");
  1166. }
  1167. function div_srch_Div00_btn_05_onclick(obj:Button, e:ClickEventInfo)
  1168. {
  1169. setColorBoder("05");
  1170. setBindData("05");
  1171. }
  1172. function div_srch_Div00_btn_06_onclick(obj:Button, e:ClickEventInfo)
  1173. {
  1174. setColorBoder("06");
  1175. setBindData("06");
  1176. }
  1177. function setClearBorderStyle(str) {
  1178. div_srch.Div01.btn_shape01.style.border = initstyle;
  1179. div_srch.Div01.btn_shape02.style.border = initstyle;
  1180. div_srch.Div01.btn_shape03.style.border = initstyle;
  1181. div_srch.Div01.btn_shape04.style.border = initstyle;
  1182. div_srch.Div01.btn_shape05.style.border = initstyle;
  1183. div_srch.Div01.btn_shape06.style.border = initstyle;
  1184. div_srch.Div01.btn_shape07.style.border = initstyle;
  1185. div_srch.Div01.btn_shape08.style.border = initstyle;
  1186. div_srch.Div01.btn_shape09.style.border = initstyle;
  1187. div_srch.Div01.btn_shape10.style.border = initstyle;
  1188. div_srch.Div01.btn_shape11.style.border = initstyle;
  1189. div_srch.Div01.btn_shape12.style.border = initstyle;
  1190. div_srch.Div01.btn_shape13.style.border = initstyle;
  1191. div_srch.Div01.btn_shape14.style.border = initstyle;
  1192. div_srch.Div01.btn_shape15.style.border = initstyle;
  1193. div_srch.Div01.btn_shape16.style.border = initstyle;
  1194. div_srch.Div01.btn_shape17.style.border = initstyle;
  1195. div_srch.Div01.btn_shape18.style.border = initstyle;
  1196. div_srch.Div01.btn_shape19.style.border = initstyle;
  1197. div_srch.Div01.btn_shape20.style.border = initstyle;
  1198. div_srch.Div01.btn_shape21.style.border = initstyle;
  1199. div_srch.Div01.btn_shape22.style.border = initstyle;
  1200. div_srch.Div01.btn_shape23.style.border = initstyle;
  1201. div_srch.Div01.btn_shape24.style.border = initstyle;
  1202. div_srch.Div01.btn_shape25.style.border = initstyle;
  1203. div_srch.Div01.btn_shape26.style.border = initstyle;
  1204. div_srch.Div01.btn_shape27.style.border = initstyle;
  1205. div_srch.Div01.btn_shape28.style.border = initstyle;
  1206. div_srch.Div01.btn_shape29.style.border = initstyle;
  1207. div_srch.Div01.btn_all.style.border = initstyle;
  1208. if(str != null) {
  1209. div_srch.Div01.btn_all.style.border = selstyle;
  1210. ds_hidden_drugidinfo.setColumn(0, "shapecd", "");
  1211. }
  1212. }
  1213. function setShapeClick(obj, val) {
  1214. div_srch.Div01.btn_all.style.border = initstyle;
  1215. var str = ds_hidden_drugidinfo.getColumn(0, "shapecd");
  1216. if(str.indexOf(val) > -1) {
  1217. str = str.replace("+" + val, "");
  1218. str = str.replace(val, "");
  1219. obj.style.border = initstyle;
  1220. } else {
  1221. if(str != "")
  1222. str += "+";
  1223. str += val;
  1224. obj.style.border = selstyle;
  1225. }
  1226. ds_hidden_drugidinfo.setColumn(0, "shapecd", str);
  1227. if(str == "") {
  1228. div_srch.Div01.btn_all.style.border = selstyle;
  1229. }
  1230. }
  1231. function div_srch_Div01_btn_shape01_onclick(obj:Button, e:ClickEventInfo){
  1232. setShapeClick(obj, "CC");
  1233. /*
  1234. var str = ds_hidden_drugidinfo.getColumn(0, "shapecd");
  1235. if(str.indexOf("CC") > -1) {
  1236. str = str.replace("+CC", "");
  1237. str = str.replace("CC", "");
  1238. div_srch.Div01.btn_shape01.style.border = initstyle;
  1239. } else {
  1240. if(str != "")
  1241. str += "+";
  1242. str += "CC";
  1243. div_srch.Div01.btn_shape01.style.border = selstyle;
  1244. }
  1245. ds_hidden_drugidinfo.setColumn(0, "shapecd", str);
  1246. */
  1247. }
  1248. function div_srch_Div01_btn_shape02_onclick(obj:Button, e:ClickEventInfo){
  1249. setShapeClick(obj, "OV");
  1250. }
  1251. function div_srch_Div01_btn_shape03_onclick(obj:Button, e:ClickEventInfo){
  1252. setShapeClick(obj, "SC");
  1253. }
  1254. function div_srch_Div01_btn_shape04_onclick(obj:Button, e:ClickEventInfo){
  1255. setShapeClick(obj, "TR");
  1256. }
  1257. function div_srch_Div01_btn_shape05_onclick(obj:Button, e:ClickEventInfo){
  1258. setShapeClick(obj, "SQ");
  1259. }
  1260. function div_srch_Div01_btn_shape06_onclick(obj:Button, e:ClickEventInfo){
  1261. setShapeClick(obj, "D1");
  1262. }
  1263. function div_srch_Div01_btn_shape07_onclick(obj:Button, e:ClickEventInfo){
  1264. setShapeClick(obj, "OB");
  1265. }
  1266. function div_srch_Div01_btn_shape08_onclick(obj:Button, e:ClickEventInfo){
  1267. setShapeClick(obj, "PT");
  1268. }
  1269. function div_srch_Div01_btn_shape09_onclick(obj:Button, e:ClickEventInfo){
  1270. setShapeClick(obj, "HX");
  1271. }
  1272. function div_srch_Div01_btn_shape10_onclick(obj:Button, e:ClickEventInfo){
  1273. setShapeClick(obj, "OT");
  1274. }
  1275. function div_srch_Div01_btn_shape11_onclick(obj:Button, e:ClickEventInfo){
  1276. setShapeClick(obj, "EI");
  1277. }
  1278. function div_srch_Div01_btn_shape12_onclick(obj:Button, e:ClickEventInfo){
  1279. setShapeClick(obj, "KB");
  1280. }
  1281. function div_srch_Div01_btn_shape13_onclick(obj:Button, e:ClickEventInfo){
  1282. setShapeClick(obj, "FR");
  1283. }
  1284. function div_srch_Div01_btn_shape14_onclick(obj:Button, e:ClickEventInfo){
  1285. setShapeClick(obj, "GS");
  1286. }
  1287. function div_srch_Div01_btn_shape15_onclick(obj:Button, e:ClickEventInfo){
  1288. setShapeClick(obj, "BT");
  1289. }
  1290. function div_srch_Div01_btn_shape16_onclick(obj:Button, e:ClickEventInfo){
  1291. setShapeClick(obj, "BF");
  1292. }
  1293. function div_srch_Div01_btn_shape17_onclick(obj:Button, e:ClickEventInfo){
  1294. setShapeClick(obj, "D2");
  1295. }
  1296. function div_srch_Div01_btn_shape18_onclick(obj:Button, e:ClickEventInfo){
  1297. setShapeClick(obj, "DN");
  1298. }
  1299. function div_srch_Div01_btn_shape19_onclick(obj:Button, e:ClickEventInfo){
  1300. setShapeClick(obj, "AN");
  1301. }
  1302. function div_srch_Div01_btn_shape20_onclick(obj:Button, e:ClickEventInfo){
  1303. setShapeClick(obj, "PN");
  1304. }
  1305. function div_srch_Div01_btn_shape21_onclick(obj:Button, e:ClickEventInfo){
  1306. setShapeClick(obj, "LM");
  1307. }
  1308. function div_srch_Div01_btn_shape22_onclick(obj:Button, e:ClickEventInfo){
  1309. setShapeClick(obj, "WD");
  1310. }
  1311. function div_srch_Div01_btn_shape23_onclick(obj:Button, e:ClickEventInfo){
  1312. setShapeClick(obj, "SD");
  1313. }
  1314. function div_srch_Div01_btn_shape24_onclick(obj:Button, e:ClickEventInfo){
  1315. setShapeClick(obj, "AP");
  1316. }
  1317. function div_srch_Div01_btn_shape25_onclick(obj:Button, e:ClickEventInfo){
  1318. setShapeClick(obj, "HT");
  1319. }
  1320. function div_srch_Div01_btn_shape26_onclick(obj:Button, e:ClickEventInfo){
  1321. setShapeClick(obj, "DV");
  1322. }
  1323. function div_srch_Div01_btn_shape27_onclick(obj:Button, e:ClickEventInfo){
  1324. setShapeClick(obj, "CT");
  1325. }
  1326. function div_srch_Div01_btn_shape28_onclick(obj:Button, e:ClickEventInfo){
  1327. setShapeClick(obj, "CL");
  1328. }
  1329. function div_srch_Div01_btn_shape29_onclick(obj:Button, e:ClickEventInfo){
  1330. setShapeClick(obj, "BL");
  1331. }
  1332. function div_srch_Div01_btn_all_onclick(obj:Button, e:ClickEventInfo)
  1333. {
  1334. setClearBorderStyle();
  1335. ds_hidden_drugidinfo.setColumn(0, "shapecd", "");
  1336. div_srch.Div01.btn_all.style.border = selstyle;
  1337. }
  1338. function div_srch_btn_shape_all_onclick(obj:Button, e:ClickEventInfo)
  1339. {
  1340. fInitSetColorform();
  1341. ds_hidden_drugidinfo.setColumn(0, "form", "");
  1342. div_srch.btn_shape_all.style.border = selstyle;
  1343. }
  1344. function div_srch_btn_shape_all00_onclick(obj:Button, e:ClickEventInfo)
  1345. {
  1346. fInitSetColorform();
  1347. ds_hidden_drugidinfo.setColumn(0, "form", "TB");
  1348. div_srch.btn_shape_all00.style.border = selstyle;
  1349. }
  1350. function div_srch_btn_shape_all01_onclick(obj:Button, e:ClickEventInfo)
  1351. {
  1352. fInitSetColorform();
  1353. ds_hidden_drugidinfo.setColumn(0, "form", "CP");
  1354. div_srch.btn_shape_all01.style.border = selstyle;
  1355. }
  1356. function div_srch_btn_shape_all02_onclick(obj:Button, e:ClickEventInfo)
  1357. {
  1358. fInitSetColorform();
  1359. ds_hidden_drugidinfo.setColumn(0, "form", "OT");
  1360. div_srch.btn_shape_all02.style.border = selstyle;
  1361. }
  1362. function fInitSetColorform(str) {
  1363. div_srch.btn_shape_all.style.border = initstyle;
  1364. div_srch.btn_shape_all00.style.border = initstyle;
  1365. div_srch.btn_shape_all01.style.border = initstyle;
  1366. div_srch.btn_shape_all02.style.border = initstyle;
  1367. if(str != null) {
  1368. div_srch.btn_shape_all.style.border = selstyle;
  1369. ds_hidden_drugidinfo.setColumn(0, "form", "");
  1370. }
  1371. }
  1372. function div_srch_btn_init_onclick(obj:Button, e:ClickEventInfo)
  1373. {
  1374. fInit();
  1375. }
  1376. function CheckBox00_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1377. {
  1378. if(CheckBox00.value) {
  1379. chk_color.setCheckAll(true);
  1380. } else {
  1381. chk_color.setCheckAll(false);
  1382. }
  1383. }
  1384. function ipt_shape_oneditclick(obj:Edit, e:EditClickEventInfo)
  1385. {
  1386. }
  1387. function combo00_ontextchanged(obj:Combo, e:TextChangedEventInfo)
  1388. {
  1389. }
  1390. function combo00_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1391. {
  1392. fSrchDrugId(obj.value);
  1393. }
  1394. function group4_button28_onclick(obj:Button, e:ClickEventInfo)
  1395. {
  1396. }
  1397. function button00_onclick(obj:Button, e:ClickEventInfo)
  1398. {
  1399. var pagesize = ds_pageinfo.rowcount;
  1400. var cursize = parseInt(ds_hidden_drugidinfo.getColumn(0, "page"));
  1401. if(cursize < pagesize) {
  1402. ds_hidden_drugidinfo.setColumn(0,"page", cursize+1);
  1403. fSrchDrugId(cursize + 1);
  1404. } else {
  1405. sysf_messageBox("다음 페이지가 없습니다.", "I");
  1406. }
  1407. }
  1408. function button28_onclick(obj:Button, e:ClickEventInfo)
  1409. {
  1410. var pagesize = ds_pageinfo.rowcount;
  1411. var cursize = parseInt(ds_hidden_drugidinfo.getColumn(0, "page"));
  1412. if(cursize > 2) {
  1413. ds_hidden_drugidinfo.setColumn(0,"page", cursize-1);
  1414. fSrchDrugId(cursize - 1);
  1415. } else {
  1416. sysf_messageBox("이전 페이지가 없습니다.", "I");
  1417. }
  1418. }
  1419. ]]></Script>
  1420. </Form>
  1421. </FDL>