SPRSD00190_물품코드HELP.xfdl 84 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPRSD00190" position="absolute 0 0 1140 600" titletext="물품코드 검색화면" oninit="SPRSD00190_oninit" onload="SPRSD00190_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 8 0 1140 595" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 5 1125 90" id="group2" class="div_SA">
  11. <Layouts>
  12. <Layout>
  13. <Edit position="absolute 90 59 251 78" id="ipt_goodnm" class="input_s_essential" autoselect="true" onkeyup="group3_group2_ipt_goodnm_onkeyup" tooltiptext="조회구분을 먼저선택하세요!" tooltiptype="hover"/>
  14. <Button position="absolute 1045 22 1101 44" id="btn_search" class="btn1" text="조회" onclick="group3_group2_btn_search_onclick"/>
  15. <Shape position="absolute 1031 14 1037 73" linetype="vertical" id="line13" class="line_4"/>
  16. <Static text="물 품 명 :" position="absolute 15 60 91 77" id="caption2" class="search_name"/>
  17. <Combo position="absolute 90 8 251 27" id="cmb_instcd" class="combo_s_essential" taborder="1" innerdataset="@ds_init_instcd" datacolumn="cdnm" codecolumn="cdid"/>
  18. <Static text="기관코드 :" position="absolute 15 9 91 26" id="caption4" class="search_name"/>
  19. <Static text="물품구분 :" position="absolute 514 9 590 26" id="caption8" class="search_name"/>
  20. <Combo position="absolute 588 8 745 27" id="cmb_goodflag" class="combo_s_essential" taborder="1" innerdataset="@ds_init_cmb_goodflag_comcodelist" datacolumn="cdnm" codecolumn="cdid" onitemchanged="group3_group2_cmb_goodflag_onitemchanged"/>
  21. <Static text="물품코드 :" position="absolute 15 35 91 52" id="caption3" class="search_name"/>
  22. <Edit readonly="true" position="absolute 1040 0 1105 19" id="opt_reqmthd" visible="false" class="output"/>
  23. <Static text="대 분 류 :" position="absolute 514 35 590 52" id="caption7" class="search_name"/>
  24. <Static text="중 분 류 :" position="absolute 514 60 590 77" id="caption9" class="search_name"/>
  25. <Button position="absolute 901 59 917 75" id="btn_prodcmpycd" class="icon_search" text="" onclick="group3_group2_btn_prodcmpycd_onclick"/>
  26. <Edit position="absolute 840 59 895 78" id="ipt_prodcmpycd" class="input_default" autoselect="true" onkillfocus="group3_group2_ipt_prodcmpycd_onkillfocus"/>
  27. <Edit position="absolute 920 60 1021 79" id="ipt_prodcmpynm" class="input_search" autoselect="true" onkillfocus="group3_group2_ipt_prodcmpynm_onkillfocus"/>
  28. <Static text="규 격 :" position="absolute 763 9 838 26" id="caption10" class="search_name"/>
  29. <Static text="제조회사 :" position="absolute 763 60 839 77" id="caption12" class="search_name"/>
  30. <Edit position="absolute 840 8 1020 27" id="ipt_goodspec" class="input_default" autoselect="true"/>
  31. <Edit position="absolute 840 34 1020 53" id="ipt_goodmodel" class="input_default" autoselect="true"/>
  32. <Static text="모 델 :" position="absolute 763 35 838 52" id="caption11" class="search_name"/>
  33. <Static text="구 자 재 :" position="absolute 270 60 344 77" id="caption13" class="search_name"/>
  34. <Edit position="absolute 345 59 431 78" id="ipt_oldcd_search" class="input_search" autoselect="true" tooltiptext="구 MIS시스템 앞자리를 구분없이 입력하세요(70101)" tooltiptype="hover"/>
  35. <Combo position="absolute 345 34 484 53" id="cmb_reqprid" class="combo_default" enable="false" innerdataset="@ds_init_reqpridflag" datacolumn="cdnm" codecolumn="cdid"/>
  36. <Static text="청구구분 :" position="absolute 270 9 346 26" id="cap_reqflag" class="search_name"/>
  37. <Static text="주 기 :" position="absolute 270 35 346 52" id="cap_reqprid" class="search_name"/>
  38. <Combo position="absolute 345 8 484 27" id="cmb_reqflag" class="combo_default" enable="false" innerdataset="@ds_init_reqflag" datacolumn="reqflagnm" codecolumn="reqflag" onitemchanged="group3_group2_cmb_reqflag_onitemchanged"/>
  39. <Static text="ex) 70101" position="absolute 433 60 498 80" id="caption14"/>
  40. <Combo position="absolute 624 8 679 27" id="cmb_goodflagcopy" class="combo_s_essential" taborder="1" visible="false" innerdataset="@ds_init_instcd" datacolumn="cdnm" codecolumn="cdid"/>
  41. <Button position="absolute 1045 47 1113 69" id="btn_clear" class="btn4" text="초기화" onclick="group3_group2_btn_clear_onclick"/>
  42. <Combo position="absolute 588 34 745 53" id="cmb_lrgcd" onitemchanged="group3_group2_cmb_lrgcd_onitemchanged"/>
  43. <Combo position="absolute 588 59 745 78" id="cmb_mdlcd"/>
  44. <Edit position="absolute 90 34 251 53" id="ipt_goodcd" class="input_s_essential" autoselect="true" onkeyup="group3_group2_ipt_goodcd_onkeyup" tooltiptext="조회구분을 먼저선택하세요!" tooltiptype="hover" inputmode="upper"/>
  45. <Edit position="absolute 0 0 15 19" id="ipt_reqcheck" visible="false" autoselect="true"/>
  46. <Edit position="absolute 20 0 30 19" id="ipt_nonusegoodview" visible="false" autoselect="true"/>
  47. <Edit position="absolute 40 0 95 19" id="ipt_purcdmnddd" visible="false" autoselect="true"/>
  48. </Layout>
  49. </Layouts>
  50. </Div>
  51. <Static text="물품코드조회리스트" position="absolute 0 98 145 114" id="caption1" class="tit_2"/>
  52. <Shape position="absolute 0 114 700 120" linetype="horizontal" id="line1" class="line_10"/>
  53. <Grid position="absolute 0 119 700 594" id="grd_goodlist" class="grd_agtplcelist" binddataset="ds_main_goodlist" oncelldblclick="group3_grd_goodlist_oncelldblclick">
  54. <Formats>
  55. <Format id="default">
  56. <Columns>
  57. <Column size="20" band="left"/>
  58. <Column size="20"/>
  59. <Column size="73"/>
  60. <Column size="0"/>
  61. <Column size="170"/>
  62. <Column size="0"/>
  63. <Column size="69"/>
  64. <Column size="0"/>
  65. <Column size="0"/>
  66. <Column size="56"/>
  67. <Column size="73"/>
  68. <Column size="0"/>
  69. <Column size="0"/>
  70. <Column size="67"/>
  71. <Column size="50"/>
  72. <Column size="49"/>
  73. <Column size="0"/>
  74. <Column size="50"/>
  75. <Column size="0"/>
  76. <Column size="0"/>
  77. <Column size="0"/>
  78. <Column size="0"/>
  79. <Column size="0"/>
  80. <Column size="0"/>
  81. <Column size="0"/>
  82. <Column size="0"/>
  83. <Column size="0"/>
  84. <Column size="0"/>
  85. <Column size="0"/>
  86. <Column size="0"/>
  87. <Column size="0"/>
  88. <Column size="0"/>
  89. <Column size="0"/>
  90. <Column size="0"/>
  91. <Column size="0"/>
  92. <Column size="0"/>
  93. <Column size="0"/>
  94. <Column size="0"/>
  95. <Column size="0"/>
  96. <Column size="0"/>
  97. <Column size="0"/>
  98. <Column size="0"/>
  99. <Column size="0"/>
  100. <Column size="0"/>
  101. <Column size="0"/>
  102. <Column size="0"/>
  103. <Column size="0"/>
  104. <Column size="0"/>
  105. <Column size="0"/>
  106. <Column size="0"/>
  107. <Column size="0"/>
  108. <Column size="0"/>
  109. <Column size="0"/>
  110. <Column size="0"/>
  111. <Column size="0"/>
  112. <Column size="0"/>
  113. <Column size="0"/>
  114. <Column size="0"/>
  115. <Column size="0"/>
  116. <Column size="0"/>
  117. <Column size="0"/>
  118. <Column size="0"/>
  119. <Column size="0"/>
  120. <Column size="0"/>
  121. <Column size="0"/>
  122. <Column size="0"/>
  123. <Column size="0"/>
  124. <Column size="0"/>
  125. <Column size="0"/>
  126. <Column size="0"/>
  127. <Column size="0"/>
  128. <Column size="0"/>
  129. <Column size="0"/>
  130. <Column size="0"/>
  131. <Column size="0"/>
  132. <Column size="0"/>
  133. <Column size="0"/>
  134. <Column size="0"/>
  135. <Column size="0"/>
  136. <Column size="0"/>
  137. <Column size="0"/>
  138. <Column size="0"/>
  139. <Column size="0"/>
  140. <Column size="0"/>
  141. <Column size="0"/>
  142. <Column size="0"/>
  143. <Column size="0"/>
  144. <Column size="0"/>
  145. <Column size="0"/>
  146. <Column size="0"/>
  147. <Column size="0"/>
  148. <Column size="0"/>
  149. <Column size="0"/>
  150. <Column size="0"/>
  151. <Column size="0"/>
  152. <Column size="0"/>
  153. <Column size="0"/>
  154. <Column size="0"/>
  155. <Column size="0"/>
  156. <Column size="0"/>
  157. <Column size="0"/>
  158. <Column size="0"/>
  159. <Column size="0"/>
  160. <Column size="0"/>
  161. <Column size="0"/>
  162. <Column size="0"/>
  163. <Column size="0"/>
  164. <Column size="0"/>
  165. <Column size="0"/>
  166. <Column size="0"/>
  167. </Columns>
  168. <Rows>
  169. <Row size="24" band="head"/>
  170. <Row size="24"/>
  171. </Rows>
  172. <Band id="head">
  173. <Cell/>
  174. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  175. <Cell col="2" text="물품코드"/>
  176. <Cell col="3" text="물품코드"/>
  177. <Cell col="4" text="물품명"/>
  178. <Cell col="5" text="제조회사코드"/>
  179. <Cell col="6" text="규격"/>
  180. <Cell col="7" text="물품한글명"/>
  181. <Cell col="8" text="물품영문명"/>
  182. <Cell col="9" text="모델"/>
  183. <Cell col="10" text="제조회사"/>
  184. <Cell col="11" text="기관코드"/>
  185. <Cell col="12" text="물품구분"/>
  186. <Cell col="13" text="최소청구량"/>
  187. <Cell col="14" text="기준량"/>
  188. <Cell col="15" text="재고량"/>
  189. <Cell col="16" text="사용자수량"/>
  190. <Cell col="17" text="단위"/>
  191. <Cell col="18"/>
  192. <Cell col="19"/>
  193. <Cell col="20"/>
  194. <Cell col="21"/>
  195. <Cell col="22"/>
  196. <Cell col="23"/>
  197. <Cell col="24"/>
  198. <Cell col="25"/>
  199. <Cell col="26"/>
  200. <Cell col="27"/>
  201. <Cell col="28"/>
  202. <Cell col="29"/>
  203. <Cell col="30"/>
  204. <Cell col="31"/>
  205. <Cell col="32"/>
  206. <Cell col="33"/>
  207. <Cell col="34"/>
  208. <Cell col="35"/>
  209. <Cell col="36"/>
  210. <Cell col="37"/>
  211. <Cell col="38"/>
  212. <Cell col="39"/>
  213. <Cell col="40"/>
  214. <Cell col="41"/>
  215. <Cell col="42"/>
  216. <Cell col="43"/>
  217. <Cell col="44"/>
  218. <Cell col="45"/>
  219. <Cell col="46"/>
  220. <Cell col="47"/>
  221. <Cell col="48"/>
  222. <Cell col="49"/>
  223. <Cell col="50"/>
  224. <Cell col="51"/>
  225. <Cell col="52"/>
  226. <Cell col="53"/>
  227. <Cell col="54"/>
  228. <Cell col="55"/>
  229. <Cell col="56"/>
  230. <Cell col="57"/>
  231. <Cell col="58"/>
  232. <Cell col="59"/>
  233. <Cell col="60"/>
  234. <Cell col="61"/>
  235. <Cell col="62"/>
  236. <Cell col="63"/>
  237. <Cell col="64"/>
  238. <Cell col="65"/>
  239. <Cell col="66"/>
  240. <Cell col="67"/>
  241. <Cell col="68"/>
  242. <Cell col="69"/>
  243. <Cell col="70"/>
  244. <Cell col="71"/>
  245. <Cell col="72"/>
  246. <Cell col="73"/>
  247. <Cell col="74"/>
  248. <Cell col="75"/>
  249. <Cell col="76"/>
  250. <Cell col="77"/>
  251. <Cell col="78"/>
  252. <Cell col="79"/>
  253. <Cell col="80"/>
  254. <Cell col="81"/>
  255. <Cell col="82"/>
  256. <Cell col="83"/>
  257. <Cell col="84"/>
  258. <Cell col="85"/>
  259. <Cell col="86"/>
  260. <Cell col="87"/>
  261. <Cell col="88"/>
  262. <Cell col="89"/>
  263. <Cell col="90"/>
  264. <Cell col="91"/>
  265. <Cell col="92"/>
  266. <Cell col="93"/>
  267. <Cell col="94"/>
  268. <Cell col="95"/>
  269. <Cell col="96"/>
  270. <Cell col="97"/>
  271. <Cell col="98"/>
  272. <Cell col="99"/>
  273. <Cell col="100"/>
  274. <Cell col="101"/>
  275. <Cell col="102"/>
  276. <Cell col="103"/>
  277. <Cell col="104"/>
  278. <Cell col="105" text="a"/>
  279. <Cell col="106"/>
  280. <Cell col="107"/>
  281. <Cell col="108"/>
  282. <Cell col="109"/>
  283. </Band>
  284. <Band id="body">
  285. <Cell celltype="head" expr="expr:currow + 1"/>
  286. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:select" expr="expr:select == 'true' || select == '1' ? '1' : '0'"/>
  287. <Cell col="2" style="align:left;" text="bind:goodcd"/>
  288. <Cell col="3" text="bind:allsizespecid"/>
  289. <Cell col="4" style="align:left;" text="bind:goodnm"/>
  290. <Cell col="5" text="bind:prodcmpycd"/>
  291. <Cell col="6" style="align:left;" text="bind:goodspec"/>
  292. <Cell col="7" style="align:left;" text="bind:goodhngnm"/>
  293. <Cell col="8" style="align:left;" text="bind:goodengnm"/>
  294. <Cell col="9" style="align:left;" text="bind:goodmodel"/>
  295. <Cell col="10" text="bind:prodcmpynm"/>
  296. <Cell col="11" text="bind:instcd"/>
  297. <Cell col="12" text="bind:goodflag"/>
  298. <Cell col="13" displaytype="number" style="align:left;" text="bind:minexch" mask="0.0"/>
  299. <Cell col="14" displaytype="number" style="align:left;" text="bind:safestocqty" mask="0.0"/>
  300. <Cell col="15" style="align:left;" text="bind:stocqty"/>
  301. <Cell col="16" style="align:left;" text="bind:userqty"/>
  302. <Cell col="17" style="align:left;" text="bind:purcunit"/>
  303. <Cell col="18" text="bind:todd"/>
  304. <Cell col="19" text="bind:useyn"/>
  305. <Cell col="20" text="bind:fromdd"/>
  306. <Cell col="21" text="bind:asetflag"/>
  307. <Cell col="22" text="bind:lrgcd"/>
  308. <Cell col="23" text="bind:lrgnm"/>
  309. <Cell col="24" text="bind:mdlcd"/>
  310. <Cell col="25" text="bind:mdlnm"/>
  311. <Cell col="26" text="bind:smlcd"/>
  312. <Cell col="27" text="bind:smlnm"/>
  313. <Cell col="28" text="bind:proddrugsetflag"/>
  314. <Cell col="29" text="bind:winacnt"/>
  315. <Cell col="30" text="bind:winacntnm"/>
  316. <Cell col="31" text="bind:amtacnt"/>
  317. <Cell col="32" text="bind:amtacntnm"/>
  318. <Cell col="33" text="bind:mainmngtdeptcd"/>
  319. <Cell col="34" text="bind:mainmngtdeptnm"/>
  320. <Cell col="35" text="bind:mainusedeptcd"/>
  321. <Cell col="36" text="bind:mainusedeptnm"/>
  322. <Cell col="37" text="bind:purclnkgoodcd"/>
  323. <Cell col="38" text="bind:stocmngtflag"/>
  324. <Cell col="39" text="bind:deliveunit"/>
  325. <Cell col="40" text="bind:purcunitnm"/>
  326. <Cell col="41" text="bind:deliveunitnm"/>
  327. <Cell col="42" text="bind:exchqty"/>
  328. <Cell col="43" text="bind:reuseyn"/>
  329. <Cell col="44" text="bind:divusenvalqty"/>
  330. <Cell col="45" text="bind:calcscorinfoacptstat"/>
  331. <Cell col="46" text="bind:calcscorinfoacptdd"/>
  332. <Cell col="47" text="bind:insuyn"/>
  333. <Cell col="48" text="bind:edicd"/>
  334. <Cell col="49" text="bind:newrgstdd"/>
  335. <Cell col="50" text="bind:reqdeptcd"/>
  336. <Cell col="51" text="bind:reqdeptnm"/>
  337. <Cell col="52" text="bind:reqpsn"/>
  338. <Cell col="53" text="bind:reqpsnnm"/>
  339. <Cell col="54" text="bind:reqflag"/>
  340. <Cell col="55" text="bind:reqflagnm"/>
  341. <Cell col="56" text="bind:reqmthd"/>
  342. <Cell col="57" text="bind:reqprid"/>
  343. <Cell col="58" text="bind:iopsnflag"/>
  344. <Cell col="59" text="bind:prodplce"/>
  345. <Cell col="60" text="bind:prodplcenm"/>
  346. <Cell col="61" text="bind:maincustlastsuplplce"/>
  347. <Cell col="62" text="bind:maincustlastsuplplcenm"/>
  348. <Cell col="63" text="bind:suppcustcd"/>
  349. <Cell col="64" text="bind:suppcustnm"/>
  350. <Cell col="65" text="bind:conflag"/>
  351. <Cell col="66" text="bind:fromconterm"/>
  352. <Cell col="67" text="bind:toconterm"/>
  353. <Cell col="68" text="bind:estmamt"/>
  354. <Cell col="69" text="bind:forgncurncyunitcost"/>
  355. <Cell col="70" text="bind:curncyunit"/>
  356. <Cell col="71" text="bind:curncyunitnm"/>
  357. <Cell col="72" text="bind:goodunitcost"/>
  358. <Cell col="73" text="bind:purcflag"/>
  359. <Cell col="74" text="bind:allsizeyn"/>
  360. <Cell col="75" text="bind:setplceordflag"/>
  361. <Cell col="76" text="bind:plceordbase"/>
  362. <Cell col="77" text="bind:plceordqtycretflag"/>
  363. <Cell col="78" text="bind:plceordnonusedd"/>
  364. <Cell col="79" text="bind:addtaxrate"/>
  365. <Cell col="80" text="bind:lastpurcdd"/>
  366. <Cell col="81" text="bind:nonusetretresn"/>
  367. <Cell col="82" text="bind:mngtflag"/>
  368. <Cell col="83" text="bind:bnscd"/>
  369. <Cell col="84" text="bind:cntrdrugyn"/>
  370. <Cell col="85" text="bind:narcflag"/>
  371. <Cell col="86" text="bind:expnyn"/>
  372. <Cell col="87" text="bind:cntsunit"/>
  373. <Cell col="88" text="bind:cntsqty"/>
  374. <Cell col="89" text="bind:specvol"/>
  375. <Cell col="90" text="bind:drugkind"/>
  376. <Cell col="91" text="bind:cooppurcyn"/>
  377. <Cell col="92" text="bind:autrampharm"/>
  378. <Cell col="93" text="bind:keepmthd"/>
  379. <Cell col="94" text="bind:specldrug"/>
  380. <Cell col="95" text="bind:gnrlspcl"/>
  381. <Cell col="96" text="bind:welfprt"/>
  382. <Cell col="97" text="bind:goodtype"/>
  383. <Cell col="98" text="bind:com"/>
  384. <Cell col="99" text="bind:limdrugyn"/>
  385. <Cell col="100" text="bind:cmt"/>
  386. <Cell col="101" text="bind:safestocappdd"/>
  387. <Cell col="102" text="bind:ddavguseqty"/>
  388. <Cell col="103" text="bind:mmavgusescheqty"/>
  389. <Cell col="104" text="bind:mmavguseqty"/>
  390. <Cell col="105" text="bind:prprtystocpossndayno"/>
  391. <Cell col="106" text="bind:orgloc"/>
  392. <Cell col="107" text="bind:oldcd"/>
  393. <Cell col="108" text="bind:allsizespecid"/>
  394. <Cell col="109" text="bind:tmpreqflag"/>
  395. </Band>
  396. </Format>
  397. </Formats>
  398. </Grid>
  399. <Button position="absolute 636 93 700 112" id="btn_listcopy" class="btn2" text="선택적용" onclick="group3_btn_listcopy_onclick"/>
  400. <Static text="선택리스트" position="absolute 705 98 850 114" id="caption5" class="tit_2"/>
  401. <Shape position="absolute 705 114 1125 120" linetype="horizontal" id="line2" class="line_10"/>
  402. <Grid position="absolute 705 119 1125 594" id="grd_apply" class="grd_agtplcelist" binddataset="ds_apply_goodapplist">
  403. <Formats>
  404. <Format id="default">
  405. <Columns>
  406. <Column size="20" band="left"/>
  407. <Column size="20"/>
  408. <Column size="65"/>
  409. <Column size="0"/>
  410. <Column size="170"/>
  411. <Column size="0"/>
  412. <Column size="73"/>
  413. <Column size="0"/>
  414. <Column size="0"/>
  415. <Column size="0"/>
  416. <Column size="0"/>
  417. <Column size="0"/>
  418. <Column size="0"/>
  419. <Column size="0"/>
  420. <Column size="0"/>
  421. <Column size="0"/>
  422. <Column size="30"/>
  423. <Column size="42"/>
  424. <Column size="0"/>
  425. <Column size="0"/>
  426. <Column size="0"/>
  427. <Column size="0"/>
  428. <Column size="0"/>
  429. <Column size="0"/>
  430. <Column size="0"/>
  431. <Column size="0"/>
  432. <Column size="0"/>
  433. <Column size="0"/>
  434. <Column size="0"/>
  435. <Column size="0"/>
  436. <Column size="0"/>
  437. <Column size="0"/>
  438. <Column size="0"/>
  439. <Column size="0"/>
  440. <Column size="0"/>
  441. <Column size="0"/>
  442. <Column size="0"/>
  443. <Column size="0"/>
  444. <Column size="0"/>
  445. <Column size="0"/>
  446. <Column size="0"/>
  447. <Column size="0"/>
  448. <Column size="0"/>
  449. <Column size="0"/>
  450. <Column size="0"/>
  451. <Column size="0"/>
  452. <Column size="0"/>
  453. <Column size="0"/>
  454. <Column size="0"/>
  455. <Column size="0"/>
  456. <Column size="0"/>
  457. <Column size="0"/>
  458. <Column size="0"/>
  459. <Column size="0"/>
  460. <Column size="0"/>
  461. <Column size="0"/>
  462. <Column size="0"/>
  463. <Column size="0"/>
  464. <Column size="0"/>
  465. <Column size="0"/>
  466. <Column size="0"/>
  467. <Column size="0"/>
  468. <Column size="0"/>
  469. <Column size="0"/>
  470. <Column size="0"/>
  471. <Column size="0"/>
  472. <Column size="0"/>
  473. <Column size="0"/>
  474. <Column size="0"/>
  475. <Column size="0"/>
  476. <Column size="0"/>
  477. <Column size="0"/>
  478. <Column size="0"/>
  479. <Column size="0"/>
  480. <Column size="0"/>
  481. <Column size="0"/>
  482. <Column size="0"/>
  483. <Column size="0"/>
  484. <Column size="0"/>
  485. <Column size="0"/>
  486. <Column size="0"/>
  487. <Column size="0"/>
  488. <Column size="0"/>
  489. <Column size="0"/>
  490. <Column size="0"/>
  491. <Column size="0"/>
  492. <Column size="0"/>
  493. <Column size="0"/>
  494. <Column size="0"/>
  495. <Column size="0"/>
  496. <Column size="0"/>
  497. <Column size="0"/>
  498. <Column size="0"/>
  499. <Column size="0"/>
  500. <Column size="0"/>
  501. <Column size="0"/>
  502. <Column size="0"/>
  503. <Column size="0"/>
  504. <Column size="0"/>
  505. <Column size="0"/>
  506. <Column size="0"/>
  507. <Column size="0"/>
  508. <Column size="0"/>
  509. <Column size="0"/>
  510. <Column size="0"/>
  511. <Column size="0"/>
  512. <Column size="0"/>
  513. <Column size="0"/>
  514. <Column size="0"/>
  515. <Column size="0"/>
  516. </Columns>
  517. <Rows>
  518. <Row size="24" band="head"/>
  519. <Row size="24"/>
  520. </Rows>
  521. <Band id="head">
  522. <Cell/>
  523. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  524. <Cell col="2" text="물품코드"/>
  525. <Cell col="3" text="물품코드"/>
  526. <Cell col="4" text="물품명"/>
  527. <Cell col="5" text="제조회사코드"/>
  528. <Cell col="6" text="규격"/>
  529. <Cell col="7" text="물품한글명"/>
  530. <Cell col="8" text="물품영문명"/>
  531. <Cell col="9" text="모델"/>
  532. <Cell col="10" text="제조회사"/>
  533. <Cell col="11" text="기관코드"/>
  534. <Cell col="12" text="물품구분"/>
  535. <Cell col="13" text="최소청구량"/>
  536. <Cell col="14" text="기준량"/>
  537. <Cell col="15" text="재고량"/>
  538. <Cell col="16" text="수량"/>
  539. <Cell col="17" text="단위"/>
  540. <Cell col="18"/>
  541. <Cell col="19"/>
  542. <Cell col="20"/>
  543. <Cell col="21"/>
  544. <Cell col="22"/>
  545. <Cell col="23"/>
  546. <Cell col="24"/>
  547. <Cell col="25"/>
  548. <Cell col="26"/>
  549. <Cell col="27"/>
  550. <Cell col="28"/>
  551. <Cell col="29"/>
  552. <Cell col="30"/>
  553. <Cell col="31"/>
  554. <Cell col="32"/>
  555. <Cell col="33"/>
  556. <Cell col="34"/>
  557. <Cell col="35"/>
  558. <Cell col="36"/>
  559. <Cell col="37"/>
  560. <Cell col="38"/>
  561. <Cell col="39"/>
  562. <Cell col="40"/>
  563. <Cell col="41"/>
  564. <Cell col="42"/>
  565. <Cell col="43"/>
  566. <Cell col="44"/>
  567. <Cell col="45"/>
  568. <Cell col="46"/>
  569. <Cell col="47"/>
  570. <Cell col="48"/>
  571. <Cell col="49"/>
  572. <Cell col="50"/>
  573. <Cell col="51"/>
  574. <Cell col="52"/>
  575. <Cell col="53"/>
  576. <Cell col="54"/>
  577. <Cell col="55"/>
  578. <Cell col="56"/>
  579. <Cell col="57"/>
  580. <Cell col="58"/>
  581. <Cell col="59"/>
  582. <Cell col="60"/>
  583. <Cell col="61"/>
  584. <Cell col="62"/>
  585. <Cell col="63"/>
  586. <Cell col="64"/>
  587. <Cell col="65"/>
  588. <Cell col="66"/>
  589. <Cell col="67"/>
  590. <Cell col="68"/>
  591. <Cell col="69"/>
  592. <Cell col="70"/>
  593. <Cell col="71"/>
  594. <Cell col="72"/>
  595. <Cell col="73"/>
  596. <Cell col="74"/>
  597. <Cell col="75"/>
  598. <Cell col="76"/>
  599. <Cell col="77"/>
  600. <Cell col="78"/>
  601. <Cell col="79"/>
  602. <Cell col="80"/>
  603. <Cell col="81"/>
  604. <Cell col="82"/>
  605. <Cell col="83"/>
  606. <Cell col="84"/>
  607. <Cell col="85"/>
  608. <Cell col="86"/>
  609. <Cell col="87"/>
  610. <Cell col="88"/>
  611. <Cell col="89"/>
  612. <Cell col="90"/>
  613. <Cell col="91"/>
  614. <Cell col="92"/>
  615. <Cell col="93"/>
  616. <Cell col="94"/>
  617. <Cell col="95"/>
  618. <Cell col="96"/>
  619. <Cell col="97"/>
  620. <Cell col="98"/>
  621. <Cell col="99"/>
  622. <Cell col="100"/>
  623. <Cell col="101"/>
  624. <Cell col="102"/>
  625. <Cell col="103"/>
  626. <Cell col="104"/>
  627. <Cell col="105" text="a"/>
  628. <Cell col="106"/>
  629. <Cell col="107"/>
  630. <Cell col="108"/>
  631. <Cell col="109"/>
  632. </Band>
  633. <Band id="body">
  634. <Cell celltype="head" expr="expr:currow + 1"/>
  635. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:select" expr="expr:select == 'true' || select == '1' ? '1' : '0'"/>
  636. <Cell col="2" style="align:left;" text="bind:goodcd"/>
  637. <Cell col="3" text="bind:allsizespecid"/>
  638. <Cell col="4" style="align:left;" text="bind:goodnm"/>
  639. <Cell col="5" text="bind:prodcmpycd"/>
  640. <Cell col="6" style="align:left;" text="bind:goodspec"/>
  641. <Cell col="7" text="bind:goodhngnm"/>
  642. <Cell col="8" text="bind:goodengnm"/>
  643. <Cell col="9" text="bind:goodmodel"/>
  644. <Cell col="10" text="bind:prodcmpynm"/>
  645. <Cell col="11" text="bind:instcd"/>
  646. <Cell col="12" text="bind:goodflag"/>
  647. <Cell col="13" text="bind:minexch"/>
  648. <Cell col="14" text="bind:safestocqty"/>
  649. <Cell col="15" text="bind:stocqty"/>
  650. <Cell col="16" displaytype="number" edittype="masknumber" style="align:left;" text="bind:userqty" mask="0.0"/>
  651. <Cell col="17" style="align:left;" text="bind:purcunit"/>
  652. <Cell col="18" text="bind:todd"/>
  653. <Cell col="19" text="bind:useyn"/>
  654. <Cell col="20" text="bind:fromdd"/>
  655. <Cell col="21" text="bind:asetflag"/>
  656. <Cell col="22" text="bind:lrgcd"/>
  657. <Cell col="23" text="bind:lrgnm"/>
  658. <Cell col="24" text="bind:mdlcd"/>
  659. <Cell col="25" text="bind:mdlnm"/>
  660. <Cell col="26" text="bind:smlcd"/>
  661. <Cell col="27" text="bind:smlnm"/>
  662. <Cell col="28" text="bind:proddrugsetflag"/>
  663. <Cell col="29" text="bind:winacnt"/>
  664. <Cell col="30" text="bind:winacntnm"/>
  665. <Cell col="31" text="bind:amtacnt"/>
  666. <Cell col="32" text="bind:amtacntnm"/>
  667. <Cell col="33" text="bind:mainmngtdeptcd"/>
  668. <Cell col="34" text="bind:mainmngtdeptnm"/>
  669. <Cell col="35" text="bind:mainusedeptcd"/>
  670. <Cell col="36" text="bind:mainusedeptnm"/>
  671. <Cell col="37" text="bind:purclnkgoodcd"/>
  672. <Cell col="38" text="bind:stocmngtflag"/>
  673. <Cell col="39" text="bind:deliveunit"/>
  674. <Cell col="40" text="bind:purcunitnm"/>
  675. <Cell col="41" text="bind:deliveunitnm"/>
  676. <Cell col="42" text="bind:exchqty"/>
  677. <Cell col="43" text="bind:reuseyn"/>
  678. <Cell col="44" text="bind:divusenvalqty"/>
  679. <Cell col="45" text="bind:calcscorinfoacptstat"/>
  680. <Cell col="46" text="bind:calcscorinfoacptdd"/>
  681. <Cell col="47" text="bind:insuyn"/>
  682. <Cell col="48" text="bind:edicd"/>
  683. <Cell col="49" text="bind:newrgstdd"/>
  684. <Cell col="50" text="bind:reqdeptcd"/>
  685. <Cell col="51" text="bind:reqdeptnm"/>
  686. <Cell col="52" text="bind:reqpsn"/>
  687. <Cell col="53" text="bind:reqpsnnm"/>
  688. <Cell col="54" text="bind:reqflag"/>
  689. <Cell col="55" text="bind:reqflagnm"/>
  690. <Cell col="56" text="bind:reqmthd"/>
  691. <Cell col="57" text="bind:reqprid"/>
  692. <Cell col="58" text="bind:iopsnflag"/>
  693. <Cell col="59" text="bind:prodplce"/>
  694. <Cell col="60" text="bind:prodplcenm"/>
  695. <Cell col="61" text="bind:maincustlastsuplplce"/>
  696. <Cell col="62" text="bind:maincustlastsuplplcenm"/>
  697. <Cell col="63" text="bind:suppcustcd"/>
  698. <Cell col="64" text="bind:suppcustnm"/>
  699. <Cell col="65" text="bind:conflag"/>
  700. <Cell col="66" text="bind:fromconterm"/>
  701. <Cell col="67" text="bind:toconterm"/>
  702. <Cell col="68" text="bind:estmamt"/>
  703. <Cell col="69" text="bind:forgncurncyunitcost"/>
  704. <Cell col="70" text="bind:curncyunit"/>
  705. <Cell col="71" text="bind:curncyunitnm"/>
  706. <Cell col="72" text="bind:goodunitcost"/>
  707. <Cell col="73" text="bind:purcflag"/>
  708. <Cell col="74" text="bind:allsizeyn"/>
  709. <Cell col="75" text="bind:setplceordflag"/>
  710. <Cell col="76" text="bind:plceordbase"/>
  711. <Cell col="77" text="bind:plceordqtycretflag"/>
  712. <Cell col="78" text="bind:plceordnonusedd"/>
  713. <Cell col="79" text="bind:addtaxrate"/>
  714. <Cell col="80" text="bind:lastpurcdd"/>
  715. <Cell col="81" text="bind:nonusetretresn"/>
  716. <Cell col="82" text="bind:mngtflag"/>
  717. <Cell col="83" text="bind:bnscd"/>
  718. <Cell col="84" text="bind:cntrdrugyn"/>
  719. <Cell col="85" text="bind:narcflag"/>
  720. <Cell col="86" text="bind:expnyn"/>
  721. <Cell col="87" text="bind:cntsunit"/>
  722. <Cell col="88" text="bind:cntsqty"/>
  723. <Cell col="89" text="bind:specvol"/>
  724. <Cell col="90" text="bind:drugkind"/>
  725. <Cell col="91" text="bind:cooppurcyn"/>
  726. <Cell col="92" text="bind:autrampharm"/>
  727. <Cell col="93" text="bind:keepmthd"/>
  728. <Cell col="94" text="bind:specldrug"/>
  729. <Cell col="95" text="bind:gnrlspcl"/>
  730. <Cell col="96" text="bind:welfprt"/>
  731. <Cell col="97" text="bind:goodtype"/>
  732. <Cell col="98" text="bind:com"/>
  733. <Cell col="99" text="bind:limdrugyn"/>
  734. <Cell col="100" text="bind:cmt"/>
  735. <Cell col="101" text="bind:safestocappdd"/>
  736. <Cell col="102" text="bind:ddavguseqty"/>
  737. <Cell col="103" text="bind:mmavgusescheqty"/>
  738. <Cell col="104" text="bind:mmavguseqty"/>
  739. <Cell col="105" text="bind:prprtystocpossndayno"/>
  740. <Cell col="106" text="bind:orgloc"/>
  741. <Cell col="107" text="bind:oldcd"/>
  742. <Cell col="108" text="bind:reqpridnm"/>
  743. <Cell col="109" text="bind:tmpreqflag"/>
  744. </Band>
  745. </Format>
  746. </Formats>
  747. </Grid>
  748. <Button position="absolute 1019 93 1061 112" id="btn_delete" class="btn2" text="삭제" onclick="group3_btn_delete_onclick"/>
  749. <Button position="absolute 1069 92 1125 114" id="btn_save" class="btn4" text="적용" onclick="group3_btn_save_onclick"/>
  750. </Layout>
  751. </Layouts>
  752. </Div>
  753. </Layout>
  754. </Layouts>
  755. <Objects>
  756. <Dataset id="ds_init_instcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  757. <ColumnInfo>
  758. <Column id="cdnm" type="STRING"/>
  759. <Column id="cdid" type="STRING"/>
  760. </ColumnInfo>
  761. </Dataset>
  762. <Dataset id="ds_init_cmb_goodflag_comcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  763. <ColumnInfo>
  764. <Column id="cdnm" type="STRING"/>
  765. <Column id="cdid" type="STRING"/>
  766. </ColumnInfo>
  767. </Dataset>
  768. <Dataset id="ds_init_reqpridflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  769. <ColumnInfo>
  770. <Column id="cdnm" type="STRING"/>
  771. <Column id="cdid" type="STRING"/>
  772. </ColumnInfo>
  773. </Dataset>
  774. <Dataset id="ds_init_reqflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  775. <ColumnInfo>
  776. <Column id="reqflagnm" type="STRING"/>
  777. <Column id="reqflag" type="STRING"/>
  778. </ColumnInfo>
  779. </Dataset>
  780. <Dataset id="ds_apply_goodapplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_apply_goodapplist_oncolumnchanged">
  781. <ColumnInfo>
  782. <Column id="select" type="STRING"/>
  783. <Column id="goodcd" type="STRING"/>
  784. <Column id="allsizespecid" type="STRING"/>
  785. <Column id="goodnm" type="STRING"/>
  786. <Column id="prodcmpycd" type="STRING"/>
  787. <Column id="goodspec" type="STRING"/>
  788. <Column id="goodhngnm" type="STRING"/>
  789. <Column id="goodengnm" type="STRING"/>
  790. <Column id="goodmodel" type="STRING"/>
  791. <Column id="prodcmpynm" type="STRING"/>
  792. <Column id="instcd" type="STRING"/>
  793. <Column id="goodflag" type="STRING"/>
  794. <Column id="minexch" type="STRING"/>
  795. <Column id="safestocqty" type="STRING"/>
  796. <Column id="stocqty" type="STRING"/>
  797. <Column id="userqty" type="STRING"/>
  798. <Column id="purcunit" type="STRING"/>
  799. <Column id="todd" type="STRING"/>
  800. <Column id="useyn" type="STRING"/>
  801. <Column id="fromdd" type="STRING"/>
  802. <Column id="asetflag" type="STRING"/>
  803. <Column id="lrgcd" type="STRING"/>
  804. <Column id="lrgnm" type="STRING"/>
  805. <Column id="mdlcd" type="STRING"/>
  806. <Column id="mdlnm" type="STRING"/>
  807. <Column id="smlcd" type="STRING"/>
  808. <Column id="smlnm" type="STRING"/>
  809. <Column id="proddrugsetflag" type="STRING"/>
  810. <Column id="winacnt" type="STRING"/>
  811. <Column id="winacntnm" type="STRING"/>
  812. <Column id="amtacnt" type="STRING"/>
  813. <Column id="amtacntnm" type="STRING"/>
  814. <Column id="mainmngtdeptcd" type="STRING"/>
  815. <Column id="mainmngtdeptnm" type="STRING"/>
  816. <Column id="mainusedeptcd" type="STRING"/>
  817. <Column id="mainusedeptnm" type="STRING"/>
  818. <Column id="purclnkgoodcd" type="STRING"/>
  819. <Column id="stocmngtflag" type="STRING"/>
  820. <Column id="deliveunit" type="STRING"/>
  821. <Column id="purcunitnm" type="STRING"/>
  822. <Column id="deliveunitnm" type="STRING"/>
  823. <Column id="exchqty" type="STRING"/>
  824. <Column id="reuseyn" type="STRING"/>
  825. <Column id="divusenvalqty" type="STRING"/>
  826. <Column id="calcscorinfoacptstat" type="STRING"/>
  827. <Column id="calcscorinfoacptdd" type="STRING"/>
  828. <Column id="insuyn" type="STRING"/>
  829. <Column id="edicd" type="STRING"/>
  830. <Column id="newrgstdd" type="STRING"/>
  831. <Column id="reqdeptcd" type="STRING"/>
  832. <Column id="reqdeptnm" type="STRING"/>
  833. <Column id="reqpsn" type="STRING"/>
  834. <Column id="reqpsnnm" type="STRING"/>
  835. <Column id="reqflag" type="STRING"/>
  836. <Column id="reqflagnm" type="STRING"/>
  837. <Column id="reqmthd" type="STRING"/>
  838. <Column id="reqprid" type="STRING"/>
  839. <Column id="iopsnflag" type="STRING"/>
  840. <Column id="prodplce" type="STRING"/>
  841. <Column id="prodplcenm" type="STRING"/>
  842. <Column id="maincustlastsuplplce" type="STRING"/>
  843. <Column id="maincustlastsuplplcenm" type="STRING"/>
  844. <Column id="suppcustcd" type="STRING"/>
  845. <Column id="suppcustnm" type="STRING"/>
  846. <Column id="conflag" type="STRING"/>
  847. <Column id="fromconterm" type="STRING"/>
  848. <Column id="toconterm" type="STRING"/>
  849. <Column id="estmamt" type="STRING"/>
  850. <Column id="forgncurncyunitcost" type="STRING"/>
  851. <Column id="curncyunit" type="STRING"/>
  852. <Column id="curncyunitnm" type="STRING"/>
  853. <Column id="goodunitcost" type="STRING"/>
  854. <Column id="purcflag" type="STRING"/>
  855. <Column id="allsizeyn" type="STRING"/>
  856. <Column id="setplceordflag" type="STRING"/>
  857. <Column id="plceordbase" type="STRING"/>
  858. <Column id="plceordqtycretflag" type="STRING"/>
  859. <Column id="plceordnonusedd" type="STRING"/>
  860. <Column id="addtaxrate" type="STRING"/>
  861. <Column id="lastpurcdd" type="STRING"/>
  862. <Column id="nonusetretresn" type="STRING"/>
  863. <Column id="mngtflag" type="STRING"/>
  864. <Column id="bnscd" type="STRING"/>
  865. <Column id="cntrdrugyn" type="STRING"/>
  866. <Column id="narcflag" type="STRING"/>
  867. <Column id="expnyn" type="STRING"/>
  868. <Column id="cntsunit" type="STRING"/>
  869. <Column id="cntsqty" type="STRING"/>
  870. <Column id="specvol" type="STRING"/>
  871. <Column id="drugkind" type="STRING"/>
  872. <Column id="cooppurcyn" type="STRING"/>
  873. <Column id="autrampharm" type="STRING"/>
  874. <Column id="keepmthd" type="STRING"/>
  875. <Column id="specldrug" type="STRING"/>
  876. <Column id="gnrlspcl" type="STRING"/>
  877. <Column id="welfprt" type="STRING"/>
  878. <Column id="goodtype" type="STRING"/>
  879. <Column id="com" type="STRING"/>
  880. <Column id="limdrugyn" type="STRING"/>
  881. <Column id="cmt" type="STRING"/>
  882. <Column id="safestocappdd" type="STRING"/>
  883. <Column id="ddavguseqty" type="STRING"/>
  884. <Column id="mmavgusescheqty" type="STRING"/>
  885. <Column id="mmavguseqty" type="STRING"/>
  886. <Column id="prprtystocpossndayno" type="STRING"/>
  887. <Column id="orgloc" type="STRING"/>
  888. <Column id="oldcd" type="STRING"/>
  889. <Column id="reqpridnm" type="STRING"/>
  890. <Column id="tmpreqflag" type="STRING"/>
  891. </ColumnInfo>
  892. </Dataset>
  893. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  894. <ColumnInfo>
  895. <Column id="refcond" type="STRING" size="256" sumtext="조회조건 "/>
  896. <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
  897. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분 "/>
  898. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드 "/>
  899. <Column id="goodnm" type="STRING" size="256" sumtext="물품명 "/>
  900. <Column id="indexgb" type="STRING" size="256" sumtext="색인구분 "/>
  901. <Column id="indexnm" type="STRING" size="256" sumtext="색인명 "/>
  902. <Column id="reqflag" type="STRING" size="256" sumtext="청구구분 "/>
  903. <Column id="lrgcd" type="STRING" size="256" sumtext="대분류 "/>
  904. <Column id="mdlcd" type="STRING" size="256" sumtext="중분류 "/>
  905. <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사 "/>
  906. <Column id="goodspec" type="STRING" size="256" sumtext="물품규격 "/>
  907. <Column id="goodmodel" type="STRING" size="256" sumtext="물품모델 "/>
  908. <Column id="oldcd" type="STRING" size="256" sumtext="구코드 "/>
  909. <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서코드 "/>
  910. <Column id="reqprid" type="STRING" size="256" sumtext="청구주기 "/>
  911. <Column id="reqcheck" type="STRING" size="256" sumtext="청구화면구분 "/>
  912. <Column id="nonusegoodview" type="STRING" size="256" sumtext="불용물품조회여부 "/>
  913. <Column id="purcdmnddd" type="STRING" size="256" sumtext="시행일자 "/>
  914. <Column id="rpirdd" type="STRING" size="256" sumtext="수리일자 "/>
  915. <Column id="scrnid" type="STRING" size="256" sumtext="화면id "/>
  916. <Column id="prodcmpynm" type="STRING" size="256"/>
  917. </ColumnInfo>
  918. <Rows>
  919. <Row/>
  920. </Rows>
  921. </Dataset>
  922. <Dataset id="ds_main_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_goodlist_oncolumnchanged">
  923. <ColumnInfo>
  924. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드 "/>
  925. <Column id="goodnm" type="STRING" size="256" sumtext="goodnm "/>
  926. <Column id="goodspec" type="STRING" size="256" sumtext="물품규격 "/>
  927. <Column id="userqty" type="STRING" size="256" sumtext="사용자입력수량 "/>
  928. <Column id="deliveunit" type="STRING" size="256" sumtext="수불단위 "/>
  929. <Column id="estmamt" type="BIGDECIMAL" size="256" sumtext="견적가 "/>
  930. <Column id="goodmodel" type="STRING" size="256" sumtext="모델 "/>
  931. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명 "/>
  932. <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드 "/>
  933. <Column id="todd" type="STRING" size="256" sumtext="todd "/>
  934. <Column id="instcd" type="STRING" size="256" sumtext="기관코드 "/>
  935. <Column id="useyn" type="STRING" size="256" sumtext="사용여부 "/>
  936. <Column id="fromdd" type="STRING" size="256" sumtext="fromdd "/>
  937. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분(r0025) "/>
  938. <Column id="goodhngnm" type="STRING" size="256" sumtext="영문명 "/>
  939. <Column id="goodengnm" type="STRING" size="256" sumtext="물품명 "/>
  940. <Column id="lrgcd" type="STRING" size="256" sumtext="대분류코드 "/>
  941. <Column id="lrgnm" type="STRING" size="256" sumtext="대분류명 "/>
  942. <Column id="mdlcd" type="STRING" size="256" sumtext="중분류코드 "/>
  943. <Column id="mdlnm" type="STRING" size="256" sumtext="중분류명 "/>
  944. <Column id="smlcd" type="STRING" size="256" sumtext="소분류코드 "/>
  945. <Column id="smlnm" type="STRING" size="256" sumtext="소분류 "/>
  946. <Column id="winacnt" type="STRING" size="256" sumtext="계정코드 "/>
  947. <Column id="winacntnm" type="STRING" size="256" sumtext="계정코드명 "/>
  948. <Column id="amtacnt" type="STRING" size="256" sumtext="비용계정 "/>
  949. <Column id="amtacntnm" type="STRING" size="256" sumtext="비용계정명 "/>
  950. <Column id="mainmngtdeptcd" type="STRING" size="256" sumtext="주관리부서코드 "/>
  951. <Column id="mainmngtdeptnm" type="STRING" size="256" sumtext="주관리부서명 "/>
  952. <Column id="stocmngtflag" type="STRING" size="256" sumtext="재고관리기준 "/>
  953. <Column id="purcunit" type="STRING" size="256" sumtext="입고단위 "/>
  954. <Column id="purcunitnm" type="STRING" size="256" sumtext="입고단위 "/>
  955. <Column id="deliveunitnm" type="STRING" size="256" sumtext="수불단위 "/>
  956. <Column id="exchqty" type="BIGDECIMAL" size="256" sumtext="환산배수 "/>
  957. <Column id="minexch" type="BIGDECIMAL" size="256" sumtext="최소환산수량 "/>
  958. <Column id="divusenvalqty" type="STRING" size="256" sumtext="분할사용수치 "/>
  959. <Column id="edicd" type="STRING" size="256" sumtext="edi코드 "/>
  960. <Column id="reqflag" type="STRING" size="256" sumtext="청구기준 "/>
  961. <Column id="reqflagnm" type="STRING" size="256" sumtext="청구기준명 "/>
  962. <Column id="reqmthd" type="STRING" size="256" sumtext="청구방법 "/>
  963. <Column id="reqprid" type="STRING" size="256" sumtext="청구주기 "/>
  964. <Column id="prodplce" type="STRING" size="256" sumtext="제조국 "/>
  965. <Column id="prodplcenm" type="STRING" size="256" sumtext="제조국명 "/>
  966. <Column id="maincustlastsuplplce" type="STRING" size="256" sumtext="최종공급처 "/>
  967. <Column id="maincustlastsuplplcenm" type="STRING" size="256" sumtext="최종공급처 "/>
  968. <Column id="suppcustcd" type="STRING" size="256" sumtext="보조거래처코드 "/>
  969. <Column id="suppcustnm" type="STRING" size="256" sumtext="보조거래처명 "/>
  970. <Column id="forgncurncyunitcost" type="BIGDECIMAL" size="256" sumtext="외화단가 "/>
  971. <Column id="curncyunit" type="STRING" size="256" sumtext="화폐단위 "/>
  972. <Column id="curncyunitnm" type="STRING" size="256" sumtext="화폐단위 "/>
  973. <Column id="goodunitcost" type="BIGDECIMAL" size="256" sumtext="제품단가 "/>
  974. <Column id="purcflag" type="STRING" size="256" sumtext="구매구분 "/>
  975. <Column id="safestocqty" type="BIGDECIMAL" size="256" sumtext="안전재고량 "/>
  976. <Column id="ddavguseqty" type="BIGDECIMAL" size="256" sumtext="일평균사용량 "/>
  977. <Column id="mmavgusescheqty" type="BIGDECIMAL" size="256" sumtext="월평균사용예정량 "/>
  978. <Column id="mmavguseqty" type="BIGDECIMAL" size="256" sumtext="월평균사용량 "/>
  979. <Column id="prprtystocpossndayno" type="BIGDECIMAL" size="256" sumtext="적정재고보유일수 "/>
  980. <Column id="stocqty" type="STRING" size="256" sumtext="재고량 "/>
  981. <Column id="curemealstocqty" type="STRING" size="256" sumtext="치료식현재고수량 "/>
  982. <Column id="empmealstocqty" type="STRING" size="256" sumtext="직원식현재고수량 "/>
  983. <Column id="empnigtmealstocqty" type="STRING" size="256" sumtext="직원야식현재고수량 "/>
  984. <Column id="curemealstocqty" type="STRING" size="256" sumtext="영양팀치료식 "/>
  985. <Column id="empmealstocqty" type="STRING" size="256" sumtext="영양팀직원식 "/>
  986. <Column id="empnigtmealstocqty" type="STRING" size="256" sumtext="영양팀직원야식 "/>
  987. <Column id="allsizeyn" type="STRING" size="256" sumtext="allsize여부 "/>
  988. <Column id="orgloc" type="STRING" size="256" sumtext="원산지 "/>
  989. <Column id="select" type="STRING" size="256" sumtext=" "/>
  990. <Column id="bnscd" type="STRING" size="256" sumtext=" "/>
  991. <Column id="oldcd" type="STRING" size="256" sumtext="구코드 "/>
  992. <Column id="goodpurccost" type="STRING" size="256" sumtext="납품가 "/>
  993. <Column id="reqpridnm" type="STRING" size="256" sumtext="청구주기명 "/>
  994. <Column id="allsizespecid" type="STRING" size="256" sumtext="allsize코드 "/>
  995. <Column id="reqfnldeptcd" type="STRING" size="256" sumtext="출고부서 "/>
  996. <Column id="delivedeptcd" type="STRING" size="256" sumtext="출고부서 "/>
  997. <Column id="setunit" type="STRING" size="256" sumtext="포장구성단위 "/>
  998. <Column id="constunit" type="STRING" size="256" sumtext="포장구성단위 "/>
  999. <Column id="tmpreqflag" type="STRING" size="256" sumtext="임의청구구분 "/>
  1000. <Column id="prcpexchqty" type="STRING" size="256" sumtext="처방/수불환산수량 "/>
  1001. <Column id="mainusedeptcd" type="STRING" size="256" sumtext="주사용부서코드 "/>
  1002. <Column id="wareflag" type="STRING" size="256" sumtext="창고구분"/>
  1003. <Column id="costyn" type="STRING" size="256" sumtext="단가계약여부"/>
  1004. </ColumnInfo>
  1005. </Dataset>
  1006. <Dataset id="ds_main_cntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1007. <ColumnInfo>
  1008. <Column id="cnt" type="STRING" size="256" sumtext="물품코드 "/>
  1009. </ColumnInfo>
  1010. </Dataset>
  1011. <Dataset id="ds_target_defaultvalue" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1012. <ColumnInfo>
  1013. <Column id="reqcheck" type="STRING" size="256"/>
  1014. <Column id="instcd" type="STRING" size="256"/>
  1015. <Column id="goodflag" type="STRING" size="256"/>
  1016. <Column id="reqflag" type="STRING" size="256"/>
  1017. <Column id="oldcd" type="STRING" size="256"/>
  1018. <Column id="reqprid" type="STRING" size="256"/>
  1019. <Column id="nonusegoodview" type="STRING" size="256"/>
  1020. <Column id="purcdmnddd" type="STRING" size="256"/>
  1021. <Column id="reqdeptcd" type="STRING" size="256"/>
  1022. <Column id="goodcd" type="STRING" size="256"/>
  1023. <Column id="goodnm" type="STRING" size="256"/>
  1024. </ColumnInfo>
  1025. </Dataset>
  1026. <Dataset id="ds_init_cmb_goodflagcopy_comcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1027. <Dataset id="ds_init_main_prodcmpylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1028. <Dataset id="ds_copytemp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1029. </Objects>
  1030. <Bind>
  1031. <BindItem id="item0" compid="group3.group2.ipt_reqcheck" propid="value" datasetid="ds_send" columnid="reqcheck"/>
  1032. <BindItem id="item1" compid="group3.group2.ipt_nonusegoodview" propid="value" datasetid="ds_send" columnid="nonusegoodview"/>
  1033. <BindItem id="item2" compid="group3.group2.ipt_purcdmnddd" propid="value" datasetid="ds_send" columnid="purcdmnddd"/>
  1034. <BindItem id="item3" compid="group3.group2.cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
  1035. <BindItem id="item4" compid="group3.group2.ipt_goodcd" propid="value" datasetid="ds_send" columnid="goodcd"/>
  1036. <BindItem id="item5" compid="group3.group2.ipt_goodnm" propid="value" datasetid="ds_send" columnid="goodnm"/>
  1037. <BindItem id="item6" compid="group3.group2.cmb_reqflag" propid="value" datasetid="ds_send" columnid="reqflag"/>
  1038. <BindItem id="item7" compid="group3.group2.cmb_reqprid" propid="value" datasetid="ds_send" columnid="reqprid"/>
  1039. <BindItem id="item8" compid="group3.group2.ipt_oldcd_search" propid="value" datasetid="ds_send" columnid="oldcd"/>
  1040. <BindItem id="item9" compid="group3.group2.cmb_goodflagcopy" propid="value" datasetid="ds_send" columnid="goodflag"/>
  1041. <BindItem id="item10" compid="group3.group2.cmb_goodflag" propid="value" datasetid="ds_send" columnid="goodflag"/>
  1042. <BindItem id="item11" compid="group3.group2.cmb_lrgcd" propid="value" datasetid="ds_send" columnid="lrgcd"/>
  1043. <BindItem id="item12" compid="group3.group2.cmb_mdlcd" propid="value" datasetid="ds_send" columnid="mdlcd"/>
  1044. <BindItem id="item13" compid="group3.group2.ipt_goodspec" propid="value" datasetid="ds_send" columnid="goodspec"/>
  1045. <BindItem id="item14" compid="group3.group2.ipt_goodmodel" propid="value" datasetid="ds_send" columnid="goodmodel"/>
  1046. <BindItem id="item15" compid="group3.group2.ipt_prodcmpycd" propid="value" datasetid="ds_send" columnid="prodcmpycd"/>
  1047. <BindItem id="item16" compid="group3.group2.ipt_prodcmpynm" propid="value" datasetid="ds_send" columnid="prodcmpynm"/>
  1048. <BindItem id="item17" compid="group3.group2.opt_reqmthd" propid="value" datasetid="ds_send" columnid="reqflag"/>
  1049. </Bind>
  1050. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1051. * System Name : 경대 의료정보시스템
  1052. * Job Name : mis_purccommonxp -> SPRSD00190
  1053. * Creator : yjh
  1054. * Make Date : 2017-07-03
  1055. * Description :
  1056. *---------------------------------------------------------------------------------------
  1057. * Modify Date Modifier Modify Description
  1058. *---------------------------------------------------------------------------------------
  1059. * 2017-07-03 yjh TF->XP
  1060. *
  1061. *---------------------------------------------------------------------------------------
  1062. ****************************************************************************************/
  1063. //=======================================================================================
  1064. // Lib Include
  1065. //---------------------------------------------------------------------------------------
  1066. include "com_commonxp::comm_main.xjs";
  1067. include "mis_miscommonxp::MIS.xjs";
  1068. include "mis_miscommonxp::RSZ001.xjs";
  1069. //=======================================================================================
  1070. // Global Form Variable
  1071. //---------------------------------------------------------------------------------------
  1072. var arErrorCode = new HashArray();
  1073. //=======================================================================================
  1074. // Function
  1075. //---------------------------------------------------------------------------------------
  1076. // 청구구분
  1077. var tReqFlagData = "A." // 01 Y 의료소모품
  1078. + "B." // 02 Z 일반소모품
  1079. + "C." // 03 K 의료비품
  1080. + "D." // 04 G 일반비품
  1081. + "E." // 05 P 약품및재료
  1082. + "F." // 06 P 제제약품
  1083. + "G." // 07 E 장비
  1084. + "H." // 08 P 수액
  1085. + "I." // 09 P 조영제
  1086. + "S." // 10 B 수리관리
  1087. + "X." // 11 T 교환물품
  1088. + "Y." // 12 T 청구물품
  1089. + "Z" ; // 13 T 멸균의뢰
  1090. var tReqFlag = tReqFlagData.split(".");
  1091. // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= P) => (goodflag= PH)
  1092. // 물품구분
  1093. var tGoodFlagData = "Y." // 01 의료소모품
  1094. + "Z." // 02 일반소모품
  1095. + "U." // 03 의료비품
  1096. + "GE." // 04 일반비품
  1097. + "PH." // 05 약품
  1098. + "PH." // 06 약품
  1099. + "PH." // 07 약품및재료
  1100. + "PH." // 08 약품
  1101. + "PH." // 09 약품
  1102. + "BC." // 10 수리부품
  1103. + "TM." // 11 공급실물품
  1104. + "TM." // 12 공급실물품
  1105. + "TM" ; // 13 공급실물품
  1106. var tGoodFlag = tGoodFlagData.split(".");
  1107. var tPath = ds_init_cmb_goodflag_comcodelist;
  1108. var sPath = ds_init_cmb_goodflagcopy_comcodelist;
  1109. function fReqFagChange(pReqFlag) {
  1110. ds_init_cmb_goodflag_comcodelist.clearData();
  1111. var sNode = ds_init_cmb_goodflagcopy_comcodelist;
  1112. var nIdx = ds_init_cmb_goodflagcopy_comcodelist.rowcount;
  1113. for( var i=0 ; i<tReqFlag.length ; i++ ){
  1114. if (tReqFlag[i] == pReqFlag) {
  1115. for( var n=0 ; n<nIdx ; n++ ){
  1116. if( ds_init_cmb_goodflagcopy_comcodelist.getColumn(n, "cdid") == tGoodFlag[i] ){
  1117. xNode = ds_init_cmb_goodflag_comcodelist;
  1118. if( utlf_isNull(xNode) || ds_init_cmb_goodflag_comcodelist.rowcount < 1 ){
  1119. var nRow = ds_init_cmb_goodflag_comcodelist.addRow();
  1120. ds_init_cmb_goodflag_comcodelist.copyRow(nRow, ds_init_cmb_goodflagcopy_comcodelist, n);
  1121. } else {
  1122. var nRow = ds_init_cmb_goodflag_comcodelist.addRow();
  1123. ds_init_cmb_goodflag_comcodelist.copyRow(nRow, ds_init_cmb_goodflagcopy_comcodelist, n);
  1124. }
  1125. }
  1126. }
  1127. }
  1128. }
  1129. group3.group2.cmb_goodflag.index = 0; //청구구분
  1130. }
  1131. //=======================================================================================
  1132. // Event
  1133. //---------------------------------------------------------------------------------------
  1134. /****************************************************************************************
  1135. * Components : Form
  1136. * Components ID : SPRSD00190
  1137. * Event : oninit
  1138. * Argument : 01.obj : Object Event has occurred
  1139. * : 02.e : Event Object
  1140. * Description : 화면 처음 초기화시
  1141. ****************************************************************************************/
  1142. function SPRSD00190_oninit(obj:Form, e:InitEventInfo)
  1143. {
  1144. frmf_initForm(obj); //폼 초기화
  1145. }
  1146. /****************************************************************************************
  1147. * Components : Form
  1148. * Components ID : SPRSD00190
  1149. * Event : onload
  1150. * Argument : 01.obj : Object Event has occurred
  1151. * : 02.e : Event Object
  1152. * Description : 화면 로딩 완료시
  1153. ****************************************************************************************/
  1154. function SPRSD00190_onload(obj:Form, e:LoadEventInfo)
  1155. {
  1156. grdf_initGrid(group3.grd_goodlist);
  1157. grdf_initGrid(group3.grd_apply);
  1158. try{
  1159. for( var i=0 ; i<arg_ds_source_defaultvalue.rowcount ; i++ ){
  1160. var nRow = ds_target_defaultvalue.addRow();
  1161. ds_target_defaultvalue.copyRow(nRow, arg_ds_source_defaultvalue, i);
  1162. }
  1163. if( ds_target_defaultvalue.rowcount < 1 ){
  1164. ds_target_defaultvalue.addRow();
  1165. }
  1166. }catch(e){
  1167. }
  1168. misfGridInit(group3.grd_goodlist);
  1169. misfGridInit(group3.grd_apply );
  1170. misfComboComCdList('Z0007', group3.group2.cmb_instcd ); //기관코드
  1171. misfComboComCdList('R0025', group3.group2.cmb_goodflagcopy, "N"); //물품구분
  1172. var paramrpirdd = opener.frmf_getParameter("paramrpirdd"); //수리일자
  1173. if( !utlf_isNull(paramrpirdd) ){
  1174. ds_send.setColumn(0, "scrnid", "SPRSD00190");
  1175. }
  1176. ds_send.setColumn(0, "rpirdd",paramrpirdd);
  1177. if( utlf_transNullToEmpty(ds_send.getColumn(0, "instcd")).length == 0 && group3.group2.cmb_instcd.getCount() > 0 ) group3.group2.cmb_instcd.index = 0;
  1178. if( utlf_transNullToEmpty(ds_send.getColumn(0, "goodflag")).length == 0 && group3.group2.cmb_goodflag.getCount() > 0 ) group3.group2.cmb_goodflag.index = 0;
  1179. xNode = ds_target_defaultvalue.getColumn(0, "reqcheck");
  1180. if( utlf_isNull(xNode) ){
  1181. //model.makeNode(PURTARGET_NODE + "/reqcheck");
  1182. }
  1183. misfComboComCdListMulti("R0093", "group3.group2.cmb_reqprid");
  1184. frmf_addComboItem( "group3.group2.cmb_reqprid", "전체", "", "above");
  1185. group3.group2.cmb_reqprid.index = 0;
  1186. var vCodeCls = "";
  1187. var vReqCheck = ds_target_defaultvalue.getColumn(0, "reqcheck");
  1188. if (vReqCheck == "Y") {
  1189. vCodeCls = "C";
  1190. } else if( vReqCheck == "N") {
  1191. //부서별 기준량 등록에서 호출할 경우 N 으로 키값 넘김
  1192. vCodeCls = "SF";
  1193. }
  1194. else {
  1195. vCodeCls = "SF";
  1196. }
  1197. rszfUserReqFlagList("group3.group2.cmb_reqflag", sysf_getUserInfo("dutplceinstcd"), sysf_getUserInfo("userid"),"%",vCodeCls);
  1198. ds_send.setColumn(0, "instcd" , utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "instcd" )));
  1199. ds_send.setColumn(0, "goodflag", utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "goodflag")));
  1200. ds_send.setColumn(0, "reqflag" , utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "reqflag" )));
  1201. ds_send.setColumn(0, "oldcd" , utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "oldcd" )));
  1202. ds_send.setColumn(0, "reqprid" , utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "reqprid")));
  1203. ds_send.setColumn(0, "nonusegoodview" , utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "nonusegoodview")));
  1204. ds_send.setColumn(0, "purcdmnddd" , utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "purcdmnddd")));
  1205. //cmb_goodflag.disabled = false;
  1206. /* --------------------------------------------------------------------------------------------
  1207. sql문에 청구부서별 안전재고를 가져와야한다.
  1208. 프로그램 call시 변경해야한다. 인자값이 없을경우 해당 user값으로 setting한다.......2007.10.08 HBH
  1209. ----------------------------------------------------------------------------------------------*/
  1210. if( utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "reqdeptcd")).length == 0 ) ds_send.setColumn(0, "reqdeptcd", sysf_getUserInfo("dutplcecd"));
  1211. else ds_send.setColumn(0, "reqdeptcd", ds_target_defaultvalue.getColumn(0, "reqdeptcd"));
  1212. /* --------------------------------------------------------------------------------------------
  1213. [2007.11.17 HBH] 물품청구 프로그램에서 CALL시 물품청구주기가 와야한다.
  1214. ----------------------------------------------------------------------------------------------*/
  1215. if( utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "goodflag")).length > 0 ){
  1216. group3.group2.cmb_goodflag.enable = false;
  1217. rszfLMSComboList(ds_send.getColumn(0, "goodflag"), "", "", "group3.group2.cmb_lrgcd", "", "L","Y");
  1218. }
  1219. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1220. // 영양팀 명칭검색으로 이 window 가 open시 기본값 셋팅한다.
  1221. // 2007.08.09 황
  1222. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1223. if( utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "goodcd")).length > 0 )
  1224. {
  1225. ds_send.setColumn(0, "goodcd", ds_target_defaultvalue.getColumn(0, "goodcd"));
  1226. group3.group2.btn_search.click();
  1227. }
  1228. else if( utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "goodnm")).length > 0 )
  1229. {
  1230. ds_send.setColumn(0, "goodnm", ds_target_defaultvalue.getColumn(0, "goodnm"));
  1231. group3.group2.btn_search.click();
  1232. }
  1233. else if( utlf_transNullToEmpty(ds_target_defaultvalue.getColumn(0, "oldcd")).length > 0 )
  1234. {
  1235. ds_send.setColumn(0, "oldcd" , ds_target_defaultvalue.getColumn(0, "oldcd") );
  1236. group3.group2.btn_search.click();
  1237. }
  1238. group3.group2.ipt_goodnm.setFocus();
  1239. // grd_goodlist.fixedcellcheckbox(0,grd_goodlist.colRef("select"),false) = true;
  1240. // grd_apply.fixedcellcheckbox(0,grd_apply.colRef("select"),false) = true;
  1241. // vReqCheck = "Y";
  1242. if (vReqCheck == "Y") {
  1243. group3.group2.cmb_reqflag.enable = true; // 청구구분
  1244. group3.group2.cmb_reqprid.enable = true; // 청구주기
  1245. group3.group2.cmb_reqflag.index = 0; //청구구분
  1246. ds_send.setColumn(0, "reqcheck" , ds_target_defaultvalue.getColumn(0, "reqcheck") ); //청구쪽에서 풀품코드 팝업을 호출했는지 DB쪽에 넘기기 위한 키값 설정
  1247. } else if ( vReqCheck == "N" ) { //부서별 기준량 등록에서 팝업을 호출했을때 다른 조건은 기존과 동일하고 쿼리에 넘길 키 값만 셋팅하자
  1248. ds_send.setColumn(0, "reqcheck" , ds_target_defaultvalue.getColumn(0, "reqcheck") ); //청구쪽에서 풀품코드 팝업을 호출했는지 DB쪽에 넘기기 위한 키값 설정
  1249. frmf_addComboItem( "group3.group2.cmb_reqflag", "전체", "", "above");
  1250. group3.group2.cmb_reqflag.index = 0;
  1251. ds_init_cmb_goodflag_comcodelist.copyData(ds_init_cmb_goodflagcopy_comcodelist);
  1252. }
  1253. else {
  1254. frmf_addComboItem( "group3.group2.cmb_reqflag", "전체", "", "above");
  1255. ds_init_cmb_goodflag_comcodelist.copyData(ds_init_cmb_goodflagcopy_comcodelist);
  1256. }
  1257. }
  1258. /****************************************************************************************
  1259. * Components : Edit
  1260. * Components ID : ipt_goodnm
  1261. * Event : onkeyup
  1262. * Argument : 01.obj : Object Event has occurred
  1263. * : 02.e : Event Object
  1264. * Description : 에디터 키 입력시
  1265. ****************************************************************************************/
  1266. function group3_group2_ipt_goodnm_onkeyup(obj:Edit, e:KeyEventInfo)
  1267. {
  1268. if( e.keycode == 13 ){
  1269. obj.updateToDataset();
  1270. group3.group2.btn_search.click();
  1271. }
  1272. }
  1273. /****************************************************************************************
  1274. * Components : Button
  1275. * Components ID : btn_search
  1276. * Event : onclick
  1277. * Argument : 01.obj : Object Event has occurred
  1278. * : 02.e : Event Object
  1279. * Description : 조회버튼 클릭시
  1280. ****************************************************************************************/
  1281. function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1282. {
  1283. misfGridInit(group3.grd_goodlist);
  1284. if( utlf_transNullToEmpty(ds_send.getColumn(0, "instcd")).length == 0 )
  1285. {
  1286. sysf_messageBox("기관코드를" , "C002");
  1287. group3.group2.cmb_instcd.setFocus();
  1288. return;
  1289. }
  1290. if( utlf_isNull(ds_send.getColumn(0, "goodnm")) ){
  1291. ds_send.setColumn(0, "indexnm","");
  1292. }
  1293. if( utlf_transNullToEmpty(ds_send.getColumn(0, "goodflag")).length == 0 )
  1294. {
  1295. sysf_messageBox("물품구분을" , "C002");
  1296. group3.group2.cmb_goodflag.setFocus();
  1297. return;
  1298. }
  1299. var oParam = {};
  1300. oParam.id = "TRRSD00191";
  1301. oParam.service = "purccommonapp.PurcCommon";
  1302. oParam.method = "reqGetGoodListByCond";
  1303. oParam.inds = "req=ds_send";
  1304. oParam.outds = "ds_main_goodlist=goodlist ds_main_cntlist=cntlist";
  1305. oParam.async = false;
  1306. //oParam.callback = "cf_TRRSD00191";
  1307. tranf_submit(oParam);
  1308. if( utlf_isNull(ds_main_goodlist.getColumnInfo("")) ){
  1309. ds_main_goodlist.addColumn("select", "string");
  1310. }
  1311. dsf_setDefaultVal(ds_main_goodlist, "select:false");
  1312. }
  1313. /****************************************************************************************
  1314. * Components : Combo
  1315. * Components ID : cmb_goodflag
  1316. * Event : onitemchanged
  1317. * Argument : 01.obj : Object Event has occurred
  1318. * : 02.e : Event Object
  1319. * Description : 콤보 값 변경시
  1320. ****************************************************************************************/
  1321. function group3_group2_cmb_goodflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1322. {
  1323. rszfLMSComboList(ds_send.getColumn(0, "goodflag"), "", "", "group3.group2.cmb_lrgcd", "", "L","Y");
  1324. }
  1325. /****************************************************************************************
  1326. * Components : Button
  1327. * Components ID : btn_prodcmpycd
  1328. * Event : onclick
  1329. * Argument : 01.obj : Object Event has occurred
  1330. * : 02.e : Event Object
  1331. * Description : 돋보기버튼 클릭시
  1332. ****************************************************************************************/
  1333. function group3_group2_btn_prodcmpycd_onclick(obj:Button, e:ClickEventInfo)
  1334. {
  1335. rszfOpenPopUpListByWndName(group3.group2.ipt_prodcmpycd, "", "prodcmpycd,prodcmpynm", "SPRSD00160", "", "");
  1336. }
  1337. /****************************************************************************************
  1338. * Components : Edit
  1339. * Components ID : ipt_prodcmpycd
  1340. * Event : onkillfocus
  1341. * Argument : 01.obj : Object Event has occurred
  1342. * : 02.e : Event Object
  1343. * Description : 에디터 포커스 아웃시
  1344. ****************************************************************************************/
  1345. function group3_group2_ipt_prodcmpycd_onkillfocus(obj:Edit, e:KillFocusEventInfo)
  1346. {
  1347. if( !utlf_isNull(group3.group2.ipt_prodcmpycd.value) ){
  1348. rszfValidationCheck("TRRSD00161",
  1349. "prodcmpylist",
  1350. "refcond,prodcmpycd,prodcmpynm",
  1351. "prodcmpycd," + ds_send.getColumn(0, "prodcmpycd") + ",",
  1352. "",
  1353. "prodcmpycd,prodcmpynm",
  1354. "group3.group2.ipt_prodcmpycd",
  1355. "SPRSD00160",
  1356. "",
  1357. "");
  1358. }else{
  1359. group3.group2.ipt_prodcmpynm.value = "";
  1360. }
  1361. }
  1362. function cf_TRRSD00161(sSvcId, nErrorCode, sErrorMsg) {
  1363. arErrorCode.push(sSvcId, nErrorCode);
  1364. }
  1365. /****************************************************************************************
  1366. * Components : Edit
  1367. * Components ID : ipt_prodcmpynm
  1368. * Event : onkillfocus
  1369. * Argument : 01.obj : Object Event has occurred
  1370. * : 02.e : Event Object
  1371. * Description : 에디터 포커스 아웃시
  1372. ****************************************************************************************/
  1373. function group3_group2_ipt_prodcmpynm_onkillfocus(obj:Edit, e:KillFocusEventInfo)
  1374. {
  1375. if( !utlf_isNull(group3.group2.ipt_prodcmpynm.value) )
  1376. {
  1377. rszfValidationCheck("TRRSD00161",
  1378. "prodcmpylist",
  1379. "refcond,prodcmpycd,prodcmpynm",
  1380. "prodcmpynm,," + ds_send.getColumn(0, "prodcmpynm"),
  1381. "",
  1382. "prodcmpycd,prodcmpynm",
  1383. "group3.group2.ipt_prodcmpycd",
  1384. "SPRSD00160",
  1385. "",
  1386. "");
  1387. }else{
  1388. group3.group2.ipt_prodcmpycd.value = "";
  1389. }
  1390. }
  1391. /****************************************************************************************
  1392. * Components : Combo
  1393. * Components ID : cmb_reqflag
  1394. * Event : onitemchanged
  1395. * Argument : 01.obj : Object Event has occurred
  1396. * : 02.e : Event Object
  1397. * Description : 콤보 값 변경시
  1398. ****************************************************************************************/
  1399. function group3_group2_cmb_reqflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1400. {
  1401. group3.group2.cmb_reqprid.value = '';
  1402. rszfComboReqPridList(group3.group2.cmb_reqprid, group3.group2.cmb_instcd.value, group3.group2.cmb_reqflag.value);
  1403. group3.group2.cmb_reqprid.index = 0;
  1404. fReqFagChange(utlf_transNullToEmpty(group3.group2.cmb_reqflag.value));
  1405. /* 위의 select(0); 에서 cmb_reqpridflag value가 있으면 reqpridflag xforms-value_changed 가 발생한다.
  1406. */
  1407. if( utlf_transNullToEmpty(group3.group2.cmb_reqprid.value).length == 0 )
  1408. {
  1409. //fSetReqAuth();
  1410. // btn_search.dispatch("DOMActivate");
  1411. }
  1412. }
  1413. /****************************************************************************************
  1414. * Components : Button
  1415. * Components ID : btn_clear
  1416. * Event : onclick
  1417. * Argument : 01.obj : Object Event has occurred
  1418. * : 02.e : Event Object
  1419. * Description : 초기화버튼 클릭시
  1420. ****************************************************************************************/
  1421. function group3_group2_btn_clear_onclick(obj:Button, e:ClickEventInfo)
  1422. {
  1423. misfGridInit(group3.grd_goodlist);
  1424. misfGridInit(group3.grd_apply);
  1425. }
  1426. /****************************************************************************************
  1427. * Components : Combo
  1428. * Components ID : cmb_lrgcd
  1429. * Event : onitemchanged
  1430. * Argument : 01.obj : Object Event has occurred
  1431. * : 02.e : Event Object
  1432. * Description : 콤보 값 변경시
  1433. ****************************************************************************************/
  1434. function group3_group2_cmb_lrgcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1435. {
  1436. rszfLMSComboList(ds_send.getColumn(0, "goodflag"), ds_send.getColumn(0, "lrgcd"), "", "group3.group2.cmb_mdlcd", "", "M","Y");
  1437. }
  1438. /****************************************************************************************
  1439. * Components : Edit
  1440. * Components ID : ipt_goodcd
  1441. * Event : onkeyup
  1442. * Argument : 01.obj : Object Event has occurred
  1443. * : 02.e : Event Object
  1444. * Description : 에디터 키 입력시
  1445. ****************************************************************************************/
  1446. function group3_group2_ipt_goodcd_onkeyup(obj:Edit, e:KeyEventInfo)
  1447. {
  1448. if( e.keycode == 13 ){
  1449. obj.updateToDataset();
  1450. group3.group2.btn_search.click();
  1451. }
  1452. }
  1453. /****************************************************************************************
  1454. * Components : Grid
  1455. * Components ID : grd_goodlist
  1456. * Event : oncelldblclick
  1457. * Argument : 01.obj : Object Event has occurred
  1458. * : 02.e : Event Object
  1459. * Description : 그리드 셀 더블클릭시
  1460. ****************************************************************************************/
  1461. function group3_grd_goodlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1462. {
  1463. ds_main_goodlist.setColumn(ds_main_goodlist.rowposition, "select", "true");
  1464. }
  1465. /****************************************************************************************
  1466. * Components : Button
  1467. * Components ID : btn_listcopy
  1468. * Event : onclick
  1469. * Argument : 01.obj : Object Event has occurred
  1470. * : 02.e : Event Object
  1471. * Description : 선택적용버튼 클릭시
  1472. ****************************************************************************************/
  1473. function group3_btn_listcopy_onclick(obj:Button, e:ClickEventInfo)
  1474. {
  1475. if( ds_main_goodlist.rowcount == 0 )
  1476. {
  1477. sysf_messageBox("적용할 내역이","I004");
  1478. return;
  1479. }
  1480. ds_copytemp.clearData();
  1481. var varcopy = ds_main_goodlist.filter("select=='true'");
  1482. ds_copytemp.copyData(ds_main_goodlist, true);
  1483. ds_main_goodlist.filter("");
  1484. ds_apply_goodapplist.copyData(ds_copytemp);
  1485. if( utlf_isNull(ds_apply_goodapplist.getColumnInfo("userqty")) ){
  1486. ds_apply_goodapplist.addColumn("userqty", "string");
  1487. }
  1488. var misexch = 0;
  1489. ds_apply_goodapplist.enableevent = false;
  1490. ds_apply_goodapplist.updatecontrol = false;
  1491. for( var row=0 ; row<ds_apply_goodapplist.rowcount ; row++ )
  1492. {
  1493. ds_apply_goodapplist.setColumn(row, "select", "false");
  1494. if( utlf_transNullToEmpty(ds_apply_goodapplist.getColumn(row, "userqty")).length == 0 )
  1495. {
  1496. misexch = ds_apply_goodapplist.getColumn(row, "minexch");
  1497. if( misexch > 0 ) ds_apply_goodapplist.setColumn(row, "userqty", misexch);
  1498. else ds_apply_goodapplist.setColumn(row, "userqty", "1");
  1499. }
  1500. ds_apply_goodapplist.setRowType(row, 2);
  1501. }
  1502. ds_apply_goodapplist.updatecontrol = true;
  1503. ds_apply_goodapplist.enableevent = true;
  1504. for( var row=0 ; row<ds_main_goodlist.rowcount ; row++ ) ds_main_goodlist.setColumn(row, "select", "false");
  1505. }
  1506. /****************************************************************************************
  1507. * Components : Dataset
  1508. * Components ID : ds_apply_goodapplist
  1509. * Event : oncolumnchanged
  1510. * Argument : 01.obj : Object Event has occurred
  1511. * : 02.e : Event Object
  1512. * Description : 데이터셋 값 변경시
  1513. ****************************************************************************************/
  1514. function ds_apply_goodapplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1515. {
  1516. switch( e.columnid ){
  1517. case "select" :
  1518. if( e.newvalue == "true" || e.newvalue == "1" ){
  1519. obj.setColumn(e.row, e.columnid, "true");
  1520. }else{
  1521. obj.setColumn(e.row, e.columnid, "false");
  1522. }
  1523. break;
  1524. case "userqty" :
  1525. var misexch = ds_apply_goodapplist.getColumn(ds_apply_goodapplist.rowposition, "minexch");
  1526. var usrqty = ds_apply_goodapplist.getColumn(ds_apply_goodapplist.rowposition, "userqty");
  1527. if( misexch > 0 && usrqty && usrqty%misexch != 0 ){
  1528. sysf_messageBox("최소청구량에 ["+ misexch + "]맞춰서" , "C001");
  1529. ds_apply_goodapplist.setColumn(ds_apply_goodapplist.rowposition, "userqty", "");
  1530. group3.grd_apply.showEditor(true);
  1531. }
  1532. break;
  1533. default :
  1534. break;
  1535. }
  1536. }
  1537. /****************************************************************************************
  1538. * Components : Button
  1539. * Components ID : btn_delete
  1540. * Event : onclick
  1541. * Argument : 01.obj : Object Event has occurred
  1542. * : 02.e : Event Object
  1543. * Description : 삭제버튼 클릭시
  1544. ****************************************************************************************/
  1545. function group3_btn_delete_onclick(obj:Button, e:ClickEventInfo)
  1546. {
  1547. for( var currow=ds_apply_goodapplist.rowcount ; currow>=0 ; currow-- )
  1548. if( ds_apply_goodapplist.getColumn(currow, "select") == "true" ) ds_apply_goodapplist.deleteRow(currow);
  1549. }
  1550. /****************************************************************************************
  1551. * Components : Button
  1552. * Components ID : btn_save
  1553. * Event : onclick
  1554. * Argument : 01.obj : Object Event has occurred
  1555. * : 02.e : Event Object
  1556. * Description : 적용버튼 클릭시
  1557. ****************************************************************************************/
  1558. function group3_btn_save_onclick(obj:Button, e:ClickEventInfo)
  1559. {
  1560. if( ds_apply_goodapplist.rowcount == 0 )
  1561. {
  1562. sysf_messageBox("적용할 내역이","I004");
  1563. this.close();
  1564. return;
  1565. }
  1566. var nodelist = ds_apply_goodapplist;
  1567. var rCVS = dsf_getDsCSV(ds_apply_goodapplist)
  1568. if ( frmf_checkOpener() ) {
  1569. opener.frmf_setParameter("SMRSD00400_", rCVS);
  1570. } else {
  1571. var rtn = sysf_messageBox("상위화면을 찾을 수", "E001");
  1572. }
  1573. this.close();
  1574. }
  1575. function ds_main_goodlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1576. {
  1577. switch( e.columnid ){
  1578. case "select" :
  1579. if( e.newvalue == "true" || e.newvalue == "1" ){
  1580. obj.setColumn(e.row, e.columnid, "true");
  1581. }else{
  1582. obj.setColumn(e.row, e.columnid, "false");
  1583. }
  1584. break;
  1585. default :
  1586. break;
  1587. }
  1588. }
  1589. ]]></Script>
  1590. </Form>
  1591. </FDL>