SMPIC90500_물품코드(행위재료).xfdl 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml" />
  4. <Form id="SMPIC90500" position="absolute 0 0 1100 600" titletext="물품코드HELP" onload="SMPIC90500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="roundrect1" anchor="default" type="roundrectangle" position="absolute 18 18 1083 185" style="" />
  8. <Static id="caption4" class="search_name" position="absolute 310 66 360 83" style="" text="기관코드 :" />
  9. <Static id="caption1" class="search_name" position="absolute 39 35 130 52" style="" text="물품코드 :" />
  10. <Static id="caption2" class="search_name" position="absolute 37 93 125 110" style="" text="물 품 명 :" />
  11. <Static id="caption3" class="search_name" position="absolute 37 124 123 141" style="" text="색인구분 :" />
  12. <Static id="caption5" class="search_name" position="absolute 440 63 528 80" style="" text="대 분 류 :" />
  13. <Static id="caption6" class="search_name" position="absolute 440 93 528 110" style="" text="중 분 류 :" />
  14. <Static id="caption8" class="search_name" position="absolute 440 34 526 51" style="" text="물품구분 :" />
  15. <Static id="caption7" class="search_name" position="absolute 675 63 761 80" style="" text="모 델 :" />
  16. <Static id="caption9" class="search_name" position="absolute 675 93 761 110" style="" text="제조회사 :" />
  17. <Static id="caption10" class="search_name" position="absolute 675 34 761 51" style="" text="규 격 :" />
  18. <Static id="caption11" class="search_name" position="absolute 37 65 125 82" style="" text="구 코 드 :" />
  19. <Edit id="ipt_goodcd" class="input_s_essential" position="absolute 133 36 286 55" style="border: solid #c0c0c0 #c0c0c0;" anchor="default" />
  20. <Edit id="ipt_goodnm" class="input_s_essential" position="absolute 133 94 423 113" style="border: solid #c0c0c0 #c0c0c0;" anchor="default" />
  21. <Edit id="ipt_oldcd_search" position="absolute 133 65 286 84" style="" anchor="default" />
  22. <Combo innerdataset="ds_send_lrgcd" datacolumn="" codecolumn="" columncount="-1" rowcount="-1" id="cmb_instcd" class="combo_s_essential" visible="false" position="absolute 365 66 424 85" style="" />
  23. <Combo innerdataset="ds_init_instcd" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="cmb_goodflag" class="combo_s_essential" position="absolute 535 34 660 53" style="border: solid #c0c0c0 #c0c0c0;" onitemchanged="cmb_goodflag_onitemchanged" />
  24. <Combo innerdataset="ds_send_lrgcd" datacolumn="" codecolumn="" columncount="-1" rowcount="-1" id="cmb_lrgcd" position="absolute 535 62 660 81" style="" onitemchanged="cmb_lrgcd_onitemchanged" />
  25. <Combo innerdataset="ds_send_mdlcd" datacolumn="" codecolumn="" columncount="-1" rowcount="-1" id="cmb_mdlcd" position="absolute 535 89 660 108" style="" />
  26. <Edit id="ipt_goodspec" position="absolute 767 32 961 51" style="" anchor="default" />
  27. <Edit id="ipt_goodmodel" position="absolute 767 60 961 79" style="" anchor="default" />
  28. <Edit id="ipt_prodcmpycd" visible="false" position="absolute 767 90 825 109" style="" anchor="default" />
  29. <Edit id="ipt_prodcmpynm" visible="false" position="absolute 850 89 961 108" style="" anchor="default" />
  30. <Shape id="line13" class="line_4" linetype="vertical" position="absolute 985 31 988 104" style="border: solid #ffe4bb #ffe4bb;" anchor="default" />
  31. <Button id="btn_search" class="btn1_letter2" position="absolute 1004 58 1060 80" style="background:_gradation URL(../../.._com_commonweb_images_btn1_letter2.gif) ;" text="조회" onclick="btn_search_onclick" />
  32. <Shape id="rectangle2" anchor="default" type="rectangle" position="absolute 130 123 1075 178" style="border: solid transparent transparent;background:#ffffcc ;" />
  33. <Radio innerdataset="ds_init_english" datacolumn="label" codecolumn="value" columncount="-1" rowcount="-1" id="rbo_endindex" position="absolute 459 135 732 160" style="" onitemclick="rbo_endindex_onitemclick" />
  34. <Radio innerdataset="ds_init_number" datacolumn="label" codecolumn="value" columncount="-1" rowcount="-1" id="rbo_numindex" position="absolute 992 151 1065 169" style="" onitemclick="rbo_numindex_onitemclick" />
  35. <Grid id="grd_goodlist" binddataset="ds_main_good_goodlist" class="grd_agtplcelist" position="absolute 15 235 1080 550" style="" oncelldblclick="grd_goodlist_oncelldblclick" onaftersort="grd_goodlist_onaftersort">
  36. <Formats>
  37. <Format id="default">
  38. <Columns>
  39. <Column size="100" />
  40. <Column size="26" />
  41. <Column size="234" />
  42. <Column size="0" />
  43. <Column size="200" />
  44. <Column size="0" />
  45. <Column size="0" />
  46. <Column size="120" />
  47. <Column size="146" />
  48. <Column size="0" />
  49. <Column size="0" />
  50. <Column size="67" />
  51. <Column size="71" />
  52. <Column size="50" />
  53. <Column size="0" />
  54. <Column size="90" />
  55. <Column size="100" />
  56. <Column size="100" />
  57. <Column size="100" />
  58. <Column size="100" />
  59. <Column size="100" />
  60. <Column size="100" />
  61. <Column size="100" />
  62. <Column size="100" />
  63. <Column size="100" />
  64. <Column size="100" />
  65. <Column size="100" />
  66. <Column size="100" />
  67. <Column size="100" />
  68. <Column size="100" />
  69. <Column size="100" />
  70. <Column size="100" />
  71. <Column size="100" />
  72. <Column size="100" />
  73. <Column size="100" />
  74. <Column size="100" />
  75. <Column size="100" />
  76. <Column size="100" />
  77. <Column size="100" />
  78. <Column size="100" />
  79. <Column size="100" />
  80. <Column size="100" />
  81. <Column size="100" />
  82. <Column size="100" />
  83. <Column size="100" />
  84. <Column size="100" />
  85. <Column size="100" />
  86. <Column size="100" />
  87. <Column size="100" />
  88. <Column size="100" />
  89. <Column size="100" />
  90. <Column size="100" />
  91. <Column size="100" />
  92. <Column size="100" />
  93. <Column size="100" />
  94. <Column size="100" />
  95. <Column size="100" />
  96. <Column size="100" />
  97. <Column size="100" />
  98. <Column size="100" />
  99. <Column size="100" />
  100. <Column size="100" />
  101. <Column size="100" />
  102. <Column size="100" />
  103. <Column size="100" />
  104. <Column size="100" />
  105. <Column size="100" />
  106. <Column size="100" />
  107. <Column size="100" />
  108. <Column size="100" />
  109. <Column size="100" />
  110. <Column size="100" />
  111. <Column size="100" />
  112. <Column size="100" />
  113. <Column size="100" />
  114. <Column size="100" />
  115. <Column size="100" />
  116. <Column size="100" />
  117. <Column size="100" />
  118. <Column size="100" />
  119. <Column size="100" />
  120. <Column size="100" />
  121. <Column size="100" />
  122. <Column size="100" />
  123. <Column size="100" />
  124. <Column size="100" />
  125. <Column size="100" />
  126. <Column size="100" />
  127. <Column size="100" />
  128. <Column size="100" />
  129. <Column size="100" />
  130. <Column size="100" />
  131. <Column size="100" />
  132. <Column size="100" />
  133. <Column size="100" />
  134. <Column size="100" />
  135. <Column size="100" />
  136. <Column size="100" />
  137. <Column size="100" />
  138. <Column size="100" />
  139. <Column size="100" />
  140. <Column size="100" />
  141. <Column size="100" />
  142. <Column size="100" />
  143. </Columns>
  144. <Rows>
  145. <Row size="23" band="head" />
  146. <Row size="23" />
  147. </Rows>
  148. <Band id="head">
  149. <Cell text="물품코드" />
  150. <Cell col="1" text="물품코드" />
  151. <Cell col="2" text="물품명" />
  152. <Cell col="3" text="제조회사코드" />
  153. <Cell col="4" text="규격" />
  154. <Cell col="5" text="물품한글명" />
  155. <Cell col="6" text="물품영문명" />
  156. <Cell col="7" text="모델" />
  157. <Cell col="8" text="제조회사" />
  158. <Cell col="9" text="기관코드" />
  159. <Cell col="10" text="물품구분" />
  160. <Cell col="11" text="최소청구량" />
  161. <Cell col="12" text="기준량" />
  162. <Cell col="13" text="재고량" />
  163. <Cell col="14" text="사용자수량" />
  164. <Cell col="15" text="단위" />
  165. <Cell col="16" text="" />
  166. <Cell col="17" text="" />
  167. <Cell col="18" text="" />
  168. <Cell col="19" text="" />
  169. <Cell col="20" text="" />
  170. <Cell col="21" text="" />
  171. <Cell col="22" text="" />
  172. <Cell col="23" text="" />
  173. <Cell col="24" text="" />
  174. <Cell col="25" text="" />
  175. <Cell col="26" text="" />
  176. <Cell col="27" text="" />
  177. <Cell col="28" text="" />
  178. <Cell col="29" text="" />
  179. <Cell col="30" text="" />
  180. <Cell col="31" text="" />
  181. <Cell col="32" text="" />
  182. <Cell col="33" text="" />
  183. <Cell col="34" text="" />
  184. <Cell col="35" text="" />
  185. <Cell col="36" text="" />
  186. <Cell col="37" text="" />
  187. <Cell col="38" text="" />
  188. <Cell col="39" text="" />
  189. <Cell col="40" text="" />
  190. <Cell col="41" text="" />
  191. <Cell col="42" text="" />
  192. <Cell col="43" text="" />
  193. <Cell col="44" text="" />
  194. <Cell col="45" text="" />
  195. <Cell col="46" text="" />
  196. <Cell col="47" text="" />
  197. <Cell col="48" text="" />
  198. <Cell col="49" text="" />
  199. <Cell col="50" text="" />
  200. <Cell col="51" text="" />
  201. <Cell col="52" text="" />
  202. <Cell col="53" text="" />
  203. <Cell col="54" text="" />
  204. <Cell col="55" text="" />
  205. <Cell col="56" text="" />
  206. <Cell col="57" text="" />
  207. <Cell col="58" text="" />
  208. <Cell col="59" text="" />
  209. <Cell col="60" text="" />
  210. <Cell col="61" text="" />
  211. <Cell col="62" text="" />
  212. <Cell col="63" text="" />
  213. <Cell col="64" text="" />
  214. <Cell col="65" text="" />
  215. <Cell col="66" text="" />
  216. <Cell col="67" text="" />
  217. <Cell col="68" text="" />
  218. <Cell col="69" text="" />
  219. <Cell col="70" text="" />
  220. <Cell col="71" text="" />
  221. <Cell col="72" text="" />
  222. <Cell col="73" text="" />
  223. <Cell col="74" text="" />
  224. <Cell col="75" text="" />
  225. <Cell col="76" text="" />
  226. <Cell col="77" text="" />
  227. <Cell col="78" text="" />
  228. <Cell col="79" text="" />
  229. <Cell col="80" text="" />
  230. <Cell col="81" text="" />
  231. <Cell col="82" text="" />
  232. <Cell col="83" text="" />
  233. <Cell col="84" text="" />
  234. <Cell col="85" text="" />
  235. <Cell col="86" text="" />
  236. <Cell col="87" text="" />
  237. <Cell col="88" text="" />
  238. <Cell col="89" text="" />
  239. <Cell col="90" text="" />
  240. <Cell col="91" text="" />
  241. <Cell col="92" text="" />
  242. <Cell col="93" text="" />
  243. <Cell col="94" text="" />
  244. <Cell col="95" text="" />
  245. <Cell col="96" text="" />
  246. <Cell col="97" text="" />
  247. <Cell col="98" text="" />
  248. <Cell col="99" text="" />
  249. <Cell col="100" text="" />
  250. <Cell col="101" text="" />
  251. <Cell col="102" text="" />
  252. <Cell col="103" text="a" />
  253. </Band>
  254. <Band id="body">
  255. <Cell text="bind:goodcd" />
  256. <Cell col="1" text="bind:allsizespecid" />
  257. <Cell col="2" text="bind:goodnm" />
  258. <Cell col="3" text="bind:prodcmpycd" />
  259. <Cell col="4" text="bind:goodspec" />
  260. <Cell col="5" text="bind:goodhngnm" />
  261. <Cell col="6" text="bind:goodengnm" />
  262. <Cell col="7" text="bind:goodmodel" />
  263. <Cell col="8" text="bind:prodcmpynm" />
  264. <Cell col="9" text="bind:instcd" />
  265. <Cell col="10" text="bind:goodflag" />
  266. <Cell col="11" text="bind:minexch" />
  267. <Cell col="12" text="bind:safestocqty" />
  268. <Cell col="13" text="bind:stocqty" />
  269. <Cell col="14" text="bind:userqty" />
  270. <Cell col="15" text="bind:purcunit" />
  271. <Cell col="16" text="bind:todd" />
  272. <Cell col="17" text="bind:useyn" />
  273. <Cell col="18" text="bind:fromdd" />
  274. <Cell col="19" text="bind:asetflag" />
  275. <Cell col="20" text="bind:lrgcd" />
  276. <Cell col="21" text="bind:lrgnm" />
  277. <Cell col="22" text="bind:mdlcd" />
  278. <Cell col="23" text="bind:mdlnm" />
  279. <Cell col="24" text="bind:smlcd" />
  280. <Cell col="25" text="bind:smlnm" />
  281. <Cell col="26" text="bind:proddrugsetflag" />
  282. <Cell col="27" text="bind:winacnt" />
  283. <Cell col="28" text="bind:winacntnm" />
  284. <Cell col="29" text="bind:amtacnt" />
  285. <Cell col="30" text="bind:amtacntnm" />
  286. <Cell col="31" text="bind:mainmngtdeptcd" />
  287. <Cell col="32" text="bind:mainmngtdeptnm" />
  288. <Cell col="33" text="bind:mainusedeptcd" />
  289. <Cell col="34" text="bind:mainusedeptnm" />
  290. <Cell col="35" text="bind:purclnkgoodcd" />
  291. <Cell col="36" text="bind:stocmngtflag" />
  292. <Cell col="37" text="bind:deliveunit" />
  293. <Cell col="38" text="bind:purcunitnm" />
  294. <Cell col="39" text="bind:deliveunitnm" />
  295. <Cell col="40" text="bind:exchqty" />
  296. <Cell col="41" text="bind:reuseyn" />
  297. <Cell col="42" text="bind:divusenvalqty" />
  298. <Cell col="43" text="bind:calcscorinfoacptstat" />
  299. <Cell col="44" text="bind:calcscorinfoacptdd" />
  300. <Cell col="45" text="bind:insuyn" />
  301. <Cell col="46" text="bind:edicd" />
  302. <Cell col="47" text="bind:newrgstdd" />
  303. <Cell col="48" text="bind:reqdeptcd" />
  304. <Cell col="49" text="bind:reqdeptnm" />
  305. <Cell col="50" text="bind:reqpsn" />
  306. <Cell col="51" text="bind:reqpsnnm" />
  307. <Cell col="52" text="bind:reqflag" />
  308. <Cell col="53" text="bind:reqflagnm" />
  309. <Cell col="54" text="bind:reqmthd" />
  310. <Cell col="55" text="bind:reqprid" />
  311. <Cell col="56" text="bind:iopsnflag" />
  312. <Cell col="57" text="bind:prodplce" />
  313. <Cell col="58" text="bind:prodplcenm" />
  314. <Cell col="59" text="bind:maincustlastsuplplce" />
  315. <Cell col="60" text="bind:maincustlastsuplplcenm" />
  316. <Cell col="61" text="bind:suppcustcd" />
  317. <Cell col="62" text="bind:suppcustnm" />
  318. <Cell col="63" text="bind:conflag" />
  319. <Cell col="64" text="bind:fromconterm" />
  320. <Cell col="65" text="bind:toconterm" />
  321. <Cell col="66" text="bind:estmamt" />
  322. <Cell col="67" text="bind:forgncurncyunitcost" />
  323. <Cell col="68" text="bind:curncyunit" />
  324. <Cell col="69" text="bind:curncyunitnm" />
  325. <Cell col="70" text="bind:goodunitcost" />
  326. <Cell col="71" text="bind:purcflag" />
  327. <Cell col="72" text="bind:allsizeyn" />
  328. <Cell col="73" text="bind:setplceordflag" />
  329. <Cell col="74" text="bind:plceordbase" />
  330. <Cell col="75" text="bind:plceordqtycretflag" />
  331. <Cell col="76" text="bind:plceordnonusedd" />
  332. <Cell col="77" text="bind:addtaxrate" />
  333. <Cell col="78" text="bind:lastpurcdd" />
  334. <Cell col="79" text="bind:nonusetretresn" />
  335. <Cell col="80" text="bind:mngtflag" />
  336. <Cell col="81" text="bind:bnscd" />
  337. <Cell col="82" text="bind:cntrdrugyn" />
  338. <Cell col="83" text="bind:narcflag" />
  339. <Cell col="84" text="bind:expnyn" />
  340. <Cell col="85" text="bind:cntsunit" />
  341. <Cell col="86" text="bind:cntsqty" />
  342. <Cell col="87" text="bind:specvol" />
  343. <Cell col="88" text="bind:drugkind" />
  344. <Cell col="89" text="bind:cooppurcyn" />
  345. <Cell col="90" text="bind:autrampharm" />
  346. <Cell col="91" text="bind:keepmthd" />
  347. <Cell col="92" text="bind:specldrug" />
  348. <Cell col="93" text="bind:gnrlspcl" />
  349. <Cell col="94" text="bind:welfprt" />
  350. <Cell col="95" text="bind:goodtype" />
  351. <Cell col="96" text="bind:com" />
  352. <Cell col="97" text="bind:limdrugyn" />
  353. <Cell col="98" text="bind:cmt" />
  354. <Cell col="99" text="bind:safestocappdd" />
  355. <Cell col="100" text="bind:ddavguseqty" />
  356. <Cell col="101" text="bind:mmavgusescheqty" />
  357. <Cell col="102" text="bind:mmavguseqty" />
  358. <Cell col="103" text="bind:prprtystocpossndayno" />
  359. <Cell col="104" text="bind:orgloc" />
  360. </Band>
  361. </Format>
  362. </Formats>
  363. </Grid>
  364. <Static id="caption12" class="tit_2" position="absolute 5 210 150 223" style="" text="물품코드조회리스트" />
  365. <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 15 230 1080 233" style="" anchor="default" />
  366. <Button id="button2" class="btn4_letter2" position="absolute 946 565 1002 587" style="background:_gradation URL(../../.._com_commonweb_images_btn4_letter2.gif) ;" text="적용" />
  367. <Button id="button3" class="btn4_letter3" position="absolute 1013 565 1081 587" style="background:_gradation URL(../../.._com_commonweb_images_btn4_letter3.gif) ;" text="초기화" />
  368. <Edit id="ipt_nonusegoodview" visible="false" position="absolute 45 155 55 174" style="" anchor="default" />
  369. <Button id="btn_prodcmpycd" class="icon_search" visible="false" position="absolute 829 90 845 106" style="" text="" onclick="btn_prodcmpycd_onclick" />
  370. <Radio innerdataset="ds_init_hangle" datacolumn="label" codecolumn="value" columncount="-1" rowcount="-1" id="rbo_hanindex" position="absolute 132 135 303 160" style="" onitemclick="rbo_hanindex_onitemclick" />
  371. </Layout>
  372. </Layouts>
  373. <Objects>
  374. <Dataset id="ds_init_english" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  375. <ColumnInfo>
  376. <Column id="label" type="STRING" size="256" />
  377. <Column id="value" type="STRING" size="256" />
  378. <Column id="label" type="STRING" size="256" />
  379. <Column id="value" type="STRING" size="256" />
  380. <Column id="label" type="STRING" size="256" />
  381. <Column id="value" type="STRING" size="256" />
  382. <Column id="label" type="STRING" size="256" />
  383. <Column id="value" type="STRING" size="256" />
  384. <Column id="label" type="STRING" size="256" />
  385. <Column id="value" type="STRING" size="256" />
  386. <Column id="label" type="STRING" size="256" />
  387. <Column id="value" type="STRING" size="256" />
  388. <Column id="label" type="STRING" size="256" />
  389. <Column id="value" type="STRING" size="256" />
  390. <Column id="label" type="STRING" size="256" />
  391. <Column id="value" type="STRING" size="256" />
  392. <Column id="label" type="STRING" size="256" />
  393. <Column id="value" type="STRING" size="256" />
  394. <Column id="label" type="STRING" size="256" />
  395. <Column id="value" type="STRING" size="256" />
  396. <Column id="label" type="STRING" size="256" />
  397. <Column id="value" type="STRING" size="256" />
  398. <Column id="label" type="STRING" size="256" />
  399. <Column id="value" type="STRING" size="256" />
  400. <Column id="label" type="STRING" size="256" />
  401. <Column id="value" type="STRING" size="256" />
  402. <Column id="label" type="STRING" size="256" />
  403. <Column id="value" type="STRING" size="256" />
  404. <Column id="label" type="STRING" size="256" />
  405. <Column id="value" type="STRING" size="256" />
  406. <Column id="label" type="STRING" size="256" />
  407. <Column id="value" type="STRING" size="256" />
  408. <Column id="label" type="STRING" size="256" />
  409. <Column id="value" type="STRING" size="256" />
  410. <Column id="label" type="STRING" size="256" />
  411. <Column id="value" type="STRING" size="256" />
  412. <Column id="label" type="STRING" size="256" />
  413. <Column id="value" type="STRING" size="256" />
  414. <Column id="label" type="STRING" size="256" />
  415. <Column id="value" type="STRING" size="256" />
  416. <Column id="label" type="STRING" size="256" />
  417. <Column id="value" type="STRING" size="256" />
  418. <Column id="label" type="STRING" size="256" />
  419. <Column id="value" type="STRING" size="256" />
  420. <Column id="label" type="STRING" size="256" />
  421. <Column id="value" type="STRING" size="256" />
  422. <Column id="label" type="STRING" size="256" />
  423. <Column id="value" type="STRING" size="256" />
  424. <Column id="label" type="STRING" size="256" />
  425. <Column id="value" type="STRING" size="256" />
  426. <Column id="label" type="STRING" size="256" />
  427. <Column id="value" type="STRING" size="256" />
  428. </ColumnInfo>
  429. <Rows>
  430. <Row>
  431. <Col id="label"> A </Col>
  432. <Col id="value">A</Col>
  433. <Col id="label"> B </Col>
  434. <Col id="value">B</Col>
  435. <Col id="label"> C </Col>
  436. <Col id="value">C</Col>
  437. <Col id="label"> D </Col>
  438. <Col id="value">D</Col>
  439. <Col id="label"> E </Col>
  440. <Col id="value">E</Col>
  441. <Col id="label"> F </Col>
  442. <Col id="value">F</Col>
  443. <Col id="label"> G </Col>
  444. <Col id="value">G</Col>
  445. <Col id="label"> H </Col>
  446. <Col id="value">H</Col>
  447. <Col id="label"> I </Col>
  448. <Col id="value">I</Col>
  449. <Col id="label"> J </Col>
  450. <Col id="value">J</Col>
  451. <Col id="label"> K </Col>
  452. <Col id="value">K</Col>
  453. <Col id="label"> L </Col>
  454. <Col id="value">L</Col>
  455. <Col id="label"> M </Col>
  456. <Col id="value">M</Col>
  457. <Col id="label"> N </Col>
  458. <Col id="value">N</Col>
  459. <Col id="label"> O </Col>
  460. <Col id="value">O</Col>
  461. <Col id="label"> P </Col>
  462. <Col id="value">P</Col>
  463. <Col id="label"> Q </Col>
  464. <Col id="value">Q</Col>
  465. <Col id="label"> R </Col>
  466. <Col id="value">R</Col>
  467. <Col id="label"> S </Col>
  468. <Col id="value">S</Col>
  469. <Col id="label"> T </Col>
  470. <Col id="value">T</Col>
  471. <Col id="label"> U </Col>
  472. <Col id="value">U</Col>
  473. <Col id="label"> V </Col>
  474. <Col id="value">V</Col>
  475. <Col id="label"> W </Col>
  476. <Col id="value">W</Col>
  477. <Col id="label"> X </Col>
  478. <Col id="value">X</Col>
  479. <Col id="label"> Y </Col>
  480. <Col id="value">Y</Col>
  481. <Col id="label"> Z </Col>
  482. <Col id="value">Z</Col>
  483. </Row>
  484. </Rows>
  485. </Dataset>
  486. <Dataset id="ds_target" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  487. <ColumnInfo />
  488. </Dataset>
  489. <Dataset id="ds_init_number" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  490. <ColumnInfo>
  491. <Column id="label" type="STRING" size="256" />
  492. <Column id="value" type="STRING" size="256" />
  493. </ColumnInfo>
  494. <Rows>
  495. <Row>
  496. <Col id="label">0-9 (숫자)</Col>
  497. <Col id="value">1</Col>
  498. </Row>
  499. </Rows>
  500. </Dataset>
  501. <Dataset id="ds_init_hangle" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  502. <ColumnInfo>
  503. <Column id="label" type="STRING" size="256" />
  504. <Column id="value" type="STRING" size="256" />
  505. <Column id="label" type="STRING" size="256" />
  506. <Column id="value" type="STRING" size="256" />
  507. <Column id="label" type="STRING" size="256" />
  508. <Column id="value" type="STRING" size="256" />
  509. <Column id="label" type="STRING" size="256" />
  510. <Column id="value" type="STRING" size="256" />
  511. <Column id="label" type="STRING" size="256" />
  512. <Column id="value" type="STRING" size="256" />
  513. <Column id="label" type="STRING" size="256" />
  514. <Column id="value" type="STRING" size="256" />
  515. <Column id="label" type="STRING" size="256" />
  516. <Column id="value" type="STRING" size="256" />
  517. <Column id="label" type="STRING" size="256" />
  518. <Column id="value" type="STRING" size="256" />
  519. <Column id="label" type="STRING" size="256" />
  520. <Column id="value" type="STRING" size="256" />
  521. <Column id="label" type="STRING" size="256" />
  522. <Column id="value" type="STRING" size="256" />
  523. <Column id="label" type="STRING" size="256" />
  524. <Column id="value" type="STRING" size="256" />
  525. <Column id="label" type="STRING" size="256" />
  526. <Column id="value" type="STRING" size="256" />
  527. <Column id="label" type="STRING" size="256" />
  528. <Column id="value" type="STRING" size="256" />
  529. <Column id="label" type="STRING" size="256" />
  530. <Column id="value" type="STRING" size="256" />
  531. </ColumnInfo>
  532. <Rows>
  533. <Row>
  534. <Col id="label"> 가 </Col>
  535. <Col id="value">가</Col>
  536. <Col id="label"> 나 </Col>
  537. <Col id="value">나</Col>
  538. <Col id="label"> 다 </Col>
  539. <Col id="value">다</Col>
  540. <Col id="label"> 라 </Col>
  541. <Col id="value">라</Col>
  542. <Col id="label"> 마 </Col>
  543. <Col id="value">마</Col>
  544. <Col id="label"> 바 </Col>
  545. <Col id="value">바</Col>
  546. <Col id="label"> 사 </Col>
  547. <Col id="value">사</Col>
  548. <Col id="label"> 아 </Col>
  549. <Col id="value">아</Col>
  550. <Col id="label"> 자 </Col>
  551. <Col id="value">자</Col>
  552. <Col id="label"> 차 </Col>
  553. <Col id="value">차</Col>
  554. <Col id="label"> 카 </Col>
  555. <Col id="value">카</Col>
  556. <Col id="label"> 타 </Col>
  557. <Col id="value">타</Col>
  558. <Col id="label"> 파 </Col>
  559. <Col id="value">파</Col>
  560. <Col id="label"> 하 </Col>
  561. <Col id="value">하</Col>
  562. </Row>
  563. </Rows>
  564. </Dataset>
  565. <Dataset id="ds_init_refcond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  566. <ColumnInfo>
  567. <Column id="label" type="STRING" size="256" />
  568. <Column id="value" type="STRING" size="256" />
  569. <Column id="label" type="STRING" size="256" />
  570. <Column id="value" type="STRING" size="256" />
  571. <Column id="label" type="STRING" size="256" />
  572. <Column id="value" type="STRING" size="256" />
  573. </ColumnInfo>
  574. <Rows>
  575. <Row>
  576. <Col id="label">물품코드</Col>
  577. <Col id="value">goodcd</Col>
  578. <Col id="label">물품명</Col>
  579. <Col id="value">goodnm</Col>
  580. <Col id="label">색인</Col>
  581. <Col id="value">index</Col>
  582. </Row>
  583. </Rows>
  584. </Dataset>
  585. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  586. <ColumnInfo>
  587. <Column id="refcond" type="STRING" size="256" />
  588. <Column id="instcd" type="STRING" size="256" />
  589. <Column id="goodflag" type="STRING" size="256" />
  590. <Column id="goodcd" type="STRING" size="256" />
  591. <Column id="goodnm" type="STRING" size="256" />
  592. <Column id="indexnm" type="STRING" size="256" />
  593. <Column id="indexgb" type="STRING" size="256" />
  594. <Column id="reqflag" type="STRING" size="256" />
  595. <Column id="lrgcd" type="STRING" size="256" />
  596. <Column id="lrgnm" type="STRING" size="256" />
  597. <Column id="mdlcd" type="STRING" size="256" />
  598. <Column id="mdlnm" type="STRING" size="256" />
  599. <Column id="prodcmpycd" type="STRING" size="256" />
  600. <Column id="prodcmpynm" type="STRING" size="256" />
  601. <Column id="goodspec" type="STRING" size="256" />
  602. <Column id="goodmodel" type="STRING" size="256" />
  603. <Column id="oldcd" type="STRING" size="256" />
  604. <Column id="reqdeptcd" type="STRING" size="256" />
  605. <Column id="reqprid" type="STRING" size="256" />
  606. <Column id="nonusegoodview" type="STRING" size="256" />
  607. </ColumnInfo>
  608. <Rows>
  609. <Row>
  610. <Col id="refcond"></Col>
  611. <Col id="instcd"></Col>
  612. <Col id="goodflag"></Col>
  613. <Col id="goodcd"></Col>
  614. <Col id="goodnm"></Col>
  615. <Col id="indexnm"></Col>
  616. <Col id="indexgb"></Col>
  617. <Col id="reqflag"></Col>
  618. <Col id="lrgcd"></Col>
  619. <Col id="lrgnm"></Col>
  620. <Col id="mdlcd"></Col>
  621. <Col id="mdlnm"></Col>
  622. <Col id="prodcmpycd"></Col>
  623. <Col id="prodcmpynm"></Col>
  624. <Col id="goodspec"></Col>
  625. <Col id="goodmodel"></Col>
  626. <Col id="oldcd"></Col>
  627. <Col id="reqdeptcd"></Col>
  628. <Col id="reqprid"></Col>
  629. <Col id="nonusegoodview"></Col>
  630. </Row>
  631. </Rows>
  632. </Dataset>
  633. <Dataset id="ds_main_good" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  634. <ColumnInfo>
  635. <Column id="goodlist" type="STRING" size="256" />
  636. </ColumnInfo>
  637. <Rows>
  638. <Row>
  639. <Col id="goodlist"></Col>
  640. </Row>
  641. </Rows>
  642. </Dataset>
  643. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  644. <ColumnInfo>
  645. <Column id="goodapplist" type="STRING" size="256" />
  646. </ColumnInfo>
  647. </Dataset>
  648. <Dataset id="ds_copytemp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  649. <ColumnInfo>
  650. <Column id="copytemp" type="STRING" size="256" />
  651. </ColumnInfo>
  652. </Dataset>
  653. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  654. <ColumnInfo />
  655. </Dataset>
  656. <Dataset id="ds_target_defaultvalue" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  657. <ColumnInfo>
  658. <Column id="instcd" type="STRING" size="256" />
  659. <Column id="goodflag" type="STRING" size="256" />
  660. <Column id="prodcmpycd" type="STRING" size="256" />
  661. <Column id="reqflag" type="STRING" size="256" />
  662. <Column id="nodebigo" type="STRING" size="256" />
  663. <Column id="nonusegoodview" type="STRING" size="256" />
  664. </ColumnInfo>
  665. <Rows>
  666. <Row>
  667. <Col id="instcd"></Col>
  668. <Col id="goodflag"></Col>
  669. <Col id="prodcmpycd"></Col>
  670. <Col id="reqflag"></Col>
  671. <Col id="nodebigo"></Col>
  672. <Col id="nonusegoodview"></Col>
  673. </Row>
  674. </Rows>
  675. </Dataset>
  676. </Objects>
  677. <Bind>
  678. <BindItem id="item0" compid="ipt_goodcd" propid="value" datasetid="ds_send" columnid="goodcd" />
  679. <BindItem id="item1" compid="ipt_goodnm" propid="value" datasetid="ds_send" columnid="goodnm" />
  680. <BindItem id="item2" compid="ipt_oldcd_search" propid="value" datasetid="ds_send" columnid="oldcd" />
  681. <BindItem id="item3" compid="cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd" />
  682. <BindItem id="item4" compid="cmb_goodflag" propid="value" datasetid="ds_send" columnid="goodflag" />
  683. <BindItem id="item5" compid="cmb_lrgcd" propid="value" datasetid="ds_send" columnid="lrgcd" />
  684. <BindItem id="item6" compid="cmb_mdlcd" propid="value" datasetid="ds_send" columnid="mdlcd" />
  685. <BindItem id="item7" compid="ipt_goodspec" propid="value" datasetid="ds_send" columnid="goodspec" />
  686. <BindItem id="item8" compid="ipt_goodmodel" propid="value" datasetid="ds_send" columnid="goodmodel" />
  687. <BindItem id="item9" compid="ipt_prodcmpycd" propid="value" datasetid="ds_send" columnid="prodcmpycd" />
  688. <BindItem id="item10" compid="ipt_prodcmpynm" propid="value" datasetid="ds_send" columnid="prodcmpynm" />
  689. <BindItem id="item11" compid="ipt_nonusegoodview" propid="value" datasetid="ds_send" columnid="nonusegoodview" />
  690. </Bind>
  691. <Script type="xscript4.0"><![CDATA[function SMPIC90500_onload(obj:Form, e:LoadEventInfo) {
  692. frmf_initForm(obj);
  693. //grdf_initGrid(grd_XXX);
  694. //grdf_setGridSort(grd_XXX);
  695. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  696. ds_send.setColumn( 0, "instcd", sysf_getUserInfo("dutplceinstcd")); // 기관 설정
  697. var PURTARGET_NODE = "ds_target_defaultvalue";
  698. smpCombolist('Z0007', cmb_instcd);
  699. smpCombolist('R0025', cmb_goodflag,"N");
  700. // combobox 부분
  701. if(model.getValue(cmb_instcd.attribute("ref")).length == 0 && cmb_instcd.length> 0) cmb_instcd.selectedindex= 0;
  702. if(model.getValue(cmb_goodflag.attribute("ref")).length == 0 && cmb_goodflag.length> 0) cmb_goodflag.selectedindex= 0;
  703. ds_send.setColumn( 0, "instcd" , model.getValue(PURTARGET_NODE + "_instcd"));
  704. ds_send.setColumn( 0, "goodflag", model.getValue(PURTARGET_NODE + "_goodflag"));
  705. ds_send.setColumn( 0, "reqflag" , model.getValue(PURTARGET_NODE + "_reqflag"));
  706. ds_send.setColumn( 0, "nonusegoodview" , model.getValue(PURTARGET_NODE + "_nonusegoodview"));
  707. /* --------------------------------------------------------------------------------------------
  708. sql문에 청구부서별 안전재고를 가져와야한다.
  709. 프로그램 call시 변경해야한다. 인자값이 없을경우 해당 user값으로 setting한다.......2007.10.08 HBH
  710. ----------------------------------------------------------------------------------------------*/
  711. if (model.getValue(PURTARGET_NODE + "_reqdeptcd").length == 0 ) ds_send.setColumn( 0, "reqdeptcd", sysf_getUserInfo("dutplcecd"));
  712. else ds_send.setColumn( 0, "reqdeptcd", model.getValue(PURTARGET_NODE + "_reqdeptcd"));
  713. /* --------------------------------------------------------------------------------------------
  714. [2007.11.17 HBH] 물품청구 프로그램에서 CALL시 물품청구주기가 와야한다.
  715. ----------------------------------------------------------------------------------------------*/
  716. ds_send.setColumn( 0, "reqprid", model.getValue(PURTARGET_NODE + "_reqprid"));
  717. if(model.getValue(PURTARGET_NODE + "_goodflag").length > 0)cmb_goodflag.disabled = "true";
  718. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  719. // 영양팀 명칭검색으로 이 window 가 open시 기본값 셋팅한다.
  720. // 2007.08.09 황
  721. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  722. if(model.getValue(PURTARGET_NODE + "_goodcd").length > 0)
  723. {
  724. ds_send.setColumn( 0, "goodcd", model.getValue(PURTARGET_NODE + "_goodcd"));
  725. btn_search.dispatch("DOMActivate");
  726. }
  727. else if(model.getValue(PURTARGET_NODE + "_goodnm").length > 0)
  728. {
  729. ds_send.setColumn( 0, "goodnm", model.getValue(PURTARGET_NODE + "_goodnm"));
  730. btn_search.dispatch("DOMActivate");
  731. }
  732. if (ds_send.getColumn(0, "instcd") == "") ds_send.setColumn( 0, "instcd",sysf_getUserInfo("instcd"));
  733. if (ds_send.getColumn(0, "goodflag") == "") {
  734. cmb_goodflag.select(0);
  735. //cmb_goodflag.refresh();
  736. }
  737. //model.refresh();
  738. }
  739. function fcomboset(pGood_flag, pLrgcd, pMdlcd, pControl_name, pGrid_id, pLMSflag, pAllflag, pResultFlag){
  740. var sControl = document.controls(pControl_name);
  741. var send_Node = "ds_send_lmsitem";
  742. var result_Node = "ds_init_lmsflag/" + pLMSflag + "/" + pControl_name + "_lmslist";
  743. eval(send_Node).clearData();
  744. eval(result_Node).clearData();
  745. //model.refresh();
  746. eval(send_Node).addRow();
  747. eval(result_Node).addRow();
  748. if(pGrid_id != null && pGrid_id.elementName == "xforms:datagrid")
  749. {
  750. var column_no = pGrid_id.colRef(pControl_name);
  751. var column_name = pGrid_id.colAttribute(column_no, "id");
  752. var sGridControl_obj = document.controls(column_name);
  753. sGridControl_obj.choices.itemset.attribute("nodeset") = result_Node;
  754. sGridControl_obj.choices.itemset.label.attribute("ref") = "label";
  755. sGridControl_obj.choices.itemset.value.attribute("ref") = "value";
  756. }else{
  757. sControl.choices.itemset.attribute("nodeset") = result_Node;
  758. sControl.choices.itemset.label.attribute("ref") = "label";
  759. sControl.choices.itemset.value.attribute("ref") = "value";
  760. }
  761. if(pLMSflag == 'L'){
  762. //model.makeValue(send_Node + "_goodflag", pGood_flag);
  763. eval(send_Node).setColumn(0, "goodflag", pGood_flag);
  764. }else if(pLMSflag == 'M'){
  765. //model.makeValue(send_Node + "_goodflag", pGood_flag);
  766. eval(send_Node).setColumn(0, "goodflag", pGood_flag);
  767. //model.makeValue(send_Node + "_lrgcd", pLrgcd);
  768. eval(send_Node).setColumn(0, "lrgcd", pLrgcd);
  769. }else if(pLMSflag == 'S'){
  770. //model.makeValue(send_Node + "_goodflag", pGood_flag);
  771. eval(send_Node).setColumn(0, "goodflag", pGood_flag);
  772. //model.makeValue(send_Node + "_lrgcd", pLrgcd);
  773. eval(send_Node).setColumn(0, "lrgcd", pLrgcd);
  774. //model.makeValue(send_Node + "_mdlcd", pMdlcd);
  775. eval(send_Node).setColumn(0, "mdlcd", pMdlcd);
  776. }else{
  777. sysf_messageBox("대,중,소 분류 구분자 입력 오류입니다.", "I999");
  778. return;
  779. }
  780. if ( pResultFlag == "Y" )
  781. //model.makeValue(send_Node + "_resultflag", pResultFlag);
  782. eval(send_Node).setColumn(0, "resultflag", pResultFlag);
  783. //model.makeValue(send_Node + "_lmsflag", pLMSflag);
  784. eval(send_Node).setColumn(0, "lmsflag", pLMSflag);
  785. model.removeChild("TRRSZ00118");
  786. model.createChild("xforms:submission", "id:TRRSZ00118;mediatype:application_x-www-form-urlencoded; method:post; ref:" + send_Node + "; resultref:" + result_Node + ";");
  787. // submit("TRRSZ00118");
  788. var oParam = {};
  789. oParam.id = "TRRSZ00118";
  790. oParam.service = "purccommonapp.PurcCommon";
  791. oParam.method = "reqGetLMScdList";
  792. oParam.inds = "req=ds_";
  793. oParam.outds = "ds_=lmslist";
  794. oParam.async = false;
  795. oParam.callback = "cf_TRRSZ00118";
  796. tranf_submit(oParam);
  797. /*
  798. function cf_TRRSZ00118(sSvcId, nErrorCode, sErrorMsg) {
  799. if(nErrorCode < 0) return;
  800. }
  801. function cf_TRRSZ00118(sSvcId, nErrorCode, sErrorMsg) {
  802. arErrorCode.push(sSvcId, nErrorCode);
  803. }
  804. arErrorCode.pop("TRRSZ00118") > -1
  805. arErrorCode.pop("TRRSZ00118") < 0
  806. */
  807. if(pAllflag != '')
  808. {
  809. if(pGrid_id != null && pGrid_id.elementName == "xforms:datagrid")
  810. {
  811. }else
  812. {
  813. if(model.getValue(result_Node + "[1]_value") != '')
  814. {
  815. var comboObj = document.all.item(pControl_name);
  816. // Combo ItemSet 정보
  817. var comboItemNodeSet = comboObj.choices.itemset.attribute("nodeset");
  818. var comboLabelRef = comboObj.choices.itemset.label.attribute("ref");
  819. var comboValueRef = comboObj.choices.itemset.value.attribute("ref");
  820. // Item 노드 생성
  821. var itemNode = instance1.createNode("element", instance1.selectSingleNode(comboItemNodeSet).nodeName, "");
  822. var labelNode = instance1.createNode("element", comboLabelRef, "");
  823. var valueNode = instance1.createNode("element", comboValueRef, "");
  824. if(pAllflag == 'Y'){
  825. labelNode.value = "- 전 체 -";
  826. itemNode.appendChild(labelNode);
  827. valueNode.value = '';
  828. itemNode.appendChild(valueNode);
  829. }else if(pAllflag == 'N')
  830. {
  831. labelNode.value = "- Choice -";
  832. itemNode.appendChild(labelNode);
  833. valueNode.value = '';
  834. itemNode.appendChild(valueNode);
  835. }
  836. var destNode = instance1.selectSingleNode(comboItemNodeSet);
  837. var pDestNode = destNode.parentNode;
  838. pDestNode.insertBefore(itemNode, destNode);
  839. //comboObj.refresh();
  840. }
  841. }
  842. }
  843. }
  844. include '../../.._com_commonweb_js_common.js'
  845. include '../../.._com_commonweb_js_tfHelper.js'
  846. include '../../.._com_commonweb_js_utilHelper.js'
  847. include '.._js_SMPIC90000.js'
  848. function cmb_goodflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  849. fcomboset(model.getValue(cmb_goodflag.attribute("ref")), "", "", "cmb_lrgcd", "", "L","Y");
  850. cmb_lrgcd.select(0);
  851. }
  852. function cmb_lrgcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  853. fcomboset(model.getValue(cmb_goodflag.attribute("ref")), model.getValue(cmb_lrgcd.attribute("ref")), "", "cmb_mdlcd", "", "M","Y");
  854. }
  855. function btn_search_onclick(obj:Button, e:ClickEventInfo) {
  856. // submit("TRPIC90006");
  857. var oParam = {};
  858. oParam.id = "TRPIC90006";
  859. oParam.service = "actmatrapp.ActMatrMngt";
  860. oParam.method = "reqGetGoodListByCond";
  861. oParam.inds = "req=ds_";
  862. oParam.outds = "ds_=goodlist ds_=cntlist";
  863. oParam.async = false;
  864. oParam.callback = "cf_TRPIC90006";
  865. tranf_submit(oParam);
  866. /*
  867. function cf_TRPIC90006(sSvcId, nErrorCode, sErrorMsg) {
  868. if(nErrorCode < 0) return;
  869. }
  870. function cf_TRPIC90006(sSvcId, nErrorCode, sErrorMsg) {
  871. arErrorCode.push(sSvcId, nErrorCode);
  872. }
  873. arErrorCode.pop("TRPIC90006") > -1
  874. arErrorCode.pop("TRPIC90006") < 0
  875. */
  876. }
  877. function rbo_endindex_onitemclick(obj:Radio, e:RadioMouseEventInfo) {
  878. ds_send.setColumn( 0, "indexgb","E");
  879. ds_send.setColumn( 0, "goodnm","");
  880. btn_search.dispatch("DOMActivate");
  881. }
  882. function rbo_numindex_onitemclick(obj:Radio, e:RadioMouseEventInfo) {
  883. ds_send.setColumn( 0, "indexgb","N");
  884. ds_send.setColumn( 0, "goodnm","");
  885. btn_search.dispatch("DOMActivate");
  886. }
  887. function grd_goodlist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  888. if( grd_goodlist.isCell( event.target ) && grd_goodlist.row >= grd_goodlist.fixedRows ) {
  889. btn_save.dispatch("DOMActivate");
  890. }
  891. }
  892. function grd_goodlist_onaftersort {
  893. grd_goodlist.gridToInstance();
  894. }
  895. function btn_prodcmpycd_onclick(obj:Button, e:ClickEventInfo) {
  896. // frmf_modal("SPRSD00160", "", ""-"", "", "", "", "", "", "", "", "", "", "M");
  897. //
  898. //model.refresh();
  899. }
  900. function rbo_hanindex_onitemclick(obj:Radio, e:RadioMouseEventInfo) {
  901. ds_send.setColumn( 0, "indexgb","K");
  902. ds_send.setColumn( 0, "goodnm","");
  903. btn_search.dispatch("DOMActivate");
  904. }
  905. ]]></Script>
  906. </Form>
  907. </FDL>