SPRSD04203_물품코드조회.xfdl 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPRSD04203" position="absolute 0 0 1126 560" titletext="물품코드 검색화면" onload="SPRSD04203_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1125 559" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 0 1125 60" id="group2" class="div_SA2" anchor="default">
  11. <Layouts>
  12. <Layout>
  13. <Button position="absolute 1054 19 1110 41" id="btn_search" class="btn1" text="조회" anchor="default" onclick="group3_group2_btn_search_onclick"/>
  14. <Shape position="absolute 1036 11 1042 50" linetype="vertical" id="line13" class="line_4" anchor="default"/>
  15. <Combo position="absolute 101 8 241 27" id="cmb_instcd" class="combo_essential" taborder="1" innerdataset="ds_init_cmb_instcd" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  16. <Static text="기관코드 :" position="absolute 15 9 101 26" id="caption4" class="search_name" anchor="default"/>
  17. <Static text="규 격 :" position="absolute 15 34 101 51" id="caption10" class="search_name" anchor="default"/>
  18. <Edit position="absolute 101 33 241 52" id="ipt_goodspec" class="input_default" anchor="default" autoselect="true"/>
  19. <Edit position="absolute 336 33 476 52" id="ipt_goodmodel" class="input_default" anchor="default" autoselect="true"/>
  20. <Static text="모 델 :" position="absolute 250 34 336 51" id="caption11" class="search_name" anchor="default"/>
  21. <Edit position="absolute 571 8 725 27" id="ipt_goodnm" class="input_default" anchor="default" autoselect="true" onkeydown="group3_group2_ipt_goodnm_onkeydown"/>
  22. <Edit position="absolute 336 8 476 27" id="ipt_goodcd" class="input_default" anchor="default" autoselect="true" onkeydown="group3_group2_ipt_goodcd_onkeydown"/>
  23. <Static text="물 품 명 :" position="absolute 486 9 572 26" id="caption2" class="search_name" anchor="default"/>
  24. <Static text="물품코드 :" position="absolute 250 9 336 26" id="caption3" class="search_name" anchor="default"/>
  25. <Edit position="absolute 685 33 885 52" id="ipt_suplplcenm_search" class="input_search" anchor="default" autoselect="true" onkeydown="Edit_onkeydown"/>
  26. <Edit position="absolute 587 33 664 52" id="ipt_suplplcecd_search" anchor="default" autoselect="true" onkeydown="Edit_onkeydown"/>
  27. <Button position="absolute 666 34 682 50" id="button2" class="icon_search" text="" anchor="default" onclick="group3_group2_button2_onclick"/>
  28. <Static text="보조거래처 :" position="absolute 486 34 585 51" id="caption41" class="search_name" anchor="default"/>
  29. <Static text="물품구분 :" position="absolute 740 10 826 27" id="caption5" class="search_name" anchor="default"/>
  30. <Combo position="absolute 830 8 930 27" id="cmb_goodflag" enable="false" innerdataset="ds_init_cmb_goodflag" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  31. </Layout>
  32. </Layouts>
  33. </Div>
  34. <Static text="물품코드조회리스트" position="absolute 0 71 153 92" id="caption1" class="tit_2" anchor="default"/>
  35. <Shape position="absolute 0 87 1125 93" id="line1" class="line_10" anchor="default"/>
  36. <Grid position="absolute 0 92 1125 558" id="grd_goodlist" class="grd_agtplcelist" binddataset="ds_main_goodlist" anchor="default" oncelldblclick="group3_grd_goodlist_oncelldblclick">
  37. <Formats>
  38. <Format id="default">
  39. <Columns>
  40. <Column size="25" band="left"/>
  41. <Column size="80"/>
  42. <Column size="180"/>
  43. <Column size="0"/>
  44. <Column size="149"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="90"/>
  48. <Column size="90"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="67"/>
  52. <Column size="71"/>
  53. <Column size="50"/>
  54. <Column size="0"/>
  55. <Column size="50"/>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="0"/>
  59. <Column size="0"/>
  60. <Column size="0"/>
  61. <Column size="0"/>
  62. <Column size="0"/>
  63. <Column size="0"/>
  64. <Column size="0"/>
  65. <Column size="0"/>
  66. <Column size="0"/>
  67. <Column size="0"/>
  68. <Column size="0"/>
  69. <Column size="0"/>
  70. <Column size="0"/>
  71. <Column size="0"/>
  72. <Column size="0"/>
  73. <Column size="0"/>
  74. <Column size="0"/>
  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="100"/>
  100. <Column size="100"/>
  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. </Columns>
  147. <Rows>
  148. <Row size="24" band="head"/>
  149. <Row size="24"/>
  150. </Rows>
  151. <Band id="head">
  152. <Cell/>
  153. <Cell col="1" text="물품코드"/>
  154. <Cell col="2" text="물품명"/>
  155. <Cell col="3" text="제조회사코드"/>
  156. <Cell col="4" text="규격"/>
  157. <Cell col="5" text="물품한글명"/>
  158. <Cell col="6" text="물품영문명"/>
  159. <Cell col="7" text="모델"/>
  160. <Cell col="8" text="제조회사"/>
  161. <Cell col="9" text="기관코드"/>
  162. <Cell col="10" text="물품구분"/>
  163. <Cell col="11" text="최소청구량"/>
  164. <Cell col="12" text="기준량"/>
  165. <Cell col="13" text="재고량"/>
  166. <Cell col="14" text="사용자수량"/>
  167. <Cell col="15" text="단위"/>
  168. <Cell col="16" text="todd"/>
  169. <Cell col="17" text="사용여부"/>
  170. <Cell col="18" text="fromdd"/>
  171. <Cell col="19" text="asetflag"/>
  172. <Cell col="20" text="lrgcd"/>
  173. <Cell col="21" text="lrgnm"/>
  174. <Cell col="22"/>
  175. <Cell col="23"/>
  176. <Cell col="24"/>
  177. <Cell col="25"/>
  178. <Cell col="26"/>
  179. <Cell col="27"/>
  180. <Cell col="28"/>
  181. <Cell col="29"/>
  182. <Cell col="30"/>
  183. <Cell col="31"/>
  184. <Cell col="32"/>
  185. <Cell col="33"/>
  186. <Cell col="34"/>
  187. <Cell col="35"/>
  188. <Cell col="36"/>
  189. <Cell col="37"/>
  190. <Cell col="38"/>
  191. <Cell col="39"/>
  192. <Cell col="40"/>
  193. <Cell col="41"/>
  194. <Cell col="42"/>
  195. <Cell col="43"/>
  196. <Cell col="44"/>
  197. <Cell col="45" text="수가여부"/>
  198. <Cell col="46" text="EDI코드"/>
  199. <Cell col="47" text="신규등록일"/>
  200. <Cell col="48" text="청구부서코드"/>
  201. <Cell col="49" text="청구부서명"/>
  202. <Cell col="50" text="청구자ID"/>
  203. <Cell col="51" text="청구자명"/>
  204. <Cell col="52" text="청구구분"/>
  205. <Cell col="53" text="청구구분명"/>
  206. <Cell col="54" text="청구방법"/>
  207. <Cell col="55" text="청구기간"/>
  208. <Cell col="56"/>
  209. <Cell col="57"/>
  210. <Cell col="58"/>
  211. <Cell col="59" text="주거래처코드"/>
  212. <Cell col="60" text="주거래처명"/>
  213. <Cell col="61"/>
  214. <Cell col="62"/>
  215. <Cell col="63"/>
  216. <Cell col="64"/>
  217. <Cell col="65"/>
  218. <Cell col="66"/>
  219. <Cell col="67"/>
  220. <Cell col="68"/>
  221. <Cell col="69"/>
  222. <Cell col="70"/>
  223. <Cell col="71"/>
  224. <Cell col="72"/>
  225. <Cell col="73"/>
  226. <Cell col="74"/>
  227. <Cell col="75"/>
  228. <Cell col="76"/>
  229. <Cell col="77"/>
  230. <Cell col="78"/>
  231. <Cell col="79"/>
  232. <Cell col="80"/>
  233. <Cell col="81"/>
  234. <Cell col="82"/>
  235. <Cell col="83"/>
  236. <Cell col="84"/>
  237. <Cell col="85"/>
  238. <Cell col="86"/>
  239. <Cell col="87"/>
  240. <Cell col="88"/>
  241. <Cell col="89"/>
  242. <Cell col="90"/>
  243. <Cell col="91"/>
  244. <Cell col="92"/>
  245. <Cell col="93"/>
  246. <Cell col="94"/>
  247. <Cell col="95"/>
  248. <Cell col="96"/>
  249. <Cell col="97"/>
  250. <Cell col="98"/>
  251. <Cell col="99"/>
  252. <Cell col="100"/>
  253. <Cell col="101"/>
  254. <Cell col="102"/>
  255. <Cell col="103" text="a"/>
  256. <Cell col="104" text="caption1"/>
  257. <Cell col="105"/>
  258. </Band>
  259. <Band id="body">
  260. <Cell celltype="head" text="expr:currow+1"/>
  261. <Cell col="1" displaytype="text" text="bind:goodcd"/>
  262. <Cell col="2" displaytype="text" text="bind:goodnm"/>
  263. <Cell col="3" text="bind:prodcmpycd"/>
  264. <Cell col="4" displaytype="text" text="bind:goodspec"/>
  265. <Cell col="5" text="bind:goodhngnm"/>
  266. <Cell col="6" text="bind:goodengnm"/>
  267. <Cell col="7" displaytype="text" text="bind:goodmodel"/>
  268. <Cell col="8" displaytype="text" text="bind:prodcmpynm"/>
  269. <Cell col="9" text="bind:instcd"/>
  270. <Cell col="10" text="bind:goodflag"/>
  271. <Cell col="11" displaytype="number" text="bind:minexch"/>
  272. <Cell col="12" displaytype="number" text="bind:safestocqty"/>
  273. <Cell col="13" displaytype="number" text="bind:stocqty"/>
  274. <Cell col="14" text="bind:userqty"/>
  275. <Cell col="15" text="bind:purcunit"/>
  276. <Cell col="16" text="bind:todd"/>
  277. <Cell col="17" text="bind:useyn"/>
  278. <Cell col="18" text="bind:fromdd"/>
  279. <Cell col="19" text="bind:asetflag"/>
  280. <Cell col="20" text="bind:lrgcd"/>
  281. <Cell col="21" text="bind:lrgnm"/>
  282. <Cell col="22" text="bind:mdlcd"/>
  283. <Cell col="23" text="bind:mdlnm"/>
  284. <Cell col="24" text="bind:smlcd"/>
  285. <Cell col="25" text="bind:smlnm"/>
  286. <Cell col="26" text="bind:proddrugsetflag"/>
  287. <Cell col="27" text="bind:winacnt"/>
  288. <Cell col="28" text="bind:winacntnm"/>
  289. <Cell col="29" text="bind:amtacnt"/>
  290. <Cell col="30" text="bind:amtacntnm"/>
  291. <Cell col="31" text="bind:mainmngtdeptcd"/>
  292. <Cell col="32" text="bind:mainmngtdeptnm"/>
  293. <Cell col="33" text="bind:mainusedeptcd"/>
  294. <Cell col="34" text="bind:mainusedeptnm"/>
  295. <Cell col="35" text="bind:purclnkgoodcd"/>
  296. <Cell col="36" text="bind:stocmngtflag"/>
  297. <Cell col="37" text="bind:deliveunit"/>
  298. <Cell col="38" text="bind:purcunitnm"/>
  299. <Cell col="39" text="bind:deliveunitnm"/>
  300. <Cell col="40" text="bind:exchqty"/>
  301. <Cell col="41" text="bind:reuseyn"/>
  302. <Cell col="42" text="bind:divusenvalqty"/>
  303. <Cell col="43" text="bind:calcscorinfoacptstat"/>
  304. <Cell col="44" text="bind:calcscorinfoacptdd"/>
  305. <Cell col="45" text="bind:insuyn"/>
  306. <Cell col="46" text="bind:edicd"/>
  307. <Cell col="47" text="bind:newrgstdd"/>
  308. <Cell col="48" text="bind:reqdeptcd"/>
  309. <Cell col="49" text="bind:reqdeptnm"/>
  310. <Cell col="50" text="bind:reqpsn"/>
  311. <Cell col="51" text="bind:reqpsnnm"/>
  312. <Cell col="52" text="bind:reqflag"/>
  313. <Cell col="53" text="bind:reqflagnm"/>
  314. <Cell col="54" text="bind:reqmthd"/>
  315. <Cell col="55" text="bind:reqprid"/>
  316. <Cell col="56" text="bind:iopsnflag"/>
  317. <Cell col="57" text="bind:prodplce"/>
  318. <Cell col="58" text="bind:prodplcenm"/>
  319. <Cell col="59" displaytype="text" text="bind:maincustlastsuplplce"/>
  320. <Cell col="60" displaytype="text" text="bind:maincustlastsuplplcenm"/>
  321. <Cell col="61" text="bind:suppcustcd"/>
  322. <Cell col="62" text="bind:suppcustnm"/>
  323. <Cell col="63" text="bind:conflag"/>
  324. <Cell col="64" text="bind:fromconterm"/>
  325. <Cell col="65" text="bind:toconterm"/>
  326. <Cell col="66" text="bind:estmamt"/>
  327. <Cell col="67" text="bind:forgncurncyunitcost"/>
  328. <Cell col="68" text="bind:curncyunit"/>
  329. <Cell col="69" text="bind:curncyunitnm"/>
  330. <Cell col="70" text="bind:goodunitcost"/>
  331. <Cell col="71" text="bind:purcflag"/>
  332. <Cell col="72" text="bind:allsizeyn"/>
  333. <Cell col="73" text="bind:setplceordflag"/>
  334. <Cell col="74" text="bind:plceordbase"/>
  335. <Cell col="75" text="bind:plceordqtycretflag"/>
  336. <Cell col="76" text="bind:plceordnonusedd"/>
  337. <Cell col="77" text="bind:addtaxrate"/>
  338. <Cell col="78" text="bind:lastpurcdd"/>
  339. <Cell col="79" text="bind:nonusetretresn"/>
  340. <Cell col="80" text="bind:mngtflag"/>
  341. <Cell col="81" text="bind:bnscd"/>
  342. <Cell col="82" text="bind:cntrdrugyn"/>
  343. <Cell col="83" text="bind:narcflag"/>
  344. <Cell col="84" text="bind:expnyn"/>
  345. <Cell col="85" text="bind:cntsunit"/>
  346. <Cell col="86" text="bind:cntsqty"/>
  347. <Cell col="87" text="bind:specvol"/>
  348. <Cell col="88" text="bind:drugkind"/>
  349. <Cell col="89" text="bind:cooppurcyn"/>
  350. <Cell col="90" text="bind:autrampharm"/>
  351. <Cell col="91" text="bind:keepmthd"/>
  352. <Cell col="92" text="bind:specldrug"/>
  353. <Cell col="93" text="bind:gnrlspcl"/>
  354. <Cell col="94" text="bind:welfprt"/>
  355. <Cell col="95" text="bind:goodtype"/>
  356. <Cell col="96" text="bind:com"/>
  357. <Cell col="97" text="bind:limdrugyn"/>
  358. <Cell col="98" text="bind:cmt"/>
  359. <Cell col="99" text="bind:safestocappdd"/>
  360. <Cell col="100" text="bind:ddavguseqty"/>
  361. <Cell col="101" text="bind:mmavgusescheqty"/>
  362. <Cell col="102" text="bind:mmavguseqty"/>
  363. <Cell col="103" text="bind:prprtystocpossndayno"/>
  364. <Cell col="104" text="bind:orgloc"/>
  365. <Cell col="105" text="bind:prcpexchqty"/>
  366. </Band>
  367. </Format>
  368. </Formats>
  369. </Grid>
  370. <Button position="absolute 1083 67 1125 87" id="btn_cert" class="btn2" text="확인" anchor="default" onclick="group3_btn_cert_onclick"/>
  371. </Layout>
  372. </Layouts>
  373. </Div>
  374. </Layout>
  375. </Layouts>
  376. <Objects>
  377. <Dataset id="ds_target_defaultvalue" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  378. <ColumnInfo>
  379. <Column id="instcd" type="STRING" size="256"/>
  380. <Column id="goodflag" type="STRING" size="256"/>
  381. <Column id="prodcmpycd" type="STRING" size="256"/>
  382. <Column id="reqflag" type="STRING" size="256"/>
  383. <Column id="nodebigo" type="STRING" size="256"/>
  384. <Column id="nonusegoodview" type="STRING" size="256"/>
  385. </ColumnInfo>
  386. <Rows>
  387. <Row>
  388. <Col id="instcd"/>
  389. <Col id="goodflag"/>
  390. <Col id="prodcmpycd"/>
  391. <Col id="reqflag"/>
  392. <Col id="nodebigo"/>
  393. <Col id="nonusegoodview"/>
  394. </Row>
  395. </Rows>
  396. </Dataset>
  397. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_send_oncolumnchanged">
  398. <ColumnInfo>
  399. <Column id="instcd" type="STRING" size="256"/>
  400. <Column id="goodflag" type="STRING" size="256"/>
  401. <Column id="goodcd" type="STRING" size="256"/>
  402. <Column id="prodcmpycd" type="STRING" size="256"/>
  403. <Column id="prodcmpynm" type="STRING" size="256"/>
  404. <Column id="goodspec" type="STRING" size="256"/>
  405. <Column id="goodmodel" type="STRING" size="256"/>
  406. <Column id="goodnm" type="STRING" size="256"/>
  407. <Column id="suplplcecd" type="STRING" size="256"/>
  408. <Column id="suplplcenm" type="STRING" size="256"/>
  409. </ColumnInfo>
  410. <Rows>
  411. <Row>
  412. <Col id="instcd"/>
  413. <Col id="goodflag"/>
  414. <Col id="goodcd"/>
  415. <Col id="prodcmpycd"/>
  416. <Col id="prodcmpynm"/>
  417. <Col id="goodspec"/>
  418. <Col id="goodmodel"/>
  419. <Col id="goodnm"/>
  420. <Col id="suplplcecd"/>
  421. <Col id="suplplcenm"/>
  422. </Row>
  423. </Rows>
  424. </Dataset>
  425. <Dataset id="ds_target" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  426. <ColumnInfo/>
  427. </Dataset>
  428. <Dataset id="ds_copytemp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  429. <ColumnInfo>
  430. <Column id="copytemp" type="STRING" size="256"/>
  431. </ColumnInfo>
  432. </Dataset>
  433. <Dataset id="ds_main_goodapplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  434. <Dataset id="ds_main_goodlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  435. <Dataset id="ds_main_cntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  436. </Objects>
  437. <Bind>
  438. <BindItem id="item0" compid="group3.group2.cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
  439. <BindItem id="item1" compid="group3.group2.ipt_goodspec" propid="value" datasetid="ds_send" columnid="goodspec"/>
  440. <BindItem id="item2" compid="group3.group2.ipt_goodmodel" propid="value" datasetid="ds_send" columnid="goodmodel"/>
  441. <BindItem id="item3" compid="group3.group2.ipt_goodnm" propid="value" datasetid="ds_send" columnid="goodnm"/>
  442. <BindItem id="item4" compid="group3.group2.ipt_goodcd" propid="value" datasetid="ds_send" columnid="goodcd"/>
  443. <BindItem id="item5" compid="group3.group2.ipt_suplplcenm_search" propid="value" datasetid="ds_send" columnid="suplplcenm"/>
  444. <BindItem id="item6" compid="group3.group2.ipt_suplplcecd_search" propid="value" datasetid="ds_send" columnid="suplplcecd"/>
  445. <BindItem id="item7" compid="group3.group2.cmb_goodflag" propid="value" datasetid="ds_send" columnid="goodflag"/>
  446. </Bind>
  447. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  448. * System Name :
  449. * Job Name :
  450. * Creator :
  451. * Make Date : 2017-06-19
  452. * Description :
  453. *---------------------------------------------------------------------------------------
  454. * Modify Date Modifier Modify Description
  455. *---------------------------------------------------------------------------------------
  456. * 2017-06-19 Live Converter TF->XP
  457. *
  458. *---------------------------------------------------------------------------------------
  459. ****************************************************************************************/
  460. //=======================================================================================
  461. // Lib Include
  462. //---------------------------------------------------------------------------------------
  463. include "com_commonxp::comm_main.xjs";
  464. include "mis_miscommonxp::MIS.xjs";
  465. include "mis_miscommonxp::RSZ001.xjs";
  466. //=======================================================================================
  467. // Global Form Variable
  468. //---------------------------------------------------------------------------------------
  469. var arErrorCode = new HashArray();
  470. //=======================================================================================
  471. // Function
  472. //---------------------------------------------------------------------------------------
  473. /****************************************************************************************
  474. * Argument : N/A
  475. * Description :
  476. ****************************************************************************************/
  477. //=======================================================================================
  478. // Event
  479. //---------------------------------------------------------------------------------------
  480. /****************************************************************************************
  481. * Components : Form
  482. * Description : 화면 처음 초기화시 폼초기화
  483. ****************************************************************************************/
  484. function SPRSD04203_onload(obj:Form, e:LoadEventInfo)
  485. {
  486. frmf_initForm(obj);
  487. //grdf_initGrid(grd_XXX);
  488. grdf_setGridSort(group3.grd_goodlist);
  489. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  490. var instcd;
  491. var goodcd;
  492. var goodflag;
  493. misfComboComCdList("C0048", group3.group2.cmb_instcd); //기관코드
  494. rszfGoodFlagListByPgmGubn(group3.group2.cmb_goodflag,"1","Y");
  495. if(frmf_checkOpener()) {
  496. instcd = opener.frmf_getParameter("SPRSD04203_instcd");
  497. goodcd = opener.frmf_getParameter("SPRSD04203_goodcd");
  498. goodflag = opener.frmf_getParameter("SPRSD04203_goodflag");
  499. group3.group2.cmb_instcd.value = instcd;
  500. group3.group2.ipt_goodcd.value = goodcd;
  501. group3.group2.cmb_goodflag.value = goodflag;
  502. } else {
  503. group3.group2.cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
  504. }
  505. if(!utlf_isNull(instcd) && !utlf_isNull(goodcd)) {
  506. group3.group2.btn_search.click();
  507. }
  508. }
  509. /****************************************************************************************
  510. * Components : Button
  511. * Description : 조회
  512. ****************************************************************************************/
  513. function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  514. var goodcd;
  515. var goodnm;
  516. goodcd = group3.group2.ipt_goodcd.value;
  517. goodnm = group3.group2.ipt_goodnm.value;
  518. misfGridInit(group3.grd_goodlist);
  519. if(utlf_isNull(group3.group2.cmb_instcd.value))
  520. {
  521. sysf_messageBox("기관코드를" , "C002");
  522. group3.group2.cmb_instcd.setFocus();
  523. return;
  524. }
  525. if(utlf_isNull(goodcd) && utlf_isNull(goodnm)) {
  526. sysf_messageBox("물품코드나 물품명을 입력하세요.", "C");
  527. group3.group2.ipt_goodcd.setFocus();
  528. return;
  529. }
  530. var oParam = {};
  531. oParam.id = "TRRSD00191";
  532. oParam.service = "purccommonapp.PurcCommon";
  533. oParam.method = "reqGetGoodListByCond";
  534. oParam.inds = "req=ds_send";
  535. oParam.outds = "ds_main_goodlist=goodlist ds_main_cntlist=cntlist";
  536. oParam.async = false;
  537. //oParam.callback = "cf_TRRSD00191";
  538. tranf_submit(oParam);
  539. }
  540. /****************************************************************************************
  541. * Components : Button
  542. * Description : 보조거래처 조회
  543. ****************************************************************************************/
  544. function group3_group2_button2_onclick(obj:Button, e:ClickEventInfo) {
  545. group3.group2.ipt_suplplcecd_search.setFocus();
  546. rszfOpenPopUpListByWndName(group3.group2.ipt_suplplcecd_search,"","suplplcecd,suplplcenm","SPRSD00220","instcd","group3.group2.cmb_instcd" );
  547. }
  548. /****************************************************************************************
  549. * Components : Grid
  550. * Description : 데이터 넘기기
  551. ****************************************************************************************/
  552. function group3_grd_goodlist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  553. if( e.row > -1 ) {
  554. group3.btn_cert.click();
  555. }
  556. }
  557. /****************************************************************************************
  558. * Components : Button
  559. * Description : 확인
  560. ****************************************************************************************/
  561. function group3_btn_cert_onclick(obj:Button, e:ClickEventInfo) {
  562. if(ds_main_goodlist.rowposition > -1) {
  563. opener.dsf_createDs("ds_hidden_rcvdata_goodlist");
  564. dsf_copyColInfo(opener.ds_hidden_rcvdata_goodlist, ds_main_goodlist);
  565. opener.ds_hidden_rcvdata_goodlist.addRow();
  566. opener.ds_hidden_rcvdata_goodlist.copyRow(0, ds_main_goodlist, ds_main_goodlist.rowposition);
  567. this.close();
  568. }
  569. }
  570. /****************************************************************************************
  571. * Components : Edit
  572. * Description : 물품코드 입력 후 조회
  573. ****************************************************************************************/
  574. function group3_group2_ipt_goodcd_onkeydown(obj:Edit, e:KeyEventInfo)
  575. {
  576. if(e.keycode == 13) {
  577. obj.updateToDataset();
  578. group3.group2.btn_search.click();
  579. }
  580. }
  581. /****************************************************************************************
  582. * Components : Edit
  583. * Description : 물품명 입력 후 조회
  584. ****************************************************************************************/
  585. function group3_group2_ipt_goodnm_onkeydown(obj:Edit, e:KeyEventInfo)
  586. {
  587. if(e.keycode == 13) {
  588. obj.updateToDataset();
  589. group3.group2.btn_search.click();
  590. }
  591. }
  592. /****************************************************************************************
  593. * Components : Edit
  594. * Description : 보조거래처 조회
  595. ****************************************************************************************/
  596. function Edit_onkeydown(obj:Edit, e:KeyEventInfo)
  597. {
  598. if(e.keycode == 13) obj.updateToDataset();
  599. if(e.keycode == 9) {
  600. // if(e.shiftKey) cmb_purcflag.setFocus();
  601. // else ipt_suppcustnm_search.setFocus();
  602. // event.preventDefault();
  603. }
  604. }
  605. function ds_send_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  606. {
  607. if(e.columnid == "suplplcecd") {
  608. group3.group2.ipt_suplplcecd_search.setFocus();
  609. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm", group3.group2.cmb_instcd.value +",," +
  610. group3.group2.ipt_suplplcecd_search.value, "","suplplcecd,suplplcenm" ,group3.group2.ipt_suplplcecd_search,"SPRSD00220","instcd","group3.group2.cmb_instcd");
  611. }
  612. if(e.columnid == "suplplcenm") {
  613. if(!utlf_isNull(group3.group2.ipt_suplplcenm_search.value)){
  614. group3.group2.ipt_suplplcecd_search.setFocus();
  615. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  616. group3.group2.cmb_instcd.value +",custnm,"+ group3.group2.ipt_suplplcenm_search.value
  617. ,"","suplplcecd,suplplcenm" ,group3.group2.ipt_suplplcecd_search,"SPRSD00220","instcd","group3.group2.cmb_instcd");
  618. }else{
  619. //group3.group2.ipt_suppcustcd_search.value = "";
  620. }
  621. }
  622. }
  623. ]]></Script>
  624. </Form>
  625. </FDL>