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

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