SMRSC05302_통합물품코드등록.xrw 69 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <goodlists>
  12. <goodlist/>
  13. </goodlists>
  14. <gooddet>
  15. <gooddetlist/>
  16. <goodconstlist/>
  17. <goodinstlist/>
  18. <excelgooddetlist/>
  19. <oldcdinfo/>
  20. <rscdgchglist/>
  21. </gooddet>
  22. <newmeterialdetail>
  23. <instcd/>
  24. <reqdd/>
  25. <reqseqno/>
  26. <goodflag/>
  27. <goodengnm/>
  28. <goodhngnm/>
  29. <goodspec/>
  30. <goodmodel/>
  31. <prodplce/>
  32. <prodplcenm/>
  33. <prodcmpycd/>
  34. <prodcmpynm/>
  35. <maincustlastsuplplce/>
  36. <maincust/>
  37. <chrgid/>
  38. <chrgmpphon/>
  39. <chrgtel/>
  40. <purcunit/>
  41. <reqqty/>
  42. <mmavguseqty/>
  43. <useschedd/>
  44. <edicd/>
  45. <reqresnusge/>
  46. <smlartymatruseprestcond/>
  47. <anohospusestat/>
  48. <newmatrusgeimprvpnt/>
  49. <reqdeptcd/>
  50. <reqdeptnm/>
  51. <reqdepttel/>
  52. <reqpsnid/>
  53. <reqpsnnm/>
  54. <insuyn/>
  55. <undecicurematr/>
  56. <undecicurematrreqdt/>
  57. <actamtincl/>
  58. <judgcmt/>
  59. <purcteamcmt/>
  60. <newmatrprcsstat/>
  61. <lrgcd/>
  62. <mdlcd/>
  63. <smlcd/>
  64. <goodcd/>
  65. <smlartygoodhngnm/>
  66. <smlartygoodengnm/>
  67. <calcscorcd/>
  68. <smlartyamt/>
  69. <fstrgstrid/>
  70. <fstrgstdt/>
  71. <lastupdtrid/>
  72. <lastupdtdt/>
  73. <insucommityn/>
  74. </newmeterialdetail>
  75. </list>
  76. <allsizelists>
  77. <allsizelist>
  78. <instcd>012</instcd>
  79. <goodcd>Y10030046</goodcd>
  80. <allsizespecid>2</allsizespecid>
  81. <goodspec>45mm*22~33mm(Medium)</goodspec>
  82. <goodmodel>411803</goodmodel>
  83. <goodunit/>
  84. <cmt/>
  85. <instflag>2</instflag>
  86. </allsizelist>
  87. </allsizelists>
  88. <costhistinfolist>
  89. <appdd/>
  90. <rctpdisburseunitcost/>
  91. <medcarecalcscor/>
  92. <suplplcecd/>
  93. </costhistinfolist>
  94. <item/>
  95. <gooddet>
  96. <gooddetlist/>
  97. </gooddet>
  98. <goodcopy>
  99. <goodlist/>
  100. </goodcopy>
  101. <goodlists>
  102. <goodlist>
  103. <goodcd/>
  104. <goodflag/>
  105. <goodflagnm/>
  106. <goodnm/>
  107. <goodhngnm/>
  108. <goodengnm/>
  109. <goodspec/>
  110. <goodmodel/>
  111. <asetflag/>
  112. <lrgcd/>
  113. <lrgnm/>
  114. <mdlcd/>
  115. <mdlnm/>
  116. <smlcd/>
  117. <smlnm/>
  118. <edicd/>
  119. <prodcmpycd/>
  120. <prodcmpynm/>
  121. <appinstdata/>
  122. <reqdd/>
  123. <reqseqno/>
  124. <instcd/>
  125. <lastupdtridnm/>
  126. <cmt/>
  127. <mngtflag>N</mngtflag>
  128. <acptdd/>
  129. </goodlist>
  130. </goodlists>
  131. <prodcmpylists>
  132. <prodcmpylist/>
  133. </prodcmpylists>
  134. <rscdtchglists>
  135. <rscdtchglist/>
  136. </rscdtchglists>
  137. </main>
  138. <send>
  139. <save>
  140. <goodlist/>
  141. <gooddetlist/>
  142. <setautoins>
  143. <setyn>N</setyn>
  144. </setautoins>
  145. <allsizelists>
  146. <allsizelist/>
  147. </allsizelists>
  148. <excelgoodlists>
  149. <goodexcel/>
  150. </excelgoodlists>
  151. <goodchange/>
  152. </save>
  153. <goodlist>
  154. <goodflag/>
  155. <goodnm/>
  156. <lrgcd/>
  157. <edicd/>
  158. <goodcd/>
  159. <mdlcd/>
  160. <spec/>
  161. <prodcmpy/>
  162. <smlcd/>
  163. <model/>
  164. <prodcmpynm/>
  165. <instflag/>
  166. <oldcd/>
  167. <filecls>S</filecls>
  168. <instcd/>
  169. <fr_fromdd/>
  170. <to_fromdd/>
  171. <cmt/>
  172. <mngtflag/>
  173. </goodlist>
  174. <gooddetlist>
  175. <goodcd/>
  176. <fromdd/>
  177. <useyn/>
  178. </gooddetlist>
  179. <goodcopy>
  180. <goodflag/>
  181. <lrgcd/>
  182. <mdlcd/>
  183. </goodcopy>
  184. <allsizelist>
  185. <instcd/>
  186. <goodcd/>
  187. <instflag>1</instflag>
  188. </allsizelist>
  189. <prodcmpy>
  190. <refcond/>
  191. <prodcmpycd/>
  192. <prodcmpynm/>
  193. </prodcmpy>
  194. <rscdtchglist>
  195. <instcd>000</instcd>
  196. <goodflag/>
  197. <goodcd/>
  198. <tabname>RSCMGOOD</tabname>
  199. <changedt>20080101</changedt>
  200. </rscdtchglist>
  201. <delrscmgood>
  202. <goodcd/>
  203. <goodnm/>
  204. <delflag/>
  205. <delcheck1/>
  206. <delcheck2/>
  207. <delcheck3/>
  208. <delcheck4/>
  209. <delcheck5/>
  210. </delrscmgood>
  211. <sendlist>
  212. <instcd/>
  213. </sendlist>
  214. </send>
  215. <init>
  216. <goodflag/>
  217. <deliveunit/>
  218. <reqprid/>
  219. <mngtflag/>
  220. <purcflag/>
  221. <instcd/>
  222. <proddrugsetflag/>
  223. <instnm/>
  224. <newmatrprcsstat>
  225. <item>
  226. <label>신청</label>
  227. <value>01</value>
  228. </item>
  229. <item>
  230. <label>구매팀접수</label>
  231. <value>02</value>
  232. </item>
  233. <item>
  234. <label>구매팀반려</label>
  235. <value>03</value>
  236. </item>
  237. <item>
  238. <label>수가위원회상정</label>
  239. <value>04</value>
  240. </item>
  241. <item>
  242. <label>수가위원회비상정</label>
  243. <value>05</value>
  244. </item>
  245. <item>
  246. <label>수가위원회통과</label>
  247. <value>06</value>
  248. </item>
  249. <item>
  250. <label>수가위원회부결</label>
  251. <value>07</value>
  252. </item>
  253. <item>
  254. <label>수가위원회보류</label>
  255. <value>08</value>
  256. </item>
  257. <item>
  258. <label>승인신청</label>
  259. <value>09</value>
  260. </item>
  261. <item>
  262. <label>구매진행</label>
  263. <value>10</value>
  264. </item>
  265. <item>
  266. <label>구매부결</label>
  267. <value>11</value>
  268. </item>
  269. <item>
  270. <label>물품코드생성</label>
  271. <value>12</value>
  272. </item>
  273. <item>
  274. <label>완료</label>
  275. <value>00</value>
  276. </item>
  277. </newmatrprcsstat>
  278. <CopyData>
  279. <CopySizeLists>
  280. <CopySizeList>
  281. <goodcd/>
  282. <allsizespecid/>
  283. <goodnm/>
  284. <goodspec/>
  285. <goodmodel/>
  286. <goodunit/>
  287. </CopySizeList>
  288. </CopySizeLists>
  289. <CopyGoodLists>
  290. <goodexcel>
  291. <goodcd/>
  292. <edicd/>
  293. <goodflag/>
  294. <lrgcd/>
  295. <mdlcd/>
  296. <smlcd/>
  297. <allsizespecid/>
  298. <goodnm/>
  299. <goodspec/>
  300. <goodmodel/>
  301. <prodcmpycd/>
  302. <prodcmpynm/>
  303. <ogoodcd/>
  304. <asetflag/>
  305. <cmt/>
  306. </goodexcel>
  307. </CopyGoodLists>
  308. </CopyData>
  309. <comcd>
  310. <Z00071>
  311. <Z00071>
  312. <cdid>
  313. <![CDATA[001]]>
  314. </cdid>
  315. <cdnm>
  316. <![CDATA[가톨릭중앙의료원]]>
  317. </cdnm>
  318. <dispseq>
  319. <![CDATA[1]]>
  320. </dispseq>
  321. <cdsid>
  322. <![CDATA[Z0007001]]>
  323. </cdsid>
  324. <cdgrupid>
  325. <![CDATA[Z0007]]>
  326. </cdgrupid>
  327. <detldesc>
  328. <![CDATA[가톨릭중앙의료원]]>
  329. </detldesc>
  330. <cdval/>
  331. <minval/>
  332. <maxval/>
  333. <minopercd/>
  334. <maxopercd/>
  335. <cdengabbrnm/>
  336. <valifromdd>
  337. <![CDATA[20060916]]>
  338. </valifromdd>
  339. <valitodd>
  340. <![CDATA[29991231]]>
  341. </valitodd>
  342. </Z00071>
  343. </Z00071>
  344. </comcd>
  345. <instcd/>
  346. <oldgoodlist/>
  347. <usernm/>
  348. </init>
  349. <hidden/>
  350. <temp/>
  351. </root>
  352. </instance>
  353. <script type="javascript" ev:event="xforms-ready">
  354. <![CDATA[
  355. //화면 Control을 초기화한다
  356. fInitForm();
  357. misfGridInit(grd_newmeterial);
  358. ]]>
  359. </script>
  360. <submission id="TXRSC05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  361. <submission id="TXRSC05303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/list/goodlistsdet/gooddetlist" resultref="/root/hidden/temp"/>
  362. <submission id="TRRSC05302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gooddetlist" resultref="/root/main/list/gooddet"/>
  363. <submission id="TRRSC05303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodcopy" resultref="/root/main/goodcopy"/>
  364. <submission id="TRRSC05306" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/gooddet/excelgooddetlist"/>
  365. <submission id="TRRSC03702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gooddetlist" resultref="/root/main/list/goodlistsdet/rscdgchglist"/>
  366. <submission id="TRRSC05308" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/gooddetlist" resultref="/root/main/list/gooddet"/>
  367. <submission id="TRRSC05309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/goodlists"/>
  368. <submission id="TRRSC00211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/allsizelist" resultref="/root/main/allsizelists"/>
  369. <submission id="TXRSC00211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/allsizelists" resultref="/root/hidden/temp"/>
  370. <submission id="TXRSC05305" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/excelgoodlists" resultref="/root/hidden/temp"/>
  371. <submission id="TRRSC05312" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/goodlist" resultref="/root/main/list/goodlists"/>
  372. <submission id="TRRSC00213" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prodcmpy" resultref="/root/main/prodcmpylists"/>
  373. <submission id="TRRSC00214" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/rscdtchglist" resultref="/root/main/rscdtchglists"/>
  374. <submission id="TXRSC05103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/delrscmgood" resultref="/root/hidden/temp"/>
  375. <submission id="TRRSD04001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/sendlist" resultref="/root/main/list/newmeterialdetail"/>
  376. </model>
  377. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  378. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  379. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  380. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  381. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  382. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  383. <script type="javascript" src="../../../mis/purcbaseweb/js/SMRSC05302.js"/>
  384. </xhtml:head>
  385. <xhtml:body guideline="1,702;1,695;2,466;2,146;">
  386. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1205px; height:757px; ">
  387. <group id="grp_detail" style="left:703px; top:135px; width:495px; height:620px; ">
  388. <input id="ipt_goodhngnm" ref="/root/main/goodlists/goodlist/goodhngnm" class="input_s_essential" navindex="10" imemode="hangul" maxlength="200" style="left:91px; top:166px; width:389px; height:19px; "/>
  389. <button id="btn_prodcmpycd" class="icon_search" style="left:150px; top:271px; width:16px; height:16px; ">
  390. <caption/>
  391. <script type="javascript" ev:event="DOMActivate">
  392. <![CDATA[
  393. rszfOpenPopUpListByWndName(ipt_prodcmpycd,"","prodcmpycd,prodcmpynm","SPRSD00160","","");
  394. model.refresh();
  395. ]]>
  396. </script>
  397. </button>
  398. <caption id="caption50" class="cell_1" style="left:0px; top:111px; width:88px; height:23px; vertical-align:middle; ">물품코드</caption>
  399. <caption id="caption30" class="cell_1" style="left:1px; top:242px; width:88px; height:23px; vertical-align:middle; ">모델명</caption>
  400. <caption id="caption52" class="cell_1" style="left:0px; top:164px; width:88px; height:23px; vertical-align:middle; ">물품한글명</caption>
  401. <button id="btn_goodcdcopy" class="btn2_letter4" navindex="7" style="left:248px; top:113px; width:64px; height:19px; ">
  402. <caption>코드생성</caption>
  403. <script type="javascript" ev:event="DOMActivate">
  404. <![CDATA[
  405. fGoodCdCopy();
  406. ]]>
  407. </script>
  408. </button>
  409. <input id="ipt_goodcd" ref="/root/main/goodlists/goodlist/goodcd" class="input_s_essential" navindex="5" editable="false" maxlength="12" _chartype="upper" style="left:91px; top:113px; width:108px; height:19px; background-color:#eaeaea; "/>
  410. <caption id="caption42" class="cell_1" style="left:1px; top:268px; width:88px; height:23px; vertical-align:middle; ">제조회사</caption>
  411. <caption id="caption65" class="cell_1" style="left:0px; top:190px; width:88px; height:23px; vertical-align:middle; ">물품영문명</caption>
  412. <caption id="caption66" class="cell_1" style="left:0px; top:79px; width:88px; height:23px; vertical-align:middle; ">소분류</caption>
  413. <input id="ipt_goodspec" ref="/root/main/goodlists/goodlist/goodspec" class="input_default" navindex="13" style="left:91px; top:219px; width:389px; height:19px; ">
  414. <script type="javascript" ev:event="onkeydown">
  415. <![CDATA[
  416. if(event.keyCode == 9)
  417. {
  418. if(event.shiftKey)model.setFocus("ipt_goodmodel");
  419. }
  420. ]]>
  421. </script>
  422. </input>
  423. <caption id="caption45" class="cell_1" style="left:0px; top:216px; width:88px; height:23px; vertical-align:middle; ">규격</caption>
  424. <caption id="caption68" class="cell_1" style="left:0px; top:27px; width:88px; height:23px; vertical-align:middle; ">대분류</caption>
  425. <input id="ipt_goodmodel" ref="/root/main/goodlists/goodlist/goodmodel" class="input_default" navindex="14" maxlength="150" style="left:91px; top:244px; width:389px; height:19px; ">
  426. <script type="javascript" ev:event="onkeydown">
  427. <![CDATA[
  428. if(event.keyCode == 9)
  429. {
  430. if(event.shiftKey)model.setFocus("ipt_prodcmpycd");
  431. else model.setFocus("ipt_goodspec");
  432. }
  433. ]]>
  434. </script>
  435. <script type="javascript" ev:event="xforms-value-changed">
  436. <![CDATA[
  437. model.setFocus("ipt_goodspec");
  438. ]]>
  439. </script>
  440. </input>
  441. <caption id="caption47" class="cell_1" style="left:0px; top:138px; width:88px; height:23px; vertical-align:middle; ">물품명</caption>
  442. <caption id="caption29" class="cell_1" style="left:0px; top:53px; width:88px; height:23px; vertical-align:middle; ">중분류</caption>
  443. <input id="ipt_prodcmpycd" ref="/root/main/goodlists/goodlist/prodcmpycd" class="input_default" navindex="15" style="left:91px; top:271px; width:54px; height:19px; ">
  444. <script type="javascript" ev:event="xforms-value-changed">
  445. <![CDATA[
  446. if ( model.getValue(ipt_prodcmpycd.attribute("ref")).length == 0 ) model.setValue(opt_prodcmpynm.attribute("ref"),"");
  447. else rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm","prodcmpycd," + model.getValue(ipt_prodcmpycd.attribute("ref"))+"," ,"","prodcmpycd,prodcmpynm" ,ipt_prodcmpycd,"SPRSD00160","","");
  448. model.refresh();
  449. ]]>
  450. </script>
  451. <script type="javascript" ev:event="onkeydown">
  452. <![CDATA[
  453. if(event.keyCode == 9)
  454. {
  455. if(event.shiftKey)model.setFocus("cmb_prodplce");
  456. else model.setFocus("ipt_goodmodel");
  457. }
  458. ]]>
  459. </script>
  460. </input>
  461. <input id="ipt_goodengnm" ref="/root/main/goodlists/goodlist/goodengnm" class="input_essential" navindex="12" imemode="alpha" maxlength="200" style="left:91px; top:194px; width:389px; height:19px; ">
  462. <script type="javascript" ev:event="onkeydown">
  463. <![CDATA[
  464. if(event.keyCode == 9)
  465. {
  466. if(event.shiftKey)model.setFocus("ipt_goodhngnm");
  467. else model.setFocus("cmb_prodplce");
  468. }
  469. ]]>
  470. </script>
  471. </input>
  472. <output id="opt_prodcmpynm" ref="/root/main/goodlists/goodlist/prodcmpynm" class="output_fix" appearance="output" style="left:169px; top:271px; width:116px; height:19px; "/>
  473. <select1 id="cmb_goodflag" ref="/root/main/goodlists/goodlist/goodflag" class="combo_s_essential" disabled="true" navindex="1" appearance="minimal" editmode="search" style="left:91px; top:3px; width:224px; height:19px; ">
  474. <choices>
  475. <itemset nodeset="/root/init/goodflag">
  476. <label ref="cdnm"/>
  477. <value ref="cdid"/>
  478. </itemset>
  479. </choices>
  480. <script type="javascript" ev:event="xforms-value-changed">
  481. <![CDATA[
  482. misfChangeItemsetFilter(cmb_lrgcd,"goodflag='" + cmb_goodflag.value + "'");
  483. cmb_lrgcd.value = '';
  484. cmb_mdlcd.value = '';
  485. cmb_smlcd.value = '';
  486. model.setValue(ipt_goodcd.attribute("ref"), "");
  487. // 물품구분별 권한체크.
  488. fSetGoodFlagAuth();
  489. grp_detail.refresh();
  490. ]]>
  491. </script>
  492. </select1>
  493. <input id="ipt_goodnm" ref="/root/main/goodlists/goodlist/goodnm" class="input_essential" navindex="9" maxlength="200" style="left:91px; top:139px; width:389px; height:19px; "/>
  494. <button id="btn_photinfo" class="btn2_letter2" navindex="6" style="left:205px; top:113px; width:42px; height:19px; ">
  495. <caption>사진</caption>
  496. <script type="javascript" ev:event="DOMActivate">
  497. <![CDATA[
  498. rszfOpenPopUpListByWndName(ipt_goodcd,"","","SPRSC00201","goodcd","ipt_goodcd");
  499. ]]>
  500. </script>
  501. </button>
  502. <select1 id="cmb_lrgcd" ref="/root/main/goodlists/goodlist/lrgcd" class="combo_s_essential" disabled="true" navindex="2" appearance="minimal" style="left:91px; top:29px; width:224px; height:19px; ">
  503. <choices>
  504. <itemset>
  505. <label/>
  506. <value/>
  507. </itemset>
  508. </choices>
  509. <script type="javascript" ev:event="xforms-value-changed">
  510. <![CDATA[
  511. model.setValue(cmb_mdlcd.attribute("ref"), "");
  512. model.setValue(ipt_goodcd.attribute("ref"), "");
  513. rszfLMSComboList(model.getValue("/root/main/goodlists/goodlist/goodflag"), cmb_lrgcd.value, "", "cmb_mdlcd", "", "M", "", "Y");
  514. cmb_mdlcd.refresh();
  515. ]]>
  516. </script>
  517. </select1>
  518. <select1 id="cmb_mdlcd" ref="/root/main/goodlists/goodlist/mdlcd" class="combo_s_essential" disabled="true" navindex="3" appearance="minimal" style="left:91px; top:55px; width:224px; height:19px; ">
  519. <choices>
  520. <itemset>
  521. <label/>
  522. <value/>
  523. </itemset>
  524. </choices>
  525. <script type="javascript" ev:event="xforms-value-changed">
  526. <![CDATA[
  527. model.setValue(ipt_goodcd.attribute("ref"), "");
  528. rszfLMSComboList(model.getValue("/root/main/goodlists/goodlist/goodflag"), cmb_lrgcd.value, cmb_mdlcd.value, "cmb_smlcd", "", "S", "", "Y");
  529. cmb_smlcd.refresh();
  530. ]]>
  531. </script>
  532. </select1>
  533. <select1 id="cmb_smlcd" ref="/root/main/goodlists/goodlist/smlcd" disabled="true" navindex="4" appearance="minimal" style="left:91px; top:82px; width:224px; height:19px; ">
  534. <choices>
  535. <itemset>
  536. <label/>
  537. <value/>
  538. </itemset>
  539. </choices>
  540. </select1>
  541. <caption id="caption6" class="cell_1" style="left:292px; top:268px; width:81px; height:23px; vertical-align:middle; ">EDI코드</caption>
  542. <input id="ipt_edicd" ref="/root/main/goodlists/goodlist/edicd" navindex="16" _chartype="upper" style="left:374px; top:271px; width:106px; height:19px; "/>
  543. <input id="ipt_cmt" ref="/root/main/goodlists/goodlist/cmt" navindex="19" _chartype="upper" style="left:91px; top:325px; width:389px; height:19px; "/>
  544. <caption id="caption3" class="cell_1" style="left:0px; top:322px; width:88px; height:23px; vertical-align:middle; ">비고</caption>
  545. <select1 id="cmb_asetflag" ref="/root/main/goodlists/goodlist/asetflag" class="combo_s_essential" navindex="17" appearance="minimal" style="left:91px; top:298px; width:189px; height:19px; ">
  546. <choices>
  547. <itemset>
  548. <label/>
  549. <value/>
  550. </itemset>
  551. </choices>
  552. <script type="javascript" ev:event="xforms-value-changed">
  553. <![CDATA[
  554. rszfLMSComboList(model.getValue("/root/main/goodlists/det/gooddetlist/goodflag"), cmb_lrgcd.value, cmb_mdlcd.value, "cmb_smlcd", "", "S", "", "Y");
  555. cmb_smlcd.refresh();
  556. ]]>
  557. </script>
  558. </select1>
  559. <caption id="caption4" class="cell_1" style="left:0px; top:295px; width:88px; height:23px; vertical-align:middle; ">자산구분</caption>
  560. <line id="line1" class="line_3" style="x1:0px; y1:106px; x2:490px; y2:106px; "/>
  561. <button id="btn_allsizeinfo" class="btn_sw" group="tab1" selected="true" style="left:0px; top:362px; width:90px; height:22px; ">
  562. <caption>AllSize정보</caption>
  563. <toggle case="case1" ev:event="DOMActivate"/>
  564. </button>
  565. <button id="btn_instcdinfo" class="btn_sw" group="tab1" style="left:90px; top:362px; width:89px; height:22px; ">
  566. <caption>사용기관정보</caption>
  567. <toggle case="case2" ev:event="DOMActivate"/>
  568. </button>
  569. <switch id="switch1" style="left:0px; top:383px; width:493px; height:237px; ">
  570. <case id="case1" selected="true" style="left:0px; top:0px; width:491px; height:235px; ">
  571. <datagrid id="grd_allsize" nodeset="/root/main/allsizelists/allsizelist" caption="물품코드^ID^규격^모델^단위^산정여부^비고" colsep="^" colwidth="0, 37, 183, 80, 46, 61, 100, 100, 100" dataheight="23" defaultrows="0" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:30px; width:489px; height:205px; ">
  572. <col ref="goodcd" visibility="hidden"/>
  573. <col ref="allsizespecid" maxlength="4" style="text-align:center; "/>
  574. <col ref="goodspec" type="input"/>
  575. <col ref="goodmodel" type="input"/>
  576. <col id="goodunit" ref="goodunit" type="combo">
  577. <choices>
  578. <itemset>
  579. <label/>
  580. <value/>
  581. </itemset>
  582. </choices>
  583. </col>
  584. <col checkvalue="Y,N" ref="chargeyn" type="checkbox"/>
  585. <col ref="cmt" type="input"/>
  586. <col ref="instflag" visibility="hidden"/>
  587. <col ref="instcd" visibility="hidden"/>
  588. <script type="javascript" ev:event="onaftersort">
  589. <![CDATA[
  590. grd_allsize.gridToInstance();
  591. ]]>
  592. </script>
  593. </datagrid>
  594. <button id="bbt_delrow" class="btn2_letter3" disabled="true" style="left:189px; top:4px; width:53px; height:19px; ">
  595. <caption>행삭제</caption>
  596. <script type="javascript" ev:event="DOMActivate">
  597. <![CDATA[
  598. misfGridIUD(grd_allsize, "D");
  599. ]]>
  600. </script>
  601. </button>
  602. <button id="bbt_insrow" class="btn2_letter3" disabled="true" style="left:135px; top:4px; width:53px; height:19px; ">
  603. <caption>행추가</caption>
  604. <script type="javascript" ev:event="DOMActivate">
  605. <![CDATA[
  606. misfGridIUD(grd_allsize, "A");
  607. model.setValue(grd_allsize.nodeset + "["+ grd_allsize.row + "]/goodcd" , model.getValue("/root/send/allsizelist/goodcd"));
  608. model.setValue(grd_allsize.nodeset + "["+ grd_allsize.row + "]/instflag" , model.getValue("/root/send/allsizelist/instflag"));
  609. model.setValue(grd_allsize.nodeset + "["+ grd_allsize.row + "]/goodunit" , model.getValue(PURTARGET_NODE + "/goodunit"));
  610. /*
  611. model.setValue(grd_allsize.nodeset + "["+ grd_allsize.row + "]/instcd" ,"ss");
  612. model.setValue(grd_allsize.nodeset + "["+ grd_allsize.row + "]/goodcd" , "dd");
  613. model.setValue(grd_allsize.nodeset + "["+ grd_allsize.row + "]/goodspec" , "A");
  614. model.refresh();
  615. */
  616. ]]>
  617. </script>
  618. </button>
  619. <line id="line3" class="line_1" style="x1:0px; y1:25px; x2:489px; y2:25px; "/>
  620. <button id="bbt_sizesave" class="btn4_letter2" disabled="true" style="left:359px; top:3px; width:56px; height:22px; ">
  621. <caption>저장</caption>
  622. <script type="javascript" ev:event="DOMActivate">
  623. <![CDATA[
  624. if(fCheckSaveData() == false)return;
  625. fSetHistInfo();
  626. model.setValue("/root/send/save/allsizelists/allsizelist" ,grd_allsize.getUpdateData());
  627. submit("TXRSC00211");
  628. fAllSizeRead();
  629. ]]>
  630. </script>
  631. </button>
  632. <button id="btn_loadexcel" class="btn2_letter8" disabled="true" style="left:245px; top:4px; width:108px; height:19px; ">
  633. <caption>엑셀자료가져오기</caption>
  634. <script type="javascript" ev:event="DOMActivate">
  635. <![CDATA[
  636. fLoadExcel_2("0",grp_allsizecopy, grd_allsizecopy);
  637. ]]>
  638. </script>
  639. </button>
  640. <button id="button9" class="btn2_letter4" style="left:425px; top:4px; width:64px; height:19px; ">
  641. <caption>엑셀저장</caption>
  642. <script type="javascript" ev:event="DOMActivate">
  643. <![CDATA[
  644. misfSaveExcel(grd_allsize, "AllSize정보내역_"+getCurrentDate());
  645. ]]>
  646. </script>
  647. </button>
  648. </case>
  649. <case id="case2" style="left:0px; top:0px; width:488px; height:248px; ">
  650. <datagrid id="grd_instinfo" nodeset="/root/main/list/gooddet/goodinstlist" caption="기관코드^기관명" colsep="^" colwidth="105, 337" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="byrow" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:0px; width:488px; height:235px; ">
  651. <col ref="instcd"/>
  652. <col ref="instnm"/>
  653. </datagrid>
  654. </case>
  655. <case id="case3">
  656. <datagrid id="grd_applist" nodeset="/root/init/comcd/Z00071/Z00071" caption="CHK^기관코드^기관명" colsep="^" colwidth="60, 72, 183" dataheight="23" defaultrows="0" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:0px; width:491px; height:235px; ">
  657. <col checkvalue="Y,N" ref="minval" type="checkbox"/>
  658. <col ref="cdid" style="text-align:center; "/>
  659. <col ref="cdnm"/>
  660. </datagrid>
  661. <select1 id="cmb_instcd" ref="/root/init/instcd" class="combo_default" visibility="hidden" appearance="minimal" style="left:430px; top:1px; width:60px; height:19px; ">
  662. <choices>
  663. <itemset>
  664. <label/>
  665. <value/>
  666. </itemset>
  667. </choices>
  668. </select1>
  669. </case>
  670. <case id="case4" style="left:0px; top:0px; width:491px; height:235px; ">
  671. <caption id="caption60" class="tit_2" style="left:5px; top:8px; width:119px; height:13px; ">변경세부이력</caption>
  672. <line id="line6" class="line_1" style="x1:0px; y1:22px; x2:488px; y2:23px; "/>
  673. <datagrid id="grd_chgdata" nodeset="/root/main/rscdtchglists/rscdtchglist" caption="기관코드^테이블^테이블명^변경일시^물품분류^물품코드^컬럼^변경항목^컬럼코멘드^변경전변경값^변경전^변경후변경값^변경후^컬럼구분^비고^수정자^수정자명" colsep="^" colwidth="0, 0, 0, 117, 0, 0, 0, 65, 0, 0, 100, 0, 100, 0, 100, 0, 110" dataheight="23" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:0px; top:27px; width:488px; height:207px; ">
  674. <col ref="instcd" visibility="hidden"/>
  675. <col ref="tabname" visibility="hidden"/>
  676. <col ref="comments" visibility="hidden"/>
  677. <col ref="changedt"/>
  678. <col ref="changefl" visibility="hidden"/>
  679. <col ref="changecd" visibility="hidden"/>
  680. <col ref="colname"/>
  681. <col ref="colcomt"/>
  682. <col ref="colcomt2" visibility="hidden"/>
  683. <col ref="oldvalue" visibility="hidden"/>
  684. <col ref="oldvalnm"/>
  685. <col ref="newvalue" visibility="hidden"/>
  686. <col ref="newvalnm"/>
  687. <col ref="colflag" visibility="hidden"/>
  688. <col ref="cmt" visibility="hidden"/>
  689. <col ref="lastupdtrid" visibility="hidden"/>
  690. <col ref="lastupdtridnm"/>
  691. </datagrid>
  692. </case>
  693. </switch>
  694. <button id="button1" class="btn_sw" group="tab1" style="left:179px; top:362px; width:89px; height:22px; ">
  695. <caption>적용기관</caption>
  696. <toggle case="case3" ev:event="DOMActivate"/>
  697. </button>
  698. <input id="ipt_appinstdata" ref="/root/main/goodlists/goodlist/appinstdata" visibility="hidden" _chartype="upper" style="left:425px; top:360px; width:64px; height:19px; "/>
  699. <button id="button2" class="btn_sw" group="tab1" style="left:268px; top:362px; width:89px; height:22px; ">
  700. <caption>변경세부이력</caption>
  701. <toggle case="case4" ev:event="DOMActivate"/>
  702. </button>
  703. <input id="ipt_lastupdtridnm" ref="/root/main/goodlists/goodlist/lastupdtridnm" disabled="true" _chartype="upper" style="left:374px; top:298px; width:106px; height:19px; "/>
  704. <caption id="caption7" class="cell_1" style="left:292px; top:295px; width:81px; height:23px; vertical-align:middle; ">최종수정자명</caption>
  705. <input id="ipt_instcd" ref="/root/main/goodlists/goodlist/instcd" visibility="hidden" style="left:325px; top:10px; width:100px; height:19px; "/>
  706. <select1 id="rdo_mngtflag" ref="/root/main/goodlists/goodlist/mngtflag" navindex="8" visibility="hidden" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:386px; top:114px; width:93px; height:19px; background-color:#ffff99; border-style:none; ">
  707. <choices>
  708. <item>
  709. <label>Yes</label>
  710. <value>S</value>
  711. </item>
  712. <item>
  713. <label>No</label>
  714. <value>N</value>
  715. </item>
  716. </choices>
  717. </select1>
  718. <caption id="cpt_mngtflag" class="cell_1" visibility="hidden" style="left:330px; top:111px; width:55px; height:23px; vertical-align:middle; ">수술Set</caption>
  719. <caption id="caption18" class="cell_1" style="left:0px; top:1px; width:88px; height:23px; vertical-align:middle; ">물품구분</caption>
  720. <input id="ipt_acptdd" ref="/root/main/goodlists/goodlist/acptdd" class="input_default" visibility="hidden" inputtype="date" style="left:380px; top:75px; width:100px; height:19px; "/>
  721. </group>
  722. <caption id="caption1" class="tit_2" style="left:705px; top:114px; width:153px; height:13px; ">통합물품목상세정보</caption>
  723. <button id="btn_choidel" class="btn2_letter2" disabled="true" visibility="hidden" style="left:915px; top:110px; width:42px; height:19px; ">
  724. <caption>삭제</caption>
  725. <script type="javascript" ev:event="DOMActivate">
  726. <![CDATA[
  727. fDeleteRscmgoodView();
  728. ]]>
  729. </script>
  730. </button>
  731. <button id="bbt_newgoodcd" class="btn2_letter8" disabled="true" style="left:1007px; top:110px; width:108px; height:19px; ">
  732. <caption>신규재료신청등록</caption>
  733. <script type="javascript" ev:event="DOMActivate">
  734. <![CDATA[
  735. fNewGoodcdCreate(); // 신규재료 신청등록
  736. ]]>
  737. </script>
  738. </button>
  739. <line id="line2" class="line_1" style="x1:703px; y1:130px; x2:1197px; y2:130px; "/>
  740. <button id="btn_addgrdgoodlist" class="btn2_letter2" disabled="true" visibility="visible" style="left:961px; top:110px; width:42px; height:19px; ">
  741. <caption>추가</caption>
  742. <script type="javascript" ev:event="DOMActivate">
  743. <![CDATA[
  744. cmb_goodflag.disabled = false;
  745. cmb_lrgcd.disabled = false;
  746. cmb_mdlcd.disabled = false;
  747. cmb_smlcd.disabled = false;
  748. btn_goodcdcopy.disabled = false;
  749. misfGridIUD(grd_goodlist, "A");
  750. var goodflag = grd_goodlist.valueMatrix(grd_goodlist.row,grd_goodlist.colRef("goodflag"));
  751. // 중분류/소분류 combo setting
  752. misfChangeItemsetFilter(cmb_lrgcd,"goodflag='" + goodflag + "'");
  753. model.resetInstanceNode(cmb_mdlcd.choices.itemset.attribute("nodeset"));
  754. model.resetInstanceNode(cmb_smlcd.choices.itemset.attribute("nodeset"));
  755. if (grd_goodlist.valueMatrix(grd_goodlist.row,grd_goodlist.colRef("smlcd")).length > 0 )
  756. {
  757. rszfLMSComboList(goodflag, cmb_lrgcd.value, "" , "cmb_mdlcd", "", "M", "", "Y");
  758. rszfLMSComboList(goodflag, cmb_lrgcd.value, cmb_mdlcd.value, "cmb_smlcd", "", "S", "", "Y");
  759. } else if (grd_goodlist.valueMatrix(grd_goodlist.row,grd_goodlist.colRef("mdlcd")).length > 0 )
  760. {
  761. rszfLMSComboList(goodflag, cmb_lrgcd.value, "", "cmb_mdlcd", "", "M", "", "Y");
  762. }
  763. fAfterRetrGoodList();
  764. model.setValue(cmb_asetflag.attribute("ref"), "1");
  765. cmb_asetflag.refresh();
  766. btn_choidel.disabled = true; // 물품삭제
  767. vGoodNew = "N";
  768. //ipt_goodcd.disabled = false;
  769. //model.refresh();
  770. ]]>
  771. </script>
  772. </button>
  773. <button id="btn_excel" class="btn5_letter5" navindex="18" style="left:1119px; top:110px; width:75px; height:19px; ">
  774. <caption>Excel 저장</caption>
  775. <script type="javascript" ev:event="DOMActivate">
  776. <![CDATA[
  777. fSaveGridToExcel(); // Save Grid to Excel
  778. ]]>
  779. </script>
  780. </button>
  781. <group id="grp_title" style="left:0px; top:5px; width:1195px; height:97px; vertical-align:top; ">
  782. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1195px; height:97px; "/>
  783. <caption id="caption88" class="search_name" style="left:606px; top:5px; width:83px; height:17px; ">EDI코드 :</caption>
  784. <caption id="caption89" class="search_name" style="left:309px; top:5px; width:86px; height:17px; ">물품코드 :</caption>
  785. <caption id="caption90" class="search_name" style="left:25px; top:5px; width:86px; height:17px; ">물품구분 :</caption>
  786. <caption id="caption91" class="search_name" style="left:25px; top:28px; width:83px; height:17px; ">대 분 류 :</caption>
  787. <caption id="caption92" class="search_name" style="left:309px; top:28px; width:83px; height:17px; ">물 품 명 :</caption>
  788. <caption id="caption93" class="search_name" style="left:309px; top:51px; width:85px; height:17px; ">규 격 :</caption>
  789. <caption id="caption94" class="search_name" style="left:25px; top:51px; width:83px; height:17px; ">중 분 류 :</caption>
  790. <caption id="caption95" class="search_name" style="left:606px; top:51px; width:83px; height:17px; ">제 조 원 :</caption>
  791. <caption id="caption96" class="search_name" style="left:25px; top:74px; width:83px; height:17px; ">소 분 류 :</caption>
  792. <caption id="caption97" class="search_name" style="left:309px; top:74px; width:85px; height:17px; ">모 델 :</caption>
  793. <line id="line36" class="line_4" style="x1:1030px; y1:16px; x2:1030px; y2:82px; "/>
  794. <button id="btn_search" class="btn1_letter3" navindex="11" style="left:1040px; top:25px; width:68px; height:22px; text-align:left; ">
  795. <caption>조 회</caption>
  796. <script type="javascript" ev:event="DOMActivate">
  797. <![CDATA[
  798. if (ipt_frdate.value == "") {
  799. ipt_todate.value = "";
  800. } else {
  801. if (ipt_todate.value == "") {
  802. ipt_todate.value = ipt_frdate.value;
  803. }
  804. }
  805. ipt_todate.refresh();
  806. if (fCheckRetrieveData() == false)return;
  807. if (btn_insgoodcd.selected) {
  808. fRetrGoodList(false);
  809. } else {
  810. model.makeValue("/root/send/sendlist/goodflag", model.getValue(cmb_goodflag_search.attribute("ref")));
  811. model.makeValue("/root/send/sendlist/newmatrprcsstat", "10");
  812. model.makeValue("/root/send/sendlist/sytscdrgstreqyn", "Y");
  813. submit("TRRSD04001");
  814. fClearGoodInfo();
  815. }
  816. btn_choidel.disabled = false;
  817. ]]>
  818. </script>
  819. </button>
  820. <select1 id="cmb_goodflag_search" ref="/root/send/goodlist/goodflag" class="combo_s_essential" appearance="minimal" editmode="search" style="left:110px; top:5px; width:161px; height:19px; ">
  821. <choices>
  822. <itemset nodeset="/root/init/goodflag">
  823. <label ref="cdnm"/>
  824. <value ref="cdid"/>
  825. </itemset>
  826. </choices>
  827. <script type="javascript" ev:event="xforms-value-changed">
  828. <![CDATA[
  829. misfGridInit(grd_goodlist);
  830. misfGridInit(grd_instinfo);
  831. model.resetInstanceNode("/root/main/goodlists/det/gooddetlist");
  832. //권한체크.
  833. //fSetGoodFlagAuth();
  834. if (model.getValue(cmb_goodflag_search.attribute("ref")) == "Y") {
  835. cbx_mngtflag.visible = true;
  836. cpt_mngtflag.visible = true;
  837. rdo_mngtflag.visible = true;
  838. grd_allsize.colHidden(grd_allsize.colRef("chargeyn")) = false;
  839. } else {
  840. model.setValue(cbx_mngtflag.attribute("ref") ,"");
  841. cpt_mngtflag.visible = false;
  842. rdo_mngtflag.visible = false;
  843. cbx_mngtflag.visible = false;
  844. grd_allsize.colHidden(grd_allsize.colRef("chargeyn")) = true;
  845. }
  846. misfChangeItemsetFilter(cmb_lrgcd_search,"goodflag=null or goodflag='" + cmb_goodflag_search.value + "'");
  847. cmb_lrgcd_search.value = '';
  848. cmb_mdlcd_search.value = '';
  849. cmb_smlcd_search.value = '';
  850. model.refresh();
  851. ]]>
  852. </script>
  853. </select1>
  854. <input id="ipt_goodnm_search" ref="/root/send/goodlist/goodnm" class="input_search" style="left:395px; top:28px; width:180px; height:19px; ">
  855. <script type="javascript" ev:event="onkeyup">
  856. <![CDATA[
  857. inputEnterKey("btn_search", "DOMActivate");
  858. ]]>
  859. </script>
  860. </input>
  861. <input id="ipt_edicd_search" ref="/root/send/goodlist/edicd" class="input_search" _chartype="upper" style="left:691px; top:5px; width:100px; height:19px; ">
  862. <script type="javascript" ev:event="onkeyup">
  863. <![CDATA[
  864. inputEnterKey("btn_search", "DOMActivate");
  865. ]]>
  866. </script>
  867. </input>
  868. <input id="ipt_goodcd_search" ref="/root/send/goodlist/goodcd" class="input_search" imemode="disabled" maxlength="12" _chartype="upper" style="left:395px; top:5px; width:111px; height:19px; ">
  869. <script type="javascript" ev:event="onkeyup">
  870. <![CDATA[
  871. inputEnterKey("btn_search", "DOMActivate");
  872. ]]>
  873. </script>
  874. </input>
  875. <input id="ipt_goodspec_search" ref="/root/send/goodlist/spec" class="input_search" style="left:395px; top:51px; width:180px; height:19px; ">
  876. <script type="javascript" ev:event="onkeyup">
  877. <![CDATA[
  878. inputEnterKey("btn_search", "DOMActivate");
  879. ]]>
  880. </script>
  881. </input>
  882. <input id="ipt_prodcmpy_search" ref="/root/send/goodlist/prodcmpy" class="input_search" style="left:691px; top:51px; width:87px; height:19px; ">
  883. <script type="javascript" ev:event="xforms-value-changed">
  884. <![CDATA[
  885. if(ipt_prodcmpy_search.value != "")
  886. {
  887. rszfValidationCheck("TRRSD00161", "prodcmpylist", "refcond,prodcmpycd,prodcmpynm",
  888. "prodcmpycd," + model.getValue(ipt_prodcmpy_search.attribute("ref")) + "," ,
  889. "","prodcmpy,prodcmpynm" ,ipt_prodcmpy_search,"SPRSD00160","","");
  890. }else{
  891. ipt_prodcmpynm_search.value = "";
  892. }
  893. model.refresh();
  894. ]]>
  895. </script>
  896. </input>
  897. <button id="button6" class="icon_search" style="left:780px; top:51px; width:16px; height:16px; ">
  898. <caption/>
  899. <script type="javascript" ev:event="DOMActivate">
  900. <![CDATA[
  901. rszfOpenPopUpListByWndName(ipt_prodcmpy_search,"","prodcmpy,prodcmpynm","SPRSD00160","","");
  902. model.refresh();
  903. ]]>
  904. </script>
  905. </button>
  906. <input id="ipt_prodcmpynm_search" ref="/root/send/goodlist/prodcmpynm" class="output_fix" editable="false" style="left:798px; top:51px; width:190px; height:19px; "/>
  907. <input id="ipt_goodmodel_search" ref="/root/send/goodlist/model" class="input_search" style="left:395px; top:74px; width:180px; height:19px; ">
  908. <script type="javascript" ev:event="onkeyup">
  909. <![CDATA[
  910. inputEnterKey("btn_search", "DOMActivate");
  911. ]]>
  912. </script>
  913. </input>
  914. <select1 id="cmb_lrgcd_search" ref="/root/send/goodlist/lrgcd" appearance="minimal" style="left:110px; top:28px; width:161px; height:19px; ">
  915. <choices>
  916. <itemset>
  917. <label/>
  918. <value/>
  919. </itemset>
  920. </choices>
  921. <script type="javascript" ev:event="xforms-value-changed">
  922. <![CDATA[
  923. rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), cmb_lrgcd_search.value, "", "cmb_mdlcd_search", "", "M", "", "Y");
  924. cmb_mdlcd_search.dispatch("xforms-value-changed");
  925. cmb_mdlcd_search.refresh();
  926. ]]>
  927. </script>
  928. </select1>
  929. <select1 id="cmb_smlcd_search" ref="/root/send/goodlist/smlcd" appearance="minimal" style="left:110px; top:74px; width:161px; height:19px; ">
  930. <choices>
  931. <itemset>
  932. <label/>
  933. <value/>
  934. </itemset>
  935. </choices>
  936. </select1>
  937. <select1 id="cmb_mdlcd_search" ref="/root/send/goodlist/mdlcd" appearance="minimal" style="left:110px; top:51px; width:161px; height:19px; ">
  938. <choices>
  939. <itemset>
  940. <label/>
  941. <value/>
  942. </itemset>
  943. </choices>
  944. <script type="javascript" ev:event="xforms-value-changed">
  945. <![CDATA[
  946. rszfLMSComboList(model.getValue(cmb_goodflag_search.attribute("ref")), cmb_lrgcd_search.value, cmb_mdlcd_search.value, "cmb_smlcd_search", "", "S", "", "Y");
  947. cmb_smlcd_search.refresh();
  948. ]]>
  949. </script>
  950. </select1>
  951. <input id="ipt_frdate" ref="/root/send/goodlist/fr_fromdd" class="input_default" inputtype="date" style="left:691px; top:28px; width:100px; height:19px; ">
  952. <script type="javascript" ev:event="xforms-value-changed">
  953. <![CDATA[
  954. if (ipt_frdate.value == "") {
  955. ipt_todate.value = "";
  956. } else {
  957. if (ipt_todate.value == "") {
  958. ipt_todate.value = ipt_frdate.value;
  959. }
  960. }
  961. ipt_todate.refresh();
  962. ]]>
  963. </script>
  964. </input>
  965. <caption id="caption34" style="left:799px; top:29px; width:15px; height:20px; font-weight:bold; ">~</caption>
  966. <caption id="caption36" class="search_name" style="left:606px; top:28px; width:88px; height:17px; ">등록일자 :</caption>
  967. <input id="ipt_todate" ref="/root/send/goodlist/to_fromdd" class="input_default" inputtype="date" style="left:818px; top:28px; width:100px; height:19px; "/>
  968. <output id="opt_instnm" ref="/root/init/instnm" visibility="hidden" style="left:962px; top:5px; width:25px; height:19px; "/>
  969. <output id="opt_instcd" ref="/root/init/instcd" visibility="hidden" style="left:935px; top:5px; width:25px; height:19px; "/>
  970. <button id="btn_clear" class="btn4_letter3" style="left:1120px; top:25px; width:68px; height:22px; ">
  971. <caption>초기화</caption>
  972. <script type="javascript" ev:event="DOMActivate">
  973. <![CDATA[
  974. fInitialize();
  975. ]]>
  976. </script>
  977. </button>
  978. <button id="btn_save" class="btn4_letter3" disabled="true" style="left:1120px; top:65px; width:68px; height:22px; ">
  979. <caption>저 장</caption>
  980. <script type="javascript" ev:event="DOMActivate">
  981. <![CDATA[
  982. if(fCheckSaveData() == false)return;
  983. fSetDataCopy();
  984. model.refresh();
  985. misfSave("TXRSC05302");
  986. messageBox("저장이 완료되었습니다. ", "I");
  987. fSetOldGoodList();
  988. submit("TRRSD04001");
  989. // if (model.getValue(gvErrorMsgPath + "/type") != "error" && grd_goodlist.row > 0 )fRetrGoodList(true);//btn_search.dispatch("DOMActivate");
  990. ]]>
  991. </script>
  992. </button>
  993. <caption id="caption8" class="search_name" style="left:606px; top:74px; width:85px; height:17px; ">비 고 :</caption>
  994. <input id="input2" ref="/root/send/goodlist/cmt" class="input_search" style="left:691px; top:74px; width:297px; height:19px; ">
  995. <script type="javascript" ev:event="onkeyup">
  996. <![CDATA[
  997. inputEnterKey("btn_search", "DOMActivate");
  998. ]]>
  999. </script>
  1000. </input>
  1001. <select id="cbx_mngtflag" ref="/root/send/goodlist/mngtflag" visibility="hidden" overflow="visible" appearance="full" style="left:800px; top:5px; width:101px; height:15px; border-style:none; ">
  1002. <choices>
  1003. <item>
  1004. <label>수술SET여부</label>
  1005. <value>S</value>
  1006. </item>
  1007. </choices>
  1008. <script type="javascript" ev:event="onkeydown">
  1009. <![CDATA[
  1010. // "/root/send/goodlist/mngtflag"
  1011. if(event.keyCode == 9)
  1012. {
  1013. if(event.shiftKey)model.setFocus("ipt_minexch");
  1014. else model.setFocus("ipt_goodhngnm");
  1015. }
  1016. //event.preventDefault();
  1017. ]]>
  1018. </script>
  1019. </select>
  1020. </group>
  1021. <switch id="switch2" style="left:0px; top:135px; width:698px; height:619px; ">
  1022. <case id="case5" selected="true">
  1023. <output id="opt_usernm" ref="/root/init/usernm" visibility="hidden" style="left:110px; top:110px; width:85px; height:19px; "/>
  1024. <datagrid id="grd_goodlist" nodeset="/root/main/list/goodlists/goodlist" caption="chngyn^물품코드^물품구분^물품명^물품한글명^물품영문명^규격^모델^자산^제조회사^제조회사명^EDI코드^대분류^대분류명^중분류^중분류명^소분류^소분류명^최종수정일자^비고^기관^청구일^청구순번^적용기관^수술SET여부^수술SET여부명" colsep="^" colwidth="0, 72, 10, 180, 10, 10, 100, 80, 10, 10, 90, 72, 10, 66, 10, 80, 10, 80, 127, 199, 100, 100, 100, 100, 100, 100" dataheight="23" ellipsis="false" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="byrow" tooltip="true" style="left:3px; top:30px; width:690px; height:584px; ">
  1025. <col ref="chngyn" visibility="hidden"/>
  1026. <col ref="goodcd" type="output" _key="true"/>
  1027. <col ref="goodflag" visibility="hidden" _key="true"/>
  1028. <col ref="goodnm" type="output" _key="true"/>
  1029. <col ref="goodhngnm" visibility="hidden"/>
  1030. <col ref="goodengnm" visibility="hidden"/>
  1031. <col ref="goodspec" type="output"/>
  1032. <col ref="goodmodel" type="output"/>
  1033. <col ref="asetflag" visibility="hidden"/>
  1034. <col ref="prodcmpycd" visibility="hidden"/>
  1035. <col ref="prodcmpynm"/>
  1036. <col ref="edicd"/>
  1037. <col ref="lrgcd" visibility="hidden"/>
  1038. <col ref="lrgnm"/>
  1039. <col ref="mdlcd" visibility="hidden"/>
  1040. <col ref="mdlnm"/>
  1041. <col ref="smlcd" visibility="hidden"/>
  1042. <col ref="smlnm"/>
  1043. <col ref="lastupdtdt"/>
  1044. <col ref="cmt"/>
  1045. <col ref="instcd" visibility="hidden"/>
  1046. <col ref="reqdd" visibility="hidden"/>
  1047. <col ref="reqseqno" visibility="hidden"/>
  1048. <col ref="appinstdata" visibility="hidden"/>
  1049. <col ref="mngtflag" visibility="hidden"/>
  1050. <col ref="mngtflagnm" visibility="hidden"/>
  1051. <script type="javascript" ev:event="onrowchanged">
  1052. <![CDATA[
  1053. var goodcd = grd_goodlist.valueMatrix(grd_goodlist.row, grd_goodlist.colRef("goodcd")) ;
  1054. if (goodcd != "") {
  1055. vGoodNew = "U";
  1056. fRetrGoodList(true);
  1057. cmb_goodflag.disabled = true;
  1058. cmb_lrgcd.disabled = true;
  1059. cmb_mdlcd.disabled = true;
  1060. cmb_smlcd.disabled = true;
  1061. btn_goodcdcopy.disabled = true;
  1062. //ipt_goodcd.disabled = true;
  1063. } else {
  1064. vGoodNew = "N";
  1065. //fRetrGoodList(false);
  1066. cmb_goodflag.disabled = false;
  1067. cmb_lrgcd.disabled = false;
  1068. cmb_mdlcd.disabled = false;
  1069. cmb_smlcd.disabled = false;
  1070. btn_goodcdcopy.disabled = false;
  1071. model.setValue(cmb_lrgcd.attribute("ref"), "");
  1072. model.setValue(cmb_mdlcd.attribute("ref"), "");
  1073. model.setValue(cmb_smlcd.attribute("ref"), "")
  1074. cmb_lrgcd.refresh();
  1075. cmb_mdlcd.refresh();
  1076. cmb_smlcd.refresh();
  1077. //ipt_goodcd.disabled = false;
  1078. }
  1079. ]]>
  1080. </script>
  1081. <script type="javascript" ev:event="onaftersort">
  1082. <![CDATA[
  1083. grd_goodlist.gridToInstance();
  1084. ]]>
  1085. </script>
  1086. <script type="javascript" ev:event="ondblclick">
  1087. <![CDATA[
  1088. grd_goodlist.dispatch("onrowchanged");
  1089. ]]>
  1090. </script>
  1091. </datagrid>
  1092. <caption id="caption9" class="tit_2" style="left:5px; top:11px; width:135px; height:13px; ">통합물품목록</caption>
  1093. <button id="bbt_excelload" class="btn2_letter8" disabled="true" style="left:581px; top:5px; width:108px; height:19px; ">
  1094. <caption>엑셀자료가져오기</caption>
  1095. <script type="javascript" ev:event="DOMActivate">
  1096. <![CDATA[
  1097. fLoadExcel_2("0",grp_copygood, grd_copygood);
  1098. ]]>
  1099. </script>
  1100. </button>
  1101. <line id="line7" class="line_1" style="x1:3px; y1:25px; x2:693px; y2:25px; "/>
  1102. </case>
  1103. <case id="case6">
  1104. <datagrid id="grd_newmeterial" nodeset="/root/main/list/newmeterialdetail" caption="^진행상태^위원회^기관코드^청구부서^규격^기관^청구부서명^청구일자^청구순번^물품구분^물품명(영문)^물품명(한글)^물품규격^모델^제조국코드^제조국^제조회사코드^제조회사코드^거래처코드^거래처명^담당자id^담당자hp^담당자전화번호^구매단위^청구수량^월별사용량^사용예정일^edi코드^청구사유 및 용도^유사재료사용현황^타병원사용현황^관련행위^청구부서전화번호^청구자^청구자명^보험여부^미결정치료재료^미결정치료재료신청일^행위료포함^심사소견^구매팀소견^대분류코드^중분류코드^소분류코드^물품코드^동일물품(한글)^동일물품(영문)^동일물품(수가코드)^동일물품비용^최초등록자id^최초등록일시^최종수정자id^최종수정일시" colsep="^" colwidth="0, 0, 0, 0, 0, 40, 100, 100, 80, 55, 20, 100, 100, 80, 80, 20, 20, 22, 17, 19, 80, 20, 20, 20, 60, 60, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 80, 20, 20, 20, 20, 20, 20, 20, 20, 100, 100, 100, 100, 100, 100, 100" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" tooltip="true" style="left:2px; top:30px; width:690px; height:584px; ">
  1105. <col checkvalue="1,0" ref="chk" type="checkbox"/>
  1106. <col disabled="true" ref="newmatrprcsstat" type="combo">
  1107. <choices>
  1108. <itemset nodeset="/root/init/newmatrprcsstat/item">
  1109. <label ref="label"/>
  1110. <value ref="value"/>
  1111. </itemset>
  1112. </choices>
  1113. </col>
  1114. <col checkvalue="Y,N" disabled="true" ref="insucommityn" type="checkbox"/>
  1115. <col ref="instcd" visibility="hidden"/>
  1116. <col ref="reqdeptcd" visibility="hidden"/>
  1117. <col checkvalue="Y,N" disabled="true" ref="specyn" type="checkbox"/>
  1118. <col ref="instnm" style="text-align:center; "/>
  1119. <col ref="reqdeptnm"/>
  1120. <col ref="reqdd" format="yyyy-mm-dd"/>
  1121. <col ref="reqseqno" visibility="visible"/>
  1122. <col ref="goodflag" visibility="hidden"/>
  1123. <col ref="goodengnm"/>
  1124. <col ref="goodhngnm"/>
  1125. <col ref="goodspec"/>
  1126. <col ref="goodmodel"/>
  1127. <col ref="prodplce" visibility="hidden"/>
  1128. <col ref="prodplcenm" visibility="hidden"/>
  1129. <col ref="prodcmpycd" visibility="hidden"/>
  1130. <col ref="prodcmpynm" visibility="hidden"/>
  1131. <col ref="maincustlastsuplplce" visibility="hidden"/>
  1132. <col ref="maincust"/>
  1133. <col ref="chrgid" visibility="hidden"/>
  1134. <col ref="chrgmpphon" visibility="hidden"/>
  1135. <col ref="chrgtel" visibility="hidden"/>
  1136. <col ref="purcunit"/>
  1137. <col ref="reqqty"/>
  1138. <col ref="mmavguseqty" visibility="hidden"/>
  1139. <col ref="useschedd" visibility="hidden"/>
  1140. <col ref="edicd" visibility="hidden"/>
  1141. <col ref="reqresnusge" visibility="hidden"/>
  1142. <col ref="smlartymatruseprestcond" visibility="hidden"/>
  1143. <col ref="anohospusestat" visibility="hidden"/>
  1144. <col ref="newmatrusgeimprvpnt" visibility="hidden"/>
  1145. <col ref="reqdepttel" visibility="hidden"/>
  1146. <col ref="reqpsnid" visibility="hidden"/>
  1147. <col ref="reqpsnnm" visibility="hidden"/>
  1148. <col ref="insuyn" visibility="hidden"/>
  1149. <col ref="undecicurematr" visibility="hidden"/>
  1150. <col ref="undecicurematrreqdt" visibility="hidden"/>
  1151. <col ref="actamtincl" visibility="hidden"/>
  1152. <col ref="judgcmt" visibility="hidden"/>
  1153. <col ref="purcteamcmt" visibility="hidden"/>
  1154. <col ref="lrgcd" visibility="hidden"/>
  1155. <col ref="mdlcd" visibility="hidden"/>
  1156. <col ref="smlcd" visibility="hidden"/>
  1157. <col ref="goodcd"/>
  1158. <col ref="smlartygoodhngnm" visibility="hidden"/>
  1159. <col ref="smlartygoodengnm" visibility="hidden"/>
  1160. <col ref="calcscorcd" visibility="hidden"/>
  1161. <col ref="smlartyamt" visibility="hidden"/>
  1162. <col ref="fstrgstrid" visibility="hidden"/>
  1163. <col ref="fstrgstdt" visibility="hidden"/>
  1164. <col ref="lastupdtrid" visibility="hidden"/>
  1165. <col ref="lastupdtdt" visibility="hidden"/>
  1166. <col ref="deliveunit" visibility="hidden"/>
  1167. <col ref="goodunitcost" visibility="hidden"/>
  1168. <col ref="insucomd" visibility="hidden"/>
  1169. <col ref="insuresn" visibility="hidden"/>
  1170. <col ref="reqcmt" visibility="hidden"/>
  1171. <col ref="reqchrgid" visibility="hidden"/>
  1172. <col ref="reqchrgnm" visibility="hidden"/>
  1173. <script type="javascript" ev:event="ondblclick">
  1174. <![CDATA[
  1175. var path = "/root/main/goodlists/goodlist/";
  1176. var goodcd = grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodcd"));
  1177. var goodcd2;
  1178. var specyn = grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("specyn"));
  1179. if(specyn=="Y") {
  1180. messageBox("규격신규물품은 견적서 조회후 allsize를 등록해주세요.", "E");
  1181. return;
  1182. }
  1183. for(var i = grd_goodlist.fixedRows; i < grd_goodlist.rows; i++) {
  1184. goodcd2 = grd_goodlist.valueMatrix(i, grd_goodlist.colRef("goodcd"));
  1185. if(goodcd2 == goodcd) {
  1186. return;
  1187. }
  1188. }
  1189. grd_goodlist.addRow(false);
  1190. btn_insgoodcd.dispatch("DOMActivate");
  1191. btn_insgoodcd.selected = true;
  1192. model.toggle("case5");
  1193. var inserRow = grd_goodlist.row - grd_goodlist.fixedRows + 1;
  1194. if(grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodcd")) == "-") {
  1195. grd_goodlist.valueMatrix(inserRow, grd_goodlist.colRef("goodcd")) = "";
  1196. } else {
  1197. grd_goodlist.valueMatrix(inserRow, grd_goodlist.colRef("goodcd")) = grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodcd"));
  1198. }
  1199. grd_goodlist.valueMatrix(inserRow, grd_goodlist.colRef("goodflag")) = grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodflag"));
  1200. grd_goodlist.valueMatrix(inserRow, grd_goodlist.colRef("goodnm")) = grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodhngnm"));
  1201. grd_goodlist.valueMatrix(inserRow, grd_goodlist.colRef("goodhngnm")) = grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodhngnm"));
  1202. grd_goodlist.valueMatrix(inserRow, grd_goodlist.colRef("goodengnm")) = grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodengnm"));
  1203. grd_goodlist.valueMatrix(inserRow, grd_goodlist.colRef("goodspec")) = grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodspec"));
  1204. grd_goodlist.valueMatrix(inserRow, grd_goodlist.colRef("goodmodel")) = grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodmodel"));
  1205. grd_goodlist.valueMatrix(inserRow, grd_goodlist.colRef("edicd")) = grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("edicd"));
  1206. grd_goodlist.valueMatrix(inserRow, grd_goodlist.colRef("prodcmpycd")) = grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("prodcmpycd"));
  1207. grd_goodlist.valueMatrix(inserRow, grd_goodlist.colRef("prodcmpynm")) = grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("prodcmpynm"));
  1208. grd_goodlist.valueMatrix(inserRow, grd_goodlist.colRef("instcd")) = grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("instcd"));
  1209. grd_goodlist.valueMatrix(inserRow, grd_goodlist.colRef("reqdd")) = grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("reqdd"));
  1210. grd_goodlist.valueMatrix(inserRow, grd_goodlist.colRef("reqseqno")) = grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("reqseqno"));
  1211. grd_goodlist.valueMatrix(inserRow, grd_goodlist.colRef("asetflag")) = "1";
  1212. if(grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodcd")) == "-") {
  1213. model.setValue(path + "goodcd", "");
  1214. } else {
  1215. model.setValue(path + "goodcd", grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodcd")));
  1216. }
  1217. model.setValue(path + "goodflag", grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodflag")));
  1218. model.setValue(path + "goodnm", grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodhngnm")));
  1219. model.setValue(path + "goodhngnm", grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodhngnm")));
  1220. model.setValue(path + "goodengnm", grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodengnm")));
  1221. model.setValue(path + "goodspec", grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodspec")));
  1222. model.setValue(path + "goodmodel", grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("goodmodel")));
  1223. model.setValue(path + "edicd", grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("edicd")));
  1224. model.setValue(path + "prodcmpycd", grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("prodcmpycd")));
  1225. model.setValue(path + "prodcmpynm", grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("prodcmpynm")));
  1226. model.setValue(path + "instcd", grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("instcd")));
  1227. model.setValue(path + "reqdd", grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("reqdd")));
  1228. model.setValue(path + "reqseqno", grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("reqseqno")));
  1229. model.setValue(path + "asetflag", "1");
  1230. model.setValue(path + "appinstdata", grd_newmeterial.valueMatrix(grd_newmeterial.row, grd_newmeterial.colRef("instcd")));
  1231. cmb_goodflag.disabled = false;
  1232. cmb_lrgcd.disabled = false;
  1233. cmb_mdlcd.disabled = false;
  1234. cmb_smlcd.disabled = false;
  1235. cmb_goodflag.dispatch("xforms-value-changed");
  1236. model.refresh();
  1237. ]]>
  1238. </script>
  1239. </datagrid>
  1240. <line id="line4" class="line_1" style="x1:3px; y1:25px; x2:693px; y2:25px; "/>
  1241. <caption id="caption2" class="tit_2" style="left:8px; top:6px; width:126px; height:13px; ">신규재료 물품목록</caption>
  1242. </case>
  1243. </switch>
  1244. <button id="btn_insgoodcd" class="btn_sw" group="tab" selected="true" style="left:5px; top:114px; width:100px; height:22px; ">
  1245. <caption>통합물품등록</caption>
  1246. <script type="javascript" ev:event="DOMActivate">
  1247. <![CDATA[
  1248. model.toggle("case5");
  1249. ]]>
  1250. </script>
  1251. </button>
  1252. <button id="btn_new" class="btn_sw" group="tab" style="left:105px; top:114px; width:100px; height:22px; ">
  1253. <caption>신규재료신청</caption>
  1254. <script type="javascript" ev:event="DOMActivate">
  1255. <![CDATA[
  1256. model.toggle("case6");
  1257. ]]>
  1258. </script>
  1259. </button>
  1260. <group id="grp_allsizecopy" visibility="hidden" style="left:0px; top:522px; width:694px; height:233px; border-style:solid; ">
  1261. <datagrid id="grd_allsizecopy" nodeset="/root/init/CopyData/CopySizeLists/CopySizeList" visibility="visible" caption="물품코드^SizeID^물품명^규격^모델^단위^제조사" colsep="^" colwidth="70, 49, 205, 165, 90, 60" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:-1px; top:29px; width:691px; height:201px; ">
  1262. <col ref="goodcd"/>
  1263. <col ref="allsizespecid"/>
  1264. <col ref="goodnm"/>
  1265. <col ref="goodspec"/>
  1266. <col ref="goodmodel"/>
  1267. <col ref="goodunit"/>
  1268. </datagrid>
  1269. <line id="line5" class="line_1" style="x1:-1px; y1:24px; x2:690px; y2:24px; "/>
  1270. <button id="btn_apply" class="btn4_letter2" style="left:631px; top:2px; width:56px; height:22px; ">
  1271. <caption>적용</caption>
  1272. <script type="javascript" ev:event="DOMActivate">
  1273. <![CDATA[
  1274. // 선택물품을 적용하는 처리하는 함수
  1275. fCopyAllSizeId();
  1276. ]]>
  1277. </script>
  1278. </button>
  1279. <caption id="caption23" class="tit_2" style="left:4px; top:7px; width:172px; height:14px; ">All Size Excel Data List</caption>
  1280. <button id="button5" class="btn2_letter3" style="left:504px; top:3px; width:53px; height:19px; ">
  1281. <caption>행삭제</caption>
  1282. <script type="javascript" ev:event="DOMActivate">
  1283. <![CDATA[
  1284. grd_allsizecopy.deleteRow(grd_allsizecopy.row);
  1285. // misfGridIUD(grd_allsizecopy, "D");
  1286. ]]>
  1287. </script>
  1288. </button>
  1289. <button id="button7" class="btn2_letter11" style="left:359px; top:3px; width:141px; height:19px; ">
  1290. <caption>조회 물품외 모두 삭제</caption>
  1291. <script type="javascript" ev:event="DOMActivate">
  1292. <![CDATA[
  1293. fRemoveNodeSizeId();
  1294. fDeleteSizeIdNull();
  1295. ]]>
  1296. </script>
  1297. </button>
  1298. <button id="button8" class="btn4_letter2" style="left:565px; top:2px; width:56px; height:22px; ">
  1299. <caption>취소</caption>
  1300. <script type="javascript" ev:event="DOMActivate">
  1301. <![CDATA[
  1302. grp_allsizecopy.visible = false;
  1303. misfGridInit(grd_allsizecopy);
  1304. ]]>
  1305. </script>
  1306. </button>
  1307. </group>
  1308. <group id="grp_copygood" visibility="hidden" style="left:0px; top:107px; width:1197px; height:649px; border-style:solid; ">
  1309. <datagrid id="grd_copygood" nodeset="/root/init/CopyData/CopyGoodLists/goodexcel" caption="물품코드^EDI코드^물품구분^대분류^중분류^소분류^AllSize^물품명^규격^모델^제조회사^제조회사명^구물품코드^자산^비고^적용기관" colsep="^" colwidth="72, 80, 54, 51, 49, 48, 48, 166, 100, 102, 69, 113, 80, 41, 76, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:-1px; top:29px; width:1193px; height:616px; ">
  1310. <col ref="goodcd" type="input" style="text-align:center; "/>
  1311. <col ref="edicd" type="input" style="text-align:center; "/>
  1312. <col ref="goodflag" type="input" style="text-align:center; "/>
  1313. <col ref="lrgcd" type="input" style="text-align:center; "/>
  1314. <col ref="mdlcd" type="input" style="text-align:center; "/>
  1315. <col ref="smlcd" type="input" style="text-align:center; "/>
  1316. <col ref="allsizespecid" type="input" style="text-align:center; "/>
  1317. <col ref="goodnm" type="input"/>
  1318. <col ref="goodspec" type="input"/>
  1319. <col ref="goodmodel" type="input"/>
  1320. <col ref="prodcmpycd" type="inputbutton" style="text-align:center; "/>
  1321. <col ref="prodcmpynm" type="input"/>
  1322. <col ref="ogoodcd" type="input" style="text-align:center; "/>
  1323. <col ref="asetflag" type="input" style="text-align:center; "/>
  1324. <col ref="cmt" type="input"/>
  1325. <col ref="appinstdata" type="input"/>
  1326. <script type="javascript" ev:event="onbuttonclick">
  1327. <![CDATA[
  1328. var vProdCmpy = model.getValue(grd_copygood.nodeset + "[" + grd_copygood.row + "]/prodcmpycd");
  1329. if (vProdCmpy ==""){
  1330. vProdCmpy = model.getValue(grd_copygood.nodeset + "[" + grd_copygood.row + "]/prodcmpynm");
  1331. };
  1332. // rszfOpenPopUpListByWndName(grd_copygood,"","prodcmpycd,prodcmpynm","SPRSD00160","prodcmpynm",vProdCmpy);
  1333. rszfOpenPopUpListByWndName(grd_copygood,"","prodcmpycd,prodcmpynm","SPRSD00160","","");
  1334. model.refresh();
  1335. ]]>
  1336. </script>
  1337. </datagrid>
  1338. <line id="line9" class="line_1" style="x1:-1px; y1:28px; x2:1192px; y2:28px; "/>
  1339. <button id="button3" class="btn4_letter2" style="left:1136px; top:2px; width:56px; height:22px; ">
  1340. <caption>저장</caption>
  1341. <script type="javascript" ev:event="DOMActivate">
  1342. <![CDATA[
  1343. grd_copygood.colsort(01) = "asc";
  1344. grd_copygood.colsort(03) = "asc";
  1345. grd_copygood.colsort(04) = "asc";
  1346. grd_copygood.colsort(05) = "asc";
  1347. grd_copygood.colsort(06) = "asc";
  1348. grd_copygood.colsort(15) = "asc";
  1349. grd_copygood.colsort(07) = "desc";
  1350. grd_copygood.sort(1,1, grd_copygood.rows-1, grd_copygood.cols-1) = "usersort";
  1351. grd_copygood.gridToInstance();
  1352. grd_copygood.refresh();
  1353. // 선택물품을 적용하는 처리하는 함수
  1354. fSaveGoodExcel();
  1355. ]]>
  1356. </script>
  1357. </button>
  1358. <caption id="caption5" class="tit_2" style="left:4px; top:7px; width:215px; height:14px; ">통합물품목록 Excel Data Lists</caption>
  1359. <button id="button4" class="btn2_letter3" style="left:1009px; top:3px; width:53px; height:19px; ">
  1360. <caption>행삭제</caption>
  1361. <script type="javascript" ev:event="DOMActivate">
  1362. <![CDATA[
  1363. grd_copygood.deleteRow(grd_copygood.row);
  1364. // misfGridIUD(grd_allsizecopy, "D");
  1365. ]]>
  1366. </script>
  1367. </button>
  1368. <button id="button10" class="btn4_letter2" style="left:1070px; top:2px; width:56px; height:22px; ">
  1369. <caption>취소</caption>
  1370. <script type="javascript" ev:event="DOMActivate">
  1371. <![CDATA[
  1372. grp_copygood.visible = false;
  1373. misfGridInit(grd_copygood);
  1374. ]]>
  1375. </script>
  1376. </button>
  1377. <caption id="caption11" style="left:360px; top:5px; width:365px; height:20px; font-weight:bold; color:#ff0000; ">** 비고에 가번호를 꼭 만들어 주세요. Ex (0001)</caption>
  1378. </group>
  1379. </group>
  1380. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  1381. <caption id="caption10" class="tit_1" style="left:0px; top:0px; width:143px; height:13px; ">통합 물품코드 등록</caption>
  1382. </group>
  1383. <group id="grp_delete" visibility="hidden" style="left:702px; top:149px; width:489px; height:345px; font-weight:bold; background-image:C:\CMCOracle\application\webapps\mis\winweb\img\attribute_image.gif; ">
  1384. <caption id="caption26" navindex="-1" style="left:8px; top:8px; width:175px; height:20px; font-weight:bold; text-align:center; vertical-align:middle; border-color:#99cc00; border-width:2px; border-style:outset; ">통합물품 삭제</caption>
  1385. <select id="chk_delcheck1" ref="/root/send/delrscmgood/delcheck1" overflow="visible" appearance="full" style="left:13px; top:139px; width:70px; height:15px; border-style:none; ">
  1386. <choices>
  1387. <item>
  1388. <label>통합물품</label>
  1389. <value>Y</value>
  1390. </item>
  1391. </choices>
  1392. </select>
  1393. <button id="button12" class="btn4_letter2" style="left:410px; top:8px; width:56px; height:22px; ">
  1394. <caption>취소</caption>
  1395. <script type="javascript" ev:event="DOMActivate">
  1396. <![CDATA[
  1397. grp_delete.visible = false;
  1398. ]]>
  1399. </script>
  1400. </button>
  1401. <button id="button13" class="btn4_letter2" style="left:345px; top:8px; width:56px; height:22px; ">
  1402. <caption>삭제</caption>
  1403. <script type="javascript" ev:event="DOMActivate">
  1404. <![CDATA[
  1405. fDeleteRscmgood();
  1406. ]]>
  1407. </script>
  1408. </button>
  1409. <line id="line8" class="line_3" style="x1:3px; y1:36px; x2:481px; y2:36px; "/>
  1410. <caption id="caption12" style="left:84px; top:138px; width:206px; height:20px; ">을 삭제합니다. 맞습니까?</caption>
  1411. <caption id="caption13" style="left:84px; top:218px; width:273px; height:20px; ">삭제시 기관물품도 삭제 됩니다. 맞습니까?</caption>
  1412. <select id="chk_delcheck3" ref="/root/send/delrscmgood/delcheck3" overflow="visible" appearance="full" style="left:13px; top:219px; width:70px; height:15px; border-style:none; ">
  1413. <choices>
  1414. <item>
  1415. <label>통합물품</label>
  1416. <value>Y</value>
  1417. </item>
  1418. </choices>
  1419. </select>
  1420. <select id="chk_delcheck2" ref="/root/send/delrscmgood/delcheck2" overflow="visible" appearance="full" style="left:13px; top:179px; width:70px; height:15px; border-style:none; ">
  1421. <choices>
  1422. <item>
  1423. <label>통합물품</label>
  1424. <value>Y</value>
  1425. </item>
  1426. </choices>
  1427. </select>
  1428. <caption id="caption14" style="left:84px; top:178px; width:215px; height:20px; ">All Size도 삭제합니다. 맞습니까?</caption>
  1429. <select id="chk_delcheck5" ref="/root/send/delrscmgood/delcheck5" overflow="visible" appearance="full" style="left:13px; top:299px; width:70px; height:15px; border-style:none; ">
  1430. <choices>
  1431. <item>
  1432. <label>통합물품</label>
  1433. <value>Y</value>
  1434. </item>
  1435. </choices>
  1436. </select>
  1437. <caption id="caption16" style="left:84px; top:298px; width:229px; height:20px; ">의 변경이력도 삭제합니다. 맞습니까?</caption>
  1438. <select id="chk_delcheck4" ref="/root/send/delrscmgood/delcheck4" overflow="visible" appearance="full" style="left:13px; top:259px; width:70px; height:15px; border-style:none; ">
  1439. <choices>
  1440. <item>
  1441. <label>통합물품</label>
  1442. <value>Y</value>
  1443. </item>
  1444. </choices>
  1445. </select>
  1446. <caption id="caption15" style="left:84px; top:258px; width:316px; height:20px; ">삭제시 기관물품 All Size도 삭제 됩니다. 맞습니까?</caption>
  1447. <input id="ipt_delgoodnm" ref="/root/send/delrscmgood/goodnm" class="input_essential" maxlength="200" style="left:100px; top:101px; width:384px; height:19px; ">
  1448. <script type="javascript" ev:event="onkeydown">
  1449. <![CDATA[
  1450. if(event.keyCode == 9)
  1451. {
  1452. if(event.shiftKey)model.setFocus("ipt_goodcd");
  1453. else model.setFocus("ipt_goodhngnm");
  1454. }
  1455. ]]>
  1456. </script>
  1457. </input>
  1458. <input id="ipt_delgood" ref="/root/send/delrscmgood/goodcd" class="input_s_essential" maxlength="12" _chartype="upper" style="left:100px; top:65px; width:108px; height:19px; ">
  1459. <script type="javascript" ev:event="onkeydown">
  1460. <![CDATA[
  1461. if(event.keyCode == 9)model.setFocus("ipt_goodnm");
  1462. event.preventDefault();
  1463. ]]>
  1464. </script>
  1465. </input>
  1466. <caption id="caption25" class="search_name" style="left:13px; top:65px; width:86px; height:17px; ">물품코드 :</caption>
  1467. <caption id="caption17" class="search_name" style="left:13px; top:101px; width:85px; height:17px; ">물 품 명 :</caption>
  1468. </group>
  1469. </xhtml:body>
  1470. </xhtml:html>