SMRSC05301_물품코드등록.xrw 85 KB

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