SMRSM01300_임대차장비재료내역조회.xfdl 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRSM01300" position="absolute 0 0 1196 783" titletext="임대차 장비재료 내역조회" oninit="SMRSM01300_oninit" onload="SMRSM01300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="임대차 장비재료 내역조회" class="tit_1" position="absolute 0 0 188 25" style="align:left middle;" anchor="left top"/>
  8. <Shape id="line2" linetype="horizontal" class="line_6" position="absolute 0 23 1196 29" style="align:center middle;" anchor="left top right"/>
  9. <Button id="btn_save" taborder="1" text="저장" class="btn4" position="absolute 1141 2 1196 24" style="align:right middle;" anchor="top right" onclick="btn_save_onclick"/>
  10. <Div id="grp_sea" taborder="2" class="div_SA2" position="absolute 0 27 1196 67" style="align:center middle;" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Static id="caption7" text="기관코드 :" class="search_name" position="absolute 21 13 95 30" anchor="left top" style="align:left middle;"/>
  14. <Shape id="line5" linetype="vertical" class="line_4" position="absolute 1106 10 1112 32" anchor="top right" style="align:center middle;"/>
  15. <Button id="btn_search" taborder="2" text="조회" class="btn1" position="absolute 1124 10 1180 32" anchor="top right" onclick="grp_sea_btn_search_onclick" style="align:left middle;"/>
  16. <Static id="caption1" text="장비코드:" class="search_name" position="absolute 286 13 360 30" anchor="left top" style="align:left middle;"/>
  17. <Edit id="ipt_goodcd" taborder="4" class="output" position="absolute 361 12 461 31" anchor="left top" style="align:left middle;" autoselect="true" useime="none" inputmode="upper" onkeydown="grp_sea_ipt_goodcd_onkeydown" readonly="true"/>
  18. <Combo id="cmb_instcd" taborder="5" class="combo_default" position="absolute 99 12 249 31" anchor="default" enable="false"/>
  19. <Button id="btn_goodcd" taborder="6" class="icon_search" position="absolute 462 14 478 30" anchor="default" onclick="grp_sea_btn_goodcd_onclick"/>
  20. <Edit id="ipt_goodnm" taborder="7" autoselect="true" class="output" position="absolute 481 12 781 31" style="background:URL('theme://images/bg_edit_R.png') stretch 5,5;" anchor="default" readonly="true"/>
  21. </Layout>
  22. </Layouts>
  23. </Div>
  24. <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 0 95 1196 101" style="align:center middle;" anchor="left top right"/>
  25. <Static id="caption21" text="임차 장비별 재료조회 내역" class="tit_2" position="absolute 0 79 243 96" style="align:left top;" anchor="left top" onclick="caption21_onclick"/>
  26. <Grid id="grd_goodfaxlst" taborder="3" position="absolute 0 100 1196 400" style="align:center middle;" anchor="left top right" binddataset="ds_goodfaxlst" cellsizingtype="col" autoenter="key" tooltiptype="hover">
  27. <Formats>
  28. <Format id="default">
  29. <Columns>
  30. <Column size="20" band="left"/>
  31. <Column size="40"/>
  32. <Column size="60"/>
  33. <Column size="120"/>
  34. <Column size="120"/>
  35. <Column size="80"/>
  36. <Column size="120"/>
  37. <Column size="80"/>
  38. <Column size="80"/>
  39. <Column size="80"/>
  40. <Column size="120"/>
  41. <Column size="80"/>
  42. <Column size="120"/>
  43. <Column size="80"/>
  44. <Column size="60"/>
  45. <Column size="80"/>
  46. <Column size="70"/>
  47. <Column size="70"/>
  48. <Column size="80"/>
  49. <Column size="80"/>
  50. <Column size="70"/>
  51. <Column size="70"/>
  52. <Column size="120"/>
  53. <Column size="120"/>
  54. <Column size="80"/>
  55. </Columns>
  56. <Rows>
  57. <Row size="24" band="head"/>
  58. <Row size="24"/>
  59. </Rows>
  60. <Band id="head">
  61. <Cell/>
  62. <Cell col="1" text="구분"/>
  63. <Cell col="2" text="사용여부"/>
  64. <Cell col="3" text="자산코드"/>
  65. <Cell col="4" text="자산명"/>
  66. <Cell col="5" text="물품코드"/>
  67. <Cell col="6" text="물품명"/>
  68. <Cell col="7" text="EDI코드"/>
  69. <Cell col="8" text="계정과목코드"/>
  70. <Cell col="9" text="계정과목명"/>
  71. <Cell col="10" text="규격"/>
  72. <Cell col="11" text="견적금액"/>
  73. <Cell col="12" text="상한가, 최종고시"/>
  74. <Cell col="13" text="제품단가"/>
  75. <Cell col="14" text="계약구분"/>
  76. <Cell col="15" text="단가계약여부"/>
  77. <Cell col="16" colspan="2" text="단가계약기간" taborder="undefined"/>
  78. <Cell col="18" text="주거래처코드"/>
  79. <Cell col="19" text="주거래처명"/>
  80. <Cell col="20" colspan="2" text="장비계약기간" taborder="undefined"/>
  81. <Cell col="22" text="장비비고사항"/>
  82. <Cell col="23" text="비고"/>
  83. <Cell col="24" text="창고구분"/>
  84. </Band>
  85. <Band id="body">
  86. <Cell celltype="head"/>
  87. <Cell col="1" text="bind:gubun"/>
  88. <Cell col="2" displaytype="combo" edittype="combo" style="align:center;color:EXPR(useyn == 'Y' ? 'red' : '');color2:EXPR(useyn == 'Y' ? 'red' : '');font:EXPR(useyn == 'Y' ? 'arial,9,bold' : 'arial,9');" text="bind:useyn" combodataset="ds_useYn" combocodecol="value" combodatacol="label"/>
  89. <Cell col="3" style="align:left;" text="bind:fixasetcd"/>
  90. <Cell col="4" style="align:left;" text="bind:fixasetnm" tooltiptext="bind:fixasetnm"/>
  91. <Cell col="5" text="bind:goodcd"/>
  92. <Cell col="6" style="align:left;" text="bind:goodnm" tooltiptext="bind:goodnm"/>
  93. <Cell col="7" text="bind:edicd"/>
  94. <Cell col="8" text="bind:winacnt"/>
  95. <Cell col="9" style="align:left;" text="bind:winacntnm" tooltiptext="bind:winacntnm"/>
  96. <Cell col="10" style="align:left;" text="bind:goodspec"/>
  97. <Cell col="11" displaytype="number" edittype="masknumber" text="bind:estiamt" mask="#,###"/>
  98. <Cell col="12" text="bind:afupperlimit"/>
  99. <Cell col="13" text="bind:goodunitcost"/>
  100. <Cell col="14" text="bind:conflag"/>
  101. <Cell col="15" text="bind:costconyn"/>
  102. <Cell col="16" displaytype="date" text="bind:fromconterm" calendardisplaynulltype="none"/>
  103. <Cell col="17" displaytype="date" text="bind:toconterm" calendardisplaynulltype="none"/>
  104. <Cell col="18" text="bind:custcode"/>
  105. <Cell col="19" text="bind:custnm" tooltiptext="bind:custnm"/>
  106. <Cell col="20" displaytype="date" text="bind:fcondd" calendardisplaynulltype="none"/>
  107. <Cell col="21" displaytype="date" text="bind:tcondd" calendardisplaynulltype="none"/>
  108. <Cell col="22" style="align:left top;padding:4 2 2 2;" text="bind:facdcmt" wordwrap="word" tooltiptext="bind:facdcmt"/>
  109. <Cell col="23" displaytype="text" edittype="text" style="align:left top;padding:4 2 2 2;" text="bind:cmt" wordwrap="word" tooltiptext="bind:cmt"/>
  110. <Cell col="24" text="bind:wareflag"/>
  111. </Band>
  112. </Format>
  113. </Formats>
  114. </Grid>
  115. <Button id="button8" taborder="15" text="재료" class="btn2" position="absolute 1142 72 1194 94" onclick="button8_onclick"/>
  116. <Div id="grp_sea2" anchor="left top right" taborder="16" style="align:center middle;" class="div_SA2" position="absolute 0 410 1196 450">
  117. <Layouts>
  118. <Layout>
  119. <Static id="caption7" text="종류 :" class="search_name" position="absolute 26 13 75 30" anchor="left top" style="align:left middle;"/>
  120. <Shape id="line5" linetype="vertical" class="line_4" position="absolute 1106 10 1112 32" anchor="top right" style="align:center middle;"/>
  121. <Button id="btn_search2" taborder="8" text="조회" class="btn1" position="absolute 1124 10 1180 32" anchor="top right" style="align:left middle;" onclick="grp_sea2_btn_search2_onclick"/>
  122. <Static id="caption1" text="장비코드 :" class="search_name" position="absolute 211 13 285 30" anchor="left top" style="align:left middle;"/>
  123. <Edit id="ipt_code" taborder="9" autoselect="true" position="absolute 286 12 386 31" anchor="left top" style="align:left middle;" inputmode="upper" useime="none" onkeydown="grp_sea2_ipt_code_onkeydown"/>
  124. <Combo id="cmb_flag" taborder="10" position="absolute 74 12 174 31" anchor="default" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="grp_sea2_cmb_flag_onitemchanged" index="-1">
  125. <Dataset id="innerdataset">
  126. <ColumnInfo>
  127. <Column id="codecolumn" size="256"/>
  128. <Column id="datacolumn" size="256"/>
  129. </ColumnInfo>
  130. <Rows>
  131. <Row>
  132. <Col id="codecolumn">M</Col>
  133. <Col id="datacolumn">물품코드</Col>
  134. </Row>
  135. <Row>
  136. <Col id="codecolumn">F</Col>
  137. <Col id="datacolumn">장비코드</Col>
  138. </Row>
  139. </Rows>
  140. </Dataset>
  141. </Combo>
  142. <Button id="btn_code" taborder="11" class="icon_search" position="absolute 387 14 403 30" anchor="default" onclick="grp_sea2_btn_code_onclick"/>
  143. <Edit id="ipt_nm" taborder="12" autoselect="true" class="output" position="absolute 406 12 706 31" style="background:URL('theme://images/bg_edit_R.png') stretch 5,5;" anchor="default"/>
  144. <Static id="caption02" text="물품구분 :" class="search_name" position="absolute 904 11 978 28" anchor="left top" style="align:left middle;" visible="false"/>
  145. <Combo id="cmb_goodflag" taborder="16" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 982 10 1082 29" visible="false">
  146. <Dataset id="innerdataset">
  147. <ColumnInfo>
  148. <Column id="codecolumn" size="256"/>
  149. <Column id="datacolumn" size="256"/>
  150. </ColumnInfo>
  151. <Rows>
  152. <Row>
  153. <Col id="codecolumn">EQ</Col>
  154. <Col id="datacolumn">물품구분</Col>
  155. </Row>
  156. </Rows>
  157. </Dataset>
  158. </Combo>
  159. <Static id="caption00" text="사용여부 :" class="search_name" position="absolute 741 13 815 30" anchor="left top" style="align:left middle;"/>
  160. <Combo id="cmb_useYn" taborder="15" class="combo_default" position="absolute 819 12 869 31" codecolumn="codecolumn" datacolumn="datacolumn">
  161. <Dataset id="innerdataset">
  162. <ColumnInfo>
  163. <Column id="codecolumn" size="256"/>
  164. <Column id="datacolumn" size="256"/>
  165. </ColumnInfo>
  166. <Rows>
  167. <Row>
  168. <Col id="codecolumn"/>
  169. <Col id="datacolumn"/>
  170. </Row>
  171. <Row>
  172. <Col id="codecolumn">Y</Col>
  173. <Col id="datacolumn">Y</Col>
  174. </Row>
  175. <Row>
  176. <Col id="codecolumn">N</Col>
  177. <Col id="datacolumn">N</Col>
  178. </Row>
  179. </Rows>
  180. </Dataset>
  181. </Combo>
  182. </Layout>
  183. </Layouts>
  184. </Div>
  185. <Static id="caption00" text="매핑내역" class="tit_2" position="absolute 0 462 73 479" anchor="left top" style="align:left top;"/>
  186. <Shape id="line00" class="line_10" position="absolute 0 478 1196 484" anchor="left top right" style="align:center middle;"/>
  187. <Button id="bnt_excel" taborder="18" text="엑셀" onclick="bnt_excel_onclick" class="btn7" position="absolute 1143 455 1196 477" anchor="top right"/>
  188. <Grid id="grd_gflist" taborder="20" useinputpanel="false" cellsizingtype="col" position="absolute 0 483 1196 783" anchor="all" style="align:center middle;" binddataset="ds_gflist" tooltiptype="hover">
  189. <Formats>
  190. <Format id="default">
  191. <Columns>
  192. <Column size="20" band="left"/>
  193. <Column size="40"/>
  194. <Column size="60"/>
  195. <Column size="120"/>
  196. <Column size="120"/>
  197. <Column size="80"/>
  198. <Column size="120"/>
  199. <Column size="80"/>
  200. <Column size="80"/>
  201. <Column size="80"/>
  202. <Column size="120"/>
  203. <Column size="70"/>
  204. <Column size="120"/>
  205. <Column size="80"/>
  206. <Column size="60"/>
  207. <Column size="80"/>
  208. <Column size="70"/>
  209. <Column size="70"/>
  210. <Column size="80"/>
  211. <Column size="80"/>
  212. <Column size="70"/>
  213. <Column size="70"/>
  214. <Column size="120"/>
  215. <Column size="120"/>
  216. <Column size="80"/>
  217. </Columns>
  218. <Rows>
  219. <Row size="24" band="head"/>
  220. <Row size="24"/>
  221. </Rows>
  222. <Band id="head">
  223. <Cell/>
  224. <Cell col="1" text="구분"/>
  225. <Cell col="2" text="사용여부"/>
  226. <Cell col="3" text="자산코드"/>
  227. <Cell col="4" text="자산명"/>
  228. <Cell col="5" text="물품코드"/>
  229. <Cell col="6" text="물품명"/>
  230. <Cell col="7" text="EDI코드"/>
  231. <Cell col="8" text="계정과목코드"/>
  232. <Cell col="9" text="계정과목명"/>
  233. <Cell col="10" text="규격"/>
  234. <Cell col="11" text="견적금액"/>
  235. <Cell col="12" text="상한가, 최종고시"/>
  236. <Cell col="13" text="제품단가"/>
  237. <Cell col="14" text="계약구분"/>
  238. <Cell col="15" text="단가계약여부"/>
  239. <Cell col="16" colspan="2" text="단가계약기간" taborder="undefined"/>
  240. <Cell col="18" text="주거래처코드"/>
  241. <Cell col="19" text="주거래처명"/>
  242. <Cell col="20" colspan="2" text="장비계약기간" taborder="undefined"/>
  243. <Cell col="22" text="장비비고사항"/>
  244. <Cell col="23" text="비고"/>
  245. <Cell col="24" text="창고구분"/>
  246. </Band>
  247. <Band id="body">
  248. <Cell celltype="head" expr="expr:currow + 1"/>
  249. <Cell col="1" text="bind:gubun"/>
  250. <Cell col="2" displaytype="combo" style="align:center;color:EXPR(useyn == 'Y' ? 'red' : '');color2:EXPR(useyn == 'Y' ? 'red' : '');font:EXPR(useyn == 'Y' ? 'arial,9,bold' : 'arial,9');" text="bind:useyn" combodataset="ds_useYn" combocodecol="value" combodatacol="label"/>
  251. <Cell col="3" style="align:left;" text="bind:fixasetcd"/>
  252. <Cell col="4" style="align:left;" text="bind:fixasetnm" tooltiptext="bind:fixasetnm"/>
  253. <Cell col="5" text="bind:goodcd"/>
  254. <Cell col="6" style="align:left;" text="bind:goodnm" tooltiptext="bind:goodnm"/>
  255. <Cell col="7" text="bind:edicd"/>
  256. <Cell col="8" text="bind:winacnt"/>
  257. <Cell col="9" style="align:left;" text="bind:winacntnm" tooltiptext="bind:winacntnm"/>
  258. <Cell col="10" style="align:left;" text="bind:goodspec"/>
  259. <Cell col="11" displaytype="number" text="bind:estiamt" mask="#,###"/>
  260. <Cell col="12" text="bind:afupperlimit"/>
  261. <Cell col="13" text="bind:goodunitcost"/>
  262. <Cell col="14" text="bind:conflag"/>
  263. <Cell col="15" text="bind:costconyn"/>
  264. <Cell col="16" displaytype="date" text="bind:fromconterm" calendardisplaynulltype="none"/>
  265. <Cell col="17" displaytype="date" text="bind:toconterm" calendardisplaynulltype="none"/>
  266. <Cell col="18" text="bind:custcode"/>
  267. <Cell col="19" style="align:left;" text="bind:custnm" tooltiptext="bind:custnm"/>
  268. <Cell col="20" displaytype="date" text="bind:fcondd" calendardisplaynulltype="none"/>
  269. <Cell col="21" displaytype="date" text="bind:tcondd" calendardisplaynulltype="none"/>
  270. <Cell col="22" style="align:left top;padding:4 2 2 2;" text="bind:facdcmt" wordwrap="word" tooltiptext="bind:facdcmt"/>
  271. <Cell col="23" displaytype="text" style="align:left top;padding:4 2 2 2;" text="bind:cmt" wordwrap="word" tooltiptext="bind:cmt"/>
  272. <Cell col="24" text="bind:wareflag"/>
  273. </Band>
  274. </Format>
  275. </Formats>
  276. </Grid>
  277. </Layout>
  278. </Layouts>
  279. <Objects>
  280. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  281. <ColumnInfo>
  282. <Column id="instcd" type="STRING" size="256"/>
  283. <Column id="fixasetcd" type="STRING" size="256"/>
  284. <Column id="fixasetnm" type="STRING" size="256"/>
  285. </ColumnInfo>
  286. <Rows>
  287. <Row/>
  288. </Rows>
  289. </Dataset>
  290. <Dataset id="ds_goodfaxlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  291. <ColumnInfo>
  292. <Column id="gubun" type="STRING" size="255"/>
  293. <Column id="useyn" type="STRING" size="255"/>
  294. <Column id="goodcd" type="STRING" size="255"/>
  295. <Column id="goodnm" type="STRING" size="255"/>
  296. <Column id="fixasetcd" type="STRING" size="255"/>
  297. <Column id="fixasetnm" type="STRING" size="255"/>
  298. <Column id="edicd" type="STRING" size="255"/>
  299. <Column id="winacnt" type="STRING" size="255"/>
  300. <Column id="winacntnm" type="STRING" size="255"/>
  301. <Column id="goodspec" type="STRING" size="255"/>
  302. <Column id="wareflag" type="STRING" size="255"/>
  303. <Column id="afupperlimit" type="STRING" size="255"/>
  304. <Column id="goodunitcost" type="BIGDECIMAL" size="255"/>
  305. <Column id="conflag" type="STRING" size="255"/>
  306. <Column id="costconyn" type="STRING" size="255"/>
  307. <Column id="fromconterm" type="STRING" size="255"/>
  308. <Column id="toconterm" type="STRING" size="255"/>
  309. <Column id="custcode" type="STRING" size="255"/>
  310. <Column id="custnm" type="STRING" size="255"/>
  311. <Column id="fcondd" type="STRING" size="255"/>
  312. <Column id="tcondd" type="STRING" size="255"/>
  313. <Column id="facdcmt" type="STRING" size="255"/>
  314. <Column id="cmt" type="STRING" size="255"/>
  315. <Column id="instcd" type="STRING" size="256"/>
  316. <Column id="selectyn" type="STRING" size="256"/>
  317. <Column id="estiamt" type="STRING" size="256"/>
  318. </ColumnInfo>
  319. </Dataset>
  320. <Dataset id="ds_popgood" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  321. <ColumnInfo>
  322. <Column id="instcd" type="STRING" size="256"/>
  323. <Column id="goodcd" type="STRING" size="256"/>
  324. <Column id="goodnm" type="STRING" size="256"/>
  325. <Column id="selectyn" type="STRING" size="256"/>
  326. <Column id="edicd" type="STRING" size="256"/>
  327. <Column id="winacnt" type="STRING" size="256"/>
  328. <Column id="winacntnm" type="STRING" size="256"/>
  329. <Column id="goodspec" type="STRING" size="256"/>
  330. <Column id="wareflag" type="STRING" size="256"/>
  331. <Column id="afupperlimit" type="STRING" size="256"/>
  332. <Column id="goodunitcost" type="STRING" size="256"/>
  333. <Column id="conflag" type="STRING" size="256"/>
  334. <Column id="costconyn" type="STRING" size="256"/>
  335. <Column id="fromconterm" type="STRING" size="256"/>
  336. <Column id="toconterm" type="STRING" size="256"/>
  337. <Column id="custcode" type="STRING" size="256"/>
  338. <Column id="custnm" type="STRING" size="256"/>
  339. <Column id="returntype" type="STRING" size="256"/>
  340. </ColumnInfo>
  341. <Rows>
  342. <Row>
  343. <Col id="instcd"/>
  344. <Col id="goodcd"/>
  345. <Col id="goodnm"/>
  346. <Col id="selectyn"/>
  347. </Row>
  348. </Rows>
  349. </Dataset>
  350. <Dataset id="ds_useYn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  351. <ColumnInfo>
  352. <Column id="label" type="STRING" size="256"/>
  353. <Column id="value" type="STRING" size="256"/>
  354. </ColumnInfo>
  355. <Rows>
  356. <Row>
  357. <Col id="label">Y</Col>
  358. <Col id="value">Y</Col>
  359. </Row>
  360. <Row>
  361. <Col id="label">N</Col>
  362. <Col id="value">N</Col>
  363. </Row>
  364. </Rows>
  365. </Dataset>
  366. <Dataset id="ds_goodfaxlsthidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  367. <ColumnInfo>
  368. <Column id="gubun" type="STRING" size="255"/>
  369. <Column id="useyn" type="STRING" size="255"/>
  370. <Column id="goodcd" type="STRING" size="255"/>
  371. <Column id="goodnm" type="STRING" size="255"/>
  372. <Column id="fixasetcd" type="STRING" size="255"/>
  373. <Column id="fixasetnm" type="STRING" size="255"/>
  374. <Column id="edicd" type="STRING" size="255"/>
  375. <Column id="winacnt" type="STRING" size="255"/>
  376. <Column id="winacntnm" type="STRING" size="255"/>
  377. <Column id="goodspec" type="STRING" size="255"/>
  378. <Column id="wareflag" type="STRING" size="255"/>
  379. <Column id="afupperlimit" type="STRING" size="255"/>
  380. <Column id="goodunitcost" type="BIGDECIMAL" size="255"/>
  381. <Column id="conflag" type="STRING" size="255"/>
  382. <Column id="costconyn" type="STRING" size="255"/>
  383. <Column id="fromconterm" type="STRING" size="255"/>
  384. <Column id="toconterm" type="STRING" size="255"/>
  385. <Column id="custcode" type="STRING" size="255"/>
  386. <Column id="custnm" type="STRING" size="255"/>
  387. <Column id="fcondd" type="STRING" size="255"/>
  388. <Column id="tcondd" type="STRING" size="255"/>
  389. <Column id="facdcmt" type="STRING" size="255"/>
  390. <Column id="cmt" type="STRING" size="255"/>
  391. <Column id="instcd" type="STRING" size="256"/>
  392. <Column id="selectyn" type="STRING" size="256"/>
  393. </ColumnInfo>
  394. </Dataset>
  395. <Dataset id="ds_send_search2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  396. <ColumnInfo>
  397. <Column id="flag" type="STRING" size="256"/>
  398. <Column id="code" type="STRING" size="256"/>
  399. <Column id="nm" type="STRING" size="256"/>
  400. <Column id="useyn" type="STRING" size="256"/>
  401. <Column id="goodflag" type="STRING" size="256"/>
  402. <Column id="instcd" type="STRING" size="256"/>
  403. </ColumnInfo>
  404. <Rows>
  405. <Row/>
  406. </Rows>
  407. </Dataset>
  408. <Dataset id="ds_gflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  409. <Dataset id="ds_popfixa" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  410. <ColumnInfo>
  411. <Column id="instcd" type="STRING" size="256"/>
  412. <Column id="fixasetcd" type="STRING" size="256"/>
  413. <Column id="fixasetnm" type="STRING" size="256"/>
  414. <Column id="selectyn" type="STRING" size="256"/>
  415. </ColumnInfo>
  416. <Rows>
  417. <Row/>
  418. </Rows>
  419. </Dataset>
  420. <Dataset id="ds_popgoodhidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  421. <ColumnInfo>
  422. <Column id="instcd" type="STRING" size="256"/>
  423. <Column id="goodcd" type="STRING" size="256"/>
  424. <Column id="goodnm" type="STRING" size="256"/>
  425. <Column id="selectyn" type="STRING" size="256"/>
  426. <Column id="edicd" type="STRING" size="256"/>
  427. <Column id="winacnt" type="STRING" size="256"/>
  428. <Column id="winacntnm" type="STRING" size="256"/>
  429. <Column id="goodspec" type="STRING" size="256"/>
  430. <Column id="wareflag" type="STRING" size="256"/>
  431. <Column id="afupperlimit" type="STRING" size="256"/>
  432. <Column id="goodunitcost" type="STRING" size="256"/>
  433. <Column id="conflag" type="STRING" size="256"/>
  434. <Column id="costconyn" type="STRING" size="256"/>
  435. <Column id="fromconterm" type="STRING" size="256"/>
  436. <Column id="toconterm" type="STRING" size="256"/>
  437. <Column id="custcode" type="STRING" size="256"/>
  438. <Column id="custnm" type="STRING" size="256"/>
  439. </ColumnInfo>
  440. <Rows>
  441. <Row>
  442. <Col id="instcd"/>
  443. <Col id="goodcd"/>
  444. <Col id="goodnm"/>
  445. <Col id="selectyn"/>
  446. </Row>
  447. </Rows>
  448. </Dataset>
  449. </Objects>
  450. <Bind>
  451. <BindItem id="item13" compid="grp_sea.cmb_instcd" propid="value" datasetid="ds_send_search" columnid="instcd"/>
  452. <BindItem id="item0" compid="grp_sea.ipt_goodcd" propid="value" datasetid="ds_send_search" columnid="fixasetcd"/>
  453. <BindItem id="item1" compid="grp_sea.ipt_goodnm" propid="value" datasetid="ds_send_search" columnid="fixasetnm"/>
  454. <BindItem id="item2" compid="grp_sea2.cmb_flag" propid="value" datasetid="ds_send_search2" columnid="flag"/>
  455. <BindItem id="item3" compid="grp_sea2.ipt_code" propid="value" datasetid="ds_send_search2" columnid="code"/>
  456. <BindItem id="item4" compid="grp_sea2.ipt_nm" propid="value" datasetid="ds_send_search2" columnid="nm"/>
  457. <BindItem id="item5" compid="grp_sea2.cmb_useYn" propid="value" datasetid="ds_send_search2" columnid="useyn"/>
  458. <BindItem id="item6" compid="grp_sea2.cmb_goodflag" propid="value" datasetid="ds_send_search2" columnid="goodflag"/>
  459. </Bind>
  460. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  461. * System Name : 경대 의료정보시스템
  462. * Job Name : mis_purcbasexp -> SMRSM01300
  463. * Creator : yjh
  464. * Make Date : 2018-08-13
  465. * Description :
  466. *---------------------------------------------------------------------------------------
  467. * Modify Date Modifier Modify Description
  468. *---------------------------------------------------------------------------------------
  469. * 2018-08-13 yjh TF->XP
  470. *
  471. *---------------------------------------------------------------------------------------
  472. ****************************************************************************************/
  473. //=======================================================================================
  474. // Lib Include
  475. //---------------------------------------------------------------------------------------
  476. include "com_commonxp::comm_main.xjs";
  477. include "mis_miscommonxp::MIS.xjs";
  478. include "mis_miscommonxp::RSZ001.xjs";
  479. //=======================================================================================
  480. // Global Form Variable
  481. //---------------------------------------------------------------------------------------
  482. //=======================================================================================
  483. // Function
  484. //---------------------------------------------------------------------------------------
  485. /****************************************************************************************
  486. * Argument : N/A
  487. * Description :
  488. ****************************************************************************************/
  489. //=======================================================================================
  490. // Event
  491. //---------------------------------------------------------------------------------------
  492. /****************************************************************************************
  493. * Components : Form
  494. * Components ID : SMRSM01300
  495. * Event : oninit
  496. * Argument : 01.obj : Object Event has occurred
  497. * : 02.e : Event Object
  498. * Description : 화면 처음 초기화시
  499. ****************************************************************************************/
  500. function SMRSM01300_oninit(obj:Form, e:InitEventInfo)
  501. {
  502. frmf_initForm(obj); //폼 초기화
  503. }
  504. /****************************************************************************************
  505. * Components : Form
  506. * Components ID : SMRSM01300
  507. * Event : onload
  508. * Argument : 01.obj : Object Event has occurred
  509. * : 02.e : Event Object
  510. * Description : 화면 로딩 완료시
  511. ****************************************************************************************/
  512. function SMRSM01300_onload(obj:Form, e:LoadEventInfo)
  513. {
  514. grdf_setRowTypeIcon(grd_goodfaxlst, 0);
  515. misfComboComCdList("C0048", grp_sea.cmb_instcd, "Y");
  516. grp_sea.cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
  517. ds_send_search2.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  518. grp_sea2.cmb_flag.value = "F";
  519. grp_sea2.cmb_goodflag.value = "EQ";
  520. }
  521. /****************************************************************************************
  522. * Components : Button
  523. * Components ID : btn_goodcd
  524. * Event : onclick
  525. * Argument : 01.obj : Object Event has occurred
  526. * : 02.e : Event Object
  527. * Description : 돋보기버튼 클릭시
  528. ****************************************************************************************/
  529. function grp_sea_btn_goodcd_onclick(obj:Button, e:ClickEventInfo)
  530. {
  531. ds_goodfaxlst.clearData();
  532. ds_goodfaxlsthidden.clearData();
  533. frmf_modal("SPRFC00204", "SPRFC00204", null, "", "", "", "", "", "", "", "", "", "M");
  534. if( ds_popfixa.getColumn(0, "selectyn") == "Y" ){
  535. ds_send_search.setColumn(0, "fixasetcd", ds_popfixa.getColumn(0, "fixasetcd"));
  536. ds_send_search.setColumn(0, "fixasetnm", ds_popfixa.getColumn(0, "fixasetnm"));
  537. grp_sea.btn_search.click();
  538. }
  539. }
  540. /****************************************************************************************
  541. * Components : Button
  542. * Components ID : btn_search
  543. * Event : onclick
  544. * Argument : 01.obj : Object Event has occurred
  545. * : 02.e : Event Object
  546. * Description : 조회버튼 클릭시
  547. ****************************************************************************************/
  548. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  549. {
  550. if( utlf_isNull(grp_sea.ipt_goodcd.value) ){
  551. sysf_messageBox("장비코드는" ,"I003");
  552. grp_sea.ipt_goodcd.setFocus();
  553. return false;
  554. }
  555. var oParam = {};
  556. oParam.id = "TRRSM01301";
  557. oParam.service = "purcbaseapp.PurcBaseMngt";
  558. oParam.method = "reqGetGoodFaxLst";
  559. oParam.inds = "req=ds_send_search";
  560. oParam.outds = "ds_goodfaxlsthidden=goodfaxlst";
  561. oParam.async = false;
  562. //oParam.callback = "cf_TRRSM01301";
  563. tranf_submit(oParam);
  564. ds_goodfaxlsthidden.addColumn("instcd", "string");
  565. if( ds_goodfaxlsthidden.rowcount > 0 && !utlf_isNull(ds_goodfaxlsthidden.getColumn(ds_goodfaxlsthidden.rowcount-1, "goodcd")) ){
  566. ds_goodfaxlst.copyData(ds_goodfaxlsthidden);
  567. ds_goodfaxlsthidden.clearData();
  568. }
  569. }
  570. /****************************************************************************************
  571. * Components : Combo
  572. * Components ID : cmb_flag
  573. * Event : onitemchanged
  574. * Argument : 01.obj : Object Event has occurred
  575. * : 02.e : Event Object
  576. * Description : 콤보 값 변경시
  577. ****************************************************************************************/
  578. function grp_sea2_cmb_flag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  579. {
  580. if( e.postvalue == "M" ){
  581. grp_sea2.caption1.text = "물품코드 :";
  582. }else{
  583. grp_sea2.caption1.text = "장비코드 :";
  584. }
  585. grp_sea2.ipt_code.value = "";
  586. grp_sea2.ipt_nm.value = "";
  587. grp_sea2.cmb_useYn.value = "";
  588. ds_gflist.clearData();
  589. }
  590. /****************************************************************************************
  591. * Components : Button
  592. * Components ID : button8
  593. * Event : onclick
  594. * Argument : 01.obj : Object Event has occurred
  595. * : 02.e : Event Object
  596. * Description : 재료버튼 클릭시
  597. ****************************************************************************************/
  598. function button8_onclick(obj:Button, e:ClickEventInfo)
  599. {
  600. if( ds_goodfaxlst.rowcount < 1 && ds_send_search.getColumn(0, "fixasetcd") == "" ){
  601. sysf_messageBox("장비코드를 먼저 조회하시기 바랍니다.");
  602. return false;
  603. }
  604. // ds_popgood.setColumn(0, "instcd", grp_sea.cmb_instcd.value);
  605. // ds_popgood.setColumn(0, "selectyn", "");
  606. var objArg = new Object();
  607. objArg.arg_ds_popdata = ds_goodfaxlst;
  608. frmf_modal("SPRSC01300", "SPRSC01300", objArg, "", "", "", "", "", "", "", "", "", "M");
  609. // if( ds_goodfaxlst.getColumn(0, "selectyn") == "Y" ){
  610. // ds_send_search.setColumn(0, "fixasetcd", ds_goodfaxlst.getColumn(0, "fixasetcd"));
  611. // ds_send_search.setColumn(0, "fixasetnm", ds_goodfaxlst.getColumn(0, "fixasetnm"));
  612. //
  613. // grp_sea.btn_search.click();
  614. // }
  615. // if( ds_goodfaxlst.rowcount < 1 && ds_goodfaxlsthidden.rowcount < 1 ){
  616. // sysf_messageBox("재료코드를 먼저 조회하시기 바랍니다.");
  617. // return false;
  618. // }
  619. //
  620. // frmf_modal("SPRFC00204", "SPRFC00204", null, "", "", "", "", "", "", "", "", "", "M");
  621. }
  622. /****************************************************************************************
  623. * Components : Button
  624. * Components ID : btn_save
  625. * Event : onclick
  626. * Argument : 01.obj : Object Event has occurred
  627. * : 02.e : Event Object
  628. * Description : 저장버튼 클릭시
  629. ****************************************************************************************/
  630. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  631. {
  632. if( grdf_getGridUpdateData(grd_goodfaxlst).rowcount < 1 ){
  633. sysf_messageBox("변경된 데이터가","I004");
  634. return false;
  635. }
  636. if( sysf_messageBox("", "Q002") != "6" ){
  637. return false;
  638. }
  639. ds_goodfaxlst.enableevent = false;
  640. ds_goodfaxlst.updatecontrol = false;
  641. grdf_setStatusColumn(ds_goodfaxlst, "status");
  642. ds_goodfaxlst.updatecontrol = true;
  643. ds_goodfaxlst.enableevent = true;
  644. var oParam = {};
  645. oParam.id = "TXRSM01301";
  646. oParam.service = "purcbaseapp.PurcBaseMngt";
  647. oParam.method = "reqSetGFinfoMapping";
  648. oParam.inds = "req=ds_goodfaxlst";
  649. oParam.outds = "";
  650. oParam.async = false;
  651. //oParam.callback = "cf_TRRSM01301";
  652. tranf_submit(oParam);
  653. grp_sea.btn_search.click();
  654. }
  655. /****************************************************************************************
  656. * Components : Button
  657. * Components ID : btn_code
  658. * Event : onclick
  659. * Argument : 01.obj : Object Event has occurred
  660. * : 02.e : Event Object
  661. * Description : 돋보기버튼 클릭시
  662. ****************************************************************************************/
  663. function grp_sea2_btn_code_onclick(obj:Button, e:ClickEventInfo)
  664. {
  665. if( grp_sea2.cmb_flag.value == "M" ){
  666. ds_popgood.setColumn(0, "instcd", grp_sea.cmb_instcd.value);
  667. //ds_popgood.setColumn(0, "wareflag", grp_search.cmb_wareflag.value);
  668. ds_popgood.setColumn(0, "returntype", "2");
  669. ds_popgood.setColumn(0, "selectyn", "");
  670. var objArg = new Object();
  671. objArg.arg_ds_popdata = ds_popgood;
  672. frmf_modal("SPRSO20300", "SPRSO20300", objArg, "", "", "", "", "", "", "", "", "", "M");
  673. if( ds_popgood.getColumn(0, "selectyn") == "Y" ){
  674. ds_send_search2.setColumn(0, "code", ds_popgood.getColumn(0, "goodcd"));
  675. ds_send_search2.setColumn(0, "nm", ds_popgood.getColumn(0, "goodnm"));
  676. grp_sea2.btn_search2.click();
  677. }
  678. }else{
  679. rszfOpenPopUpListByWndName(grp_sea2.ipt_code, "", "code,nm", "SPRSD00240", "instcd,goodflag", "grp_sea.cmb_instcd,grp_sea2.cmb_goodflag");
  680. grp_sea2.btn_search2.click();
  681. }
  682. }
  683. /****************************************************************************************
  684. * Components : Button
  685. * Components ID : btn_search2
  686. * Event : onclick
  687. * Argument : 01.obj : Object Event has occurred
  688. * : 02.e : Event Object
  689. * Description : 조회버튼 클릭시
  690. ****************************************************************************************/
  691. function grp_sea2_btn_search2_onclick(obj:Button, e:ClickEventInfo)
  692. {
  693. var oParam = {};
  694. oParam.id = "TRRSM01302";
  695. oParam.service = "purcbaseapp.PurcBaseMngt";
  696. oParam.method = "reqGetGFList";
  697. oParam.inds = "req=ds_send_search2";
  698. oParam.outds = "ds_gflist=gflist";
  699. oParam.async = false;
  700. //oParam.callback = "cf_TRRSM01301";
  701. tranf_submit(oParam);
  702. }
  703. /****************************************************************************************
  704. * Components : Button
  705. * Components ID : bnt_excel
  706. * Event : onclick
  707. * Argument : 01.obj : Object Event has occurred
  708. * : 02.e : Event Object
  709. * Description : 엑셀버튼 클릭시
  710. ****************************************************************************************/
  711. function bnt_excel_onclick(obj:Button, e:ClickEventInfo)
  712. {
  713. if( ds_gflist.rowcount > 0 ){
  714. grdf_exportExcel(grd_gflist, "임대차 장비재료 내역조회", "매핑내역", false, "", "user", false);
  715. } else {
  716. sysf_messageBox("조회된 데이터가 ", "I004");
  717. }
  718. }
  719. /****************************************************************************************
  720. * Components : Edit
  721. * Components ID : ipt_goodcd
  722. * Event : onkeydown
  723. * Argument : 01.obj : Object Event has occurred
  724. * : 02.e : Event Object
  725. * Description : 에디터 키 입력시
  726. ****************************************************************************************/
  727. function grp_sea_ipt_goodcd_onkeydown(obj:Edit, e:KeyEventInfo)
  728. {
  729. if( e.keycode == 13 ){
  730. obj.updateToDataset();
  731. grp_sea.btn_search.click();
  732. }
  733. }
  734. /****************************************************************************************
  735. * Components : Edit
  736. * Components ID : ipt_code
  737. * Event : onkeydown
  738. * Argument : 01.obj : Object Event has occurred
  739. * : 02.e : Event Object
  740. * Description : 에디터 키 입력시
  741. ****************************************************************************************/
  742. function grp_sea2_ipt_code_onkeydown(obj:Edit, e:KeyEventInfo)
  743. {
  744. if( e.keycode == 13 ){
  745. obj.updateToDataset();
  746. grp_sea2.btn_search2.click();
  747. }
  748. }
  749. ]]></Script>
  750. </Form>
  751. </FDL>