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

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