SMRSC05303_기관별물품코드등록.xrw 105 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>기관별 물품코드 등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <list>
  11. <good>
  12. <goodlist/>
  13. <instgoodlist/>
  14. </good>
  15. <gooddet>
  16. <gooddetlist/>
  17. <goodconstlist/>
  18. <goodinstlist/>
  19. <excelgooddetlist/>
  20. <oldcdinfo/>
  21. <rscdgchglist/>
  22. <rscdtchglist/>
  23. </gooddet>
  24. <appinstgoodlists/>
  25. <rscdtchglist2/>
  26. </list>
  27. <costhistinfolist>
  28. <appdd/>
  29. <rctpdisburseunitcost/>
  30. <medcarecalcscor/>
  31. <suplplcecd/>
  32. </costhistinfolist>
  33. <item/>
  34. <gooddet>
  35. <gooddetlist/>
  36. </gooddet>
  37. <goodcopy>
  38. <goodlist/>
  39. </goodcopy>
  40. </main>
  41. <send>
  42. <save>
  43. <goodlist/>
  44. <gooddetlist/>
  45. <setautoins>
  46. <setyn>N</setyn>
  47. </setautoins>
  48. </save>
  49. <goodlist>
  50. <goodflag/>
  51. <goodnm/>
  52. <lrgcd/>
  53. <instcd/>
  54. <edicd/>
  55. <goodcd/>
  56. <mdlcd/>
  57. <spec/>
  58. <prodcmpy/>
  59. <smlcd/>
  60. <model/>
  61. <prodcmpynm/>
  62. <instflag/>
  63. <oldcd/>
  64. <fr_fromdd/>
  65. <to_fromdd/>
  66. <filecls>D</filecls>
  67. <instcdcopy/>
  68. <userinstcd/>
  69. <suppcustcd/>
  70. <suppcustnm/>
  71. <nonusegoodview/>
  72. <mngtflag/>
  73. <insuyn/>
  74. <proddrugsetflag/>
  75. <appinstdata/>
  76. <maincustlastsuplplce/>
  77. <maincustlastsuplplcenm/>
  78. </goodlist>
  79. <gooddetlist>
  80. <goodcd/>
  81. <fromdd/>
  82. <useyn/>
  83. <instcd/>
  84. <tabname>RSCDGOOD</tabname>
  85. <goodflag/>
  86. <changedt>20080101</changedt>
  87. </gooddetlist>
  88. <goodcopy>
  89. <goodflag/>
  90. <lrgcd/>
  91. <mdlcd/>
  92. </goodcopy>
  93. </send>
  94. <init>
  95. <instflag>
  96. <label>기관</label>
  97. <value>Y</value>
  98. <label>전체</label>
  99. <value/>
  100. </instflag>
  101. <goodflag/>
  102. <deliveunit/>
  103. <reqprid/>
  104. <mngtflag/>
  105. <purcflag/>
  106. <instcd/>
  107. <proddrugsetflag/>
  108. <wareflag/>
  109. <instnm/>
  110. <allsizeyn>
  111. <label>예</label>
  112. <value>Y</value>
  113. <label>아니오</label>
  114. <value>N</value>
  115. </allsizeyn>
  116. <tmpreqflag>
  117. <label>청구가능</label>
  118. <value>Y</value>
  119. <label>청구불가능</label>
  120. <value>N</value>
  121. </tmpreqflag>
  122. <radio2>
  123. <label>신청유</label>
  124. <value>Y</value>
  125. <label>신청무</label>
  126. <value>N</value>
  127. </radio2>
  128. <expnyn>
  129. <label>고가</label>
  130. <value>Y</value>
  131. <label>고가아님</label>
  132. <value>N</value>
  133. </expnyn>
  134. <insuyn>
  135. <label>예</label>
  136. <value>Y</value>
  137. <label>아니오</label>
  138. <value>N</value>
  139. </insuyn>
  140. <oldgoodlist>
  141. <name1/>
  142. <name2/>
  143. </oldgoodlist>
  144. <nonusegoodview>
  145. <label>전체</label>
  146. <value>Y</value>
  147. <label>사용</label>
  148. <value/>
  149. <label>휴면</label>
  150. <value>only</value>
  151. </nonusegoodview>
  152. </init>
  153. <hidden/>
  154. <temp>
  155. <currentunit>
  156. <instcd/>
  157. <goodflag/>
  158. </currentunit>
  159. </temp>
  160. </root>
  161. </instance>
  162. <script type="javascript" ev:event="xforms-ready">
  163. <![CDATA[
  164. fInitForm();
  165. ]]>
  166. </script>
  167. <submission id="TRRSC05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gooddetlist" resultref="/root/main/list/gooddet"/>
  168. <submission id="TRRSC05303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodcopy" resultref="/root/main/goodcopy"/>
  169. <submission id="TRRSC05306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/gooddet/excelgooddetlist"/>
  170. <submission id="TRRSC03702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gooddetlist" resultref="/root/main/list/gooddet/rscdgchglist"/>
  171. <submission id="TRRSC05309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/goodlists"/>
  172. <submission id="TRRSC05314" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/rscdtchglist2"/>
  173. <submission id="TRRSC05310" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/instgoodlists"/>
  174. <submission id="TRRSC05311" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/appinstgoodlists"/>
  175. <submission id="TXRSC05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  176. <submission id="TXRSC05303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list/gooddet/gooddetlist" resultref="/root/hidden/temp"/>
  177. <submission id="TXRSC05304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  178. <submission id="TXRSC05306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  179. <submission id="TXRSC05308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/delivedata" resultref="/root/hidden/temp"/>
  180. </model>
  181. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  182. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  183. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  184. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  185. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  186. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  187. <script type="javascript" src="../../../mis/purcbaseweb/js/SMRSC05303.js"/>
  188. </xhtml:head>
  189. <xhtml:body guideline="1,1196;2,774;">
  190. <group id="group3" scroll="auto" style="left:0px; top:15px; width:1205px; height:760px; ">
  191. <caption id="caption1" class="tit_2" style="left:545px; top:125px; width:140px; height:13px; ">기관물품세부정보</caption>
  192. <switch id="switch2" style="left:0px; top:606px; width:535px; height:150px; border-color:#c7a3cf; border-style:solid; ">
  193. <case id="case1" selected="true" style="left:0px; top:0px; width:533px; height:173px; ">
  194. <datagrid id="grd_costhistinfo" nodeset="/root/main/list/gooddet/goodconstlist" caption="적용일자^제품단가^구매구분^구매구분^주거래처^주거래처^보조거래처^보조거래처^처방단위^수불단위^청구주기^청구주기^청구방법^청구방법^AllSizeYN^비고^견적가^수불단가^의료수가^제조국^한글명^영문명^규격^모델^관리부서^수정자" colsep="^" colwidth="80, 80, 0, 70, 0, 124, 0, 124, 64, 59, 0, 64, 0, 70, 67, 271, 80, 80, 120, 100, 100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" navindex="98" style="left:0px; top:29px; width:533px; height:118px; ">
  195. <col ref="fromdd"/>
  196. <col ref="goodunitcost" format="#,###" style="text-align:right; "/>
  197. <col ref="purcflag"/>
  198. <col ref="purcflagnm"/>
  199. <col ref="maincustlastsuplplce"/>
  200. <col ref="maincustlastsuplplcenm"/>
  201. <col ref="suppcustcd"/>
  202. <col ref="suppcustnm"/>
  203. <col ref="prcpunit"/>
  204. <col ref="deliveunit"/>
  205. <col ref="reqprid"/>
  206. <col ref="reqpridnm"/>
  207. <col ref="reqmthd"/>
  208. <col ref="reqmthdnm"/>
  209. <col ref="allsizeyn"/>
  210. <col ref="cmt"/>
  211. <col ref="forgncurncyunitcost" format="#,###" style="text-align:right; "/>
  212. <col format="#,###" style="text-align:right; "/>
  213. <col ref="prodplce" format="#,###" style="text-align:right; "/>
  214. <col ref="goodnm"/>
  215. <col ref="goodhngnm"/>
  216. <col ref="goodengnm"/>
  217. <col ref="goodspec"/>
  218. <col ref="goodmodel"/>
  219. <col ref="mainmngtdeptnm"/>
  220. <col ref="lastupdtrnm"/>
  221. <script type="javascript" ev:event="ondblclick">
  222. <![CDATA[
  223. if(grd_goodlist.row > 0)
  224. {
  225. model.setValue("/root/send/gooddetlist/goodcd", model.getValue(grd_goodlist.nodeset + "["+ grd_goodlist.row + "]/goodcd" ));
  226. model.setValue("/root/send/gooddetlist/fromdd", model.getValue(grd_costhistinfo.nodeset + "["+ grd_costhistinfo.row + "]/fromdd" ));
  227. model.setValue("/root/send/gooddetlist/useyn" , model.getValue(grd_costhistinfo.nodeset + "["+ grd_costhistinfo.row + "]/useyn" ));
  228. // model.setValue("/root/send/gooddetlist/useyn", "N");
  229. submit("TRRSC05302");
  230. fAfterRetrGoodList();
  231. model.setValue("/root/send/gooddetlist/fromdd","" );
  232. }
  233. ]]>
  234. </script>
  235. </datagrid>
  236. <line id="line28" class="line_1" style="x1:0px; y1:24px; x2:533; y2:24px; "/>
  237. <caption id="caption38" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">이력정보</caption>
  238. </case>
  239. <case id="case2">
  240. <line id="line49" class="line_1" style="x1:0px; y1:24px; x2:533; y2:24px; "/>
  241. <group id="grp_etcgood" style="left:0px; top:29px; width:533px; height:106px; ">
  242. <line id="line50" class="line_2" style="x1:0px; y1:22px; x2:533px; y2:22px; "/>
  243. <line id="line53" class="line_3" style="x1:0px; y1:49px; x2:533px; y2:49px; "/>
  244. <caption id="caption74" class="cell_1" style="left:0px; top:24px; width:108px; height:23px; vertical-align:middle; ">일평균사용량</caption>
  245. <caption id="caption76" class="cell_1" style="left:264px; top:0px; width:108px; height:23px; vertical-align:middle; ">발주생성구분</caption>
  246. <select1 id="cmb_plceordbase" ref="/root/main/gooddet/gooddetlist/plceordbase" class="combo_essential" appearance="minimal" style="left:110px; top:1px; width:152px; height:19px; ">
  247. <choices>
  248. <itemset nodeset="/root/init/plceordbase">
  249. <label ref="cdnm"/>
  250. <value ref="cdid"/>
  251. </itemset>
  252. </choices>
  253. </select1>
  254. <caption id="caption78" class="cell_1" style="left:0px; top:0px; width:108px; height:23px; vertical-align:middle; ">발주기준</caption>
  255. <input id="ipt_mmavguseqty" ref="/root/main/gooddet/gooddetlist/ddavguseqty" class="input_default" style="left:110px; top:26px; width:152px; height:19px; text-align:right; "/>
  256. <caption id="caption79" class="cell_1" style="left:264px; top:24px; width:108px; height:23px; vertical-align:middle; ">재고보유일수</caption>
  257. <input id="ipt_prprtystocpossndayno" ref="/root/main/gooddet/gooddetlist/prprtystocpossndayno" class="input_default" style="left:374px; top:26px; width:155px; height:19px; text-align:right; "/>
  258. <select1 id="cmb_plceordqtycretflag" ref="/root/main/gooddet/gooddetlist/plceordqtycretflag" class="combo_essential" appearance="minimal" style="left:374px; top:1px; width:155px; height:19px; ">
  259. <choices>
  260. <itemset nodeset="/root/init/plceordqtycretflag">
  261. <label ref="cdnm"/>
  262. <value ref="cdid"/>
  263. </itemset>
  264. </choices>
  265. </select1>
  266. <caption id="caption64" class="cell_1" style="left:0px; top:53px; width:108px; height:23px; vertical-align:middle; ">Angio물품여부</caption>
  267. <bool id="bool3" checkvalue="Y,N" ref="/root/main/gooddet/gooddetlist/limdrugyn" style="left:110px; top:55px; width:30px; height:20px; text-align:left; "/>
  268. </group>
  269. <caption id="caption26" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">부가입력정보</caption>
  270. </case>
  271. <case id="case4">
  272. <button id="button5" class="btn5_letter6" navindex="88" style="left:441px; top:3px; width:86px; height:19px; ">
  273. <caption>물품기관복사</caption>
  274. <script type="javascript" ev:event="DOMActivate">
  275. <![CDATA[
  276. grp_instcopy.visible = true;
  277. ]]>
  278. </script>
  279. </button>
  280. <group id="grp_instcopy" visibility="hidden" style="left:145px; top:1px; width:385px; height:25px; ">
  281. <select1 id="cmb_instcopy" ref="/root/send/goodlist/instcdcopy" class="combo_s_essential" appearance="minimal" style="left:100px; top:2px; width:146px; height:19px; ">
  282. <choices>
  283. <itemset nodeset="/root/init/instcopy">
  284. <label ref="cdnm"/>
  285. <value ref="cdid"/>
  286. </itemset>
  287. </choices>
  288. </select1>
  289. <caption id="caption47" class="search_name" style="left:10px; top:2px; width:91px; height:17px; ">대상기관 :</caption>
  290. <button id="button4" class="btn5_letter5" navindex="47" style="left:250px; top:2px; width:75px; height:19px; ">
  291. <caption>Copy 저장</caption>
  292. <script type="javascript" ev:event="DOMActivate">
  293. <![CDATA[
  294. if (model.getValue(grd_instinfo.nodeset+"[instcd='"+cmb_instcopy.value+"']/instcd") !="") {
  295. alert("선택 기관에 이미 있는 물품입니다");
  296. return;
  297. }
  298. fSaveGoodInstCopy();
  299. ]]>
  300. </script>
  301. </button>
  302. <button id="button10" class="btn4_letter2" style="left:329px; top:1px; width:56px; height:22px; ">
  303. <caption>취소</caption>
  304. <script type="javascript" ev:event="DOMActivate">
  305. <![CDATA[
  306. grp_instcopy.visible = false;
  307. ]]>
  308. </script>
  309. </button>
  310. </group>
  311. <datagrid id="grd_instinfo" nodeset="/root/main/list/gooddet/goodinstlist" caption="기관코드^기관명" colsep="^" colwidth="103, 410" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:29px; width:533px; height:116px; ">
  312. <col ref="instcd"/>
  313. <col ref="instnm"/>
  314. </datagrid>
  315. <caption id="caption87" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">사용기관정보</caption>
  316. <line id="line35" class="line_1" style="x1:0px; y1:24px; x2:533; y2:24px; "/>
  317. </case>
  318. <case id="case5">
  319. <datagrid id="grd_rscdgchglist" nodeset="/root/main/list/gooddet/rscdgchglist" caption="적용일자^고시^OLD 단가^NEW 단가^OLD Edi Code^NEW Edi Code^OLD 공급처 Code^NEW 공급처 Code^기관코드^물품코드" colsep="^" colwidth="93, 157, 100, 100, 100, 100, 2, 0, 55, 76" ellipsis="true" extendlastcol="scroll" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:29px; width:533px; height:116px; ">
  320. <col ref="fromdd" format="yyyy-mm-dd" _key="true"/>
  321. <col ref="chgcmt"/>
  322. <col ref="oldgoodunitcost" format="#,###" style="text-align:right; "/>
  323. <col ref="newgoodunitcost" format="#,###" style="text-align:right; "/>
  324. <col ref="oldedicd"/>
  325. <col ref="newedicd"/>
  326. <col ref="oldsuppcustcd" visibility="hidden"/>
  327. <col ref="newsuppcustcd" visibility="hidden"/>
  328. <col ref="instcd" visibility="hidden" _key="true"/>
  329. <col ref="goodcd" visibility="hidden" _key="true"/>
  330. </datagrid>
  331. <line id="line13" class="line_1" style="x1:0px; y1:24px; x2:533px; y2:24px; "/>
  332. <caption id="caption8" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">고시내역</caption>
  333. </case>
  334. <case id="case3">
  335. <datagrid id="grd_oldcdinfo" nodeset="/root/main/list/gooddet/oldcdinfo" caption="구코드^물품명" colsep="^" colwidth="103, 410" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:29px; width:533px; height:116px; ">
  336. <col ref="oldcd"/>
  337. <col ref="goodnm"/>
  338. </datagrid>
  339. <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:95px; height:14px; ">구코드</caption>
  340. <line id="line1" class="line_1" style="x1:0px; y1:24px; x2:533; y2:24px; "/>
  341. </case>
  342. <case id="case8">
  343. <datagrid id="datagrid1" nodeset="/root/main/list/gooddet/rscdtchglist" caption="기관코드^테이블^테이블명^변경일시^물품분류^물품코드^컬럼^변경항목^컬럼코멘드^변경전변경값^변경전^변경후변경값^변경후^컬럼구분^비고^수정자^수정자명" colsep="^" colwidth="0, 0, 0, 117, 0, 0, 0, 105, 0, 0, 100, 0, 100, 0, 100, 0, 100" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:27px; width:533px; height:116px; ">
  344. <col ref="instcd" visibility="hidden"/>
  345. <col ref="tabname" visibility="hidden"/>
  346. <col ref="comments" visibility="hidden"/>
  347. <col ref="changedt"/>
  348. <col ref="changefl" visibility="hidden"/>
  349. <col ref="changecd" visibility="hidden"/>
  350. <col ref="colname"/>
  351. <col ref="colcomt"/>
  352. <col ref="colcomt2"/>
  353. <col ref="oldvalue"/>
  354. <col ref="oldvalnm"/>
  355. <col ref="newvalue"/>
  356. <col ref="newvalnm"/>
  357. <col ref="colflag"/>
  358. <col ref="cmt" visibility="hidden"/>
  359. <col ref="lastupdtrid"/>
  360. <col ref="lastupdtridnm"/>
  361. </datagrid>
  362. <caption id="caption60" class="tit_2" style="left:5px; top:8px; width:119px; height:13px; ">변경세부이력</caption>
  363. <line id="line4" class="line_1" style="x1:0px; y1:22px; x2:533px; y2:22px; "/>
  364. </case>
  365. </switch>
  366. <button id="btn_insert" class="btn2_letter2" navindex="90" visibility="hidden" style="left:595px; top:120px; width:42px; height:19px; ">
  367. <caption>입력</caption>
  368. <script type="javascript" ev:event="DOMActivate">
  369. <![CDATA[
  370. misfGridInit(grd_gooddetlist);
  371. misfGridIUD(grd_gooddetlist, "A");
  372. fDefaultSetting();
  373. model.copyNode("/root/main/gooddet/gooddetlist","/root/main/list/gooddet/gooddetlist");
  374. //if(cmb_asetflag.length> 0) cmb_asetflag.selectedindex= 0;
  375. if(ipt_fromdd.attribute("background-color") == "#c0c0c0")ipt_fromdd.attribute("background-color") = "#ffffff";
  376. model.refresh();
  377. model.setFocus("ipt_goodcd");
  378. ]]>
  379. </script>
  380. </button>
  381. <button id="btn_choidel" class="btn2_letter5" navindex="26" visibility="hidden" style="left:515px; top:120px; width:75px; height:19px; ">
  382. <caption>선택행삭제</caption>
  383. <script type="javascript" ev:event="DOMActivate">
  384. <![CDATA[
  385. misfGridIUD(grd_gooddetlist, "D");
  386. misfGridIUD(grd_goodlist, "D");
  387. ]]>
  388. </script>
  389. </button>
  390. <button id="btn_instcd" class="btn_sw" group="tab2" style="left:255px; top:584px; width:90px; height:22px; ">
  391. <caption>사용기관정보</caption>
  392. <toggle case="case4" ev:event="DOMActivate"/>
  393. </button>
  394. <button id="btn_addinfo" class="btn_sw" group="tab2" style="left:165px; top:584px; width:90px; height:22px; ">
  395. <caption>부가입력정보</caption>
  396. <toggle case="case2" ev:event="DOMActivate"/>
  397. </button>
  398. <button id="button2" class="btn2_letter8" navindex="29" style="left:921px; top:119px; width:108px; height:19px; ">
  399. <caption>신규재료신청등록</caption>
  400. <script type="javascript" ev:event="DOMActivate">
  401. <![CDATA[
  402. model.removenode(gvParamPath +"/SMRSD04500_/SMRSD04500_value");
  403. rszfOpenPopUpListByWndName(ipt_winacnt,"","","SMRSD04500","newmatrprcsstat,openergoodmgt","5,Y");
  404. model.removenode("/root/copynode");
  405. model.makeNode("/root/copynode");
  406. var CSV = model.getValue(gvParamPath + "/SMRSD04500_/SMRSD04500_value");
  407. setCSVToNode("/root/copynode", CSV, "newmstgood");
  408. var copynode = "/root/copynode/newmstgood";
  409. var newgoodcd = model.getValue(copynode + "/goodcd");
  410. if(newgoodcd.length > 0)
  411. {
  412. var currow = grd_goodlist.findRow(newgoodcd,grd_goodlist.fixedRows, grd_goodlist.colRef("goodcd"), false,true);
  413. //신규코드로 등록된 코드가 존재한다면(존재할 경우는 없지만서도..)
  414. if(currow > -1)
  415. {
  416. grd_goodlist.row = currow;
  417. return;
  418. }
  419. else
  420. {
  421. /*
  422. if(model.getValue(grd_gooddetlist.nodeset + "/goodflag") != model.getValue(cmb_goodflag.attribute("ref"))
  423. {
  424. messageBox("신규재료 물품과 물품구분이 맞지 않습니다[" +model.getValue(grd_gooddetlist.nodeset + "/goodcd") + "]" ,"I");
  425. return;
  426. }
  427. */
  428. misfGridInit(grd_gooddetlist);
  429. misfGridIUD(grd_gooddetlist, "A");
  430. model.setValue(grd_gooddetlist.nodeset + "/goodflag" , model.getValue(copynode + "/goodflag"));
  431. model.setValue(grd_gooddetlist.nodeset + "/goodcd" , model.getValue(copynode + "/goodcd"));
  432. model.setValue(grd_gooddetlist.nodeset + "/fromdd" , getCurrentDate());
  433. model.setValue(grd_gooddetlist.nodeset + "/lrgcd" , model.getValue(copynode + "/lrgcd"));
  434. model.setValue(grd_gooddetlist.nodeset + "/lrgnm" , model.getValue(copynode + "/lrgnm"));
  435. model.setValue(grd_gooddetlist.nodeset + "/mdlcd" , model.getValue(copynode + "/mdlcd"));
  436. model.setValue(grd_gooddetlist.nodeset + "/mdlnm" , model.getValue(copynode + "/mdlnm"));
  437. model.setValue(grd_gooddetlist.nodeset + "/prodcmpycd", model.getValue(copynode + "/prodcmpycd"));
  438. model.setValue(grd_gooddetlist.nodeset + "/prodcmpynm", model.getValue(copynode + "/prodcmpynm"));
  439. model.setValue(grd_gooddetlist.nodeset + "/goodhngnm" , model.getValue(copynode + "/goodhngnm"));
  440. model.setValue(grd_gooddetlist.nodeset + "/goodengnm" , model.getValue(copynode + "/goodengnm"));
  441. model.setValue(grd_gooddetlist.nodeset + "/asetflag" , model.getValue(copynode + "/asetflag"));
  442. model.setValue(grd_gooddetlist.nodeset + "/goodspec" , model.getValue(copynode + "/goodspec"));
  443. model.setValue(grd_gooddetlist.nodeset + "/goodmodel" , model.getValue(copynode + "/goodmodel"));
  444. model.copyNode("/root/main/gooddet/gooddetlist","/root/main/list/gooddet/gooddetlist");
  445. grp_detail.refresh();
  446. return;
  447. }
  448. }
  449. ]]>
  450. </script>
  451. </button>
  452. <button id="btn_costhistinfo" class="btn_sw" group="tab2" selected="true" style="left:90px; top:584px; width:75px; height:22px; ">
  453. <caption>이력정보</caption>
  454. <toggle case="case1" ev:event="DOMActivate"/>
  455. </button>
  456. <line id="line2" class="line_1" style="x1:540px; y1:140px; x2:1195px; y2:140px; "/>
  457. <group id="grp_title" style="left:0px; top:9px; width:1195px; height:106px; vertical-align:top; ">
  458. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:105px; "/>
  459. <input id="ipt_prodcmpynm_search" ref="/root/send/goodlist/prodcmpynm" class="output_fix" navindex="-1" editable="false" style="left:952px; top:55px; width:153px; height:19px; "/>
  460. <caption id="caption88" class="search_name" style="left:5px; top:33px; width:90px; height:17px; ">EDI코드 :</caption>
  461. <caption id="caption89" class="search_name" style="left:481px; top:10px; width:85px; height:17px; ">물품코드:</caption>
  462. <caption id="caption90" class="search_name" style="left:230px; top:10px; width:86px; height:17px; ">물품구분:</caption>
  463. <caption id="caption91" class="search_name" style="left:230px; top:33px; width:86px; height:17px; ">대 분 류 :</caption>
  464. <caption id="caption93" class="search_name" style="left:481px; top:56px; width:85px; height:17px; ">규 격 :</caption>
  465. <caption id="caption95" class="search_name" style="left:773px; top:56px; width:95px; height:17px; ">제조회사 :</caption>
  466. <caption id="caption96" class="search_name" style="left:230px; top:79px; width:86px; height:17px; ">소 분 류 :</caption>
  467. <caption id="caption97" class="search_name" style="left:481px; top:79px; width:85px; height:17px; ">모 델 :</caption>
  468. <line id="line36" class="line_4" style="x1:1109px; y1:7px; x2:1109px; y2:98px; "/>
  469. <button id="btn_search" class="btn1_letter2" navindex="22" style="left:1124px; top:42px; width:56px; height:22px; text-align:left; ">
  470. <caption>조회</caption>
  471. <script type="javascript" ev:event="DOMActivate">
  472. <![CDATA[
  473. if ( switch1.selectedIndex == 0) {
  474. var node = instance1.selectNodes("/root/temp/good");
  475. if(node.length < 0 ){
  476. if (fCheckRetrieveData() == false)return;
  477. }
  478. misfGridInit(grd_goodlist );
  479. misfGridInit(grd_instgoodlist);
  480. model.setValue("/root/send/goodlist/filecls","D");
  481. fRetrGoodList(false);
  482. }
  483. if ( switch1.selectedIndex == 1) {
  484. model.setValue("/root/send/goodlist/filecls","M");
  485. model.setValue("/root/send/goodlist/filecls","M");
  486. submit("TRRSC05310");
  487. }
  488. if ( switch1.selectedIndex == 2) {
  489. model.setValue("/root/send/goodlist/filecls","M");
  490. model.setValue("/root/send/goodlist/appinstdata",getUserInfo("dutplceinstcd"));
  491. submit("TRRSC05311");
  492. }
  493. if( switch1.selectedindex == 3) {
  494. submit("TRRSC05314");
  495. }
  496. ]]>
  497. </script>
  498. </button>
  499. <select1 id="cmb_goodflag_search" ref="/root/send/goodlist/goodflag" class="combo_s_essential" navindex="5" appearance="minimal" editmode="search" style="left:315px; top:9px; width:148px; height:19px; ">
  500. <choices>
  501. <itemset nodeset="/root/init/goodflag">
  502. <label ref="cdnm"/>
  503. <value ref="cdid"/>
  504. </itemset>
  505. </choices>
  506. <script type="javascript" ev:event="xforms-value-changed">
  507. <![CDATA[
  508. misfGridInit(grd_goodlist);
  509. misfGridInit(grd_gooddetlist);
  510. misfGridInit(grd_costhistinfo);
  511. misfGridInit(grd_instinfo);
  512. misfGridInit(grd_oldcdinfo);
  513. model.resetInstanceNode("/root/main/gooddet/gooddetlist");
  514. //권한체크.
  515. fSetGoodFlagAuth();
  516. rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), "", "", "cmb_lrgcd_search", "", "L", "Y", "Y");
  517. cmb_mdlcd_search.value='';
  518. cmb_smlcd_search.value='';
  519. model.refresh();
  520. //misfGridInit(grd_gooddetlist);
  521. //btn_search.dispatch("DOMActivate");
  522. ]]>
  523. </script>
  524. </select1>
  525. <input id="ipt_goodnm_search" ref="/root/send/goodlist/goodnm" class="input_search" navindex="10" style="left:565px; top:32px; width:184px; height:19px; ">
  526. <script type="javascript" ev:event="onkeydown">
  527. <![CDATA[
  528. if (event.keyCode == 13)
  529. {
  530. ipt_goodnm_search.value = ipt_goodnm_search.currentText;
  531. ipt_goodnm_search.refresh();
  532. btn_search.dispatch("DOMActivate");
  533. }
  534. ]]>
  535. </script>
  536. </input>
  537. <input id="ipt_edicd_search" ref="/root/send/goodlist/edicd" class="input_search" navindex="2" _chartype="upper" style="left:90px; top:32px; width:131px; height:19px; "/>
  538. <input id="ipt_goodcd_search" ref="/root/send/goodlist/goodcd" class="input_search" navindex="9" imemode="disabled" maxlength="12" _chartype="upper" style="left:565px; top:9px; width:85px; height:19px; ">
  539. <script type="javascript" ev:event="onkeydown">
  540. <![CDATA[
  541. if (event.keyCode == 13)
  542. {
  543. ipt_goodcd_search.value = ipt_goodcd_search.currentText;
  544. ipt_goodcd_search.refresh();
  545. btn_search.dispatch("DOMActivate");
  546. }
  547. ]]>
  548. </script>
  549. </input>
  550. <input id="ipt_goodspec_search" ref="/root/send/goodlist/spec" class="input_search" navindex="11" style="left:565px; top:55px; width:184px; height:19px; "/>
  551. <input id="ipt_prodcmpy_search" ref="/root/send/goodlist/prodcmpy" class="input_search" navindex="18" style="left:860px; top:55px; width:70px; height:19px; ">
  552. <script type="javascript" ev:event="xforms-value-changed">
  553. <![CDATA[
  554. if(ipt_prodcmpy_search.value != "")
  555. {
  556. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
  557. "prodcmpycd," + model.getValue(ipt_prodcmpy_search.attribute("ref")) + "," ,
  558. "","prodcmpy,prodcmpynm" ,ipt_prodcmpy_search,"SPRSD00160","","");
  559. }else{
  560. ipt_prodcmpynm_search.value = "";
  561. }
  562. grp_title.refresh();
  563. ]]>
  564. </script>
  565. </input>
  566. <button id="button6" class="icon_search" style="left:934px; top:57px; width:16px; height:16px; ">
  567. <caption/>
  568. <script type="javascript" ev:event="DOMActivate">
  569. <![CDATA[
  570. rszfOpenPopUpListByWndName(ipt_prodcmpy_search,"","prodcmpy,prodcmpynm","SPRSD00160","","");
  571. grp_title.refresh();
  572. ]]>
  573. </script>
  574. </button>
  575. <input id="ipt_goodmodel_search" ref="/root/send/goodlist/model" class="input_search" navindex="12" style="left:565px; top:78px; width:184px; height:19px; "/>
  576. <caption id="caption98" class="search_name" style="left:5px; top:10px; width:90px; height:17px; ">기 관 :</caption>
  577. <caption id="caption99" class="search_name" style="left:5px; top:56px; width:90px; height:17px; ">구코드:</caption>
  578. <select1 id="rbo_instflag" ref="/root/send/goodlist/instflag" visibility="hidden" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:699px; top:10px; width:30px; height:15px; background-color:transparent; border-style:none; ">
  579. <choices>
  580. <itemset nodeset="/root/init/instflag">
  581. <label ref="label"/>
  582. <value ref="value"/>
  583. </itemset>
  584. </choices>
  585. </select1>
  586. <input id="ipt_oldcd_search" ref="/root/send/goodlist/oldcd" class="input_search" navindex="3" maxlength="12" _chartype="upper" style="left:90px; top:55px; width:131px; height:19px; ">
  587. <script type="javascript" ev:event="onkeydown">
  588. <![CDATA[
  589. if (event.keyCode == 13)
  590. {
  591. ipt_oldcd_search.value = ipt_oldcd_search.currentText;
  592. ipt_oldcd_search.refresh();
  593. btn_search.dispatch("DOMActivate");
  594. }
  595. ]]>
  596. </script>
  597. </input>
  598. <select1 id="cmb_lrgcd_search" ref="/root/send/goodlist/lrgcd" navindex="6" appearance="minimal" style="left:315px; top:32px; width:148px; height:19px; ">
  599. <choices>
  600. <itemset>
  601. <label/>
  602. <value/>
  603. </itemset>
  604. </choices>
  605. <script type="javascript" ev:event="xforms-value-changed">
  606. <![CDATA[
  607. rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M", "Y", "Y");
  608. cmb_mdlcd_search.value="";
  609. cmb_mdlcd_search.refresh();
  610. cmb_mdlcd_search.dispatch("xforms-value-changed");
  611. //model.refresh();
  612. ]]>
  613. </script>
  614. </select1>
  615. <select1 id="cmb_smlcd_search" ref="/root/send/goodlist/smlcd" navindex="8" appearance="minimal" style="left:315px; top:78px; width:148px; height:19px; ">
  616. <choices>
  617. <itemset>
  618. <label/>
  619. <value/>
  620. </itemset>
  621. </choices>
  622. </select1>
  623. <select1 id="cmb_mdlcd_search" ref="/root/send/goodlist/mdlcd" navindex="7" appearance="minimal" style="left:315px; top:55px; width:148px; height:19px; ">
  624. <choices>
  625. <itemset>
  626. <label/>
  627. <value/>
  628. </itemset>
  629. </choices>
  630. <script type="javascript" ev:event="xforms-value-changed">
  631. <![CDATA[
  632. rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), cmb_lrgcd_search.value, cmb_mdlcd_search.value, "cmb_smlcd_search", "", "S", "Y", "Y");
  633. cmb_smlcd_search.value="";
  634. //model.refresh();
  635. cmb_smlcd_search.refresh();
  636. ]]>
  637. </script>
  638. </select1>
  639. <caption id="caption34" style="left:955px; top:10px; width:15px; height:20px; font-weight:bold; ">~</caption>
  640. <input id="input23" ref="/root/send/goodlist/fr_fromdd" class="input_default" navindex="13" inputtype="date" style="left:860px; top:9px; width:85px; height:19px; "/>
  641. <input id="input1" ref="/root/send/goodlist/to_fromdd" class="input_default" navindex="14" inputtype="date" style="left:980px; top:9px; width:85px; height:19px; "/>
  642. <caption id="caption36" class="search_name" style="left:773px; top:10px; width:87px; height:17px; ">적용기간 :</caption>
  643. <caption id="caption94" class="search_name" style="left:230px; top:56px; width:86px; height:17px; ">중 분 류 :</caption>
  644. <input id="ipt_userinstcd" ref="/root/send/goodlist/userinstcd" style="left:90px; top:9px; width:60px; height:19px; "/>
  645. <select1 id="cmb_instcd" ref="/root/send/goodlist/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:90px; top:9px; width:131px; height:19px; ">
  646. <choices>
  647. <itemset nodeset="/root/init/goodflag">
  648. <label ref="cdnm"/>
  649. <value ref="cdid"/>
  650. </itemset>
  651. </choices>
  652. </select1>
  653. <button id="button7" class="icon_search" style="left:934px; top:81px; width:16px; height:16px; ">
  654. <caption/>
  655. <script type="javascript" ev:event="DOMActivate">
  656. <![CDATA[
  657. rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce_search,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00220","instcd","cmb_instcd");
  658. grp_title.refresh();
  659. ]]>
  660. </script>
  661. </button>
  662. <input id="ipt_maincustlastsuplplce_search" ref="/root/send/goodlist/maincustlastsuplplce" class="input_search" navindex="20" style="left:860px; top:78px; width:70px; height:19px; ">
  663. <script type="javascript" ev:event="xforms-value-changed">
  664. <![CDATA[
  665. setInputNodeCurText();
  666. if(ipt_maincustlastsuplplce_search.value != ""){
  667. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  668. model.getValue(cmb_instcd.attribute("ref")) +",," + model.getValue(ipt_maincustlastsuplplce_search.attribute("ref"))
  669. ,"","maincustlastsuplplce,maincustlastsuplplcenm" ,ipt_maincustlastsuplplce_search,"SPRSD00220","instcd","cmb_instcd");
  670. }else{
  671. output2.value = "";
  672. }
  673. grp_title.refresh();
  674. ]]>
  675. </script>
  676. </input>
  677. <input id="output2" ref="/root/send/goodlist/maincustlastsuplplcenm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:952px; top:78px; width:153px; height:19px; "/>
  678. <caption id="caption55" class="search_name" style="left:773px; top:79px; width:97px; height:17px; ">주거래처 :</caption>
  679. <caption id="caption52" class="search_name" style="left:5px; top:79px; width:90px; height:17px; ">사용여부 :</caption>
  680. <select1 id="rdo_nonusegoodview" ref="/root/send/goodlist/nonusegoodview" navindex="4" appearance="full" cols="3" overflow="visible" style="left:90px; top:78px; width:65px; height:17px; border-style:none; ">
  681. <choices>
  682. <itemset nodeset="/root/init/nonusegoodview">
  683. <label ref="label"/>
  684. <value ref="value"/>
  685. </itemset>
  686. </choices>
  687. </select1>
  688. <caption id="caption56" class="search_name" style="left:481px; top:33px; width:85px; height:17px; ">물 품 명:</caption>
  689. <select id="checkbox2" ref="/root/send/goodlist/mngtflag" navindex="15" overflow="visible" appearance="full" style="left:860px; top:34px; width:75px; height:15px; border-style:none; ">
  690. <choices>
  691. <item>
  692. <label>SET여부</label>
  693. <value>S</value>
  694. </item>
  695. </choices>
  696. </select>
  697. <select id="checkbox3" ref="/root/send/goodlist/insuyn" navindex="16" overflow="visible" appearance="full" style="left:945px; top:34px; width:75px; height:15px; border-style:none; ">
  698. <choices>
  699. <item>
  700. <label>수가여부</label>
  701. <value>Y</value>
  702. </item>
  703. </choices>
  704. </select>
  705. <select id="checkbox4" ref="/root/send/goodlist/proddrugsetflag" navindex="17" overflow="visible" appearance="full" style="left:1030px; top:34px; width:75px; height:15px; border-style:none; ">
  706. <choices>
  707. <item>
  708. <label>그룹여부</label>
  709. <value>3</value>
  710. </item>
  711. </choices>
  712. </select>
  713. <caption id="caption61" class="search_name" style="left:773px; top:35px; width:87px; height:17px; ">세부구분 :</caption>
  714. </group>
  715. <button id="btn_excel" class="btn5_letter5" navindex="28" style="left:846px; top:119px; width:75px; height:19px; ">
  716. <caption>Excel 저장</caption>
  717. <script type="javascript" ev:event="DOMActivate">
  718. <![CDATA[
  719. //if(fCheckRetrieveData() == false)return;
  720. //submit("TRRSC05306"); 20090826 이창록 사용자 요구에 의하여 막음
  721. var insgoodflag = model.getValue("/root/tmp/insgoodflag");
  722. //
  723. if (insgoodflag=="1"){
  724. // 2010.05.18 서울 구매팀장 요구로 수정함. CHR
  725. if (getUserInfo("dutplceinstcd") != model.getValue(grd_goodlist.nodeset+"[1]/instcd")) {
  726. alert("타기관의 자료는 Excel DownLoad가 안됩니다. 기관담당자에게 문의 하십시요");
  727. return;
  728. }
  729. }
  730. var fileName = window.fileDialog("save", ",", false, "물품코드List", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  731. if (fileName != "")
  732. {
  733. //grd_excelgooddetlist.saveExcel(fileName, "물품코드");
  734. if(insgoodflag=="1"){
  735. grd_goodlist.saveExcel(fileName, "물품코드");
  736. }else if(insgoodflag=="2"){
  737. grd_instgoodlist.saveExcel(fileName, "물품코드");
  738. }else{
  739. grd_appinstgoodlist.saveExcel(fileName, "물품코드");
  740. }
  741. }
  742. ]]>
  743. </script>
  744. </button>
  745. <button id="button1" class="btn_sw" group="tab2" style="left:345px; top:584px; width:75px; height:22px; ">
  746. <caption>고시내역</caption>
  747. <toggle case="case5" ev:event="DOMActivate"/>
  748. </button>
  749. <button id="button3" class="btn_sw" group="tab2" style="left:420px; top:584px; width:75px; height:22px; ">
  750. <caption>구코드</caption>
  751. <toggle case="case3" ev:event="DOMActivate"/>
  752. </button>
  753. <button id="btn_instgood" class="btn_sw" group="tab1" style="left:0px; top:145px; width:90px; height:22px; ">
  754. <caption>기관물품</caption>
  755. <script type="javascript" ev:event="DOMActivate">
  756. <![CDATA[
  757. model.toggle("case6");
  758. model.removeNodeset("/root/tmp/insgoodflag");
  759. model.makeValue("/root/tmp/insgoodflag","1");
  760. ]]>
  761. </script>
  762. </button>
  763. <caption id="caption9" class="tit_2" style="left:0px; top:125px; width:69px; height:13px; ">물품목록</caption>
  764. <line id="line7" class="line_1" style="x1:0px; y1:140px; x2:535px; y2:140px; "/>
  765. <button id="btn_allgood" class="btn_sw" group="tab1" style="left:90px; top:145px; width:90px; height:22px; ">
  766. <caption>통합물품</caption>
  767. <toggle case="case7" ev:event="DOMActivate"/>
  768. <script type="javascript" ev:event="DOMActivate">
  769. <![CDATA[
  770. model.removeNodeset("/root/tmp/insgoodflag");
  771. model.makeValue("/root/tmp/insgoodflag","2");
  772. ]]>
  773. </script>
  774. </button>
  775. <caption id="caption48" style="left:80px; top:120px; width:355px; height:20px; ">:: 기관물품 복사는 아래 사용기관정보 Tab에서 하실 수 있습니다.</caption>
  776. <button id="btn_sgsave" class="btn4_letter4" navindex="30" style="left:1032px; top:118px; width:80px; height:22px; ">
  777. <caption>수가전송</caption>
  778. <script type="javascript" ev:event="DOMActivate">
  779. <![CDATA[
  780. if (messageBox("수가전송을", "Q004") != 7) {
  781. if(grd_gooddetlist.rowStatus(grd_gooddetlist.row) == 1)
  782. {
  783. messageBox("전송할 Data가 없습니다. 조회 후 다시 실행하세요.", "I999");
  784. return;
  785. }
  786. if(fCheckSaveData() == false)return;
  787. fSetDataCopy();
  788. model.refresh();
  789. if( grd_gooddetlist.rowStatus(grd_gooddetlist.row) == 2)
  790. {
  791. messageBox("변경된 Data 가 있어 수가전송작업을 중단하겠습니다.\n 변경된 Data는 모두 복구됩니다.", "I999");
  792. fRetrGoodList(false);
  793. return;
  794. }
  795. submit("TXRSC05303");
  796. messageBox("수가전송이 완료되었습니다.", "I999");
  797. //if (model.getValue(gvErrorMsgPath + "/type") != "error" && grd_goodlist.row > 0 )fRetrGoodList(true);//btn_search.dispatch("DOMActivate");
  798. }
  799. ]]>
  800. </script>
  801. </button>
  802. <button id="btn_save" class="btn4_letter4" navindex="31" style="left:1113px; top:118px; width:80px; height:22px; text-align:left; ">
  803. <caption>저 장</caption>
  804. <script type="javascript" ev:event="DOMActivate">
  805. <![CDATA[
  806. if(fCheckSaveData() == false)return;
  807. fSetDataCopy();
  808. model.refresh();
  809. misfSave("TXRSC05304");
  810. if (model.getValue(gvErrorMsgPath + "/type") != "error" ) {
  811. messageBox("저장"+"","I002");
  812. }
  813. // if (model.getValue(gvErrorMsgPath + "/type") != "error" && grd_goodlist.row > 0 )fRetrGoodList(true);//btn_search.dispatch("DOMActivate");
  814. /*
  815. {
  816. submit("TRRSC05301");
  817. grd_goodlist.clearStatus();
  818. }
  819. */
  820. ]]>
  821. </script>
  822. </button>
  823. <output id="opt_instnm" ref="/root/init/instnm" visibility="hidden" style="left:485px; top:120px; width:25px; height:19px; "/>
  824. <output id="opt_instcd" ref="/root/init/instcd" visibility="hidden" style="left:435px; top:120px; width:20px; height:19px; "/>
  825. <output id="output1" ref="/root/main/gooddet/gooddetlist/asetflag" visibility="hidden" style="left:460px; top:120px; width:20px; height:19px; "/>
  826. <button id="button8" class="btn_sw" group="tab2" style="left:0px; top:584px; width:90px; height:22px; ">
  827. <caption>변경세부이력</caption>
  828. <toggle case="case8" ev:event="DOMActivate"/>
  829. </button>
  830. <button id="btn_appinstgood" class="btn_sw10" group="tab1" style="left:180px; top:145px; width:125px; height:22px; ">
  831. <caption>통합물품기관요청내역</caption>
  832. <toggle case="case9" ev:event="DOMActivate"/>
  833. <script type="javascript" ev:event="DOMActivate">
  834. <![CDATA[
  835. model.removeNodeset("/root/tmp/insgoodflag");
  836. model.makeValue("/root/tmp/insgoodflag","3");
  837. ]]>
  838. </script>
  839. </button>
  840. <button id="btn_ext" class="btn2_letter4" navindex="24" style="left:469px; top:145px; width:64px; height:19px; ">
  841. <caption>확대보기</caption>
  842. <script type="javascript" ev:event="DOMActivate">
  843. <![CDATA[
  844. fChgGridExt();
  845. ]]>
  846. </script>
  847. </button>
  848. <button id="button9" class="btn_sw" group="tab1" style="left:316px; top:145px; width:125px; height:22px; ">
  849. <caption>통합물품변경이력</caption>
  850. <toggle case="case10" ev:event="DOMActivate"/>
  851. <script type="javascript" ev:event="DOMActivate">
  852. <![CDATA[
  853. model.removeNodeset("/root/tmp/insgoodflag");
  854. model.makeValue("/root/tmp/insgoodflag","4");
  855. ]]>
  856. </script>
  857. </button>
  858. <button id="button11" class="btn4_letter4" navindex="27" visibility="hidden" style="left:760px; top:118px; width:80px; height:22px; ">
  859. <caption>OCS전송</caption>
  860. <script type="javascript" ev:event="DOMActivate">
  861. <![CDATA[
  862. if (messageBox("OCS전송을", "Q004") != 7) {
  863. if(fCheckSaveData() == false)return;
  864. for(var k = grd_gooddetlist.fixedRows; k < grd_gooddetlist.rows;k++){
  865. grd_gooddetlist.rowStatus(k)="1";
  866. }
  867. model.makeValue("/root/send/delivedata/gooddetlist",grd_gooddetlist.getUpdateData());
  868. if(submit("TXRSC05308")){
  869. messageBox("OCS전송이 완료되었습니다.", "I999");
  870. btn_search.dispatch("DOMActivate");
  871. }else{
  872. messageBox("OCS전송이","E009");
  873. btn_search.dispatch("DOMActivate");
  874. return;
  875. }
  876. }
  877. ]]>
  878. </script>
  879. </button>
  880. </group>
  881. <group id="grp_detail" style="left:540px; top:165px; width:665px; height:610px; ">
  882. <line id="line5" class="line_3" style="x1:0px; y1:411px; x2:653px; y2:411px; "/>
  883. <caption id="caption57" class="cell_1" style="left:0px; top:185px; width:55px; height:23px; vertical-align:middle; ">견적가</caption>
  884. <input id="ipt_estmamt" ref="/root/main/gooddet/gooddetlist/estmamt" class="input_default" maxlength="14.2" format="#,###.00" style="left:78px; top:187px; width:92px; height:19px; text-align:right; "/>
  885. <line id="line16" class="line_3" style="x1:0px; y1:606px; x2:653px; y2:606px; "/>
  886. <line id="line14" class="line_2" style="x1:0px; y1:595px; x2:653px; y2:595px; "/>
  887. <line id="line21" class="line_2" style="x1:0px; y1:523px; x2:653px; y2:523px; "/>
  888. <line id="line8" class="line_2" style="x1:0px; y1:331px; x2:653px; y2:331px; "/>
  889. <line id="line23" class="line_2" style="x1:0px; y1:82px; x2:653px; y2:82px; "/>
  890. <line id="line10" class="line_3" style="x1:0px; y1:109px; x2:653px; y2:109px; "/>
  891. <caption id="caption72" class="cell_1" style="left:0px; top:113px; width:70px; height:23px; vertical-align:middle; ">제조국</caption>
  892. <caption id="caption50" class="cell_1" style="left:0px; top:35px; width:70px; height:23px; vertical-align:middle; ">물품코드</caption>
  893. <caption id="caption30" class="cell_1" style="left:335px; top:84px; width:75px; height:23px; vertical-align:middle; ">모델명</caption>
  894. <input id="ipt_goodcd" ref="/root/main/gooddet/gooddetlist/goodcd" class="output_fix" navindex="-1" editable="false" imemode="disabled" maxlength="12" _chartype="upper" style="left:72px; top:37px; width:108px; height:19px; "/>
  895. <output id="opt_winacntnm" ref="/root/main/gooddet/gooddetlist/winacntnm" class="output_fix" appearance="output" style="left:519px; top:116px; width:132px; height:19px; "/>
  896. <caption id="caption42" class="cell_1" style="left:393px; top:35px; width:60px; height:23px; vertical-align:middle; ">제조회사</caption>
  897. <caption id="caption66" class="cell_1" style="left:445px; top:1px; width:65px; height:23px; vertical-align:middle; ">소분류</caption>
  898. <output id="opt_amtacntnm" ref="/root/main/gooddet/gooddetlist/amtacntnm" class="output_fix" visibility="hidden" appearance="output" style="left:519px; top:142px; width:132px; height:19px; "/>
  899. <button id="btn_winacnt" class="icon_search" style="left:500px; top:118px; width:16px; height:16px; ">
  900. <caption/>
  901. <script type="javascript" ev:event="DOMActivate">
  902. <![CDATA[
  903. rszfOpenPopUpListByWndName(ipt_winacnt,"","winacnt,winacntnm","PPRAC00100","","");
  904. model.refresh();
  905. ]]>
  906. </script>
  907. </button>
  908. <input id="ipt_goodspec" ref="/root/main/gooddet/gooddetlist/goodspec" class="output_fix" navindex="-1" editable="false" style="left:72px; top:86px; width:258px; height:19px; "/>
  909. <caption id="caption45" class="cell_1" style="left:0px; top:84px; width:70px; height:23px; vertical-align:middle; ">규격</caption>
  910. <caption id="caption35" class="cell_1" style="left:335px; top:114px; width:75px; height:23px; vertical-align:middle; ">계정과목</caption>
  911. <caption id="caption68" class="cell_1" style="left:0px; top:1px; width:70px; height:23px; vertical-align:middle; ">대분류</caption>
  912. <input id="ipt_goodmodel" ref="/root/main/gooddet/gooddetlist/goodmodel" class="output_fix" navindex="-1" editable="false" maxlength="150" style="left:414px; top:86px; width:237px; height:19px; ">
  913. <script type="javascript" ev:event="xforms-value-changed">
  914. <![CDATA[
  915. model.setFocus("ipt_goodspec");
  916. ]]>
  917. </script>
  918. </input>
  919. <button id="btn_amtacnt" class="icon_search" visibility="hidden" style="left:500px; top:142px; width:16px; height:16px; ">
  920. <caption/>
  921. <script type="javascript" ev:event="DOMActivate">
  922. <![CDATA[
  923. rszfOpenPopUpListByWndName(ipt_winacnt,"","amtacnt,amtacntnm","PPRAC00100","","");
  924. model.refresh();
  925. ]]>
  926. </script>
  927. </button>
  928. <caption id="caption7" class="cell_1" visibility="hidden" style="left:335px; top:139px; width:75px; height:23px; vertical-align:middle; ">비용계정</caption>
  929. <input id="ipt_winacnt" ref="/root/main/gooddet/gooddetlist/winacnt" class="input_essential" navindex="46" style="left:414px; top:116px; width:80px; height:19px; ">
  930. <script type="javascript" ev:event="xforms-value-changed">
  931. <![CDATA[
  932. rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_winacnt.attribute("ref")) ,"","winacnt,winacntnm" ,ipt_winacnt,"PPRAC00100","","");
  933. model.refresh();
  934. model.setFocus("ipt_amtacnt");
  935. ]]>
  936. </script>
  937. </input>
  938. <caption id="caption29" class="cell_1" style="left:228px; top:1px; width:65px; height:23px; vertical-align:middle; ">중분류</caption>
  939. <input id="ipt_prodcmpycd" ref="/root/main/gooddet/gooddetlist/prodcmpycd" class="output_fix" navindex="-1" editable="false" style="left:457px; top:37px; width:60px; height:19px; ">
  940. <script type="javascript" ev:event="xforms-value-changed">
  941. <![CDATA[
  942. if ( model.getValue(ipt_prodcmpycd.attribute("ref")).length == 0 ) model.setValue(opt_prodcmpynm.attribute("ref"),"");
  943. else rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm","prodcmpycd," + model.getValue(ipt_prodcmpycd.attribute("ref"))+"," ,"","prodcmpycd,prodcmpynm" ,ipt_prodcmpycd,"SPRSD00160","","");
  944. model.refresh();
  945. ]]>
  946. </script>
  947. </input>
  948. <input id="ipt_goodengnm" ref="/root/main/gooddet/gooddetlist/goodengnm" class="output_fix" navindex="-1" visibility="hidden" editable="false" imemode="alpha" maxlength="200" style="left:335px; top:56px; width:50px; height:19px; "/>
  949. <input id="ipt_amtacnt" ref="/root/main/gooddet/gooddetlist/amtacnt" class="input_default" navindex="48" visibility="hidden" style="left:414px; top:142px; width:81px; height:19px; ">
  950. <script type="javascript" ev:event="xforms-value-changed">
  951. <![CDATA[
  952. rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + model.getValue(ipt_amtacnt.attribute("ref")) ,"","amtacnt,amtacntnm" ,ipt_amtacnt,"PPRAC00100","","");
  953. model.refresh();
  954. model.setFocus("ipt_fromdd");
  955. ]]>
  956. </script>
  957. </input>
  958. <select1 id="cmb_prodplce" ref="/root/main/gooddet/gooddetlist/prodplce" class="combo" navindex="42" appearance="minimal" style="left:72px; top:115px; width:98px; height:19px; ">
  959. <choices>
  960. <itemset nodeset="/root/init/prodplce">
  961. <label ref="cdnm"/>
  962. <value ref="cdid"/>
  963. </itemset>
  964. </choices>
  965. <script type="javascript" ev:event="xforms-value-changed">
  966. <![CDATA[
  967. model.setValue("/root/main/gooddet/gooddetlist/prodplcenm",cmb_prodplce.label)
  968. model.setFocus("ipt_prodcmpycd");
  969. ]]>
  970. </script>
  971. </select1>
  972. <output id="opt_prodcmpynm" ref="/root/main/gooddet/gooddetlist/prodcmpynm" class="output_fix" navindex="-1" appearance="output" style="left:520px; top:37px; width:132px; height:19px; "/>
  973. <select1 id="cmb_goodflag" ref="/root/main/gooddet/gooddetlist/goodflag" class="combo_essential" visibility="hidden" appearance="minimal" editmode="search" style="left:72px; top:61px; width:106px; height:19px; ">
  974. <choices>
  975. <itemset nodeset="/root/init/goodflag">
  976. <label ref="cdnm"/>
  977. <value ref="cdid"/>
  978. </itemset>
  979. </choices>
  980. </select1>
  981. <input id="ipt_goodnm" ref="/root/main/gooddet/gooddetlist/goodnm" class="output_fix" navindex="-1" editable="false" maxlength="200" style="left:72px; top:61px; width:579px; height:19px; "/>
  982. <caption id="caption22" class="tit_2" style="left:5px; top:291px; width:95px; height:13px; ">품목세부사항</caption>
  983. <button id="btn_mngtdeptcd" class="icon_search" navindex="70" style="left:490px; top:337px; width:16px; height:16px; ">
  984. <caption/>
  985. <script type="javascript" ev:event="DOMActivate">
  986. <![CDATA[
  987. var recv_list = "mainmngtdeptcd,mainmngtdeptnm";
  988. misfOpenPopUpList("02", ipt_mngtdeptcd,"", recv_list) ;
  989. model.refresh();
  990. ]]>
  991. </script>
  992. </button>
  993. <select1 id="cmb_purcunit" ref="/root/main/gooddet/gooddetlist/purcunit" class="combo_essential" navindex="74" appearance="minimal" style="left:416px; top:366px; width:75px; height:19px; text-align:center; background-color:#ffff99; ">
  994. <choices>
  995. <itemset nodeset="/root/init/purcunit">
  996. <label ref="cdnm"/>
  997. <value ref="cdid"/>
  998. </itemset>
  999. </choices>
  1000. </select1>
  1001. <button id="btn_useinstinfo" class="btn2_letter7" navindex="68" style="left:232px; top:335px; width:97px; height:19px; ">
  1002. <caption>타기관내용복사</caption>
  1003. <script type="javascript" ev:event="DOMActivate">
  1004. <![CDATA[
  1005. fInstGoodCdCopy();
  1006. ]]>
  1007. </script>
  1008. </button>
  1009. <!--
  1010. [20090409 YYJ] 최소 청구량 => 최소 처방량으로 변경 20090409 16:50 이혜숙 차장님 요청사항
  1011. 기존 청구시점에서 청구시 수량에 대한 규제를 위해 설정 되었던 항목을
  1012. 구매팀에서 물품에 대한 참고 치로 사용을 한다 함. ( EDI와의 환산 수량의 의미 ).. 최소 처방량에 대한 단위는 관리 하지 않는다 함
  1013. -->
  1014. <input id="ipt_minexch" ref="/root/main/gooddet/gooddetlist/minexch" class="input_essential" navindex="78" maxlength="9" format="#,###" style="left:111px; top:447px; width:111px; height:19px; text-align:right; background-color:#ffff99; "/>
  1015. <caption id="caption53" class="cell_1" style="left:0px; top:333px; width:108px; height:23px; vertical-align:middle; ">적용일자</caption>
  1016. <caption id="caption21" class="cell_1" style="left:0px; top:363px; width:110px; height:23px; vertical-align:middle; ">처방단위</caption>
  1017. <button id="btn_photinfo" class="btn2_letter2" navindex="36" style="left:183px; top:37px; width:42px; height:19px; ">
  1018. <caption>사진</caption>
  1019. <script type="javascript" ev:event="DOMActivate">
  1020. <![CDATA[
  1021. //SPRSC00210
  1022. rszfOpenPopUpListByWndName(ipt_goodcd,"","","SPRSC00201" ,"instcd,goodcd","cmb_instcd,ipt_goodcd");
  1023. //rszfOpenPopUpListByWndName(ipt_goodcd,"","","SPRSC00201","goodcd","ipt_goodcd");
  1024. ]]>
  1025. </script>
  1026. </button>
  1027. <caption id="caption14" class="cell_1" style="left:0px; top:419px; width:108px; height:23px; vertical-align:middle; ">청구구분</caption>
  1028. <input id="ipt_divusenvalqty" ref="/root/main/gooddet/gooddetlist/divusenvalqty" class="input_default" navindex="91" maxlength="9" format="#,###.##" style="left:516px; top:503px; width:134px; height:19px; text-align:right; "/>
  1029. <select id="chk_reuseyn" ref="/root/main/gooddet/gooddetlist/reuseyn" overflow="visible" appearance="full" style="left:325px; top:505px; width:101px; height:15px; border-style:none; ">
  1030. <choices>
  1031. <item>
  1032. <label>분할사용여부</label>
  1033. <value>1</value>
  1034. </item>
  1035. </choices>
  1036. </select>
  1037. <caption id="caption16" class="cell_1" style="left:335px; top:333px; width:65px; height:23px; vertical-align:middle; ">관리부서</caption>
  1038. <input id="ipt_mngtdeptcd" ref="/root/main/gooddet/gooddetlist/mainmngtdeptcd" class="input_essential" navindex="69" style="left:401px; top:335px; width:85px; height:19px; ">
  1039. <script type="javascript" ev:event="xforms-value-changed">
  1040. <![CDATA[
  1041. misfValidationCheck("02", "", "mainmngtdeptcd,mainmngtdeptnm" );
  1042. model.refresh();
  1043. model.setFocus("ipt_reqflag");
  1044. ]]>
  1045. </script>
  1046. </input>
  1047. <select1 id="cmb_deliveunit" ref="/root/main/gooddet/gooddetlist/deliveunit" class="combo_essential" navindex="73" appearance="minimal" style="left:262px; top:366px; width:75px; height:19px; text-align:center; background-color:#ffff99; ">
  1048. <choices>
  1049. <itemset nodeset="/root/init/deliveunit">
  1050. <label ref="cdnm"/>
  1051. <value ref="cdid"/>
  1052. </itemset>
  1053. </choices>
  1054. </select1>
  1055. <input id="ipt_exchqty" ref="/root/main/gooddet/gooddetlist/exchqty" class="input_essential" navindex="75" maxlength="9" format="#,###" style="left:310px; top:390px; width:181px; height:19px; text-align:right; background-color:#ffff99; "/>
  1056. <output id="opt_mngtdeptnm" ref="/root/main/gooddet/gooddetlist/mainmngtdeptnm" class="output_fix" appearance="output" style="left:510px; top:335px; width:140px; height:19px; "/>
  1057. <select1 id="cmb_reqflag" ref="/root/main/gooddet/gooddetlist/reqflag" class="input_essential" navindex="77" appearance="minimal" style="left:111px; top:422px; width:111px; height:19px; background-color:#ffff99; ">
  1058. <choices>
  1059. <itemset nodeset="/root/init/reqflag">
  1060. <label ref="cdnm"/>
  1061. <value ref="cdid"/>
  1062. </itemset>
  1063. </choices>
  1064. <script type="javascript" ev:event="xforms-value-changed">
  1065. <![CDATA[
  1066. model.setValue("/root/main/gooddet/gooddetlist/reqflagnm",cmb_reqflag.label)
  1067. ]]>
  1068. </script>
  1069. </select1>
  1070. <input id="ipt_fromdd" ref="/root/main/gooddet/gooddetlist/fromdd" class="input_search" navindex="67" inputtype="date" style="left:111px; top:335px; width:111px; height:19px; background-color:#ffffff; ">
  1071. <script type="javascript" ev:event="xforms-value-changed">
  1072. <![CDATA[
  1073. var fromdd = model.getValue(ipt_fromdd.attribute("ref"));
  1074. var prefromdd = model.getValue(ipt_prefromdd.attribute("ref"));
  1075. // 미래일자 비교
  1076. var FutFromDD = model.getValue("/root/main/list/gooddet/goodconstlist["+1+"]/fromdd");
  1077. if(vGoodNew !="N"){ //신규 기관코드 생성시 적용일자에 과거일자 등록가능 (vGoodNew = "N" 신규 기관코드 flag)
  1078. var CurrentDD = getCurrentDate();
  1079. if(fromdd < CurrentDD) {
  1080. messageBox("오늘보다 이전일자로 변경할수 없습니다.", "E");
  1081. model.setValue(ipt_fromdd.attribute("ref"), prefromdd);
  1082. ipt_fromdd.refresh();
  1083. return;
  1084. }
  1085. if(fromdd < prefromdd) {
  1086. messageBox("현 적용일자보다 이전일자로 변경할수 없습니다.", "E");
  1087. model.setValue(ipt_fromdd.attribute("ref"), prefromdd);
  1088. ipt_fromdd.refresh();
  1089. return;
  1090. }
  1091. if(FutFromDD > CurrentDD) {
  1092. messageBox("현 적용일자보다 미래일자가 적용되어","I010");
  1093. model.setValue(ipt_fromdd.attribute("ref"), prefromdd);
  1094. ipt_fromdd.refresh();
  1095. return;
  1096. }
  1097. }
  1098. ]]>
  1099. </script>
  1100. </input>
  1101. <select1 id="cmb_setplceordflag" ref="/root/main/gooddet/gooddetlist/setplceordflag" class="combo_default" navindex="83" appearance="minimal" style="left:111px; top:479px; width:104px; height:19px; ">
  1102. <choices>
  1103. <itemset nodeset="/root/init/setplceordflag">
  1104. <label ref="cdnm"/>
  1105. <value ref="cdid"/>
  1106. </itemset>
  1107. </choices>
  1108. <script type="javascript" ev:event="xforms-value-changed">
  1109. <![CDATA[
  1110. model.setValue("/root/main/gooddet/gooddetlist/setplceordflagnm",cmb_setplceordflag.label)
  1111. ]]>
  1112. </script>
  1113. </select1>
  1114. <caption id="caption20" class="cell_1" style="left:0px; top:308px; width:108px; height:23px; vertical-align:middle; ">ALL SIZE 유무</caption>
  1115. <caption id="caption54" class="cell_1" style="left:350px; top:476px; width:82px; height:23px; vertical-align:middle; ">GROUP 구분</caption>
  1116. <button id="btn_goodsetrgst" class="btn2_letter2" navindex="86" style="left:607px; top:479px; width:42px; height:19px; ">
  1117. <caption>등록</caption>
  1118. <script type="javascript" ev:event="onclick">
  1119. <![CDATA[
  1120. if(model.getValue(cmb_proddrugsetflag.attribute("ref")).length == 0)
  1121. {
  1122. messageBox("SET등록을 하시려면 SET구분을 반드시" ,"C002");
  1123. model.setFocus("cmb_proddrugsetflag");
  1124. return;
  1125. }
  1126. /*
  1127. if(model.getValue(cmb_setplceordflag.attribute("ref")).length == 0)
  1128. {
  1129. messageBox("SET등록을 하시려면 SET발주구분을 반드시" ,"C002");
  1130. model.setFocus("cmb_setplceordflag");
  1131. return;
  1132. }
  1133. */
  1134. rszfOpenPopUpListByWndName(cmb_proddrugsetflag,"","","SPRSC00210","instcd,goodcd,goodnm,goodflag,proddrugsetflag","opt_instcd,ipt_goodcd,ipt_goodnm,cmb_goodflag,cmb_proddrugsetflag");
  1135. ]]>
  1136. </script>
  1137. </button>
  1138. <caption id="caption11" class="cell_1" style="left:0px; top:476px; width:108px; height:23px; vertical-align:middle; ">SET 발주구분</caption>
  1139. <select1 id="cmb_reqmthd" ref="/root/main/gooddet/gooddetlist/reqmthd" class="combo_essential" navindex="79" appearance="minimal" style="left:341px; top:422px; width:95px; height:19px; background-color:#ffff99; ">
  1140. <choices>
  1141. <itemset nodeset="/root/init/reqmthd">
  1142. <label ref="cdnm"/>
  1143. <value ref="cdid"/>
  1144. </itemset>
  1145. </choices>
  1146. <script type="javascript" ev:event="xforms-value-changed">
  1147. <![CDATA[
  1148. model.setValue("/root/main/gooddet/gooddetlist/reqmthdnm",cmb_reqmthd.label)
  1149. ]]>
  1150. </script>
  1151. </select1>
  1152. <caption id="caption12" class="cell_1" style="left:0px; top:501px; width:108px; height:23px; vertical-align:middle; ">재고관리기준</caption>
  1153. <select1 id="cmb_proddrugsetflag" ref="/root/main/gooddet/gooddetlist/proddrugsetflag" class="combo_default" navindex="85" appearance="minimal" style="left:435px; top:479px; width:170px; height:19px; ">
  1154. <choices>
  1155. <itemset nodeset="/root/init/proddrugsetflag">
  1156. <label ref="cdnm"/>
  1157. <value ref="cdid"/>
  1158. </itemset>
  1159. </choices>
  1160. <script type="javascript" ev:event="xforms-value-changed">
  1161. <![CDATA[
  1162. model.setValue("/root/main/gooddet/gooddetlist/proddrugsetflagnm",cmb_proddrugsetflag.label)
  1163. ]]>
  1164. </script>
  1165. </select1>
  1166. <select1 id="rdo_expnyny" ref="/root/main/gooddet/gooddetlist/expnyn" navindex="62" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:493px; top:289px; width:31px; height:19px; background-color:transparent; border-style:none; ">
  1167. <choices>
  1168. <itemset nodeset="/root/init/expnyn">
  1169. <label ref="label"/>
  1170. <value ref="value"/>
  1171. </itemset>
  1172. </choices>
  1173. </select1>
  1174. <caption id="caption59" class="cell_1" visibility="hidden" style="left:410px; top:285px; width:80px; height:23px; vertical-align:middle; ">고가여부</caption>
  1175. <select1 id="rdo_allsizeyny" ref="/root/main/gooddet/gooddetlist/allsizeyn" navindex="63" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:111px; top:310px; width:40px; height:19px; background-color:#ffff99; border-style:none; ">
  1176. <choices>
  1177. <itemset nodeset="/root/init/allsizeyn">
  1178. <label ref="label"/>
  1179. <value ref="value"/>
  1180. </itemset>
  1181. </choices>
  1182. </select1>
  1183. <select1 id="rdo_reqflag" ref="/root/main/gooddet/gooddetlist/tmpreqflag" navindex="80" appearance="full" cols="2" overflow="visible" style="left:313px; top:447px; width:132px; height:20px; background-color:transparent; border-style:none; ">
  1184. <choices>
  1185. <itemset nodeset="/root/init/tmpreqflag">
  1186. <label ref="label"/>
  1187. <value ref="value"/>
  1188. </itemset>
  1189. </choices>
  1190. </select1>
  1191. <caption id="caption18" class="cell_1" style="left:230px; top:444px; width:80px; height:23px; vertical-align:middle; ">임의청구구분</caption>
  1192. <caption id="caption19" class="cell_1" style="left:230px; top:419px; width:108px; height:23px; vertical-align:middle; ">청구방법</caption>
  1193. <button id="btn_allsizergst" class="btn2_letter2" navindex="64" style="left:287px; top:310px; width:42px; height:19px; ">
  1194. <caption>등록</caption>
  1195. <script type="javascript" ev:event="onclick">
  1196. <![CDATA[
  1197. if(model.getValue(ipt_goodcd.attribute("ref")).length == 0)
  1198. {
  1199. messageBox("물품코드를" ,"C001");
  1200. return;
  1201. }
  1202. if(model.getValue(rdo_allsizeyny.attribute("ref")) != "Y")
  1203. {
  1204. messageBox("ALL SIZE 여부를 [예]로" ,"C001");
  1205. return;
  1206. }
  1207. if(model.getValue(cmb_purcunit.attribute("ref")).length == 0)
  1208. {
  1209. messageBox("규격단위를" ,"C001");
  1210. return;
  1211. }
  1212. rszfOpenPopUpListByWndName(ipt_prodcmpycd,"","instcd,instnm,goodcd,goodnm,goodunit,mngtflag","SPRSC00212","instcd,instnm,goodcd,goodnm,goodunit,mngtflag","opt_instcd,opt_instnm,ipt_goodcd,ipt_goodnm,cmb_purcunit,chk_mngtflag");
  1213. var allsizeinfo = model.getValue(gvParamPath +"/SPRSC00212_/SPRSC00212_value");
  1214. if(allsizeinfo != "" && allsizeinfo != null) {
  1215. allsizeinfo = allsizeinfo.split("|");
  1216. if(allsizeinfo[0] > 0)model.setValue(rdo_allsizeyny.attribute("ref"),"Y");
  1217. else model.setValue(rdo_allsizeyny.attribute("ref"),"N");
  1218. model.refresh();
  1219. }
  1220. ]]>
  1221. </script>
  1222. </button>
  1223. <select1 id="cmb_reqprid" ref="/root/main/gooddet/gooddetlist/reqprid" class="input_essential" disabled="true" navindex="81" appearance="minimal" style="left:528px; top:422px; width:124px; height:19px; background-color:#ffff99; ">
  1224. <choices>
  1225. <itemset nodeset="/root/init/reqprid">
  1226. <label ref="cdnm"/>
  1227. <value ref="cdid"/>
  1228. </itemset>
  1229. </choices>
  1230. <script type="javascript" ev:event="xforms-value-changed">
  1231. <![CDATA[
  1232. model.setValue("/root/main/gooddet/gooddetlist/reqpridnm",cmb_reqprid.label)
  1233. ]]>
  1234. </script>
  1235. </select1>
  1236. <caption id="caption33" class="cell_1" style="left:445px; top:419px; width:80px; height:23px; vertical-align:middle; ">청구주기</caption>
  1237. <input id="ipt_mmavgusescheqty" ref="/root/main/gooddet/gooddetlist/mmavgusescheqty" class="input_default" navindex="82" maxlength="14.2" format="#,###.00" style="left:593px; top:447px; width:59px; height:19px; "/>
  1238. <input id="ipt_nonusetretdd" ref="/root/main/gooddet/gooddetlist/todd" class="input_default" navindex="92" inputtype="date" style="left:111px; top:528px; width:90px; height:19px; ">
  1239. <script type="javascript" ev:event="xforms-value-changed">
  1240. <![CDATA[
  1241. if(model.getValue("/root/main/gooddet/gooddetlist/todd") == "99991230"){
  1242. model.setValue("/root/main/gooddet/gooddetlist/todd","99991231");
  1243. ipt_nonusetretdd.refresh();
  1244. }
  1245. var CompTodd = model.getValue("/root/init/oldgoodlist/todd");
  1246. var CompFromdd = model.getValue("/root/init/oldgoodlist/fromdd");
  1247. var FromDD = model.getValue("/root/main/list/gooddet/goodconstlist["+1+"]/fromdd");
  1248. if(CompTodd!="99991231"){
  1249. if(FromDD!=CompFromdd){
  1250. messageBox("이미 불용된 코드","I009");
  1251. model.setValue("/root/main/gooddet/gooddetlist/todd",CompTodd);
  1252. ipt_nonusetretdd.refresh();
  1253. return;
  1254. }
  1255. }
  1256. ]]>
  1257. </script>
  1258. </input>
  1259. <caption id="caption51" class="cell_1" style="left:322px; top:550px; width:65px; height:23px; vertical-align:middle; ">신청자</caption>
  1260. <output id="opt_reqpsnnm" ref="/root/main/gooddet/gooddetlist/reqpsnnm" class="output_fix" appearance="output" style="left:505px; top:551px; width:146px; height:19px; "/>
  1261. <button id="btn_reqpsn" class="icon_search" style="left:485px; top:551px; width:16px; height:16px; ">
  1262. <caption/>
  1263. <script type="javascript" ev:event="DOMActivate">
  1264. <![CDATA[
  1265. /*
  1266. rszfOpenPopUpListByWndName(ipt_reqpsn,"","reqpsn,reqpsnnm","SPZSU10100","","");
  1267. var userinfo = model.getValue(gvParamPath +"/SPZSU10100_/SPZSU10100_value");
  1268. if(userinfo != "" && userinfo != null) {
  1269. userinfo = userinfo.split("|");
  1270. model.setValue(ipt_reqpsn.attribute("ref"),userinfo[0]);
  1271. model.setValue(opt_reqpsnnm.attribute("ref"),userinfo[1]);
  1272. }
  1273. model.refresh();
  1274. */
  1275. var recv_list = "reqpsn,reqpsnnm";
  1276. misfOpenPopUpList("12", ipt_reqpsn,"", recv_list) ;
  1277. model.refresh();
  1278. ]]>
  1279. </script>
  1280. </button>
  1281. <input id="ipt_reqpsn" ref="/root/main/gooddet/gooddetlist/reqpsn" class="input_default" navindex="95" style="left:390px; top:551px; width:90px; height:19px; "/>
  1282. <input id="ipt_nonusetretresn" ref="/root/main/gooddet/gooddetlist/nonusetretresn" class="input_default" navindex="94" style="left:111px; top:550px; width:200px; height:19px; "/>
  1283. <textarea id="tar_cmt" ref="/root/main/gooddet/gooddetlist/cmt" navindex="96" style="left:111px; top:573px; width:209px; height:30px; "/>
  1284. <caption id="caption13" class="cell_1" style="left:322px; top:525px; width:65px; height:23px; vertical-align:middle; ">신청부서</caption>
  1285. <caption id="caption5" class="cell_1" style="left:0px; top:526px; width:108px; height:43px; vertical-align:middle; ">코드불용일/사유</caption>
  1286. <button id="btn_reqdeptcd" class="icon_search" style="left:485px; top:531px; width:16px; height:16px; ">
  1287. <caption/>
  1288. <script type="javascript" ev:event="DOMActivate">
  1289. <![CDATA[
  1290. var recv_list = "reqdeptcd,reqdeptnm";
  1291. misfOpenPopUpList("02", ipt_reqdeptcd,"", recv_list) ;
  1292. model.refresh();
  1293. ]]>
  1294. </script>
  1295. </button>
  1296. <caption id="caption49" class="cell_1" style="left:482px; top:444px; width:108px; height:23px; vertical-align:middle; ">월평균예정사용량</caption>
  1297. <caption id="caption17" class="cell_1" style="left:0px; top:571px; width:108px; height:32px; vertical-align:middle; ">비고</caption>
  1298. <output id="opt_reqdeptnm" ref="/root/main/gooddet/gooddetlist/reqdeptnm" class="output_fix" appearance="output" style="left:505px; top:526px; width:146px; height:19px; "/>
  1299. <input id="ipt_reqdeptcd" ref="/root/main/gooddet/gooddetlist/reqdeptcd" class="input_default" navindex="93" style="left:390px; top:527px; width:90px; height:19px; ">
  1300. <script type="javascript" ev:event="xforms-value-changed">
  1301. <![CDATA[
  1302. misfValidationCheck("02", "", "reqdeptcd,reqdeptnm" );
  1303. model.refresh();
  1304. model.setFocus("ipt_mmavgusescheqty");
  1305. ]]>
  1306. </script>
  1307. </input>
  1308. <caption id="caption83" class="cell_1" style="left:334px; top:308px; width:65px; height:23px; vertical-align:middle; ">구코드</caption>
  1309. <input id="ipt_oldcd" ref="/root/main/gooddet/gooddetlist/oldcd" class="input_search" navindex="65" maxlength="12" style="left:401px; top:310px; width:85px; height:19px; "/>
  1310. <caption id="caption85" class="cell_1" style="left:0px; top:444px; width:108px; height:23px; vertical-align:middle; ">최소처방수량</caption>
  1311. <caption id="caption25" class="cell_1" style="left:194px; top:388px; width:114px; height:23px; vertical-align:middle; ">수불/구매환산수량</caption>
  1312. <caption id="caption24" class="cell_1" style="left:194px; top:363px; width:65px; height:23px; vertical-align:middle; ">수불단위</caption>
  1313. <caption id="caption28" class="cell_1" style="left:434px; top:501px; width:80px; height:23px; vertical-align:middle; ">분할사용수치</caption>
  1314. <caption id="caption3" class="cell_1" style="left:350px; top:363px; width:65px; height:23px; vertical-align:middle; ">구매단위</caption>
  1315. <select1 id="cmb_prcpunit" ref="/root/main/gooddet/gooddetlist/prcpunit" class="combo_essential" navindex="71" appearance="minimal" style="left:111px; top:366px; width:75px; height:19px; text-align:center; background-color:#ffff99; ">
  1316. <choices>
  1317. <itemset>
  1318. <label/>
  1319. <value/>
  1320. </itemset>
  1321. </choices>
  1322. </select1>
  1323. <caption id="caption4" class="cell_1" style="left:0px; top:388px; width:110px; height:23px; vertical-align:middle; ">처방/수불환산수량</caption>
  1324. <input id="ipt_prcpexchqty" ref="/root/main/gooddet/gooddetlist/prcpexchqty" class="input_essential" navindex="72" format="#,###" style="left:111px; top:390px; width:75px; height:19px; text-align:right; background-color:#ffff99; "/>
  1325. <input id="ipt_edicd" ref="/root/main/gooddet/gooddetlist/edicd" class="output_fix" navindex="-1" editable="false" _chartype="upper" style="left:296px; top:37px; width:87px; height:19px; "/>
  1326. <select1 id="rdo_insuyn" ref="/root/main/gooddet/gooddetlist/insuyn" navindex="44" appearance="full" cols="2" overflow="visible" style="left:240px; top:114px; width:90px; height:20px; background-color:#ffff99; border-style:none; ">
  1327. <choices>
  1328. <itemset nodeset="/root/init/insuyn">
  1329. <label ref="label"/>
  1330. <value ref="value"/>
  1331. </itemset>
  1332. </choices>
  1333. </select1>
  1334. <output id="opt_maincustlastsuplplcenm" ref="/root/main/gooddet/gooddetlist/maincustlastsuplplcenm" class="output_fix" appearance="output" style="left:193px; top:238px; width:154px; height:19px; background-color:#ffff99; "/>
  1335. <output id="opt_suppcustnm" ref="/root/main/gooddet/gooddetlist/suppcustnm" class="output_fix" appearance="output" style="left:193px; top:262px; width:154px; height:19px; background-color:#ffff99; "/>
  1336. <input id="ipt_maincustlastsuplplce" ref="/root/main/gooddet/gooddetlist/maincustlastsuplplce" class="input_essential" navindex="57" style="left:78px; top:238px; width:91px; height:19px; background-color:#ffff99; ">
  1337. <script type="javascript" ev:event="xforms-value-changed">
  1338. <![CDATA[
  1339. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm", model.getValue(opt_instcd.attribute("ref")) +",," + model.getValue(ipt_maincustlastsuplplce.attribute("ref")),"","maincustlastsuplplce,maincustlastsuplplcenm" ,ipt_maincustlastsuplplce,"SPRSD00220","instcd","opt_instcd");
  1340. model.refresh();
  1341. model.setFocus("ipt_suppcustcd");
  1342. ]]>
  1343. </script>
  1344. </input>
  1345. <caption id="caption40" class="cell_1" style="left:0px; top:210px; width:74px; height:23px; vertical-align:middle; ">구매구분</caption>
  1346. <button id="btn_suppcustcd" class="icon_search" style="left:173px; top:262px; width:16px; height:16px; ">
  1347. <caption/>
  1348. <script type="javascript" ev:event="DOMActivate">
  1349. <![CDATA[
  1350. rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","suppcustcd,suppcustnm","SPRSD00220","instcd","opt_instcd");
  1351. model.refresh();
  1352. ]]>
  1353. </script>
  1354. </button>
  1355. <caption id="caption31" class="tit_2" style="left:6px; top:169px; width:69px; height:13px; ">구매정보</caption>
  1356. <caption id="caption43" class="cell_1" style="left:173px; top:210px; width:79px; height:23px; vertical-align:middle; ">최종구매일자</caption>
  1357. <input id="ipt_lastpurcdd" ref="/root/main/gooddet/gooddetlist/lastpurcdd" class="input_default" navindex="52" inputtype="date" style="left:256px; top:213px; width:91px; height:19px; "/>
  1358. <line id="line27" class="line_3" style="x1:0px; y1:284px; x2:653px; y2:284px; "/>
  1359. <button id="btn_maincustlastsuplplce" class="icon_search" style="left:173px; top:238px; width:16px; height:16px; ">
  1360. <caption/>
  1361. <script type="javascript" ev:event="DOMActivate">
  1362. <![CDATA[
  1363. //rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00180","goodflag,prodcmpycd,prodcmpynm","cmb_goodflag,ipt_prodcmpycd,opt_prodcmpynm");
  1364. rszfOpenPopUpListByWndName(ipt_maincustlastsuplplce,"","maincustlastsuplplce,maincustlastsuplplcenm","SPRSD00220","instcd","opt_instcd");
  1365. model.refresh();
  1366. ]]>
  1367. </script>
  1368. </button>
  1369. <caption id="caption37" class="cell_1" style="left:0px; top:260px; width:74px; height:23px; vertical-align:middle; ">보조거래처</caption>
  1370. <select1 id="cmb_purcflag" ref="/root/main/gooddet/gooddetlist/purcflag" class="combo_essential" navindex="50" appearance="minimal" style="left:78px; top:213px; width:91px; height:19px; background-color:#ffff99; ">
  1371. <choices>
  1372. <itemset nodeset="/root/init/purcflag">
  1373. <label ref="cdnm"/>
  1374. <value ref="cdid"/>
  1375. </itemset>
  1376. </choices>
  1377. <script type="javascript" ev:event="xforms-value-changed">
  1378. <![CDATA[
  1379. model.setValue("/root/main/gooddet/gooddetlist/purcflagnm",cmb_purcflag.label)
  1380. if (cmb_purcflag.value == "1") {
  1381. model.setValue(cmb_stocmngtflag.attribute("ref"),"1")
  1382. } else {
  1383. model.setValue(cmb_stocmngtflag.attribute("ref"),"3")
  1384. }
  1385. cmb_stocmngtflag.refresh();
  1386. ]]>
  1387. </script>
  1388. </select1>
  1389. <caption id="caption27" class="cell_1" style="left:0px; top:235px; width:74px; height:23px; vertical-align:middle; ">주거래처</caption>
  1390. <input id="ipt_suppcustcd" ref="/root/main/gooddet/gooddetlist/suppcustcd" class="input_essential" navindex="58" style="left:78px; top:262px; width:91px; height:19px; background-color:#ffff99; ">
  1391. <script type="javascript" ev:event="xforms-value-changed">
  1392. <![CDATA[
  1393. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm", model.getValue(opt_instcd.attribute("ref")) +",," + model.getValue(ipt_suppcustcd.attribute("ref")), "","suppcustcd,suppcustnm" ,ipt_suppcustcd,"SPRSD00220","instcd","opt_instcd");
  1394. model.refresh();
  1395. ]]>
  1396. </script>
  1397. </input>
  1398. <caption id="caption62" class="cell_1" style="left:350px; top:185px; width:63px; height:23px; vertical-align:middle; ">화폐단위</caption>
  1399. <caption id="caption41" class="cell_1" style="left:350px; top:210px; width:63px; height:23px; vertical-align:middle; ">계약구분</caption>
  1400. <caption id="caption63" class="search_no_b" style="left:536px; top:262px; width:12px; height:17px; ">~</caption>
  1401. <input id="ipt_forgncurncyunitcost" ref="/root/main/gooddet/gooddetlist/forgncurncyunitcost" class="input_default" navindex="51" format="#,###.##" style="left:256px; top:187px; width:92px; height:19px; text-align:right; "/>
  1402. <select1 id="cmb_conflag" ref="/root/main/gooddet/gooddetlist/conflag" class="combo_essential" navindex="54" appearance="minimal" style="left:416px; top:213px; width:87px; height:19px; background-color:#ffff99; ">
  1403. <choices>
  1404. <itemset nodeset="/root/init/conflag">
  1405. <label ref="cdnm"/>
  1406. <value ref="cdid"/>
  1407. </itemset>
  1408. </choices>
  1409. <script type="javascript" ev:event="xforms-value-changed">
  1410. <![CDATA[
  1411. model.setValue("/root/main/gooddet/gooddetlist/conflagnm",cmb_conflag.label)
  1412. ]]>
  1413. </script>
  1414. </select1>
  1415. <caption id="caption58" class="cell_1" style="left:173px; top:185px; width:79px; height:23px; vertical-align:middle; ">외화단가</caption>
  1416. <select1 id="cmb_curncyunit" ref="/root/main/gooddet/gooddetlist/curncyunit" class="combo_default" navindex="53" appearance="minimal" style="left:416px; top:187px; width:87px; height:19px; ">
  1417. <choices>
  1418. <itemset nodeset="/root/init/curncyunit">
  1419. <label ref="cdnm"/>
  1420. <value ref="cdid"/>
  1421. </itemset>
  1422. </choices>
  1423. <script type="javascript" ev:event="xforms-value-changed">
  1424. <![CDATA[
  1425. model.setValue("/root/main/gooddet/gooddetlist/curncyunitnm",cmb_curncyunit.label)
  1426. ]]>
  1427. </script>
  1428. </select1>
  1429. <input id="ipt_fromconterm" ref="/root/main/gooddet/gooddetlist/fromconterm" class="input_essential" navindex="60" inputtype="date" style="left:433px; top:262px; width:102px; height:19px; ">
  1430. <script type="javascript" ev:event="xforms-value-changed">
  1431. <![CDATA[
  1432. if(model.getValue(ipt_toconterm.attribute("ref")).length > 0 && (model.getValue(ipt_toconterm.attribute("ref")) < model.getValue(ipt_fromconterm.attribute("ref"))) )
  1433. {
  1434. messageBox("계약시작일자는 계약 종료일자보다 크게 설정","E001");
  1435. model.setFocus("ipt_fromconterm");
  1436. }
  1437. ]]>
  1438. </script>
  1439. </input>
  1440. <input id="ipt_toconterm" ref="/root/main/gooddet/gooddetlist/toconterm" class="input_essential" navindex="61" inputtype="date" style="left:550px; top:262px; width:102px; height:19px; ">
  1441. <script type="javascript" ev:event="xforms-value-changed">
  1442. <![CDATA[
  1443. if(model.getValue(ipt_fromconterm.attribute("ref")).length > 0 && (model.getValue(ipt_toconterm.attribute("ref")) < model.getValue(ipt_fromconterm.attribute("ref"))) )
  1444. {
  1445. messageBox("계약시작일자는 계약 종료일자보다 크게 설정","E001");
  1446. model.setFocus("ipt_toconterm");
  1447. }
  1448. ]]>
  1449. </script>
  1450. </input>
  1451. <input id="ipt_addtaxrate" ref="/root/main/gooddet/gooddetlist/addtaxrate" class="input_default" navindex="55" style="left:570px; top:187px; width:82px; height:19px; "/>
  1452. <caption id="caption67" class="cell_1" style="left:0px; top:185px; width:74px; height:23px; vertical-align:middle; ">제품단가</caption>
  1453. <caption id="caption46" class="cell_1" style="left:505px; top:185px; width:63px; height:23px; vertical-align:middle; ">부가세율</caption>
  1454. <input id="ipt_goodunitcost" ref="/root/main/gooddet/gooddetlist/goodunitcost" class="input_default" navindex="49" maxlength="14.2" format="#,###.##" style="left:78px; top:187px; width:92px; height:19px; font-weight:bold; text-align:right; background-color:#ffff99; "/>
  1455. <input id="ipt_goodhngnm" ref="/root/main/gooddet/gooddetlist/goodhngnm" class="output_fix" navindex="-1" visibility="hidden" editable="false" imemode="hangul" maxlength="200" style="left:390px; top:56px; width:50px; height:19px; "/>
  1456. <line id="line22" class="line_2" style="x1:0px; y1:57px; x2:653px; y2:57px; "/>
  1457. <caption id="caption15" class="cell_1" style="left:228px; top:35px; width:65px; height:23px; vertical-align:middle; ">EDI코드</caption>
  1458. <caption id="caption23" class="cell_1" style="left:173px; top:113px; width:65px; height:23px; vertical-align:middle; ">수가여부</caption>
  1459. <caption id="caption6" class="cell_1" style="left:0px; top:59px; width:70px; height:23px; vertical-align:middle; ">물 품 명</caption>
  1460. <line id="line11" class="line_3" style="x1:0px; y1:26px; x2:653px; y2:26px; "/>
  1461. <caption id="caption32" class="cell_1" style="left:350px; top:260px; width:79px; height:23px; vertical-align:middle; ">단가계약기간</caption>
  1462. <line id="line25" class="line_3" style="x1:0px; y1:163px; x2:653px; y2:163px; "/>
  1463. <line id="line26" class="line_3" style="x1:0px; y1:182px; x2:653px; y2:182px; "/>
  1464. <line id="line15" class="line_3" style="x1:0px; y1:355px; x2:653px; y2:355px; "/>
  1465. <line id="line17" class="line_3" style="x1:0px; y1:468px; x2:653px; y2:468px; "/>
  1466. <line id="line3" class="line_3" style="x1:0px; y1:305px; x2:653px; y2:305px; "/>
  1467. <select id="chk_mngtflag" ref="/root/main/gooddet/gooddetlist/mngtflag" disabled="true" navindex="84" overflow="visible" appearance="full" style="left:230px; top:479px; width:101px; height:15px; border-style:none; ">
  1468. <choices>
  1469. <item>
  1470. <label>SET여부</label>
  1471. <value>S</value>
  1472. </item>
  1473. </choices>
  1474. </select>
  1475. <output id="cpt_allsizecnt" ref="/root/main/gooddet/gooddetlist/allsizecnt" class="output_fix" appearance="output" style="left:220px; top:310px; width:66px; height:19px; color:#ff00ff; text-align:center; "/>
  1476. <input id="cmb_lrgcd" ref="/root/main/gooddet/gooddetlist/lrgcd" class="input_default" disabled="true" style="left:75px; top:3px; width:25px; height:19px; "/>
  1477. <input id="input8" ref="/root/main/gooddet/gooddetlist/mdlcd" class="input_default" disabled="true" style="left:315px; top:3px; width:25px; height:19px; "/>
  1478. <input id="input9" ref="/root/main/gooddet/gooddetlist/smlcd" class="input_default" disabled="true" style="left:525px; top:3px; width:25px; height:19px; "/>
  1479. <input id="input4" ref="/root/main/gooddet/gooddetlist/lrgnm" class="output_fix" navindex="-1" editable="false" style="left:73px; top:3px; width:150px; height:19px; "/>
  1480. <input id="input5" ref="/root/main/gooddet/gooddetlist/mdlnm" class="output_fix" navindex="-1" editable="false" style="left:296px; top:3px; width:145px; height:19px; "/>
  1481. <input id="input6" ref="/root/main/gooddet/gooddetlist/smlnm" class="output_fix" navindex="-1" editable="false" style="left:512px; top:3px; width:140px; height:19px; "/>
  1482. <select1 id="cmb_stocmngtflag" ref="/root/main/gooddet/gooddetlist/stocmngtflag" class="combo_essential" navindex="87" appearance="minimal" style="left:111px; top:503px; width:200px; height:19px; background-color:#ffff99; ">
  1483. <choices>
  1484. <itemset nodeset="/root/init/stocmngtflag">
  1485. <label ref="cdnm"/>
  1486. <value ref="cdid"/>
  1487. </itemset>
  1488. </choices>
  1489. <script type="javascript" ev:event="xforms-value-changed">
  1490. <![CDATA[
  1491. model.setValue("/root/main/gooddet/gooddetlist/stocmngtflagnm",cmb_stocmngtflag.label)
  1492. ]]>
  1493. </script>
  1494. </select1>
  1495. <input id="ipt_prefromdd" ref="/root/main/gooddet/gooddetlist/prefromdd" navindex="66" visibility="hidden" style="left:305px; top:285px; width:100px; height:19px; "/>
  1496. <caption id="caption65" class="cell_1" visibility="hidden" style="left:535px; top:285px; width:67px; height:23px; vertical-align:middle; ">이전적용일</caption>
  1497. <caption id="caption69" class="cell_1" style="left:0px; top:139px; width:70px; height:23px; vertical-align:middle; ">최초등록일</caption>
  1498. <input id="input7" ref="/root/main/gooddet/gooddetlist/frgstdd" class="input_search" disabled="true" navindex="43" inputtype="date" style="left:73px; top:141px; width:98px; height:19px; background-color:#ffffff; "/>
  1499. <textarea id="textarea1" ref="/root/main/gooddet/gooddetlist/comnm" navindex="76" maxlength="200" style="left:500px; top:366px; width:152px; height:42px; "/>
  1500. <caption id="caption39" class="cell_1" style="left:505px; top:210px; width:79px; height:23px; vertical-align:middle; ">단가계약여부</caption>
  1501. <select1 id="cmb_costconyn" ref="/root/main/gooddet/gooddetlist/costconyn" class="combo_essential" navindex="56" appearance="minimal" style="left:587px; top:213px; width:65px; height:19px; text-align:center; background-color:#ffff99; ">
  1502. <choices>
  1503. <item>
  1504. <label/>
  1505. <value/>
  1506. </item>
  1507. <item>
  1508. <label>Y</label>
  1509. <value>Y</value>
  1510. </item>
  1511. <item>
  1512. <label>N</label>
  1513. <value>N</value>
  1514. </item>
  1515. </choices>
  1516. </select1>
  1517. <caption id="caption44" class="cell_1" style="left:350px; top:235px; width:79px; height:23px; vertical-align:middle; ">단가계약일자</caption>
  1518. <input id="ipt_costcondd" ref="/root/main/gooddet/gooddetlist/costcondd" class="input_essential" navindex="59" inputtype="date" style="left:433px; top:238px; width:102px; height:19px; background-color:#ffff99; "/>
  1519. <caption id="caption71" class="cell_1" style="left:173px; top:139px; width:65px; height:23px; vertical-align:middle; ">창고구분</caption>
  1520. <select1 id="cmb_wareflag" ref="/root/main/gooddet/gooddetlist/wareflag" class="combo_essential" navindex="45" appearance="minimal" style="left:240px; top:140px; width:90px; height:19px; background-color:#ffff99; ">
  1521. <choices>
  1522. <itemset nodeset="/root/init/wareflag">
  1523. <label ref="cdnm"/>
  1524. <value ref="cdid"/>
  1525. </itemset>
  1526. </choices>
  1527. <script type="javascript" ev:event="xforms-value-changed">
  1528. <![CDATA[
  1529. model.setValue("/root/main/gooddet/gooddetlist/wareflagnm",cmb_wareflag.label);
  1530. ]]>
  1531. </script>
  1532. </select1>
  1533. <caption id="caption73" class="cell_1" style="left:322px; top:575px; width:65px; height:27px; vertical-align:middle; ">용도</caption>
  1534. <textarea id="tar_usge" ref="/root/main/gooddet/gooddetlist/usge" navindex="97" style="left:390px; top:573px; width:260px; height:30px; "/>
  1535. <caption id="caption75" class="cell_1" style="left:489px; top:308px; width:61px; height:23px; vertical-align:middle; ">사용부서</caption>
  1536. <select1 id="cmb_mainusedeptcd" ref="/root/main/gooddet/gooddetlist/mainusedeptcd" class="combo_essential" navindex="53" appearance="minimal" style="left:555px; top:310px; width:96px; height:19px; ">
  1537. <choices>
  1538. <itemset>
  1539. <label ref="cdnm"/>
  1540. <value ref="cdid"/>
  1541. </itemset>
  1542. </choices>
  1543. </select1>
  1544. </group>
  1545. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  1546. <caption id="caption10" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">기관별 물품코드 등록</caption>
  1547. </group>
  1548. <datagrid id="grd_excelgooddetlist" nodeset="/root/main/list/gooddet/excelgooddetlist" visibility="visible" caption="기관명^물품코드^물품명^물품명(한글)^물품명(영문)^규격^모델명^제조국^제조회사코드^제조회사명^대분류^중분류^소분류^EDI코드^수가여부^입고계정코드^입고계정명^비용계정^비용계정명^적용일자^구코드^관리부서코드^관리부서명^청구구분^청구구분명^처방단위^처방/수불환산수량^구매단위^수불/구매환산수량^수불단위^최소청구량^분할사용여부^분할사용수치^재고관리기준^청구주기^청구주기명^청구방법구분^청구방법구분명^임의청구구분^SET발주구분^SET구분^월평균예정사용량^ALL SIZE 유무^신청부서코드^신청부서명^신청자코드^신청자명^코드불용일^코드불용사유^비고^최종구매일자^구매구분^구매구분명^주거래처코드^주거래처명^보조거래처코드^보조거래처명^계약구분^계약기간 from^계약기간 to^부가세율^견적가^외화단가^화폐단위^제품단가" colsep="^" colwidth="100, 123, 61, 123, 92, 81, 92, 92, 92, 123, 61, 230, 153, 153, 153, 199, 123, 123, 214, 139, 199, 184, 123, 123, 100, 123, 184, 75, 184, 108, 245, 89, 107, 184, 184, 100, 123, 105, 123, 123, 123, 153, 92, 184, 153, 214, 123, 184, 110, 92, 123, 123, 100, 123, 123, 199, 184, 123, 149, 136, 123, 184, 184, 123, 184" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:65px; top:355px; width:385px; height:95px; ">
  1549. <col ref="instnm"/>
  1550. <col ref="goodcd"/>
  1551. <col ref="goodnm"/>
  1552. <col ref="goodhngnm"/>
  1553. <col ref="goodengnm"/>
  1554. <col ref="goodspec"/>
  1555. <col ref="goodmodel"/>
  1556. <col ref="prodplce"/>
  1557. <col ref="prodcmpycd"/>
  1558. <col ref="prodcmpynm"/>
  1559. <col ref="lrgcd"/>
  1560. <col ref="mdlcd"/>
  1561. <col ref="smlcd"/>
  1562. <col ref="edicd"/>
  1563. <col ref="insuyn"/>
  1564. <col ref="winacnt"/>
  1565. <col ref="winacntnm"/>
  1566. <col ref="amtacnt"/>
  1567. <col ref="amtacntnm"/>
  1568. <col ref="fromdd" format="yyyy-mm-dd"/>
  1569. <col ref="oldcd"/>
  1570. <col ref="mainmngtdeptcd"/>
  1571. <col ref="mainmngtdeptnm"/>
  1572. <col ref="reqflag"/>
  1573. <col ref="reqflagnm"/>
  1574. <col ref="prcpunit"/>
  1575. <col ref="prcpexchqty" format="#,###"/>
  1576. <col ref="purcunit"/>
  1577. <col ref="exchqty" format="#,###"/>
  1578. <col ref="deliveunit"/>
  1579. <col ref="minexch" format="#,###"/>
  1580. <col ref="reuseyn"/>
  1581. <col ref="divusenvalqty" format="#,###"/>
  1582. <col ref="stocmngtflag"/>
  1583. <col ref="reqprid"/>
  1584. <col ref="reqpridnm"/>
  1585. <col ref="reqmthd"/>
  1586. <col ref="reqmthdnm"/>
  1587. <col ref="tmpreqflag"/>
  1588. <col ref="setplceordflag"/>
  1589. <col ref="proddrugsetflag"/>
  1590. <col ref="mmavgusescheqty" format="#,###"/>
  1591. <col ref="allsizeyn"/>
  1592. <col ref="reqdeptcd"/>
  1593. <col ref="reqdeptnm"/>
  1594. <col ref="reqpsn"/>
  1595. <col ref="reqpsnnm"/>
  1596. <col ref="todd" format="yyyy-mm-dd"/>
  1597. <col ref="nonusetretresn"/>
  1598. <col ref="cmt"/>
  1599. <col ref="lastpurcdd" format="yyyy-mm-dd"/>
  1600. <col ref="purcflag"/>
  1601. <col ref="purcflagnm"/>
  1602. <col ref="maincustlastsuplplce"/>
  1603. <col ref="maincustlastsuplplcenm"/>
  1604. <col ref="suppcustcd"/>
  1605. <col ref="suppcustnm"/>
  1606. <col ref="conflag"/>
  1607. <col ref="fromconterm" format="yyyy-mm-dd"/>
  1608. <col ref="toconterm" format="yyyy-mm-dd"/>
  1609. <col ref="addtaxrate" format="#,###"/>
  1610. <col ref="estmamt" format="#,###"/>
  1611. <col ref="forgncurncyunitcost" format="#,###"/>
  1612. <col ref="curncyunit"/>
  1613. <col ref="goodunitcost" format="#,###"/>
  1614. </datagrid>
  1615. <switch id="switch1" style="left:0px; top:180px; width:535px; height:410px; ">
  1616. <case id="case6" selected="true">
  1617. <datagrid id="grd_goodlist" nodeset="/root/main/list/goodlists/goodlist" class="datagrid2" caption="기관물품코드^물품구분^물품명^물품한글명^물품영문명^규격^모델^구매구분^창고구분^제품단가^EDI코드^포장구성&#xA;단위^청구방법^청구&#xA;주기^주거래처명^보조거래처명^수가&#xA;여부^ALLSIZE&#xA;여부^불용&#xA;여부^단가계약&#xA;여부^단가계약기간&#xA;From^단가계약기간&#xA;To^자산^제조회사^제조회사명^EDI코드^대분류^대분류명^중분류^중분류명^소분류^소분류명^주거래처^보조거래처^구매구분^청구방법^청구기준^청구기준^최초생성일^최종구매일^최소처방&#xA;수량^신청부서^신청자^비고^구코드^처방단위^처방/수불&#xA;환산수량^수불단위^수불/구매&#xA;환산수량^구매단위^비고2^청구주기^기관^AllSizeCnt^calcscorinfotranyn^appinstdata^mngtflag^mngtflagnm" colsep="^" colwidth="81, 0, 176, 0, 0, 60, 60, 56, 80, 70, 67, 64, 80, 32, 81, 92, 31, 56, 32, 54, 93, 88, 0, 0, 72, 0, 0, 80, 0, 80, 0, 50, 50, 50, 0, 0, 0, 80, 71, 75, 56, 69, 49, 100, 71, 57, 73, 56, 100, 62, 100, 0, 100, 100, 100, 100, 100, 100" dataheight="23" ellipsis="true" extendlastcol="scroll" frozencols="3" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" navindex="23" style="left:0px; top:0px; width:531px; height:406px; ">
  1618. <col ref="goodcd" type="output" _key="true" style="text-align:center; "/>
  1619. <col ref="goodflag" visibility="hidden" _key="true"/>
  1620. <col ref="goodnm" type="output" _key="true"/>
  1621. <col ref="goodhngnm" type="output" visibility="hidden" _key="true"/>
  1622. <col ref="goodengnm" type="output" visibility="hidden"/>
  1623. <col ref="goodspec" type="output"/>
  1624. <col ref="goodmodel" type="output"/>
  1625. <col ref="purcflagnm" style="text-align:center; "/>
  1626. <col ref="wareflagnm"/>
  1627. <col ref="goodunitcost" format="#,###.##" style="text-align:right; "/>
  1628. <col ref="edicd" style="text-align:center; "/>
  1629. <col ref="setunit"/>
  1630. <col ref="reqmthdnm" style="text-align:center; "/>
  1631. <col ref="reqpridnm" style="text-align:center; "/>
  1632. <col ref="maincustlastsuplplcenm"/>
  1633. <col ref="suppcustnm"/>
  1634. <col ref="insuyn" style="text-align:center; "/>
  1635. <col ref="allsizeyn" style="text-align:center; "/>
  1636. <col ref="nongoodcdflag" style="text-align:center; "/>
  1637. <col ref="costconyn" style="text-align:center; "/>
  1638. <col ref="fromconterm" format="yyyy-mm-dd" style="text-align:center; "/>
  1639. <col ref="toconterm" format="yyyy-mm-dd" style="text-align:center; "/>
  1640. <col ref="asetflag" type="output"/>
  1641. <col ref="prodcmpycd" type="output"/>
  1642. <col ref="prodcmpynm"/>
  1643. <col ref="edicd"/>
  1644. <col ref="lrgcd" type="output"/>
  1645. <col ref="lrgnm"/>
  1646. <col ref="mdlcd" type="output"/>
  1647. <col ref="mdlnm"/>
  1648. <col ref="smlcd" type="output"/>
  1649. <col ref="smlnm" visibility="hidden"/>
  1650. <col ref="maincustlastsuplplce" type="output"/>
  1651. <col ref="suppcustcd" type="output"/>
  1652. <col ref="purcflag" type="output"/>
  1653. <col ref="reqmthd" type="output"/>
  1654. <col ref="reqflag" type="output"/>
  1655. <col ref="reqflagnm" visibility="hidden"/>
  1656. <col ref="frgstdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1657. <col ref="lastpurcdd" format="yyyy-mm-dd" style="text-align:center; "/>
  1658. <col ref="minexch" style="text-align:center; "/>
  1659. <col ref="reqdeptnm" style="text-align:center; "/>
  1660. <col ref="reqpsnm" style="text-align:center; "/>
  1661. <col ref="cmt"/>
  1662. <col ref="oldcd"/>
  1663. <col ref="prcpunit" style="text-align:center; "/>
  1664. <col ref="prcpexchqty" style="text-align:center; "/>
  1665. <col ref="deliveunit" style="text-align:center; "/>
  1666. <col ref="exchqty" style="text-align:center; "/>
  1667. <col ref="purcunit" style="text-align:center; "/>
  1668. <col ref="comnm"/>
  1669. <col ref="reqprid" type="output"/>
  1670. <col ref="instcd" visibility="hidden"/>
  1671. <col ref="allsizecnt" visibility="hidden"/>
  1672. <col ref="calcscorinfotranyn" visibility="hidden"/>
  1673. <col ref="appinstdata"/>
  1674. <col ref="mngtflag"/>
  1675. <col ref="mngtflagnm"/>
  1676. <script type="javascript" ev:event="onrowchanged">
  1677. <![CDATA[
  1678. fInitUnit(grd_goodlist.valueMatrix(grd_goodlist.row,grd_goodlist.colRef("instcd")), grd_goodlist.valueMatrix(grd_goodlist.row,grd_goodlist.colRef("goodflag")));
  1679. if (grd_goodlist.rowStatus(grd_goodlist.row) == "1" ||
  1680. grd_goodlist.rowStatus(grd_goodlist.row) == "3") {
  1681. fGoodMastSet();
  1682. }
  1683. else {
  1684. vGoodNew = "U";
  1685. fRetrGoodList(true);
  1686. }
  1687. ]]>
  1688. </script>
  1689. <script type="javascript" ev:event="onaftersort">
  1690. <![CDATA[
  1691. grd_goodlist.gridToInstance();
  1692. ]]>
  1693. </script>
  1694. <script type="javascript" ev:event="ondblclick">
  1695. <![CDATA[
  1696. grd_goodlist.dispatch("onrowchanged");
  1697. ]]>
  1698. </script>
  1699. </datagrid>
  1700. </case>
  1701. <case id="case7">
  1702. <datagrid id="grd_instgoodlist" nodeset="/root/main/list/instgoodlists/instgoodlist" class="datagrid2" caption="물품코드^물품구분^물품명^물품한글명^물품영문명^규격^모델^EDI코드^자산^제조회사^제조회사명^EDI코드^대분류^대분류명^중분류^중분류명^소분류^소분류명^기관^적용기관^SET여부^SET여부명" colsep="^" colwidth="78, 0, 176, 0, 0, 60, 60, 69, 0, 0, 80, 0, 0, 80, 0, 80, 0, 80, 100, 100, 100, 100" dataheight="23" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:0px; width:530px; height:406px; ">
  1703. <col ref="goodcd" type="output" _key="true" style="text-align:center; "/>
  1704. <col ref="goodflag" visibility="hidden" _key="true"/>
  1705. <col ref="goodnm" type="output" _key="true"/>
  1706. <col ref="goodhngnm" type="output" _key="true"/>
  1707. <col ref="goodengnm" type="output"/>
  1708. <col ref="goodspec" type="output"/>
  1709. <col ref="goodmodel" type="output"/>
  1710. <col ref="edicd" style="text-align:center; "/>
  1711. <col ref="asetflag" type="output"/>
  1712. <col ref="prodcmpycd" type="output"/>
  1713. <col ref="prodcmpynm"/>
  1714. <col ref="oldedicd"/>
  1715. <col ref="lrgcd" type="output"/>
  1716. <col ref="lrgnm"/>
  1717. <col ref="mdlcd" type="output"/>
  1718. <col ref="mdlnm"/>
  1719. <col ref="smlcd" type="output"/>
  1720. <col ref="smlnm"/>
  1721. <col ref="instcd" visibility="hidden"/>
  1722. <col ref="appinstdata" visibility="hidden"/>
  1723. <col ref="mngtflag" visibility="hidden"/>
  1724. <col ref="mngtflagnm" visibility="hidden"/>
  1725. <script type="javascript" ev:event="onaftersort">
  1726. <![CDATA[
  1727. grd_instgoodlist.gridToInstance();
  1728. ]]>
  1729. </script>
  1730. <script type="javascript" ev:event="ondblclick">
  1731. <![CDATA[
  1732. fNewDoubleClick(grd_instgoodlist);
  1733. ]]>
  1734. </script>
  1735. </datagrid>
  1736. </case>
  1737. <case id="case9">
  1738. <datagrid id="grd_appinstgoodlist" nodeset="/root/main/list/appinstgoodlists/instgoodlist" class="datagrid2" caption="물품코드^물품구분^물품명^물품한글명^물품영문명^규격^모델^EDI코드^자산^제조회사^제조회사명^EDI코드^대분류^대분류명^중분류^중분류명^소분류^소분류명^기관^적용기관^SET구분^SET구분명" colsep="^" colwidth="80, 0, 176, 0, 0, 60, 60, 73, 0, 0, 80, 0, 0, 80, 0, 80, 0, 80, 100, 100, 100, 100" dataheight="23" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:0px; width:530px; height:406px; ">
  1739. <col ref="goodcd" type="output" _key="true" style="text-align:center; "/>
  1740. <col ref="goodflag" visibility="hidden" _key="true"/>
  1741. <col ref="goodnm" type="output" _key="true"/>
  1742. <col ref="goodhngnm" type="output" _key="true"/>
  1743. <col ref="goodengnm" type="output"/>
  1744. <col ref="goodspec" type="output"/>
  1745. <col ref="goodmodel" type="output"/>
  1746. <col ref="edicd" type="output"/>
  1747. <col ref="asetflag" type="output"/>
  1748. <col ref="prodcmpycd" type="output"/>
  1749. <col ref="prodcmpynm"/>
  1750. <col ref="edicd"/>
  1751. <col ref="lrgcd" type="output"/>
  1752. <col ref="lrgnm"/>
  1753. <col ref="mdlcd" type="output"/>
  1754. <col ref="mdlnm"/>
  1755. <col ref="smlcd" type="output"/>
  1756. <col ref="smlnm"/>
  1757. <col ref="instcd" visibility="hidden"/>
  1758. <col ref="appinstdata" visibility="hidden"/>
  1759. <col ref="mngtflag" visibility="hidden"/>
  1760. <col ref="mngtflagnm" visibility="hidden"/>
  1761. <script type="javascript" ev:event="onaftersort">
  1762. <![CDATA[
  1763. grd_appinstgoodlist.gridToInstance();
  1764. ]]>
  1765. </script>
  1766. <script type="javascript" ev:event="ondblclick">
  1767. <![CDATA[
  1768. fNewDoubleClick(grd_appinstgoodlist);
  1769. ]]>
  1770. </script>
  1771. </datagrid>
  1772. </case>
  1773. <case id="case10">
  1774. <caption id="caption70" class="tit_2" style="left:5px; top:8px; width:227px; height:14px; ">통합마스터 기관물품코드 변경 이력</caption>
  1775. <line id="line6" class="line_1" style="x1:0px; y1:22px; x2:533px; y2:22px; "/>
  1776. <datagrid id="grd_rscdtchglist2" nodeset="/root/main/list/rscdtchglist2" caption="기관코드^테이블^테이블명^물품코드^물품명^물품규격^물품모델^EDI코드^수가여부^변경일시^물품분류^물품코드^컬럼^변경항목^컬럼코멘드^변경전변경값^변경전^변경후변경값^변경후^컬럼구분^비고^수정자^수정자명" colsep="^" colwidth="0, 0, 0, 80, 100, 100, 100, 78, 68, 117, 0, 0, 0, 105, 0, 0, 100, 0, 100, 0, 100, 0, 100" dataheight="23" defaultrows="0" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:27px; width:533px; height:378px; ">
  1777. <col ref="instcd" visibility="hidden"/>
  1778. <col ref="tabname" visibility="hidden"/>
  1779. <col ref="comments" visibility="hidden"/>
  1780. <col ref="goodcd"/>
  1781. <col ref="goodhngnm"/>
  1782. <col ref="goodspec"/>
  1783. <col ref="goodmodel"/>
  1784. <col ref="edicd"/>
  1785. <col ref="insuyn"/>
  1786. <col ref="changedt"/>
  1787. <col ref="changefl" visibility="hidden"/>
  1788. <col ref="changecd" visibility="hidden"/>
  1789. <col ref="colname"/>
  1790. <col ref="colcomt"/>
  1791. <col ref="colcomt2"/>
  1792. <col ref="oldvalue"/>
  1793. <col ref="oldvalnm"/>
  1794. <col ref="newvalue"/>
  1795. <col ref="newvalnm"/>
  1796. <col ref="colflag"/>
  1797. <col ref="cmt" visibility="hidden"/>
  1798. <col ref="lastupdtrid"/>
  1799. <col ref="lastupdtridnm"/>
  1800. <script type="javascript" ev:event="ondblclick">
  1801. <![CDATA[
  1802. var ChgGoodCD = model.getValue("/root/main/list/rscdtchglist2["+grd_rscdtchglist2.row+"]/goodcd");
  1803. model.setValue("/root/send/goodlist/goodcd",ChgGoodCD);
  1804. ipt_goodcd_search.refresh();
  1805. btn_instgood.dispatch("DOMActivate");
  1806. btn_instgood.selected = true;
  1807. btn_search.dispatch("DOMActivate");
  1808. ]]>
  1809. </script>
  1810. <script type="javascript" ev:event="onaftersort">
  1811. <![CDATA[
  1812. grd_rscdtchglist2.gridToInstance();
  1813. ]]>
  1814. </script>
  1815. </datagrid>
  1816. </case>
  1817. </switch>
  1818. <button id="btn_clear" class="btn4_letter3" style="left:1124px; top:1px; width:68px; height:22px; ">
  1819. <caption>초기화</caption>
  1820. <script type="javascript" ev:event="DOMActivate">
  1821. <![CDATA[
  1822. fInitialize("init");
  1823. ]]>
  1824. </script>
  1825. </button>
  1826. <datagrid id="grd_gooddetlist" nodeset="/root/main/list/gooddet/gooddetlist" visibility="hidden" caption="물품코드^사용일자TO^기관코드^사용일자FR^사용일자FrOLD^사용여부^물품구분^물품구분명^물품명^물품명^영문명^물품명^물품규격^모델^물품규격^모델^자산구분^자산구분명^대분류코드^대분류코드명^중분류코드^중분류코드명^소분류코드^소분류코드명^SET구분^SET구분명^계정코드^계정코드명^비용계정^비용계정명^주관리부서코드^주관리부서명^주사용부서코드^주사용부서명^구매연결코드^재고관리기준^재고관리기준명^입고단위^입고단위^수불단위^수불단위^환산배수^환산배수^최소환산수량^재사용여부^재사용여부명^분할사용수치^수가정보등록상태^수가정보등록일자^보험여부^EDI코드^EDI코드^신규등록일자^신청부서코드^신청부서명^신청자id^신청자명^청구기준^청구기준명^청구방법^청구방법명^청구주기^청구주기명^내외자구분^제조국^제조국명^제조회사코드^제조회사코드^제조회사명^최종공급처^최종공급처^최종공급처^보조거래처코드^보조거래처코드^보조거래처명^계약구분^계약구분명^계약기간from^계약기간to^견적가^외화단가^화폐단위^화폐단위^제품단가^제품단가^구매구분^구매구분명^ALLSIZE유무^SET발주구분^SET발주구분명^발주기준^발주량생성구분^발주불용일자^부가세율^최종구매일자^불용처리사유^관리구분^보나에스코드^규제약품여부^마약/향정구분^고가여부^함량단위^함량용량^규격용량^약품종류^공동구매여부^자동이송-약국^보관방법^특별약품^일반-전문^복지부분류^복지부분류^제형^성분^제한약품여부^비고^안전재고적용일자^안전재고량^일평균사용량^월평균사용예정량^월평균사용량^적정재고보유일수^최초등록자id^최초등록일시^최종수정자id^최종수정일시^최종수정자^임시청구구분^납품가^구코드^수가단위^수가환산수량^보험단가^원산지^규격단위^실보관방법^성분명칭^포장수량^처방수량^중앙공급실용도^약품납품가^AllSizeCount^calcscorinfotranyn^caption1^caption2^caption3^caption4" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" navindex="25" style="left:65px; top:260px; width:385px; height:90px; ">
  1827. <col ref="goodcd"/>
  1828. <col ref="todd"/>
  1829. <col ref="instcd"/>
  1830. <col ref="fromdd"/>
  1831. <col ref="prefromdd"/>
  1832. <col ref="useyn"/>
  1833. <col ref="goodflag"/>
  1834. <col ref="goodflagnm"/>
  1835. <col ref="goodnm"/>
  1836. <col ref="pregoodnm"/>
  1837. <col ref="goodhngnm"/>
  1838. <col ref="goodengnm"/>
  1839. <col ref="goodspec"/>
  1840. <col ref="goodmodel"/>
  1841. <col ref="pregoodspec"/>
  1842. <col ref="pregoodmodel"/>
  1843. <col ref="asetflag"/>
  1844. <col ref="asetflagnm"/>
  1845. <col ref="lrgcd"/>
  1846. <col ref="lrgnm"/>
  1847. <col ref="mdlcd"/>
  1848. <col ref="mdlnm"/>
  1849. <col ref="smlcd"/>
  1850. <col ref="smlnm"/>
  1851. <col ref="proddrugsetflag"/>
  1852. <col ref="proddrugsetflagnm"/>
  1853. <col ref="winacnt"/>
  1854. <col ref="winacntnm"/>
  1855. <col ref="amtacnt"/>
  1856. <col ref="amtacntnm"/>
  1857. <col ref="mainmngtdeptcd"/>
  1858. <col ref="mainmngtdeptnm"/>
  1859. <col ref="mainusedeptcd"/>
  1860. <col ref="mainusedeptnm"/>
  1861. <col ref="purclnkgoodcd"/>
  1862. <col ref="stocmngtflag"/>
  1863. <col ref="stocmngtflagnm"/>
  1864. <col ref="purcunit"/>
  1865. <col ref="prepurcunit"/>
  1866. <col ref="deliveunit"/>
  1867. <col ref="predeliveunit"/>
  1868. <col ref="exchqty"/>
  1869. <col ref="preexchqty"/>
  1870. <col ref="minexch"/>
  1871. <col ref="reuseyn"/>
  1872. <col ref="reuseynnm"/>
  1873. <col ref="divusenvalqty"/>
  1874. <col ref="calcscorinfoacptstat"/>
  1875. <col ref="calcscorinfoacptdd"/>
  1876. <col ref="insuyn"/>
  1877. <col ref="edicd"/>
  1878. <col ref="preedicd"/>
  1879. <col ref="newrgstdd"/>
  1880. <col ref="reqdeptcd"/>
  1881. <col ref="reqdeptnm"/>
  1882. <col ref="reqpsn"/>
  1883. <col ref="reqpsnnm"/>
  1884. <col ref="reqflag"/>
  1885. <col ref="reqflagnm"/>
  1886. <col ref="reqmthd"/>
  1887. <col ref="reqmthdnm"/>
  1888. <col ref="reqprid"/>
  1889. <col ref="reqpridnm"/>
  1890. <col ref="iopsnflag"/>
  1891. <col ref="prodplce"/>
  1892. <col ref="prodplcenm"/>
  1893. <col ref="prodcmpycd"/>
  1894. <col ref="preprodcmpycd"/>
  1895. <col ref="prodcmpynm"/>
  1896. <col ref="maincustlastsuplplce"/>
  1897. <col ref="premaincustlastsuplplce"/>
  1898. <col ref="maincustlastsuplplcenm"/>
  1899. <col ref="suppcustcd"/>
  1900. <col ref="presuppcustcd"/>
  1901. <col ref="suppcustnm"/>
  1902. <col ref="conflag"/>
  1903. <col ref="conflagnm"/>
  1904. <col ref="fromconterm"/>
  1905. <col ref="toconterm"/>
  1906. <col ref="estmamt"/>
  1907. <col ref="forgncurncyunitcost"/>
  1908. <col ref="curncyunit"/>
  1909. <col ref="curncyunitnm"/>
  1910. <col ref="goodunitcost"/>
  1911. <col ref="pregoodunitcost"/>
  1912. <col ref="purcflag"/>
  1913. <col ref="purcflagnm"/>
  1914. <col ref="allsizeyn"/>
  1915. <col ref="setplceordflag"/>
  1916. <col ref="setplceordflagnm"/>
  1917. <col ref="plceordbase"/>
  1918. <col ref="plceordqtycretflag"/>
  1919. <col ref="plceordnonusedd"/>
  1920. <col ref="addtaxrate"/>
  1921. <col ref="lastpurcdd"/>
  1922. <col ref="nonusetretresn"/>
  1923. <col ref="mngtflag"/>
  1924. <col ref="bnscd"/>
  1925. <col ref="cntrdrugyn"/>
  1926. <col ref="narcflag"/>
  1927. <col ref="expnyn"/>
  1928. <col ref="cntsunit"/>
  1929. <col ref="cntsqty"/>
  1930. <col ref="specvol"/>
  1931. <col ref="drugkind"/>
  1932. <col ref="cooppurcyn"/>
  1933. <col ref="autrampharm"/>
  1934. <col ref="keepmthd"/>
  1935. <col ref="specldrug"/>
  1936. <col ref="gnrlspcl"/>
  1937. <col ref="welfprt"/>
  1938. <col ref="welfprtnm"/>
  1939. <col ref="goodtype"/>
  1940. <col ref="com"/>
  1941. <col ref="limdrugyn"/>
  1942. <col ref="cmt"/>
  1943. <col ref="safestocappdd"/>
  1944. <col ref="safestocqty"/>
  1945. <col ref="ddavguseqty"/>
  1946. <col ref="mmavgusescheqty"/>
  1947. <col ref="mmavguseqty"/>
  1948. <col ref="prprtystocpossndayno"/>
  1949. <col ref="fstrgstrid"/>
  1950. <col ref="fstrgstdt"/>
  1951. <col ref="lastupdtrid"/>
  1952. <col ref="lastupdtdt"/>
  1953. <col ref="lastupdtrnm"/>
  1954. <col ref="tmpreqflag"/>
  1955. <col ref="putrunitcost"/>
  1956. <col ref="oldcd"/>
  1957. <col ref="prcpunit"/>
  1958. <col ref="prcpexchqty"/>
  1959. <col ref="insucost"/>
  1960. <col ref="orgloc"/>
  1961. <col ref="specunit"/>
  1962. <col ref="pemtkeepmthd"/>
  1963. <col ref="comnm"/>
  1964. <col ref="purcqty"/>
  1965. <col ref="prcpqty"/>
  1966. <col ref="csrusecmt"/>
  1967. <col ref="goodpurccost"/>
  1968. <col ref="allsizecnt"/>
  1969. <col ref="calcscorinfotranyn"/>
  1970. <col ref="costconyn"/>
  1971. <col ref="costcondd"/>
  1972. <col ref="wareflag"/>
  1973. <col ref="wareflagnm"/>
  1974. <col ref="usge"/>
  1975. </datagrid>
  1976. </xhtml:body>
  1977. </xhtml:html>