SMRAH04800_QI활동비정산비등록(관리부서용).xfdl 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRAH04800" position="absolute 0 0 1199 759" titletext="QI활동비 정산비등록(관리부서용)" oninit="SMRAH04800_oninit" onload="SMRAH04800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="QI활동비 정산비등록(관리부서용)" class="tit_1" position="absolute 0 0 293 25"/>
  8. <Div id="grp_sea" anchor="left top right" taborder="1" class="div_SA2" position="absolute 0 52 1195 112">
  9. <Layouts>
  10. <Layout>
  11. <Shape id="line30" linetype="vertical" class="line_4" position="absolute 881 5 887 32"/>
  12. <Button id="btn_search" taborder="5" text="조회" class="btn1" position="absolute 901 8 957 30" onclick="grp_sea_btn_search_onclick"/>
  13. <Static id="caption15" text="최종저장 :" class="search_name" position="absolute 745 35 819 52"/>
  14. <CheckBox id="bool1" taborder="6" position="absolute 835 33 860 53" truevalue="Y" falsevalue="N"/>
  15. <Static id="caption12" text="정산금액 :" class="search_name" position="absolute 280 33 370 50"/>
  16. <Static id="caption14" text="차액 :" class="search_name" position="absolute 515 33 580 50"/>
  17. <MaskEdit id="opt_ableamt" taborder="7" readonly="true" mask="(-)#,###" position="absolute 135 33 265 52"/>
  18. <MaskEdit id="ipt_useamt" taborder="8" mask="(-)#,###" enable="false" position="absolute 370 33 500 52"/>
  19. <Static id="caption9" text="수령금액 :" class="search_name" position="absolute 45 33 134 50"/>
  20. <MaskEdit id="ipt_remamt" taborder="9" mask="(-)#,###" enable="false" position="absolute 580 33 710 52"/>
  21. <Combo id="cmb_cdid" taborder="10" innerdataset="@ds_init_dtlcodeinfo_codelist" codecolumn="cdid" datacolumn="cdnm" enable="false" position="absolute 465 6 549 25" onitemchanged="grp_sea_cmb_cdid_onitemchanged"/>
  22. <Static id="caption2" text="년도 :" class="search_name" position="absolute 45 7 105 24"/>
  23. <Static id="caption3" text="구분 :" class="search_name" position="absolute 170 6 235 23"/>
  24. <Static id="caption5" text="정산부서 :" class="search_name" position="absolute 575 6 661 23"/>
  25. <Static id="caption7" text="상세구분 :" class="search_name" position="absolute 375 7 461 24"/>
  26. <MaskEdit id="ipt_year" taborder="11" mask="####" position="absolute 110 6 151 25" maskchar=" " type="string" trimtype="both" style="align:center middle;" autoselect="true" autoskip="true"/>
  27. <Combo id="cmb_buseocode" taborder="12" innerdataset="@ds_init_deptinfo_deptlist" codecolumn="deptcd" datacolumn="deptnm" class="combo_default" enable="false" position="absolute 665 6 855 25"/>
  28. <Combo id="cmb_flagcd" taborder="13" innerdataset="@ds_init_codeinfo_codelist" codecolumn="cdid" datacolumn="cdnm" class="combo_default" position="absolute 235 6 355 25" onitemchanged="grp_sea_cmb_flagcd_onitemchanged"/>
  29. </Layout>
  30. </Layouts>
  31. </Div>
  32. <Shape id="line1" class="line_10" position="absolute 0 152 1195 158" anchor="left top right"/>
  33. <Button id="btn_delete" taborder="2" text="행삭제" class="btn2" position="absolute 1142 133 1195 152" anchor="top right" onclick="btn_delete_onclick"/>
  34. <Static id="caption1" text="정산비등록" class="tit_2" position="absolute 0 136 121 157"/>
  35. <Tab id="switch1" taborder="3" tabindex="0" class="tab_Normal" position="absolute 0 143 1195 753" anchor="all">
  36. <Tabpages>
  37. <Tabpage id="case1">
  38. <Layouts>
  39. <Layout>
  40. <Grid id="datagrid1" taborder="1" binddataset="ds_main_datalist_itemlist" useinputpanel="false" position="absolute 0 1 1195 566" autoenter="select" cellsizingtype="col" anchor="all" oncelldblclick="switch1_case1_datagrid1_oncelldblclick">
  41. <Formats>
  42. <Format id="default">
  43. <Columns>
  44. <Column size="18"/>
  45. <Column size="0"/>
  46. <Column size="205"/>
  47. <Column size="122"/>
  48. <Column size="122"/>
  49. <Column size="122"/>
  50. <Column size="0"/>
  51. <Column size="100"/>
  52. <Column size="92"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. <Column size="0"/>
  56. <Column size="0"/>
  57. </Columns>
  58. <Rows>
  59. <Row size="24" band="head"/>
  60. <Row size="24"/>
  61. </Rows>
  62. <Band id="head">
  63. <Cell/>
  64. <Cell col="1" text="부서코드"/>
  65. <Cell col="2" text="정산부서"/>
  66. <Cell col="3" text="수령금액"/>
  67. <Cell col="4" text="정산금액"/>
  68. <Cell col="5" text="차액"/>
  69. <Cell col="6" text="최종입력일"/>
  70. <Cell col="7" text="최종수정일"/>
  71. <Cell col="8" text="관리부서 확인"/>
  72. <Cell col="9" text="year"/>
  73. <Cell col="10" text="flagcd"/>
  74. <Cell col="11" text="cdid"/>
  75. <Cell col="12" text="체크"/>
  76. </Band>
  77. <Band id="body">
  78. <Cell celltype="head"/>
  79. <Cell col="1" text="bind:buseocode"/>
  80. <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:deptnm"/>
  81. <Cell col="3" displaytype="number" text="bind:ableamt"/>
  82. <Cell col="4" displaytype="number" text="bind:useamt"/>
  83. <Cell col="5" displaytype="number" text="bind:remamt"/>
  84. <Cell col="6" text="bind:fromdate" mask="yyyy-mm-dd"/>
  85. <Cell col="7" displaytype="date" text="bind:todate" calendardisplaynulltype="nulltext"/>
  86. <Cell col="8" displaytype="checkbox" edittype="checkbox" text="bind:cnfmflag" expr="expr:cnfmflag == 'Y' ? 1 : 0"/>
  87. <Cell col="9" text="bind:year"/>
  88. <Cell col="10" text="bind:flagcd"/>
  89. <Cell col="11" text="bind:cdid"/>
  90. <Cell col="12" text="bind:checkyn"/>
  91. </Band>
  92. </Format>
  93. </Formats>
  94. </Grid>
  95. <Static id="caption13" text="총수령금액 :" position="absolute 215 570 295 590" style="font:Dotum,9,bold;" anchor="left bottom"/>
  96. <MaskEdit id="ipt_ablesum" taborder="2" mask="(-)#,##0" position="absolute 295 570 415 589" anchor="left bottom"/>
  97. <Static id="caption10" text="총정산금액 :" position="absolute 430 570 510 590" style="font:Dotum,9,bold;" anchor="left bottom"/>
  98. <MaskEdit id="ipt_usesum" taborder="3" mask="(-)#,##0" position="absolute 510 570 630 589" anchor="left bottom"/>
  99. <Static id="caption11" text="총차액 :" position="absolute 645 570 700 590" style="font:Dotum,9,bold;" anchor="left bottom"/>
  100. <MaskEdit id="ipt_remsum" taborder="4" mask="(-)#,##0" position="absolute 700 570 820 589" anchor="left bottom"/>
  101. </Layout>
  102. </Layouts>
  103. </Tabpage>
  104. <Tabpage id="case2">
  105. <Layouts>
  106. <Layout>
  107. <Grid id="grd_acntinoutlist" taborder="0" binddataset="ds_main_datalist_jungsan" useinputpanel="false" position="absolute 0 1 1195 591" autoenter="select" cellsizingtype="col" anchor="all" oncelldblclick="switch1_case2_grd_acntinoutlist_oncelldblclick">
  108. <Formats>
  109. <Format id="default">
  110. <Columns>
  111. <Column size="21"/>
  112. <Column size="0"/>
  113. <Column size="109"/>
  114. <Column size="40"/>
  115. <Column size="217"/>
  116. <Column size="361"/>
  117. <Column size="150"/>
  118. <Column size="205"/>
  119. <Column size="0"/>
  120. <Column size="0"/>
  121. <Column size="0"/>
  122. <Column size="0"/>
  123. </Columns>
  124. <Rows>
  125. <Row size="24" band="head"/>
  126. <Row size="24"/>
  127. </Rows>
  128. <Band id="head">
  129. <Cell/>
  130. <Cell col="1" text="순번"/>
  131. <Cell col="2" text="발생일자"/>
  132. <Cell col="3" text="요일"/>
  133. <Cell col="4" text="계정구분"/>
  134. <Cell col="5" text="지출내역"/>
  135. <Cell col="6" text="금액"/>
  136. <Cell col="7" text="증빙유형"/>
  137. <Cell col="8" text="year"/>
  138. <Cell col="9" text="flagcd"/>
  139. <Cell col="10" text="cdid"/>
  140. <Cell col="11" text="buseocode"/>
  141. </Band>
  142. <Band id="body">
  143. <Cell celltype="head"/>
  144. <Cell col="1" text="bind:seq"/>
  145. <Cell col="2" displaytype="date" edittype="date" text="bind:baldate" calendardisplaynulltype="nulltext"/>
  146. <Cell col="3" text="bind:day"/>
  147. <Cell col="4" displaytype="combo" edittype="combo" style="padding:0 0 0 3;" text="bind:youngdo" combodataset="ds_cmb_youngdo" combocodecol="value" combodatacol="label" combodisplayrowcount="10"/>
  148. <Cell col="5" displaytype="text" edittype="text" text="bind:kdesc"/>
  149. <Cell col="6" displaytype="number" edittype="normal" text="bind:amt"/>
  150. <Cell col="7" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:jeungbing" combodataset="ds_cmb_jeungbing" combocodecol="value" combodatacol="label" combodisplayrowcount="10"/>
  151. <Cell col="8" text="bind:year"/>
  152. <Cell col="9" text="bind:flagcd"/>
  153. <Cell col="10" text="bind:cdid"/>
  154. <Cell col="11" text="bind:buseocode"/>
  155. </Band>
  156. </Format>
  157. </Formats>
  158. </Grid>
  159. </Layout>
  160. </Layouts>
  161. </Tabpage>
  162. </Tabpages>
  163. </Tab>
  164. <Button id="btn_excel" taborder="4" text="엑셀출력" class="btn7" position="absolute 1061 133 1141 152" anchor="top right" onclick="btn_excel_onclick"/>
  165. <Button id="btn_dedu" taborder="5" text="직원인건비내역등록" class="btn2" position="absolute 925 133 1060 152" anchor="top right" onclick="btn_dedu_onclick"/>
  166. <Button id="btn_insert" taborder="6" text="행추가" class="btn2" position="absolute 1088 133 1141 152" anchor="top right" onclick="btn_insert_onclick"/>
  167. <Static id="caption8" text="※ 관리부서 확인 여부는 저장버튼을 누르지 않아도 Click시 즉시 처리됩니다." position="absolute 504 134 922 154" style="color:#ff0000ff;"/>
  168. <Button id="btn_save" taborder="7" text="저장" class="btn4" position="absolute 1138 27 1194 49" anchor="top right" onclick="btn_save_onclick"/>
  169. <Shape id="line2" class="line_6" position="absolute 0 48 1195 54" anchor="left top right"/>
  170. <Button id="btn_print" taborder="8" text="출력" class="btn6" position="absolute 1080 27 1136 49" anchor="top right" onclick="btn_print_onclick"/>
  171. </Layout>
  172. </Layouts>
  173. <Objects>
  174. <Dataset id="ds_main_datalist_amtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  175. <ColumnInfo>
  176. <Column id="ableamt" type="STRING" size="256" sumtext="수령금액"/>
  177. <Column id="useamt" type="STRING" size="256" sumtext="정산금액"/>
  178. <Column id="remamt" type="STRING" size="256" sumtext="차액"/>
  179. <Column id="dispseq" type="STRING" size="256" sumtext="display 순서"/>
  180. </ColumnInfo>
  181. <Rows>
  182. <Row>
  183. <Col id="ableamt"/>
  184. <Col id="useamt"/>
  185. <Col id="remamt"/>
  186. </Row>
  187. </Rows>
  188. </Dataset>
  189. <Dataset id="ds_send_retrparam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_retrparam_oncolumnchanged">
  190. <ColumnInfo>
  191. <Column id="instcd" type="STRING" size="256"/>
  192. <Column id="year" type="STRING" size="256"/>
  193. <Column id="flagcd" type="STRING" size="256"/>
  194. <Column id="cdid" type="STRING" size="256"/>
  195. <Column id="buseocode" type="STRING" size="256"/>
  196. <Column id="flagnm" type="STRING" size="256"/>
  197. <Column id="buseoname" type="STRING" size="256"/>
  198. <Column id="cdnm" type="STRING" size="256"/>
  199. </ColumnInfo>
  200. <Rows>
  201. <Row>
  202. <Col id="instcd"/>
  203. <Col id="year"/>
  204. <Col id="flagcd"/>
  205. <Col id="cdid"/>
  206. <Col id="buseocode"/>
  207. <Col id="flagnm"/>
  208. <Col id="buseoname"/>
  209. <Col id="cdnm"/>
  210. </Row>
  211. </Rows>
  212. </Dataset>
  213. <Dataset id="ds_init_codeinfo_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  214. <Dataset id="ds_init_dtlcodeinfo_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  215. <Dataset id="ds_main_datalist_itemlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_datalist_itemlist_oncolumnchanged">
  216. <ColumnInfo>
  217. <Column id="fromdate" type="STRING" size="256" sumtext="최초입력일"/>
  218. <Column id="todate" type="STRING" size="256" sumtext="최종수정일"/>
  219. <Column id="year" type="STRING" size="256" sumtext="년도"/>
  220. <Column id="flagcd" type="STRING" size="256" sumtext="정산구분"/>
  221. <Column id="cdid" type="STRING" size="256" sumtext="상세구분"/>
  222. <Column id="buseocode" type="STRING" size="256" sumtext="정산부서"/>
  223. <Column id="deptnm" type="STRING" size="256" sumtext="정산부서"/>
  224. <Column id="checkyn" type="STRING" size="256" sumtext="확인"/>
  225. <Column id="cnfmflag" type="STRING" size="256" sumtext="재무확인여부"/>
  226. <Column id="ableamt" type="STRING" size="256" sumtext="수령금액"/>
  227. <Column id="useamt" type="STRING" size="256" sumtext="정산금액"/>
  228. <Column id="remamt" type="STRING" size="256" sumtext="차액"/>
  229. </ColumnInfo>
  230. </Dataset>
  231. <Dataset id="ds_main_datalist_jungsan" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_datalist_jungsan_oncolumnchanged">
  232. <ColumnInfo>
  233. <Column id="seq" type="STRING" size="256" sumtext="순번"/>
  234. <Column id="baldate" type="STRING" size="256" sumtext="발생일자"/>
  235. <Column id="youngdo" type="STRING" size="256" sumtext="용도"/>
  236. <Column id="kdesc" type="STRING" size="256" sumtext="지출내역"/>
  237. <Column id="amt" type="STRING" size="256" sumtext="금액"/>
  238. <Column id="jeungbing" type="STRING" size="256" sumtext="증빙유형"/>
  239. <Column id="year" type="STRING" size="256" sumtext="년도"/>
  240. <Column id="flagcd" type="STRING" size="256" sumtext="정산구분"/>
  241. <Column id="cdid" type="STRING" size="256" sumtext="상세구분"/>
  242. <Column id="buseocode" type="STRING" size="256" sumtext="부서코드"/>
  243. <Column id="day" type="STRING" size="256" sumtext="요일"/>
  244. </ColumnInfo>
  245. </Dataset>
  246. <Dataset id="ds_init_deptinfo_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  247. <Dataset id="ds_cmb_youngdo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  248. <ColumnInfo>
  249. <Column id="label" type="STRING" size="256"/>
  250. <Column id="value" type="STRING" size="256"/>
  251. </ColumnInfo>
  252. <Rows>
  253. <Row>
  254. <Col id="label">1.인건비</Col>
  255. <Col id="value">1</Col>
  256. </Row>
  257. <Row>
  258. <Col id="label">2.초빙강사료</Col>
  259. <Col id="value">2</Col>
  260. </Row>
  261. <Row>
  262. <Col id="label">3.회의및행사비</Col>
  263. <Col id="value">3</Col>
  264. </Row>
  265. <Row>
  266. <Col id="label">4.학회참가경비</Col>
  267. <Col id="value">4</Col>
  268. </Row>
  269. <Row>
  270. <Col id="label">5.도서인쇄비</Col>
  271. <Col id="value">5</Col>
  272. </Row>
  273. <Row>
  274. <Col id="label">6.소모품비</Col>
  275. <Col id="value">6</Col>
  276. </Row>
  277. <Row>
  278. <Col id="label">7.경조사비</Col>
  279. <Col id="value">7</Col>
  280. </Row>
  281. <Row>
  282. <Col id="label">8.우편통신비</Col>
  283. <Col id="value">8</Col>
  284. </Row>
  285. <Row>
  286. <Col id="label">9.자산구입비</Col>
  287. <Col id="value">9</Col>
  288. </Row>
  289. <Row>
  290. <Col id="label">X.기타</Col>
  291. <Col id="value">X</Col>
  292. </Row>
  293. </Rows>
  294. </Dataset>
  295. <Dataset id="ds_cmb_jeungbing" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  296. <ColumnInfo>
  297. <Column id="label" type="STRING" size="256"/>
  298. <Column id="value" type="STRING" size="256"/>
  299. </ColumnInfo>
  300. <Rows>
  301. <Row>
  302. <Col id="label">1.세금계산서</Col>
  303. <Col id="value">1</Col>
  304. </Row>
  305. <Row>
  306. <Col id="label">2.계산서</Col>
  307. <Col id="value">2</Col>
  308. </Row>
  309. <Row>
  310. <Col id="label">3.인건비영수증</Col>
  311. <Col id="value">3</Col>
  312. </Row>
  313. <Row>
  314. <Col id="label">4.자산등록요청서</Col>
  315. <Col id="value">4</Col>
  316. </Row>
  317. <Row>
  318. <Col id="label">5.부서법인카드</Col>
  319. <Col id="value">5</Col>
  320. </Row>
  321. <Row>
  322. <Col id="label">6.현금영수증</Col>
  323. <Col id="value">6</Col>
  324. </Row>
  325. <Row>
  326. <Col id="label">7.원천징수영수증</Col>
  327. <Col id="value">7</Col>
  328. </Row>
  329. <Row>
  330. <Col id="label">X.기타</Col>
  331. <Col id="value">X</Col>
  332. </Row>
  333. </Rows>
  334. </Dataset>
  335. <Dataset id="ds_hidden_savelist_iteminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  336. <Dataset id="ds_send_retrparam2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  337. <ColumnInfo>
  338. <Column id="instcd" type="STRING" size="256"/>
  339. <Column id="year" type="STRING" size="256"/>
  340. <Column id="flagcd" type="STRING" size="256"/>
  341. <Column id="cdid" type="STRING" size="256"/>
  342. <Column id="buseocode" type="STRING" size="256"/>
  343. </ColumnInfo>
  344. <Rows>
  345. <Row>
  346. <Col id="instcd"/>
  347. <Col id="year"/>
  348. <Col id="flagcd"/>
  349. <Col id="cdid"/>
  350. <Col id="buseocode"/>
  351. </Row>
  352. </Rows>
  353. </Dataset>
  354. <Dataset id="ds_main2_managerinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  355. <ColumnInfo>
  356. <Column id="year" type="STRING" size="256" sumtext="년도"/>
  357. <Column id="flagcd" type="STRING" size="256" sumtext="정산구분"/>
  358. <Column id="cdid" type="STRING" size="256" sumtext="상세구분"/>
  359. <Column id="buseocode" type="STRING" size="256" sumtext="부서코드"/>
  360. <Column id="oksign" type="STRING" size="256" sumtext="승인여부"/>
  361. <Column id="cnfmflag" type="STRING" size="256" sumtext="관리부서확인여부"/>
  362. <Column id="m" type="STRING" size="256" sumtext="수정구분"/>
  363. </ColumnInfo>
  364. </Dataset>
  365. <Dataset id="ds_main_datalist_managerinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  366. <ColumnInfo>
  367. <Column id="year" type="STRING" size="256" sumtext="년도"/>
  368. <Column id="flagcd" type="STRING" size="256" sumtext="정산구분"/>
  369. <Column id="cdid" type="STRING" size="256" sumtext="상세구분"/>
  370. <Column id="buseocode" type="STRING" size="256" sumtext="부서코드"/>
  371. <Column id="oksign" type="STRING" size="256" sumtext="승인여부"/>
  372. <Column id="cnfmflag" type="STRING" size="256" sumtext="관리부서확인여부"/>
  373. <Column id="m" type="STRING" size="256" sumtext="수정구분"/>
  374. </ColumnInfo>
  375. </Dataset>
  376. <Dataset id="ds_hidden_savelist_acntinoutlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  377. <Dataset id="ds_hidden_savelist_managerinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  378. </Objects>
  379. <Bind>
  380. <BindItem id="item0" compid="grp_sea.ipt_year" propid="value" datasetid="ds_send_retrparam" columnid="year"/>
  381. <BindItem id="item1" compid="grp_sea.cmb_flagcd" propid="value" datasetid="ds_send_retrparam" columnid="flagcd"/>
  382. <BindItem id="item2" compid="grp_sea.cmb_cdid" propid="value" datasetid="ds_send_retrparam" columnid="cdid"/>
  383. <BindItem id="item3" compid="grp_sea.cmb_buseocode" propid="value" datasetid="ds_send_retrparam" columnid="buseocode"/>
  384. <BindItem id="item4" compid="grp_sea.opt_ableamt" propid="value" datasetid="ds_main_datalist_amtinfo" columnid="ableamt"/>
  385. <BindItem id="item5" compid="grp_sea.ipt_useamt" propid="value" datasetid="ds_main_datalist_amtinfo" columnid="useamt"/>
  386. <BindItem id="item6" compid="grp_sea.ipt_remamt" propid="value" datasetid="ds_main_datalist_amtinfo" columnid="remamt"/>
  387. <BindItem id="item7" compid="grp_sea.bool1" propid="value" datasetid="ds_main_datalist_amtinfo" columnid="oksign"/>
  388. </Bind>
  389. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  390. * System Name :
  391. * Job Name :
  392. * Creator :
  393. * Make Date : 2017-06-19
  394. * Description :
  395. *---------------------------------------------------------------------------------------
  396. * Modify Date Modifier Modify Description
  397. *---------------------------------------------------------------------------------------
  398. * 2017-06-19 Live Converter TF->XP
  399. *
  400. *---------------------------------------------------------------------------------------
  401. ****************************************************************************************/
  402. include "com_commonxp::comm_main.xjs";
  403. include "mis_miscommonxp::MIS.xjs";
  404. function SMRAH04800_oninit(obj:Form, e:InitEventInfo)
  405. {
  406. frmf_initForm(obj);
  407. }
  408. function SMRAH04800_onload(obj:Form, e:LoadEventInfo)
  409. {
  410. grdf_initGrid(switch1.case1.datagrid1);
  411. grdf_setRowTypeIcon(switch1.case1.datagrid1, 0);
  412. grdf_initGrid(switch1.case2.grd_acntinoutlist);
  413. grdf_setRowTypeIcon(switch1.case2.grd_acntinoutlist, 0);
  414. fResetForm();
  415. }
  416. function fResetForm()
  417. {
  418. ds_main_datalist_amtinfo.clearData();
  419. ds_main_datalist_amtinfo.addRow();
  420. ds_main_datalist_jungsan.clearData();
  421. ds_main_datalist_itemlist.clearData();
  422. switch1.tabindex = 0;
  423. btn_save.enable = false;
  424. btn_insert.visible = false;
  425. btn_delete.visible = false;
  426. btn_excel.visible = true;
  427. btn_dedu.enable = false;
  428. ds_send_retrparam.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  429. ds_send_retrparam.setColumn(0, "year", String(utlf_getCurrentDate()).substr(0,4));
  430. var oParam = {};
  431. oParam.id = "TRRAH04302";
  432. oParam.service = "acntknuhapp.Acntknuh";
  433. oParam.method = "reqGetQIComboList";
  434. oParam.inds = "req=ds_send_retrparam";
  435. oParam.outds = "ds_init_codeinfo_codelist=codelist";
  436. oParam.async = false;
  437. //oParam.callback = "cf_TRRAH04302";
  438. tranf_submit(oParam);
  439. var oParam = {};
  440. oParam.id = "TRRAH01202";
  441. oParam.service = "acntknuhapp.Acntknuh";
  442. oParam.method = "reqGetDeptList";
  443. oParam.inds = "req=ds_send_retrparam";
  444. oParam.outds = "ds_init_deptinfo_deptlist=deptlist";
  445. oParam.async = false;
  446. //oParam.callback = "cf_TRRAH01202";
  447. tranf_submit(oParam);
  448. }
  449. function ds_send_retrparam_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  450. {
  451. if(e.columnid == "year")
  452. {
  453. grp_sea.ipt_year.value = e.newvalue;
  454. grp_sea.ipt_year.setFocus();
  455. misfGridInit(switch1.case1.datagrid1);
  456. misfGridInit(switch1.case2.grd_acntinoutlist);
  457. switch1.tabindex = 0;
  458. grp_sea.opt_ableamt.value = "";
  459. grp_sea.ipt_useamt.value = "";
  460. grp_sea.ipt_remamt.value = "";
  461. grp_sea.cmb_buseocode.value = "";
  462. }
  463. }
  464. function grp_sea_cmb_flagcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  465. {
  466. misfGridInit(switch1.case1.datagrid1);
  467. misfGridInit(switch1.case2.grd_acntinoutlist);
  468. switch1.tabindex = 0;
  469. grp_sea.opt_ableamt.value = "";
  470. grp_sea.ipt_useamt.value = "";
  471. grp_sea.ipt_remamt.value = "";
  472. grp_sea.cmb_buseocode.value = "";
  473. var oParam = {};
  474. oParam.id = "TRRAH04602";
  475. oParam.service = "acntknuhapp.Acntknuh";
  476. oParam.method = "reqGetQIDtlComboList";
  477. oParam.inds = "req=ds_send_retrparam";
  478. oParam.outds = "ds_init_dtlcodeinfo_codelist=codelist";
  479. oParam.async = false;
  480. oParam.callback = "cf_TRRAH04602";
  481. tranf_submit(oParam);
  482. grp_sea.cmb_cdid.value = "";
  483. }
  484. function cf_TRRAH04602(sSvcId, nErrorCode, sErrorMsg)
  485. {
  486. if(nErrorCode < 0) return;
  487. else
  488. {
  489. if(ds_init_dtlcodeinfo_codelist.rowcount > 0)
  490. {
  491. grp_sea.cmb_cdid.enable = true;
  492. }
  493. else
  494. {
  495. grp_sea.cmb_cdid.enable = false;
  496. }
  497. }
  498. }
  499. function grp_sea_cmb_cdid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  500. {
  501. misfGridInit(switch1.case1.datagrid1);
  502. misfGridInit(switch1.case2.grd_acntinoutlist);
  503. switch1.tabindex = 0;
  504. grp_sea.opt_ableamt.value = "";
  505. grp_sea.ipt_useamt.value = "";
  506. grp_sea.ipt_remamt.value = "";
  507. grp_sea.cmb_buseocode.value = "";
  508. }
  509. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  510. {
  511. if(String(grp_sea.ipt_year.value).length != 4)
  512. {
  513. sysf_messageBox("년도를 확인하십시요. ", "E999", "");
  514. grp_sea.ipt_year.setFocus();
  515. return;
  516. }
  517. if(utlf_isNull(grp_sea.cmb_flagcd.value))
  518. {
  519. sysf_messageBox("구분을 선택하십시요. ", "E999", "");
  520. grp_sea.cmb_flagcd.setFocus();
  521. return;
  522. }
  523. fRetrieve();
  524. }
  525. function fRetrieve()
  526. {
  527. ds_main_datalist_itemlist.clearData();
  528. ds_main_datalist_amtinfo.clearData();
  529. ds_main_datalist_amtinfo.addRow();
  530. ds_main_datalist_jungsan.clearData();
  531. switch1.tabindex = 0;
  532. btn_save.enable = false;
  533. btn_insert.visible = false; //행추가
  534. btn_delete.visible = false; //행삭제
  535. btn_excel.visible = true; //엑셀다운
  536. btn_dedu.enable = false;
  537. grp_sea.opt_ableamt.value = "";
  538. grp_sea.ipt_useamt.value = "";
  539. grp_sea.ipt_remamt.value = "";
  540. grp_sea.cmb_buseocode.value = "";
  541. var oParam = {};
  542. oParam.id = "TRRAH03801";
  543. oParam.service = "acntknuhapp.Acntknuh";
  544. oParam.method = "reqGetQIManagerJungSanList";
  545. oParam.inds = "req=ds_send_retrparam";
  546. oParam.outds = "ds_main_datalist_itemlist=itemlist";
  547. oParam.async = false;
  548. //oParam.callback = "cf_TRRAH03801";
  549. tranf_submit(oParam);
  550. }
  551. function ds_main_datalist_itemlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  552. {
  553. if(e.columnid == "cnfmflag")
  554. {
  555. obj.setColumn(e.row, "cnfmflag", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  556. ds_hidden_savelist_iteminfo.copyData(grdf_getGridUpdateData(switch1.case1.datagrid1));
  557. var oParam = {};
  558. oParam.id = "TXRAH04801";
  559. oParam.service = "acntknuhapp.Acntknuh";
  560. oParam.method = "reqExeSaveQIManagerInfoList";
  561. oParam.inds = "req=ds_hidden_savelist_iteminfo:u";
  562. oParam.outds = "ds_=seqno";
  563. oParam.async = false;
  564. oParam.callback = "cf_TXRAH04801";
  565. tranf_submit(oParam);
  566. }
  567. }
  568. function cf_TXRAH04801(sSvcId, nErrorCode, sErrorMsg)
  569. {
  570. if(nErrorCode < 0) return;
  571. else
  572. {
  573. ds_main_datalist_itemlist.setColumn(ds_main_datalist_itemlist.rowposition, "checkyn", "u")
  574. }
  575. }
  576. function switch1_case2_grd_acntinoutlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  577. {
  578. }
  579. function ds_main_datalist_jungsan_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  580. {
  581. if(e.columnid == "baldate")
  582. {
  583. var sDate = obj.getColumn(e.row, "baldate");
  584. if (String(sDate).length < 8)
  585. {
  586. obj.setColumn(e.row, "day","");
  587. }
  588. else
  589. {
  590. obj.setColumn(e.row, "day",utlf_getDateTime(sDate.toDate(), "W"));
  591. }
  592. }
  593. }
  594. function btn_dedu_onclick(obj:Button, e:ClickEventInfo)
  595. {
  596. var Ableamt = ds_main_datalist_amtinfo.getColumn(0, "ableamt");
  597. if( Ableamt == "0" || utlf_isNull(Ableamt))
  598. {
  599. sysf_messageBox("수령금액이 존재하지 않습니다. \n조회 후 등록하십시요. ", "E999", "");
  600. return;
  601. }
  602. dsf_makeValue(ds_send_retrparam, "flagnm", "string", grp_sea.cmb_flagcd.text, 0);
  603. dsf_makeValue(ds_send_retrparam, "cdnm", "string", grp_sea.cmb_cdid.text, 0);
  604. dsf_makeValue(ds_send_retrparam, "buseoname", "string", grp_sea.cmb_buseocode.text, 0);
  605. dsf_makeValue(ds_send_retrparam, "opener", "string", "SMRAH04700", 0);
  606. // var objArg = new Object();
  607. // objArg.arg_ds_target = ds_send_retrparam;
  608. frmf_modal("SMRAH04900", "SMRAH04900", "", "", "", "", "", "", "", "", "", "", "M");
  609. }
  610. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  611. {
  612. grdf_exportExcel(switch1.case1.datagrid1, "excel", "sheetname", "true", "", "");
  613. }
  614. function btn_insert_onclick(obj:Button, e:ClickEventInfo)
  615. {
  616. var Ableamt = ds_main_datalist_amtinfo.getColumn(0, "ableamt");
  617. if( Ableamt == "0" || utlf_isNull(Ableamt))
  618. {
  619. sysf_messageBox("수령금액이 존재하지 않습니다. \n조회 후 확인하십시요. ", "E999", "");
  620. grp_sea.cmb_flagcd.setFocus();
  621. return;
  622. }
  623. var addRow = ds_main_datalist_jungsan.addRow()
  624. ds_main_datalist_jungsan.setColumn(addRow, "baldate", utlf_getCurrentDate());
  625. ds_main_datalist_jungsan.setColumn(addRow, "year", ds_send_retrparam2.getColumn(0, "year"));
  626. ds_main_datalist_jungsan.setColumn(addRow, "flagcd", ds_send_retrparam2.getColumn(0, "flagcd"));
  627. ds_main_datalist_jungsan.setColumn(addRow, "cdid", ds_send_retrparam2.getColumn(0, "cdid"));
  628. ds_main_datalist_jungsan.setColumn(addRow, "buseocode", ds_send_retrparam2.getColumn(0, "buseocode"));
  629. if(ds_main_datalist_jungsan.rowposition == 0)
  630. {
  631. ds_main_datalist_jungsan.setColumn(ds_main_datalist_jungsan.rowposition, "seq", "1");
  632. }
  633. else
  634. {
  635. var ll_seq_max = 0;
  636. var ll_seq = 0;
  637. for(var i = 0; i < ds_main_datalist_jungsan.rowcount; i++)
  638. {
  639. ll_seq = parseInt(ds_main_datalist_jungsan.getColumn(i, "seq"));
  640. if (ll_seq > ll_seq_max)
  641. {
  642. ll_seq_max = ll_seq ;
  643. }
  644. }
  645. ds_main_datalist_jungsan.setColumn(ds_main_datalist_jungsan.rowposition, "seq", ll_seq_max + 1);
  646. }
  647. var sDate = ds_main_datalist_jungsan.getColumn(ds_main_datalist_jungsan.rowposition, "baldate");
  648. if (sDate.length < 8)
  649. {
  650. ds_main_datalist_jungsan.setColumn(ds_main_datalist_jungsan.rowposition, "day", "");
  651. }
  652. else
  653. {
  654. ds_main_datalist_jungsan.setColumn(ds_main_datalist_jungsan.rowposition, "day", utlf_getDateTime(sDate.toDate(), "W"));
  655. }
  656. }
  657. function btn_delete_onclick(obj:Button, e:ClickEventInfo)
  658. {
  659. var status = ds_main_datalist_jungsan.getRowType(ds_main_datalist_jungsan.rowposition);
  660. if(status == 1)
  661. {
  662. ds_main_datalist_jungsan.updatecontrol = false;
  663. ds_main_datalist_jungsan.setRowType(ds_main_datalist_jungsan.rowposition, "d");
  664. ds_main_datalist_jungsan.updatecontrol = true;
  665. }
  666. else if(status == 2)
  667. {
  668. ds_main_datalist_jungsan.deleteRow(ds_main_datalist_jungsan.rowposition);
  669. }
  670. else if(status == 4)
  671. {
  672. ds_main_datalist_jungsan.updatecontrol = false;
  673. ds_main_datalist_jungsan.setRowType(ds_main_datalist_jungsan.rowposition, "d");
  674. ds_main_datalist_jungsan.updatecontrol = true;
  675. }
  676. else if(status == 8)
  677. {
  678. ds_main_datalist_jungsan.updatecontrol = false;
  679. ds_main_datalist_jungsan.setRowType(ds_main_datalist_jungsan.rowposition, "");
  680. ds_main_datalist_jungsan.updatecontrol = true;
  681. }
  682. }
  683. function btn_print_onclick(obj:Button, e:ClickEventInfo)
  684. {
  685. dsf_makeValue(ds_send_retrparam, "flagnm", "string", grp_sea.cmb_flagcd.text, 0);
  686. dsf_makeValue(ds_send_retrparam, "cdnm", "string", grp_sea.cmb_cdid.text, 0);
  687. dsf_makeValue(ds_send_retrparam, "deptnm", "string", grp_sea.cmb_buseocode.text, 0);
  688. var objDOM = rptf_createDOM();
  689. rptf_setNodeListToDOM(objDOM, "/root/send/retrparam", ds_send_retrparam);
  690. rptf_setNodeListToDOM(objDOM, "/root/main/datalist/jungsan", ds_main_datalist_jungsan);
  691. rptf_setNodeListToDOM(objDOM, "/root/main/datalist/amtinfo", ds_main_datalist_amtinfo);
  692. rptf_setNodeListToDOM(objDOM, "/root/main/datalist/managerinfo", ds_main_datalist_managerinfo);
  693. var objParam = new Object();
  694. objParam.xml_data_XML1 = objDOM.documentElement.source;
  695. var option = "";
  696. rptf_exeReportPreview30(["SMRAH04701"],[objParam], option);
  697. }
  698. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  699. {
  700. var cnt = ds_main_datalist_jungsan.rowcount;
  701. for( var i = 0 ; i < cnt ; i++)
  702. {
  703. if( String(ds_main_datalist_jungsan.getColumn(i, "baldate").length) != "8")
  704. {
  705. sysf_messageBox("[ " + parseInt(i+1) + " ]번째 행의 발생일자가 정확하지 않습니다. ", "E000");
  706. return;
  707. }
  708. if( utlf_isNull(ds_main_datalist_jungsan.getColumn(i, "youngdo")))
  709. {
  710. sysf_messageBox("[ " + parseInt(i+1) + " ]번째 행의 계정구분값이 누락되었습니다. \n계정구분값은 필수 입력값입니다. ", "E000");
  711. return;
  712. }
  713. if( utlf_isNull(ds_main_datalist_jungsan.getColumn(i, "jeungbing")))
  714. {
  715. sysf_messageBox("[ " + parseInt(i+1) + " ]번째 행의 증빙유형값이 누락되었습니다. \n증빙유형값은 필수 입력값입니다. ", "E000");
  716. return;
  717. }
  718. }
  719. fSaveData();
  720. }
  721. function fSaveData()
  722. {
  723. if(ds_main2_managerinfo.getColumn(0, "cnfmflag") == "Y" && ds_main2_managerinfo.getColumn(0, "oksign") == "Y" &&
  724. ds_main_datalist_managerinfo.getColumn(0, "oksign") != "Y" )
  725. {
  726. sysf_messageBox("관리부서 확인 처리된 자료는 최종저장 여부를 수정할 수 없습니다.\n\n" +
  727. "다시 조회 후 관리부서 확인 여부를 수정하여 처리하십시요.", "E999", "");
  728. grp_sea.bool1.value = "Y";
  729. return;
  730. }
  731. var updtdata = grdf_getGridUpdateData(switch1.case2.grd_acntinoutlist).rowcount;
  732. var copydata = ds_main2_managerinfo.getColumn(0, "oksign");
  733. var data = ds_main_datalist_managerinfo.getColumn(0, "oksign");
  734. if (updtdata == 0 && data == copydata)
  735. {
  736. sysf_messageBox("변경된 데이터가","I004");
  737. return;
  738. }
  739. for(var i = 0; i < ds_main_datalist_jungsan.rowcount; i++)
  740. {
  741. if( ds_main_datalist_jungsan.getRowType(i) == 8 ) continue;
  742. var balyear = String(ds_main_datalist_jungsan.getColumn(i, "baldate")).substr(0,4);
  743. var year = ds_send_retrparam.getColumn(0, "year");
  744. if(year != balyear)
  745. {
  746. sysf_messageBox("[ " + parseInt(i+1) + " ]번째 행의 발생일자가 적합하지 않습니다.", "I000");
  747. return;
  748. }
  749. var amt = ds_main_datalist_jungsan.getColumn(i, "amt");
  750. if(utlf_isNull(amt))
  751. {
  752. sysf_messageBox("[ " + parseInt(i+1) + " ]번째 행의 금액이 누락되었습니다. \n금액은 필수 입력값입니다. ", "E000");
  753. return;
  754. }
  755. }
  756. if( sysf_messageBox("정산 내역을", "Q002") != 6 ) return ;
  757. ds_hidden_savelist_iteminfo.clearData();
  758. fSave();
  759. var oParam = {};
  760. oParam.id = "TXRAH04701";
  761. oParam.service = "acntknuhapp.Acntknuh";
  762. oParam.method = "reqExeSaveQIJungSanList";
  763. oParam.inds = "req=ds_main_datalist_jungsan:u req2=ds_main_datalist_managerinfo";
  764. oParam.outds = "ds_=seqno";
  765. oParam.typeStr = "status";
  766. oParam.async = false;
  767. oParam.callback = "cf_TXRAH04701";
  768. tranf_submit(oParam);
  769. }
  770. function cf_TXRAH04701(sSvcId, nErrorCode, sErrorMsg)
  771. {
  772. if(nErrorCode < 0) return;
  773. else
  774. {
  775. var oParam = {};
  776. oParam.id = "TRRAH04802";
  777. oParam.service = "acntknuhapp.Acntknuh";
  778. oParam.method = "reqGetQIMasterjungsanList";
  779. oParam.inds = "req=ds_send_retrparam2";
  780. oParam.outds = "ds_main_datalist_jungsan=jungsan ds_main_datalist_amtinfo=amtinfo ds_main_datalist_managerinfo=managerinfo";
  781. oParam.async = false;
  782. //oParam.callback = "cf_TRRAH04802";
  783. tranf_submit(oParam);
  784. }
  785. }
  786. function fSave()
  787. {
  788. var tPath = "ds_hidden_savelist_managerinfo";
  789. var vData = "";
  790. var vHeader = "m" + "▦" // 01. 상태
  791. + "year" + "▦" // 02. 년도
  792. + "flagcd" + "▦" // 03. 구분코드
  793. + "cdid" + "▦" // 04. 상세코드
  794. + "buseocode" + "▦" // 05. 부서코드
  795. + "oksign" + "▩" // 06. 승인여부;
  796. vData += ds_main_datalist_managerinfo.getColumn(0, "m") + "▦"
  797. + ds_main_datalist_managerinfo.getColumn(0, "year") + "▦"
  798. + ds_main_datalist_managerinfo.getColumn(0, "flagcd") + "▦"
  799. + ds_main_datalist_managerinfo.getColumn(0, "cdid") + "▦"
  800. + ds_main_datalist_managerinfo.getColumn(0, "buseocode") + "▦"
  801. + ds_main_datalist_managerinfo.getColumn(0, "oksign") + "▦" ;
  802. dsf_setCSVToDs(tPath, vHeader+vData);
  803. }
  804. function switch1_case1_datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  805. {
  806. if(ds_main_datalist_itemlist.rowposition < 0) return;
  807. ds_send_retrparam2.setColumn(0, "year", ds_main_datalist_itemlist.getColumn(ds_main_datalist_itemlist.rowposition, "year"));
  808. ds_send_retrparam2.setColumn(0, "flagcd", ds_main_datalist_itemlist.getColumn(ds_main_datalist_itemlist.rowposition, "flagcd"));
  809. ds_send_retrparam2.setColumn(0, "cdid", ds_main_datalist_itemlist.getColumn(ds_main_datalist_itemlist.rowposition, "cdid"));
  810. ds_send_retrparam2.setColumn(0, "buseocode", ds_main_datalist_itemlist.getColumn(ds_main_datalist_itemlist.rowposition, "buseocode"));
  811. switch1.tabindex = 1;
  812. btn_save.enable = true;
  813. btn_insert.visible = true; //행추가
  814. btn_delete.visible = true; //행삭제
  815. btn_excel.visible = false; //엑셀다운
  816. btn_dedu.enable = true;
  817. var oParam = {};
  818. oParam.id = "TRRAH04802";
  819. oParam.service = "acntknuhapp.Acntknuh";
  820. oParam.method = "reqGetQIMasterjungsanList";
  821. oParam.inds = "req=ds_send_retrparam2";
  822. oParam.outds = "ds_main_datalist_jungsan=jungsan ds_main_datalist_amtinfo=amtinfo ds_main_datalist_managerinfo=managerinfo";
  823. oParam.async = false;
  824. //oParam.callback = "cf_TRRAH04802";
  825. tranf_submit(oParam);
  826. ds_main2_managerinfo.clearData();
  827. ds_main2_managerinfo.copyData(ds_main_datalist_managerinfo);
  828. ds_send_retrparam.setColumn(0, "buseocode", ds_send_retrparam2.getColumn(0, "buseocode"));
  829. }
  830. ]]></Script>
  831. </Form>
  832. </FDL>