SMRSC20410_장비신청접수도입장비조회(경북대).xfdl 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRSC20410" position="absolute 0 0 1201 442" titletext="도입장비조회" oninit="SMRSC20410_oninit" onload="SMRSC20410_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="도입장비조회" class="tit_1" position="absolute 0 0 201 25"/>
  8. <Shape id="line17" class="line_6" position="absolute 0 41 1195 47" anchor="left top right"/>
  9. <Div id="grp_sea" taborder="1" position="absolute 0 45 1195 85" anchor="left top right" class="div_SA2">
  10. <Layouts>
  11. <Layout>
  12. <Static id="caption1" text="기관코드 :" class="search_name" position="absolute 15 9 132 26"/>
  13. <Combo id="cmb_instcd" taborder="1" class="combo_default" position="absolute 100 10 310 29"/>
  14. <Static id="caption4" text="심의희차 :" class="search_name" position="absolute 330 10 420 27"/>
  15. <MaskEdit id="ipt_dcusno" taborder="2" mask="####-##-##" position="absolute 418 10 533 29" autoselect="true" autoskip="true" maskchar=" " type="string" trimtype="both" style="align:center middle;"/>
  16. <Static id="caption8" text="신청부서 :" class="search_name" position="absolute 550 9 640 26"/>
  17. <Edit id="ipt_reqdeptcd_search" taborder="3" position="absolute 638 10 758 29" autoselect="true" autoskip="true"/>
  18. <Button id="btn_reqdeptcd_search" taborder="4" class="icon_search" position="absolute 761 11 777 27" onclick="grp_sea_btn_reqdeptcd_search_onclick"/>
  19. <Edit id="opt_reqdeptnm_search" taborder="5" readonly="true" position="absolute 780 10 971 29" class="output"/>
  20. <Button id="btn_search" taborder="6" text="조회" class="btn1" position="absolute 1129 9 1185 31" onclick="grp_sea_btn_search_onclick"/>
  21. <Shape id="line18" linetype="vertical" class="line_4" position="absolute 1111 9 1117 31"/>
  22. </Layout>
  23. </Layouts>
  24. </Div>
  25. <Shape id="line3" class="line_10" position="absolute 0 110 1195 119" anchor="left top right"/>
  26. <Static id="caption9" text="도입장비 목록" class="tit_2" position="absolute 0 95 120 118"/>
  27. <Grid id="grd_reqeqitrdlist" taborder="2" binddataset="ds_main_reqeqitrd_reqeqitrdlist" useinputpanel="false" position="absolute 0 116 1195 437" autoenter="select" autofittype="col" cellsizingtype="col">
  28. <Formats>
  29. <Format id="default">
  30. <Columns>
  31. <Column size="20"/>
  32. <Column size="60"/>
  33. <Column size="100"/>
  34. <Column size="100"/>
  35. <Column size="77"/>
  36. <Column size="100"/>
  37. <Column size="100"/>
  38. <Column size="83"/>
  39. <Column size="70"/>
  40. <Column size="71"/>
  41. <Column size="100"/>
  42. <Column size="100"/>
  43. <Column size="100"/>
  44. <Column size="100"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. </Columns>
  49. <Rows>
  50. <Row size="24" band="head"/>
  51. <Row size="24"/>
  52. </Rows>
  53. <Band id="head">
  54. <Cell/>
  55. <Cell col="1" text="심의회차"/>
  56. <Cell col="2" text="심의일"/>
  57. <Cell col="3" text="계정명"/>
  58. <Cell col="4" text="자산코드"/>
  59. <Cell col="5" text="자산명"/>
  60. <Cell col="6" text="규격"/>
  61. <Cell col="7" text="단위"/>
  62. <Cell col="8" text="수량"/>
  63. <Cell col="9" text="취득금액"/>
  64. <Cell col="10" text="취득일"/>
  65. <Cell col="11" text="구입처"/>
  66. <Cell col="12" text="부서명"/>
  67. <Cell col="13" text="설치장소"/>
  68. <Cell col="14"/>
  69. <Cell col="15"/>
  70. <Cell col="16"/>
  71. </Band>
  72. <Band id="body">
  73. <Cell celltype="head"/>
  74. <Cell col="1" displaytype="none" edittype="none" text="bind:dcusno"/>
  75. <Cell col="2" text="bind:dcusdd"/>
  76. <Cell col="3" text="bind:acntnm"/>
  77. <Cell col="4" text="bind:fixasetcd"/>
  78. <Cell col="5" text="bind:goodflaghngnm"/>
  79. <Cell col="6" text="bind:goodspec"/>
  80. <Cell col="7" text="bind:fixasetunitnm"/>
  81. <Cell col="8" text="bind:fixasetqty"/>
  82. <Cell col="9" text="bind:possnamt"/>
  83. <Cell col="10" text="bind:possndd"/>
  84. <Cell col="11" text="bind:suplplcenm"/>
  85. <Cell col="12" text="bind:mngtdeptnm"/>
  86. <Cell col="13" text="bind:installplcenm"/>
  87. <Cell col="14" text="bind:instcd"/>
  88. <Cell col="15" text="bind:reqdd"/>
  89. <Cell col="16" text="bind:reqseqno"/>
  90. </Band>
  91. </Format>
  92. </Formats>
  93. </Grid>
  94. <Button id="btn_excelsave" taborder="3" text="엑셀저장" class="btn7" position="absolute 1115 92 1195 111" onclick="btn_excelsave_onclick"/>
  95. </Layout>
  96. </Layouts>
  97. <Objects>
  98. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_search_oncolumnchanged">
  99. <ColumnInfo>
  100. <Column id="dcusno" type="STRING" size="256"/>
  101. <Column id="reqdeptcd" type="STRING" size="256"/>
  102. <Column id="reqdeptnm" type="STRING" size="256"/>
  103. <Column id="instcd" type="STRING" size="256"/>
  104. </ColumnInfo>
  105. <Rows>
  106. <Row>
  107. <Col id="dcusno"/>
  108. <Col id="reqdeptcd"/>
  109. <Col id="reqdeptnm"/>
  110. <Col id="instcd"/>
  111. </Row>
  112. </Rows>
  113. </Dataset>
  114. <Dataset id="ds_main_reqeqitrd_reqeqitrdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  115. <ColumnInfo>
  116. <Column id="dcusno" type="STRING" size="256" sumtext="심의차수"/>
  117. <Column id="dcusdd" type="STRING" size="256" sumtext="심의일자"/>
  118. <Column id="acntnm" type="STRING" size="256" sumtext="계정"/>
  119. <Column id="fixasetcd" type="STRING" size="256" sumtext="자산코드"/>
  120. <Column id="goodflaghngnm" type="STRING" size="256" sumtext="자산명"/>
  121. <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
  122. <Column id="fixasetunitnm" type="STRING" size="256" sumtext="단위"/>
  123. <Column id="fixasetqty" type="STRING" size="256" sumtext="수량"/>
  124. <Column id="possnam" type="STRING" size="256" sumtext="취득금액"/>
  125. <Column id="possndd" type="STRING" size="256" sumtext="취득일"/>
  126. <Column id="suplplcecd" type="STRING" size="256" sumtext="구입처코드"/>
  127. <Column id="suplplcenm" type="STRING" size="256" sumtext="구입처"/>
  128. <Column id="mngtdeptcd" type="STRING" size="256" sumtext="부서코드"/>
  129. <Column id="mngtdeptnm" type="STRING" size="256" sumtext="부서명"/>
  130. <Column id="installplcecd" type="STRING" size="256" sumtext="설치장소코드"/>
  131. <Column id="installplcenm" type="STRING" size="256" sumtext="설치장소"/>
  132. </ColumnInfo>
  133. </Dataset>
  134. </Objects>
  135. <Bind>
  136. <BindItem id="item0" compid="grp_sea.cmb_instcd" propid="value" datasetid="ds_send_search" columnid="instcd"/>
  137. <BindItem id="item1" compid="grp_sea.ipt_dcusno" propid="value" datasetid="ds_send_search" columnid=""/>
  138. <BindItem id="item2" compid="grp_sea.ipt_reqdeptcd_search" propid="value" datasetid="ds_send_search" columnid="reqdeptcd"/>
  139. <BindItem id="item3" compid="grp_sea.opt_reqdeptnm_search" propid="value" datasetid="ds_send_search" columnid="reqdeptnm"/>
  140. </Bind>
  141. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  142. * System Name :
  143. * Job Name :
  144. * Creator :
  145. * Make Date : 2017-06-19
  146. * Description :
  147. *---------------------------------------------------------------------------------------
  148. * Modify Date Modifier Modify Description
  149. *---------------------------------------------------------------------------------------
  150. * 2017-06-19 Live Converter TF->XP
  151. *
  152. *---------------------------------------------------------------------------------------
  153. ****************************************************************************************/
  154. include "com_commonxp::comm_main.xjs";
  155. include "mis_miscommonxp::MIS.xjs";
  156. function SMRSC20410_oninit(obj:Form, e:InitEventInfo)
  157. {
  158. frmf_initForm(obj);
  159. }
  160. function SMRSC20410_onload(obj:Form, e:LoadEventInfo)
  161. {
  162. grdf_initGrid(grd_reqeqitrdlist);
  163. grdf_setRowTypeIcon(grd_reqeqitrdlist, 0);
  164. misfGridInit(grd_reqeqitrdlist);
  165. misfMsterDetailSet(grd_reqeqitrdlist ,null, "TRRSC20411", "Y","free");
  166. misfComboComCdList("Z0007",grp_sea.cmb_instcd);
  167. grp_sea.cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
  168. }
  169. function ds_send_search_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  170. {
  171. if(e.columnid == "reqdetpcd")
  172. {
  173. grp_sea.ipt_reqdeptcd_search.value = e.newvalue;
  174. grp_sea.ipt_reqdeptcd_search.setFocus();
  175. if(String(e.newvalue).length == 0)
  176. {
  177. grp_sea.opt_reqdeptnm_search.value = "";
  178. }
  179. else
  180. {
  181. misfValidationCheck("02", "", "reqdeptcd,reqdeptnm", grp_sea.cmb_instcd.value, "instcd" );
  182. }
  183. }
  184. }
  185. function grp_sea_btn_reqdeptcd_search_onclick(obj:Button, e:ClickEventInfo)
  186. {
  187. var recv_list = "reqdeptcd,reqdeptnm";
  188. misfOpenPopUpList("02", grp_sea.ipt_reqdeptcd_search,"", recv_list, grp_sea.cmb_instcd.value, "instcd") ;
  189. }
  190. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  191. {
  192. misfGridInit(grd_reqeqitrdlist);
  193. misfMsterDetailRetrieve();
  194. }
  195. function btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
  196. {
  197. grdf_exportExcel(grd_reqeqitrdlist, "도입장비목록_"+utlf_getCurrentDate(), "Sheet1", "true", "", "");
  198. }
  199. ]]></Script>
  200. </Form>
  201. </FDL>