SMRSC08400_세금계산서내역비교.xfdl 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRSC08400" position="absolute 0 0 1211 804" titletext="국세청 세금계산서와 계약건 내역 비교" oninit="SMRSC08400_oninit" onload="SMRSC08400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="국세청 세금계산서 &amp; 계약건 내역 비교" class="tit_1" position="absolute 0 0 280 25"/>
  8. <Tab id="switch1" taborder="1" tabindex="0" position="absolute 0 29 1195 793" anchor="all">
  9. <Tabpages>
  10. <Tabpage id="case_compare" text="색인">
  11. <Layouts>
  12. <Layout>
  13. <Static id="caption35" text="검수내역과 세금계산서 비교 리스트" class="tit_2" position="absolute 0 75 315 96"/>
  14. <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 0 91 1195 97" anchor="left top right"/>
  15. <Grid id="grd_keumcomparelst" taborder="22" binddataset="ds_main_cmprlst_cmprinfo" useinputpanel="false" position="absolute 0 96 1195 736" autoenter="select" cellsizingtype="col" anchor="all" onlbuttonup="switch1_case_compare_grd_keumcomparelst_onlbuttonup" selecttype="multirow" tooltiptype="hover">
  16. <Formats>
  17. <Format id="default">
  18. <Columns>
  19. <Column size="22" band="left"/>
  20. <Column size="20" band="left"/>
  21. <Column size="39" band="left"/>
  22. <Column size="39" band="left"/>
  23. <Column size="75" band="left"/>
  24. <Column size="35" band="left"/>
  25. <Column size="33" band="left"/>
  26. <Column size="90" band="left"/>
  27. <Column size="200"/>
  28. <Column size="70"/>
  29. <Column size="90"/>
  30. <Column size="30"/>
  31. <Column size="80"/>
  32. <Column size="50"/>
  33. <Column size="70"/>
  34. <Column size="55"/>
  35. <Column size="90"/>
  36. <Column size="75"/>
  37. <Column size="35"/>
  38. <Column size="60"/>
  39. <Column size="60"/>
  40. <Column size="60"/>
  41. <Column size="100"/>
  42. <Column size="100"/>
  43. <Column size="100"/>
  44. <Column size="0"/>
  45. <Column size="100"/>
  46. </Columns>
  47. <Rows>
  48. <Row size="24" band="head"/>
  49. <Row size="24"/>
  50. </Rows>
  51. <Band id="head">
  52. <Cell/>
  53. <Cell col="1"/>
  54. <Cell col="2" text="유형"/>
  55. <Cell col="3" text="구분"/>
  56. <Cell col="4" colspan="2" text="계약일자/SEQ" taborder="undefined"/>
  57. <Cell col="6" colspan="2" text="거래처" taborder="undefined"/>
  58. <Cell col="8" text="계약건명"/>
  59. <Cell col="9" text="계약금액"/>
  60. <Cell col="10" text="사업자등록번호"/>
  61. <Cell col="11" text="발행"/>
  62. <Cell col="12" text="세금계산서"/>
  63. <Cell col="13" text="미용"/>
  64. <Cell col="14" text="계산서"/>
  65. <Cell col="15" colspan="2" text="계정과목" taborder="undefined"/>
  66. <Cell col="17" colspan="2" text="검수일자/SEQ" taborder="undefined"/>
  67. <Cell col="19" text="(국)세금"/>
  68. <Cell col="20" text="(국)미용"/>
  69. <Cell col="21" text="(국)계산"/>
  70. <Cell col="22" text="FAX"/>
  71. <Cell col="23" text="HP"/>
  72. <Cell col="24" text="TEL"/>
  73. <Cell col="25" text="금액"/>
  74. <Cell col="26" text="참고사항"/>
  75. </Band>
  76. <Band id="body">
  77. <Cell celltype="head"/>
  78. <Cell col="1" displaytype="checkbox" edittype="checkbox" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:select" expr="expr:select == 'Y' || select == '1' ? 1 : 0"/>
  79. <Cell col="2" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:cont_type"/>
  80. <Cell col="3" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:conflagnm"/>
  81. <Cell col="4" displaytype="date" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:purccondd" calendardisplaynulltype="nulltext"/>
  82. <Cell col="5" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:purcconno"/>
  83. <Cell col="6" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:suplplcecd"/>
  84. <Cell col="7" style="align:left top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);" text="bind:suppcustnm" wordwrap="word"/>
  85. <Cell col="8" style="align:left top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);" text="bind:goodcntnm" wordwrap="word" tooltiptext="bind:goodcntnm"/>
  86. <Cell col="9" displaytype="number" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:totconamt"/>
  87. <Cell col="10" style="align:center middle;background:BIND(colBack);background2:BIND(colBack);" text="bind:entrregno" mask="expr:utlf_isNull(entrregno) ? '' : '###-##-#####'" maskchar=" "/>
  88. <Cell col="11" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:issueyn"/>
  89. <Cell col="12" displaytype="number" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:ttaxamt"/>
  90. <Cell col="13" displaytype="number" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:ttaxamt2"/>
  91. <Cell col="14" displaytype="number" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:sumamt3"/>
  92. <Cell col="15" style="padding:2 2 2 2;background:BIND(colBack);background2:BIND(colBack);" text="bind:acntcd"/>
  93. <Cell col="16" style="align:center top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);" text="bind:acntnm" wordwrap="word" tooltiptext="bind:acntnm"/>
  94. <Cell col="17" displaytype="date" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:purcchkdd" calendardisplaynulltype="nulltext"/>
  95. <Cell col="18" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:purcchkno"/>
  96. <Cell col="19" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:n1"/>
  97. <Cell col="20" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:n2"/>
  98. <Cell col="21" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:n3"/>
  99. <Cell col="22" style="align:center top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);" text="bind:faxno" wordwrap="word"/>
  100. <Cell col="23" displaytype="text" edittype="text" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:taxhp"/>
  101. <Cell col="24" style="align:center top;padding:4 2 2 2;background:BIND(colBack);background2:BIND(colBack);" text="bind:cntctel" wordwrap="word"/>
  102. <Cell col="25" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:tamt"/>
  103. <Cell col="26" displaytype="text" edittype="text" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:cmt"/>
  104. </Band>
  105. </Format>
  106. </Formats>
  107. </Grid>
  108. <Div id="grp_sea" taborder="25" position="absolute 0 0 1195 60" class="div_SA2" anchor="left top right">
  109. <Layouts>
  110. <Layout>
  111. <Static id="caption2" text="계정과목 :" class="search_name" position="absolute 547 8 633 25" anchor="default"/>
  112. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1034 7 1040 29" anchor="default"/>
  113. <Calendar id="ipt_srchbasedd" taborder="9" class="input_default" position="absolute 104 7 191 26" mask="yyyy-mm" anchor="default" autoselect="true" autoskip="true" onchanged="switch1_case_compare_grp_sea_ipt_srchbasedd_onchanged" dateformat="yyyy-MM" value="null" editformat="yyyy-MM"/>
  114. <Static id="caption1" text="기준일자 :" class="search_name" position="absolute 19 9 109 26" anchor="default"/>
  115. <Button id="btn_regnohelp" taborder="10" class="icon_search" position="absolute 360 37 376 53" anchor="default" onclick="switch1_case_compare_grp_sea_btn_regnohelp_onclick"/>
  116. <Edit id="ipt_suppcustnm" taborder="11" position="absolute 378 35 497 54" anchor="default" class="output" style="background:URL('theme://images/bg_edit_R.png') stretch 5,5;" readonly="true"/>
  117. <Edit id="ipt_suppcustcd" taborder="12" class="input" position="absolute 303 35 357 54" anchor="default" autoselect="true" onkeydown="switch1_case_compare_grp_sea_ipt_suppcustcd_onkeydown"/>
  118. <Static id="caption5" text="거래처 :" class="search_name" position="absolute 231 36 321 53" anchor="default" enable="true"/>
  119. <Edit id="ipt_srchwinacnt" taborder="13" class="input" position="absolute 631 7 711 26" anchor="default" enable="true" autoselect="true" autoskip="true"/>
  120. <Edit id="opt_srchwinacntnm" taborder="14" readonly="true" position="absolute 734 7 849 26" anchor="default" class="output"/>
  121. <Button id="btn_srchwinacnt" taborder="15" class="icon_search" position="absolute 714 9 730 25" anchor="default" onclick="switch1_case_compare_grp_sea_btn_srchwinacnt_onclick"/>
  122. <Button id="btn_save" taborder="17" text="저장" class="btn4" position="absolute 1123 7 1179 29" anchor="default" onclick="switch1_case_compare_grp_sea_btn_save_onclick"/>
  123. <Button id="btn_sea" taborder="18" text="조회" class="btn1" position="absolute 1052 7 1108 29" anchor="default" onclick="switch1_case_compare_grp_sea_btn_sea_onclick"/>
  124. <Calendar id="ipt_srchchktodd" taborder="19" class="combo_default" position="absolute 428 7 531 26" anchor="default" enable="true" autoselect="true" autoskip="true"/>
  125. <Static id="caption42" text="~" position="absolute 413 8 428 28" anchor="default"/>
  126. <Calendar id="ipt_srchchkfrdd" taborder="20" class="combo_default" position="absolute 307 7 410 26" anchor="default" enable="true" autoselect="true" autoskip="true"/>
  127. <Static id="caption14" text="검수일자 :" class="search_name" position="absolute 230 5 315 30" anchor="default"/>
  128. <Combo id="cmb_instcd" taborder="21" innerdataset="ds_init_cmb_instcd" codecolumn="cdid" datacolumn="cdnm" class="combo_default" visible="false" position="absolute 192 6 212 25" anchor="default"/>
  129. <Static id="caption12" text="구 분 :" class="search_name" position="absolute 20 37 110 54"/>
  130. <Combo id="cmb_conflagnm" taborder="22" position="absolute 105 35 206 54" codecolumn="codecolumn" datacolumn="datacolumn" index="-1">
  131. <Dataset id="innerdataset">
  132. <ColumnInfo>
  133. <Column id="codecolumn" size="256"/>
  134. <Column id="datacolumn" size="256"/>
  135. </ColumnInfo>
  136. <Rows>
  137. <Row>
  138. <Col id="codecolumn"/>
  139. <Col id="datacolumn">전체</Col>
  140. </Row>
  141. <Row>
  142. <Col id="codecolumn">단가</Col>
  143. <Col id="datacolumn">단가</Col>
  144. </Row>
  145. <Row>
  146. <Col id="codecolumn">수의</Col>
  147. <Col id="datacolumn">수의</Col>
  148. </Row>
  149. </Rows>
  150. </Dataset>
  151. </Combo>
  152. </Layout>
  153. </Layouts>
  154. </Div>
  155. <Button id="button5" taborder="26" text="Excel 저장" class="btn5" position="absolute 1120 71 1195 91" onclick="switch1_case_compare_button5_onclick"/>
  156. <Button id="btn_prta" taborder="28" text="출력" class="btn6" position="absolute 1063 71 1119 91" onclick="switch1_case_compare_btn_prta_onclick"/>
  157. <Button id="button7" taborder="29" text="거래처저장" class="btn2" visible="false" position="absolute 615 72 698 91" onclick="switch1_case_compare_button7_onclick"/>
  158. <CheckBox id="bol_selectall" taborder="30" visible="false" position="absolute 24 97 44 115" onclick="switch1_case_compare_bol_selectall_onclick" truevalue="true" falsevalue="false"/>
  159. <Static id="caption3" position="absolute 848 71 1058 89" style="color:#0000ffff;align:right middle;font:돋움체,10,bold;"/>
  160. </Layout>
  161. </Layouts>
  162. </Tabpage>
  163. <Tabpage id="case_upload" text="업 로 드">
  164. <Layouts>
  165. <Layout>
  166. <Static id="caption7" text="국세청 세금계산서 내역 업로드" class="tit_2" position="absolute 0 55 215 78"/>
  167. <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 0 71 1195 77" anchor="left top right"/>
  168. <Static id="caption4" position="absolute 802 48 942 66" style="color:#0000ffff;font:돋움체,10,bold;"/>
  169. <Grid id="grd_upperlimitupload" taborder="22" binddataset="ds_main_upperlimitlst_upperlimitinfo" useinputpanel="false" position="absolute 0 76 1195 721" autoenter="select" cellsizingtype="col" anchor="all" oncellclick="switch1_case_upload_grd_upperlimitupload_oncellclick" selecttype="multirow" onlbuttonup="switch1_case_upload_grd_upperlimitupload_onlbuttonup" tooltiptype="hover">
  170. <Formats>
  171. <Format id="default">
  172. <Columns>
  173. <Column size="21" band="left"/>
  174. <Column size="50"/>
  175. <Column size="60"/>
  176. <Column size="80"/>
  177. <Column size="180"/>
  178. <Column size="80"/>
  179. <Column size="80"/>
  180. <Column size="110"/>
  181. <Column size="150"/>
  182. <Column size="60"/>
  183. <Column size="150"/>
  184. <Column size="80"/>
  185. <Column size="80"/>
  186. <Column size="80"/>
  187. <Column size="80"/>
  188. <Column size="100"/>
  189. <Column size="80"/>
  190. <Column size="100"/>
  191. <Column size="150"/>
  192. <Column size="150"/>
  193. <Column size="150"/>
  194. <Column size="150"/>
  195. <Column size="100"/>
  196. <Column size="60"/>
  197. <Column size="80"/>
  198. <Column size="120"/>
  199. <Column size="80"/>
  200. </Columns>
  201. <Rows>
  202. <Row size="24" band="head"/>
  203. <Row size="24"/>
  204. </Rows>
  205. <Band id="head">
  206. <Cell/>
  207. <Cell col="1" text="구분"/>
  208. <Cell col="2" text="기준일자"/>
  209. <Cell col="3" text="(A)작성일자"/>
  210. <Cell col="4" text="(B)승인번호"/>
  211. <Cell col="5" text="(C)발급일자"/>
  212. <Cell col="6" text="(D)전송일자"/>
  213. <Cell col="7" text="(E)사업자등록번호"/>
  214. <Cell col="8" text="(G)상호"/>
  215. <Cell col="9" text="(H)대표자"/>
  216. <Cell col="10" text="(I)주소"/>
  217. <Cell col="11" text="(K)종사업자"/>
  218. <Cell col="12" text="(O)합계금액"/>
  219. <Cell col="13" text="(P)공급가액"/>
  220. <Cell col="14" text="(Q)세액"/>
  221. <Cell col="15" text="(R)분류"/>
  222. <Cell col="16" text="(S)종류"/>
  223. <Cell col="17" text="(T)발급유형"/>
  224. <Cell col="18" text="(U)비고"/>
  225. <Cell col="19" text="(W)공급자이메일"/>
  226. <Cell col="20" text="(X)공급받는자이메일"/>
  227. <Cell col="21" text="(AA)품목명"/>
  228. <Cell col="22" text="(AB)규격"/>
  229. <Cell col="23" text="(AC)수량"/>
  230. <Cell col="24" text="(AD)단가"/>
  231. <Cell col="25" text="최종 업로드 시간"/>
  232. <Cell col="26" text="최종 입력자"/>
  233. </Band>
  234. <Band id="body">
  235. <Cell celltype="head"/>
  236. <Cell col="1" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:flag"/>
  237. <Cell col="2" displaytype="date" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:basedd" mask="yyyy-MM" calendardisplaynulltype="nulltext"/>
  238. <Cell col="3" displaytype="date" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:acptdd" calendardisplaynulltype="nulltext"/>
  239. <Cell col="4" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:appno"/>
  240. <Cell col="5" displaytype="date" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:issuedd" calendardisplaynulltype="nulltext"/>
  241. <Cell col="6" displaytype="date" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:senddd" calendardisplaynulltype="nulltext"/>
  242. <Cell col="7" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:entrregno" mask="expr:utlf_isNull(entrregno) ? '' : '###-##-#####'" maskchar=" "/>
  243. <Cell col="8" style="align:left top;padding:5 2 1 2;background:BIND(colBack);background2:BIND(colBack);" text="bind:cmpynm" wordwrap="word" tooltiptext="bind:cmpynm"/>
  244. <Cell col="9" style="align:left;background:BIND(colBack);background2:BIND(colBack);" text="bind:prsdnm"/>
  245. <Cell col="10" style="align:left top;padding:5 2 1 2;background:BIND(colBack);background2:BIND(colBack);" text="bind:addr" wordwrap="word" tooltiptext="bind:addr"/>
  246. <Cell col="11" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:mnrplcno"/>
  247. <Cell col="12" displaytype="number" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:totamt"/>
  248. <Cell col="13" displaytype="number" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:samt"/>
  249. <Cell col="14" displaytype="number" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:amount"/>
  250. <Cell col="15" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:taxgubun"/>
  251. <Cell col="16" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:taxkind"/>
  252. <Cell col="17" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:issuetype"/>
  253. <Cell col="18" style="align:left top;padding:5 2 1 2;background:BIND(colBack);background2:BIND(colBack);" text="bind:remark" wordwrap="word" tooltiptext="bind:remark"/>
  254. <Cell col="19" style="align:top;padding:5 2 1 2;background:BIND(colBack);background2:BIND(colBack);" text="bind:semail" wordwrap="word"/>
  255. <Cell col="20" style="align:top;padding:5 2 1 2;background:BIND(colBack);background2:BIND(colBack);" text="bind:demail" wordwrap="word"/>
  256. <Cell col="21" style="align:left top;padding:5 2 1 2;background:BIND(colBack);background2:BIND(colBack);" text="bind:goodcntnm" wordwrap="word" tooltiptext="bind:goodcntnm"/>
  257. <Cell col="22" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:goodspec"/>
  258. <Cell col="23" displaytype="number" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:qty"/>
  259. <Cell col="24" displaytype="number" style="background:BIND(colBack);background2:BIND(colBack);" text="bind:unitcost"/>
  260. <Cell col="25" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
  261. <Cell col="26" text="bind:lastupdtrid"/>
  262. </Band>
  263. </Format>
  264. </Formats>
  265. </Grid>
  266. <Button id="button1" taborder="23" text="업로드" class="btn5" position="absolute 1142 52 1195 71" anchor="top right" onclick="switch1_case_upload_button1_onclick"/>
  267. <Div id="group1" taborder="24" position="absolute 0 2 1195 42" class="div_SA2" anchor="left top right">
  268. <Layouts>
  269. <Layout>
  270. <Shape id="line1" linetype="vertical" class="line_4" position="absolute 1049 10 1055 32" anchor="top right"/>
  271. <Button id="btn_search" taborder="5" text="조회" class="btn1" position="absolute 1061 9 1117 31" anchor="top right" onclick="switch1_case_upload_group1_btn_search_onclick"/>
  272. <Static id="caption8" text="기준일자 :" class="search_name" position="absolute 19 11 109 28" anchor="default"/>
  273. <Calendar id="ipt_ubasedd" taborder="7" class="input_default" position="absolute 104 10 204 29" mask="yyyy-mm" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM" value="null" editformat="yyyy-MM"/>
  274. <Static id="caption9" text="거래처명 :" class="search_name" position="absolute 235 11 325 28" anchor="default"/>
  275. <Edit id="ipt_custnm" taborder="8" class="input" position="absolute 322 10 500 29" anchor="default" autoselect="true" autoskip="true"/>
  276. <MaskEdit id="ipt_uentrregno" taborder="9" mask="###-##-#####" class="input" position="absolute 661 10 839 29" anchor="default" autoselect="true" autoskip="true" maskchar=" " trimtype="both" type="string" displaynulltext=" " style="align:left middle;"/>
  277. <Static id="caption10" text="사업자 등록번호 :" class="search_name" position="absolute 534 11 658 28" anchor="default"/>
  278. <Button id="button3" taborder="10" text="저장" class="btn4" position="absolute 1123 8 1179 30" onclick="switch1_case_upload_group1_button3_onclick"/>
  279. </Layout>
  280. </Layouts>
  281. </Div>
  282. <Button id="button4" taborder="25" text="전체삭제" class="btn5" position="absolute 1073 52 1137 71" anchor="top right" onclick="switch1_case_upload_button4_onclick"/>
  283. <Button id="btn_upchk" taborder="26" text="검증" class="btn2" position="absolute 948 52 990 71" anchor="top right" onclick="switch1_case_upload_btn_upchk_onclick"/>
  284. <Static id="caption11" text="※ 기준일자(YYYYMM)" position="absolute 215 56 345 71" style="background:#ffcc66ff;"/>
  285. <Button id="button8" taborder="27" text="Excel 저장" class="btn5" position="absolute 994 52 1069 71" anchor="top right" onclick="switch1_case_upload_button8_onclick"/>
  286. </Layout>
  287. </Layouts>
  288. </Tabpage>
  289. </Tabpages>
  290. </Tab>
  291. </Layout>
  292. </Layouts>
  293. <Objects>
  294. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_oncolumnchanged">
  295. <ColumnInfo>
  296. <Column id="srchbasedd" type="STRING" size="256"/>
  297. <Column id="srchgoodcd" type="STRING" size="256"/>
  298. <Column id="srchchkfrdd" type="STRING" size="256"/>
  299. <Column id="srchchktodd" type="STRING" size="256"/>
  300. <Column id="srchwinacnt" type="STRING" size="256"/>
  301. <Column id="srchwinacntnm" type="STRING" size="256"/>
  302. <Column id="suppcustcd" type="STRING" size="256"/>
  303. <Column id="suppcustnm" type="STRING" size="256"/>
  304. <Column id="ugoodcd" type="STRING" size="256"/>
  305. <Column id="uwinacnt" type="STRING" size="256"/>
  306. <Column id="uwinacntnm" type="STRING" size="256"/>
  307. <Column id="ubasedd" type="STRING" size="256"/>
  308. <Column id="ucustnm" type="STRING" size="256"/>
  309. <Column id="uentrregno" type="STRING" size="256"/>
  310. <Column id="umaincustlastsuplplce" type="STRING" size="256"/>
  311. <Column id="umaincustlastsuplplcenm" type="STRING" size="256"/>
  312. <Column id="sdata" type="STRING" size="256"/>
  313. <Column id="refcond" type="STRING" size="256"/>
  314. <Column id="retrnm" type="STRING" size="256"/>
  315. <Column id="custstat" type="STRING" size="256"/>
  316. <Column id="list" type="STRING" size="256"/>
  317. <Column id="instcd" type="STRING" size="256"/>
  318. <Column id="ufromdd" type="STRING" size="256"/>
  319. <Column id="utodd" type="STRING" size="256"/>
  320. <Column id="srchfromdd" type="STRING" size="256"/>
  321. <Column id="srchtodd" type="STRING" size="256"/>
  322. <Column id="selectyn" type="STRING" size="256"/>
  323. <Column id="purccnsttndd" type="STRING" size="256"/>
  324. <Column id="purccnsttnno" type="STRING" size="256"/>
  325. <Column id="purccondd" type="STRING" size="256"/>
  326. <Column id="purcconno" type="STRING" size="256"/>
  327. <Column id="acptdd" type="STRING" size="256"/>
  328. <Column id="entrregno" type="STRING" size="256"/>
  329. <Column id="totamt" type="STRING" size="256"/>
  330. <Column id="conflagnm" type="STRING" size="256"/>
  331. </ColumnInfo>
  332. <Rows>
  333. <Row>
  334. <Col id="srchbasedd"/>
  335. <Col id="srchgoodcd"/>
  336. <Col id="srchchkfrdd"/>
  337. <Col id="srchchktodd"/>
  338. <Col id="srchwinacnt"/>
  339. <Col id="srchwinacntnm"/>
  340. <Col id="suppcustcd"/>
  341. <Col id="suppcustnm"/>
  342. <Col id="ugoodcd"/>
  343. <Col id="uwinacnt"/>
  344. <Col id="uwinacntnm"/>
  345. <Col id="ubasedd"/>
  346. <Col id="ucustnm"/>
  347. <Col id="uentrregno"/>
  348. <Col id="umaincustlastsuplplce"/>
  349. <Col id="umaincustlastsuplplcenm"/>
  350. <Col id="sdata"/>
  351. <Col id="refcond"/>
  352. <Col id="retrnm"/>
  353. <Col id="custstat"/>
  354. <Col id="list"/>
  355. <Col id="instcd"/>
  356. <Col id="ufromdd"/>
  357. <Col id="utodd"/>
  358. <Col id="srchfromdd"/>
  359. <Col id="srchtodd"/>
  360. <Col id="selectyn"/>
  361. <Col id="purccnsttndd"/>
  362. <Col id="purccnsttnno"/>
  363. <Col id="purccondd"/>
  364. <Col id="purcconno"/>
  365. <Col id="acptdd"/>
  366. <Col id="entrregno"/>
  367. <Col id="totamt"/>
  368. <Col id="conflagnm"/>
  369. </Row>
  370. </Rows>
  371. </Dataset>
  372. <Dataset id="ds_main_cmprlst_cmprinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_cmprlst_cmprinfo_oncolumnchanged">
  373. <ColumnInfo>
  374. <Column id="select" type="STRING" size="256" sumtext="선택"/>
  375. <Column id="basedd" type="STRING" size="256" sumtext="기준일자"/>
  376. <Column id="cont_type" type="STRING" size="256" sumtext="유형"/>
  377. <Column id="conflagnm" type="STRING" size="256" sumtext="계약방법"/>
  378. <Column id="purccondd" type="STRING" size="256" sumtext="계약일자"/>
  379. <Column id="purcconno" type="STRING" size="256" sumtext="계약seq"/>
  380. <Column id="goodcntnm" type="STRING" size="256" sumtext="계약건명"/>
  381. <Column id="totconamt" type="STRING" size="256" sumtext="계약금액"/>
  382. <Column id="suplplcecd" type="STRING" size="256" sumtext="거래처코드"/>
  383. <Column id="suppcustnm" type="STRING" size="256" sumtext="거래처명"/>
  384. <Column id="acntcd" type="STRING" size="256" sumtext="계정코드"/>
  385. <Column id="acntnm" type="STRING" size="256" sumtext="계정명"/>
  386. <Column id="entrregno" type="STRING" size="256" sumtext="사업자등록번호"/>
  387. <Column id="purcchkdd" type="STRING" size="256" sumtext="검수일자"/>
  388. <Column id="purcchkno" type="STRING" size="256" sumtext="검수seq"/>
  389. <Column id="ttaxamt" type="STRING" size="256" sumtext="세금계산서"/>
  390. <Column id="ttaxamt2" type="STRING" size="256" sumtext="미용"/>
  391. <Column id="sumamt3" type="STRING" size="256" sumtext="계산서"/>
  392. <Column id="n1" type="STRING" size="256" sumtext="(국)세금계산서"/>
  393. <Column id="n2" type="STRING" size="256" sumtext="(국)미용"/>
  394. <Column id="n3" type="STRING" size="256" sumtext="(국)계산서"/>
  395. <Column id="issueyn" type="STRING" size="256" sumtext="발행완료"/>
  396. <Column id="faxno" type="STRING" size="256" sumtext="fax"/>
  397. <Column id="taxhp" type="STRING" size="256" sumtext="세금계산서담당자"/>
  398. <Column id="cntctel" type="STRING" size="256" sumtext="사무실번호"/>
  399. <Column id="tamt" type="STRING" size="256" sumtext="금액"/>
  400. <Column id="cmt" type="STRING" size="256" sumtext="참고사항"/>
  401. <Column id="purccnsttndd" type="STRING" size="256" sumtext="품의일자"/>
  402. <Column id="purccnsttnno" type="STRING" size="256" sumtext="품의seq"/>
  403. <Column id="colBack" type="STRING" size="256"/>
  404. </ColumnInfo>
  405. </Dataset>
  406. <Dataset id="ds_main_upperlimitlst_upperlimitinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  407. <ColumnInfo>
  408. <Column id="flag" type="STRING" size="256" sumtext="구분"/>
  409. <Column id="basedd" type="STRING" size="256" sumtext="기준일자"/>
  410. <Column id="acptdd" type="STRING" size="256" sumtext="작성일자(검수일자)"/>
  411. <Column id="appno" type="STRING" size="256" sumtext="승인번호"/>
  412. <Column id="issuedd" type="STRING" size="256" sumtext="발급일자"/>
  413. <Column id="senddd" type="STRING" size="256" sumtext="전송일자"/>
  414. <Column id="entrregno" type="STRING" size="256" sumtext="사업자등록번호"/>
  415. <Column id="cmpynm" type="STRING" size="256" sumtext="상호"/>
  416. <Column id="prsdnm" type="STRING" size="256" sumtext="대표자"/>
  417. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  418. <Column id="mnrplcno" type="STRING" size="256" sumtext="종사업자번호"/>
  419. <Column id="totamt" type="STRING" size="256" sumtext="합계금액"/>
  420. <Column id="samt" type="STRING" size="256" sumtext="공급가액"/>
  421. <Column id="amount" type="STRING" size="256" sumtext="세액"/>
  422. <Column id="taxgubun" type="STRING" size="256" sumtext="전자세금계산서 분류"/>
  423. <Column id="taxkind" type="STRING" size="256" sumtext="전자세금계산서 종류"/>
  424. <Column id="issuetype" type="STRING" size="256" sumtext="발급유형"/>
  425. <Column id="remark" type="STRING" size="256" sumtext="비고"/>
  426. <Column id="semail" type="STRING" size="256" sumtext="공급자이메일"/>
  427. <Column id="demail" type="STRING" size="256" sumtext="공급받는자 이메일"/>
  428. <Column id="goodcntnm" type="STRING" size="256" sumtext="품목명"/>
  429. <Column id="goodspec" type="STRING" size="256" sumtext="품목규격"/>
  430. <Column id="qty" type="STRING" size="256" sumtext="품목수량"/>
  431. <Column id="unitcost" type="STRING" size="256" sumtext="품목단가"/>
  432. <Column id="colBack" type="STRING" size="256"/>
  433. </ColumnInfo>
  434. </Dataset>
  435. <Dataset id="ds_prtinfo_cmprlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  436. <ColumnInfo>
  437. <Column id="appno" type="STRING" size="256" sumtext="승인번호"/>
  438. <Column id="entrregno" type="STRING" size="256" sumtext="사업장등록번호"/>
  439. <Column id="cmpynm" type="STRING" size="256" sumtext="상호"/>
  440. <Column id="prsdnm" type="STRING" size="256" sumtext="대표"/>
  441. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  442. <Column id="semail" type="STRING" size="256" sumtext="공급자 e-mail"/>
  443. <Column id="mnrplcno" type="STRING" size="256" sumtext="종사업장번호"/>
  444. <Column id="acptdd" type="STRING" size="256" sumtext="작성일자"/>
  445. <Column id="samt" type="STRING" size="256" sumtext="공급가액"/>
  446. <Column id="amount" type="STRING" size="256" sumtext="세액"/>
  447. <Column id="totamt" type="STRING" size="256" sumtext="합계금액"/>
  448. <Column id="remark" type="STRING" size="256" sumtext="비고"/>
  449. <Column id="goodcntnm" type="STRING" size="256" sumtext="품목"/>
  450. <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
  451. <Column id="qty" type="STRING" size="256" sumtext="수량"/>
  452. <Column id="unitcost" type="STRING" size="256" sumtext="단가"/>
  453. <Column id="bizcont" type="STRING" size="256" sumtext="업태"/>
  454. <Column id="item" type="STRING" size="256" sumtext="종목"/>
  455. <Column id="taxgubun" type="STRING" size="256" sumtext="분류"/>
  456. </ColumnInfo>
  457. </Dataset>
  458. <Dataset id="ds_copynode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  459. </Objects>
  460. <Bind>
  461. <BindItem id="item0" compid="switch1.case_compare.grp_sea.ipt_srchbasedd" propid="value" datasetid="ds_send" columnid="srchbasedd"/>
  462. <BindItem id="item1" compid="switch1.case_compare.grp_sea.ipt_srchchkfrdd" propid="value" datasetid="ds_send" columnid="srchchkfrdd"/>
  463. <BindItem id="item2" compid="switch1.case_compare.grp_sea.ipt_srchchktodd" propid="value" datasetid="ds_send" columnid="srchchktodd"/>
  464. <BindItem id="item3" compid="switch1.case_compare.grp_sea.ipt_srchwinacnt" propid="value" datasetid="ds_send" columnid="srchwinacnt"/>
  465. <BindItem id="item4" compid="switch1.case_compare.grp_sea.opt_srchwinacntnm" propid="value" datasetid="ds_send" columnid="srchwinacntnm"/>
  466. <BindItem id="item5" compid="switch1.case_compare.grp_sea.cmb_conflagnm" propid="value" datasetid="ds_send" columnid="conflagnm"/>
  467. <BindItem id="item6" compid="switch1.case_compare.grp_sea.ipt_suppcustcd" propid="value" datasetid="ds_send" columnid="suppcustcd"/>
  468. <BindItem id="item7" compid="switch1.case_compare.grp_sea.ipt_suppcustnm" propid="value" datasetid="ds_send" columnid="suppcustnm"/>
  469. <BindItem id="item8" compid="switch1.case_upload.group1.ipt_ubasedd" propid="value" datasetid="ds_send" columnid="ubasedd"/>
  470. <BindItem id="item9" compid="switch1.case_upload.group1.ipt_custnm" propid="value" datasetid="ds_send" columnid="ucustnm"/>
  471. <BindItem id="item10" compid="switch1.case_upload.group1.ipt_uentrregno" propid="value" datasetid="ds_send" columnid="uentrregno"/>
  472. <BindItem id="item11" compid="switch1.case_compare.grp_sea.cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
  473. </Bind>
  474. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  475. * System Name :
  476. * Job Name :
  477. * Creator :
  478. * Make Date : 2017-06-19
  479. * Description :
  480. *---------------------------------------------------------------------------------------
  481. * Modify Date Modifier Modify Description
  482. *---------------------------------------------------------------------------------------
  483. * 2017-06-19 Live Converter TF->XP
  484. *
  485. *---------------------------------------------------------------------------------------
  486. ****************************************************************************************/
  487. include "com_commonxp::comm_main.xjs";
  488. include "mis_miscommonxp::MIS.xjs";
  489. include "mis_miscommonxp::RSZ001.xjs";
  490. function SMRSC08400_oninit(obj:Form, e:InitEventInfo)
  491. {
  492. frmf_initForm(obj);
  493. }
  494. function SMRSC08400_onload(obj:Form, e:LoadEventInfo)
  495. {
  496. grdf_initGrid(switch1.case_compare.grd_keumcomparelst);
  497. grdf_setRowTypeIcon(switch1.case_compare.grd_keumcomparelst, 0);
  498. grdf_initGrid(switch1.case_upload.grd_upperlimitupload);
  499. grdf_setRowTypeIcon(switch1.case_upload.grd_upperlimitupload, 0);
  500. fGetScreenInit();
  501. var gDutplceinstcd = sysf_getUserInfo("dutplceinstcd");
  502. ds_send.setColumn(0, "instcd", gDutplceinstcd);
  503. }
  504. function fGetScreenInit()
  505. {
  506. misfGridInit(switch1.case_upload.grd_upperlimitupload);
  507. misfGridInit(switch1.case_compare.grd_keumcomparelst);
  508. ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  509. var curdate = utlf_getCurrentDate();
  510. var cvtdate = curdate.toDate("YYYYMMDD");
  511. ds_send.setColumn(0, "srchbasedd", String(utlf_getCurrentDate()).substr(0,6));
  512. var basedd = ds_send.getColumn(0, "srchbasedd");
  513. ds_send.setColumn(0, "srchchkfrdd", basedd + "01");
  514. var dt = new Date(String(utlf_getCurrentDate()).substr(0, 4), String(utlf_getCurrentDate()).substr(4, 2), 0);
  515. switch1.case_compare.grp_sea.ipt_srchchktodd.value = String(utlf_getCurrentDate()).substr(0,6)+dt.getDate();
  516. var srchbasedd = ds_send.getColumn(0, "srchbasedd");
  517. ds_send.setColumn(0, "ubasedd", String(utlf_getCurrentDate()).substr(0,6));
  518. switch1.tabindex = 0;
  519. switch1.case_compare.grp_sea.cmb_conflagnm.index = 1;
  520. }
  521. function switch1_case_compare_grp_sea_ipt_srchbasedd_onchanged(obj:Calendar, e:ChangeEventInfo)
  522. {
  523. var basedd = String(obj.value).substr(0,6);
  524. ds_send.setColumn(0, "srchbasedd", basedd);
  525. var cvtdate = String(basedd).toDate("YYYYMM");
  526. ds_send.setColumn(0, "srchchkfrdd", basedd + "01");
  527. var tobasedd = cvtdate.getAddDate(1,"M").getDateFormat("YYYYMM");
  528. var dt = new Date(String(basedd).substr(0, 4), String(basedd).substr(4, 2), 0);
  529. ds_send.setColumn(0, "srchchktodd", String(basedd).substr(0,6) + dt.getDate());
  530. }
  531. function ds_send_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  532. {
  533. if( e.columnid == "ubasedd" ){
  534. obj.setColumn(e.row, e.columnid, (e.newvalue).substr(0, 6));
  535. }
  536. if(e.columnid == "srchwinacnt")
  537. {
  538. switch1.case_compare.grp_sea.ipt_srchwinacnt.value = e.newvalue;
  539. switch1.case_compare.grp_sea.ipt_srchwinacnt.setFocus();
  540. if(utlf_isNull(e.newvalue))
  541. {
  542. switch1.case_compare.grp_sea.opt_srchwinacntnm.value = "";
  543. }
  544. else
  545. {
  546. rszfValidationCheck("TRRAC00111", "acntlist", "acntflag,useyn,jobgb,srhtxt","1,,," + e.newvalue ,"","winacnt,winacntnm" ,switch1.case_compare.grp_sea.ipt_srchwinacnt,"PPRAC00100","","");
  547. }
  548. }
  549. if(e.columnid == "suppcustcd")
  550. {
  551. var objFocus = this.getFocus();
  552. switch1.case_compare.grp_sea.ipt_suppcustcd.setFocus();
  553. misfSearchCust(switch1.case_compare.grp_sea.ipt_suppcustnm,switch1.case_compare.grp_sea.cmb_instcd, "", ds_send.getColumn(0, "suppcustcd"));
  554. objFocus.setFocus();
  555. }
  556. }
  557. function switch1_case_compare_grp_sea_btn_srchwinacnt_onclick(obj:Button, e:ClickEventInfo)
  558. {
  559. rszfOpenPopUpListByWndName(switch1.case_compare.grp_sea.ipt_srchwinacnt,"","srchwinacnt,srchwinacntnm","PPRAC00100","","");
  560. }
  561. function switch1_case_compare_grp_sea_btn_regnohelp_onclick(obj:Button, e:ClickEventInfo)
  562. {
  563. var sinstcd = ds_send.getColumn(0, "instcd");
  564. rszfOpenPopUpListByWndName(switch1.case_compare.grp_sea.ipt_suppcustcd,"","suppcustcd,suppcustnm","SPRSD00220","instcd",sinstcd);
  565. }
  566. function switch1_case_compare_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  567. {
  568. var oParam = {};
  569. oParam.id = "TRRSC08404";
  570. oParam.service = "purcbaseapp.PurcBaseMngt";
  571. oParam.method = "reqGetTaxCmprLst";
  572. oParam.inds = "req=ds_send";
  573. oParam.outds = "ds_main_cmprlst_cmprinfo=cmprinfo";
  574. oParam.async = false;
  575. oParam.callback = "cf_TRRSC08404";
  576. tranf_submit(oParam);
  577. ds_main_cmprlst_cmprinfo.addColumn("colBack", "string");
  578. if( utlf_isNull(ds_main_cmprlst_cmprinfo.getColumnInfo("select")) ){
  579. ds_main_cmprlst_cmprinfo.addColumn("select", "string");
  580. }
  581. ds_main_cmprlst_cmprinfo.enableevent = false;
  582. ds_main_cmprlst_cmprinfo.updatecontrol = false;
  583. for(var i = 0; i < ds_main_cmprlst_cmprinfo.rowcount; i++)
  584. {
  585. var n1 = ds_main_cmprlst_cmprinfo.getColumn(i, "n1");
  586. var n2 = ds_main_cmprlst_cmprinfo.getColumn(i, "n2");
  587. var n3 = ds_main_cmprlst_cmprinfo.getColumn(i, "n3");
  588. var ttaxamt = ds_main_cmprlst_cmprinfo.getColumn(i, "ttaxamt");
  589. var ttaxamt2 = ds_main_cmprlst_cmprinfo.getColumn(i, "ttaxamt2");
  590. var sumamt3 = ds_main_cmprlst_cmprinfo.getColumn(i, "sumamt3");
  591. if(utlf_isNull(n1) && utlf_isNull(n2) && utlf_isNull(n3))
  592. {
  593. ds_main_cmprlst_cmprinfo.setColumn(i, "colBack", "#FFFFCC");
  594. //misfSetGridColor(switch1.case_compare.grd_keumcomparelst, "ALL", "#FFFFCC", "B", i);
  595. }
  596. else
  597. {
  598. if((n1 == "Y" && !utlf_isNull(ttaxamt)) &&(utlf_isNull(n2) && ttaxamt2 == "0" ) &&(utlf_isNull(n3) && sumamt3 == "0"))
  599. {
  600. ds_main_cmprlst_cmprinfo.setColumn(i, "colBack", "white");
  601. //misfSetGridColor(switch1.case_compare.grd_keumcomparelst, "all", "white", "B", i);
  602. ds_main_cmprlst_cmprinfo.setColumn(i, "issueyn", "★");
  603. }
  604. else if((utlf_isNull(n1) && ttaxamt == "0") &&(n2 == "Y" && !utlf_isNull(ttaxamt2)) &&(utlf_isNull(n3) && sumamt3 == "0" ))
  605. {
  606. ds_main_cmprlst_cmprinfo.setColumn(i, "colBack", "white");
  607. //misfSetGridColor(switch1.case_compare.grd_keumcomparelst, "all", "white", "B", i);
  608. ds_main_cmprlst_cmprinfo.setColumn(i, "issueyn", "★");
  609. }
  610. else if((utlf_isNull(n1) && ttaxamt == "0") &&(utlf_isNull(n2) && ttaxamt2 == "0" ) &&(n3 == "Y"&& !utlf_isNull(sumamt3)))
  611. {
  612. ds_main_cmprlst_cmprinfo.setColumn(i, "colBack", "white");
  613. //misfSetGridColor(switch1.case_compare.grd_keumcomparelst, "all", "white", "B", i);
  614. ds_main_cmprlst_cmprinfo.setColumn(i, "issueyn", "★");
  615. }
  616. else if((n1 == "Y" && !utlf_isNull(ttaxamt))&&(n2 == "Y" && !utlf_isNull(ttaxamt2))&&(utlf_isNull(n3) && sumamt3 == "0" ))
  617. {
  618. ds_main_cmprlst_cmprinfo.setColumn(i, "colBack", "white");
  619. //misfSetGridColor(switch1.case_compare.grd_keumcomparelst, "all", "white", "B", i);
  620. ds_main_cmprlst_cmprinfo.setColumn(i, "issueyn", "★");
  621. }
  622. else if((n1 == "Y" && !utlf_isNull(ttaxamt)) &&(utlf_isNull(n2) && ttaxamt2 == "0" ) &&(n3 == "Y" && !utlf_isNull(sumamt3)))
  623. {
  624. ds_main_cmprlst_cmprinfo.setColumn(i, "colBack", "white");
  625. //misfSetGridColor(switch1.case_compare.grd_keumcomparelst, "all", "white", "B", i);
  626. ds_main_cmprlst_cmprinfo.setColumn(i, "issueyn", "★");
  627. }
  628. else if((utlf_isNull(n1) && ttaxamt == "0") &&(n2 == "Y" && !utlf_isNull(ttaxamt2)) &&(n3 == "Y" && !utlf_isNull(sumamt3)))
  629. {
  630. ds_main_cmprlst_cmprinfo.setColumn(i, "colBack", "white");
  631. //misfSetGridColor(switch1.case_compare.grd_keumcomparelst, "all", "white", "B", i);
  632. ds_main_cmprlst_cmprinfo.setColumn(i, "issueyn", "★");
  633. }
  634. else if((n1 == "Y" && !utlf_isNull(ttaxamt)) &&(n2 == "Y" && !utlf_isNull(ttaxamt2)) &&(n3 == "Y" && !utlf_isNull(sumamt3)))
  635. {
  636. ds_main_cmprlst_cmprinfo.setColumn(i, "colBack", "white");
  637. //misfSetGridColor(switch1.case_compare.grd_keumcomparelst, "all", "white", "B", i);
  638. ds_main_cmprlst_cmprinfo.setColumn(i, "issueyn", "★");
  639. }
  640. else
  641. {
  642. ds_main_cmprlst_cmprinfo.setColumn(i, "colBack", "#FFFFCC");
  643. //misfSetGridColor(switch1.case_compare.grd_keumcomparelst, "all", "#FFFFCC", "B", i);
  644. }
  645. }
  646. }
  647. ds_main_cmprlst_cmprinfo.updatecontrol = true;
  648. ds_main_cmprlst_cmprinfo.enableevent = true;
  649. var curdate = utlf_getCurrentDate();
  650. var cvtdate = curdate.toDate("YYYYMM");
  651. var tobasedd = cvtdate.getAddDate(-1,"M").getDateFormat("YYYYMM");
  652. var basedd = ds_send.getColumn(0, "srchbasedd");
  653. if((ds_main_cmprlst_cmprinfo.rowcount > 0) && (tobasedd == basedd))
  654. {
  655. for(var i = 0; i < ds_main_cmprlst_cmprinfo.rowcount; i++)
  656. {
  657. ds_main_cmprlst_cmprinfo.updatecontrol = false;
  658. ds_main_cmprlst_cmprinfo.setRowType(i, "i");
  659. ds_main_cmprlst_cmprinfo.updatecontrol = true;
  660. }
  661. updtdata = grdf_getGridUpdateData(switch1.case_compare.grd_keumcomparelst).rowcount;
  662. var oParam = {};
  663. oParam.id = "TXRSC08404";
  664. oParam.service = "purcbaseapp.PurcBaseMngt";
  665. oParam.method = "reqSCmprinfoInsert";
  666. oParam.inds = "cmprinfo=ds_main_cmprlst_cmprinfo:u";
  667. oParam.outds = "ds_=item";
  668. oParam.async = false;
  669. //oParam.callback = "cf_TXRSC08404";
  670. tranf_submit(oParam);
  671. for(var i = 0; i < ds_main_cmprlst_cmprinfo.rowcount; i++)
  672. {
  673. ds_main_cmprlst_cmprinfo.updatecontrol = false;
  674. ds_main_cmprlst_cmprinfo.setRowType(i, "1");
  675. ds_main_cmprlst_cmprinfo.updatecontrol = true;
  676. }
  677. }
  678. }
  679. function cf_TRRSC08404(sSvcId, nErrorCode, sErrorMsg)
  680. {
  681. if(nErrorCode < 0)
  682. {
  683. return;
  684. }
  685. else
  686. {
  687. var lstCnt = ds_main_cmprlst_cmprinfo.rowcount;
  688. switch1.case_compare.caption3.text = "(건수:" + lstCnt + "건)"
  689. }
  690. }
  691. function ds_main_cmprlst_cmprinfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  692. {
  693. if(e.columnid == "select")
  694. {
  695. obj.setColumn(e.row, "select", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  696. if(e.newvalue == 0)
  697. {
  698. obj.updatecontrol = false;
  699. obj.setRowType(e.row, "");
  700. obj.updatecontrol = true;
  701. }
  702. }
  703. }
  704. function switch1_case_compare_bol_selectall_onclick(obj:CheckBox, e:ClickEventInfo)
  705. {
  706. var row = ds_main_cmprlst_cmprinfo.rowcount;
  707. if( row > 0 )
  708. {
  709. if(obj.value == "true")
  710. {
  711. for( var i = 0; i < row; i++ )
  712. {
  713. ds_main_cmprlst_cmprinfo.setColumn(i, "select" , "Y");
  714. }
  715. }
  716. else
  717. {
  718. for( var i = 0; i < row; i++ )
  719. {
  720. ds_main_cmprlst_cmprinfo.setColumn(i, "select" , "N");
  721. }
  722. }
  723. }
  724. }
  725. function switch1_case_compare_button7_onclick(obj:Button, e:ClickEventInfo)
  726. {
  727. updtdata = grdf_getGridUpdateData(switch1.case_compare.grd_keumcomparelst).rowcount;
  728. if(updtdata == 0)
  729. {
  730. sysf_messageBox("저장할 데이터가 ","E014");
  731. return false;
  732. }
  733. else
  734. {
  735. var oParam = {};
  736. oParam.id = "TXRSC08403";
  737. oParam.service = "purcbaseapp.PurcBaseMngt";
  738. oParam.method = "reqSetCustUpdate";
  739. oParam.inds = "keumcomparelst=ds_main_cmprlst_cmprinfo:u";
  740. oParam.outds = "ds_=item";
  741. oParam.async = false;
  742. oParam.callback = "cf_TXRSC08403";
  743. tranf_submit(oParam);
  744. }
  745. }
  746. function cf_TXRSC08403(sSvcId, nErrorCode, sErrorMsg)
  747. {
  748. if(nErrorCode < 0)
  749. {
  750. sysf_messageBox("저장","E009");
  751. return;
  752. }
  753. else
  754. {
  755. sysf_messageBox("저장이","I002");
  756. switch1.case_compare.grp_sea.btn_sea.click();
  757. }
  758. }
  759. function switch1_case_compare_btn_prta_onclick(obj:Button, e:ClickEventInfo)
  760. {
  761. ds_prtinfo_cmprlst.clearData();
  762. var totamtlist = "";
  763. for(var i = 0; i < ds_main_cmprlst_cmprinfo.rowcount; i++)
  764. {
  765. if(ds_main_cmprlst_cmprinfo.getColumn(i, "select") == "Y")
  766. {
  767. var ttaxamt = ds_main_cmprlst_cmprinfo.getColumn(i, "ttaxamt");
  768. var ttaxamt2 = ds_main_cmprlst_cmprinfo.getColumn(i, "ttaxamt2");
  769. var sumamt3 = ds_main_cmprlst_cmprinfo.getColumn(i, "sumamt3");
  770. var entrregno = ds_main_cmprlst_cmprinfo.getColumn(i, "entrregno");
  771. var purcchkdd = ds_main_cmprlst_cmprinfo.getColumn(i, "purcchkdd");
  772. var n1 = ds_main_cmprlst_cmprinfo.getColumn(i, "n1");
  773. var n2 = ds_main_cmprlst_cmprinfo.getColumn(i, "n2");
  774. var n3 = ds_main_cmprlst_cmprinfo.getColumn(i, "n3");
  775. var temp = "";
  776. var tamt = "";
  777. if(!utlf_isNull(n1) && !utlf_isNull(n2) && !utlf_isNull(n3))
  778. {
  779. temp = "7";
  780. }
  781. else if(!utlf_isNull(n1) && !utlf_isNull(n2) && utlf_isNull(n3))
  782. {
  783. temp="6";
  784. }
  785. else if(!utlf_isNull(n1) && utlf_isNull(n2) && !utlf_isNull(n3))
  786. {
  787. temp="5";
  788. }
  789. else if(utlf_isNull(n1) && !utlf_isNull(n2) && !utlf_isNull(n3))
  790. {
  791. temp="4";
  792. }
  793. else if(!utlf_isNull(n1) && utlf_isNull(n2) && utlf_isNull(n3))
  794. {
  795. temp="3";
  796. }
  797. else if(utlf_isNull(n1) && !utlf_isNull(n2) && utlf_isNull(n3))
  798. {
  799. temp="2";
  800. }
  801. else if(utlf_isNull(n1) && utlf_isNull(n2) && !utlf_isNull(n3))
  802. {
  803. temp="1";
  804. }
  805. else
  806. {
  807. temp ="0";
  808. }
  809. if(temp == "7")
  810. {
  811. tamt = "'" + ttaxamt+ "','" + ttaxamt2+ "','" +sumamt3 + "'" ;
  812. }
  813. else if(temp == "6")
  814. {
  815. tamt = "'" + ttaxamt+ "','" + ttaxamt2 + "'";
  816. }
  817. else if(temp == "5")
  818. {
  819. tamt = "'" + ttaxamt+ "','" + sumamt3 + "'";
  820. }
  821. else if(temp == "4")
  822. {
  823. tamt = "'" + ttaxamt2+ "','" + sumamt3 + "'";
  824. }
  825. else if(temp == "3")
  826. {
  827. tamt = "'" + ttaxamt + "'";
  828. }
  829. else if(temp == "2")
  830. {
  831. tamt = "'" + ttaxamt2 + "'";
  832. }
  833. else if(temp == "1")
  834. {
  835. tamt = "'" + sumamt3 + "'" ;
  836. }
  837. ds_main_cmprlst_cmprinfo.setColumn(i, "tamt", tamt);
  838. ds_send.setColumn(0, "totamt", tamt);
  839. ds_send.setColumn(0, "entrregno", entrregno);
  840. ds_send.setColumn(0, "acptdd", purcchkdd);
  841. var oParam = {};
  842. oParam.id = "TRRSC08405";
  843. oParam.service = "purcbaseapp.PurcBaseMngt";
  844. oParam.method = "reqGetPrtTaxLst";
  845. oParam.inds = "req=ds_send";
  846. oParam.outds = "ds_prtinfo_cmprlst=cmprinfo";
  847. oParam.async = false;
  848. //oParam.callback = "cf_TRRSC08405";
  849. tranf_submit(oParam);
  850. var objDOM = rptf_createDOM();
  851. rptf_setNodeListToDOM(objDOM, "/root/prtinfo/cmprlst/cmprinfo", ds_prtinfo_cmprlst);
  852. var objParam = new Object();
  853. objParam.xml_data_XML1 = objDOM.documentElement.source;
  854. var option = "";
  855. rptf_exeReportPreview30(["RPRSD08401"],[objParam], option);
  856. }
  857. }
  858. }
  859. function switch1_case_compare_grp_sea_btn_save_onclick(obj:Button, e:ClickEventInfo)
  860. {
  861. updtdata = grdf_getGridUpdateData(switch1.case_compare.grd_keumcomparelst).rowcount;
  862. if(updtdata == 0)
  863. {
  864. sysf_messageBox("저장할 데이터가 ","E014");
  865. return false;
  866. }
  867. else
  868. {
  869. var oParam = {};
  870. oParam.id = "TXRSC08403";
  871. oParam.service = "purcbaseapp.PurcBaseMngt";
  872. oParam.method = "reqSetCustUpdate";
  873. oParam.inds = "keumcomparelst=ds_main_cmprlst_cmprinfo:u";
  874. oParam.outds = "ds_=item";
  875. oParam.async = false;
  876. oParam.callback = "cf_TXRSC08403";
  877. tranf_submit(oParam);
  878. }
  879. }
  880. function switch1_case_compare_button5_onclick(obj:Button, e:ClickEventInfo)
  881. {
  882. if( ds_main_cmprlst_cmprinfo.rowcount > 0)
  883. {
  884. grdf_exportExcel(switch1.case_compare.grd_keumcomparelst, "세금계산서 비교 리스트_" + utlf_getCurrentDate(), "Sheet", "true", "", "");
  885. }
  886. else
  887. {
  888. sysf_messageBox("저장 데이터가","I004");
  889. }
  890. }
  891. function switch1_case_upload_group1_btn_search_onclick(obj:Button, e:ClickEventInfo)
  892. {
  893. switch1.case_upload.caption4.text = "";
  894. var ubasedd = ds_send.getColumn(0, "ubasedd");
  895. ds_send.setColumn(0, "ufromdd", ubasedd +"01");
  896. ds_send.setColumn(0, "utodd", ubasedd +"31");
  897. var oParam = {};
  898. oParam.id = "TRRSC08401";
  899. oParam.service = "purcbaseapp.PurcBaseMngt";
  900. oParam.method = "reqGetTaxLst";
  901. oParam.inds = "req=ds_send";
  902. oParam.outds = "ds_main_upperlimitlst_upperlimitinfo=upperlimitinfo";
  903. oParam.async = false;
  904. oParam.callback = "cf_TRRSC08401";
  905. tranf_submit(oParam);
  906. ds_main_upperlimitlst_upperlimitinfo.addColumn("colBack", "string");
  907. ds_copynode.clearData();
  908. frmf_clearParameter("SMRSD00400_");
  909. ds_main_upperlimitlst_upperlimitinfo.enableevent = false;
  910. ds_main_upperlimitlst_upperlimitinfo.updatecontrol = false;
  911. for(var i = 0; i < ds_main_upperlimitlst_upperlimitinfo.rowcount; i++)
  912. {
  913. var flag = ds_main_upperlimitlst_upperlimitinfo.getColumn(i, "flag");
  914. if(flag == "제외")
  915. {
  916. ds_main_upperlimitlst_upperlimitinfo.setColumn(i, "colBack", "#fec3c3");
  917. //misfSetGridColor(switch1.case_upload.grd_upperlimitupload, "all", "#fec3c3", "B", i);
  918. }
  919. else
  920. {
  921. ds_main_upperlimitlst_upperlimitinfo.setColumn(i, "colBack", "white");
  922. //misfSetGridColor(switch1.case_upload.grd_upperlimitupload, "all", "white", "B", i);
  923. }
  924. }
  925. ds_main_upperlimitlst_upperlimitinfo.updatecontrol = true;
  926. ds_main_upperlimitlst_upperlimitinfo.enableevent = true;
  927. }
  928. function cf_TRRSC08401(sSvcId, nErrorCode, sErrorMsg)
  929. {
  930. if(nErrorCode < 0) return;
  931. else
  932. {
  933. var lstCnt = ds_main_upperlimitlst_upperlimitinfo.rowcount;
  934. if( lstCnt > 0 )
  935. {
  936. switch1.case_upload.caption4.text = "(건수:" + lstCnt + "건)";
  937. }
  938. }
  939. }
  940. function switch1_case_upload_group1_button3_onclick(obj:Button, e:ClickEventInfo)
  941. {
  942. if(grdf_getGridUpdateData(switch1.case_upload.grd_upperlimitupload).rowcount != 0)
  943. {
  944. var oParam = {};
  945. oParam.id = "TXRSC08402";
  946. oParam.service = "purcbaseapp.PurcBaseMngt";
  947. oParam.method = "reqSetTaxDelete";
  948. oParam.inds = "upperlimitinfo=ds_main_upperlimitlst_upperlimitinfo:u";
  949. oParam.outds = "ds_=item";
  950. oParam.async = false;
  951. oParam.callback = "cf_TXRSC08402";
  952. tranf_submit(oParam);
  953. }
  954. ds_copynode.clearData();
  955. frmf_clearParameter("SMRSD00400_");
  956. }
  957. function cf_TXRSC08402(sSvcId, nErrorCode, sErrorMsg)
  958. {
  959. if(nErrorCode < 0) return;
  960. else
  961. {
  962. switch1.case_upload.group1.btn_search.click();
  963. sysf_messageBox(" ", "I001", "");
  964. }
  965. }
  966. function switch1_case_upload_btn_upchk_onclick(obj:Button, e:ClickEventInfo)
  967. {
  968. ds_copynode.clearData();
  969. frmf_clearParameter("SMRSD00400_");
  970. frmf_setParameter("para_ubasedd" , switch1.case_upload.group1.ipt_ubasedd.value);
  971. var objArg = new Object();
  972. objArg.arg_ds_init = ds_send;
  973. frmf_modal("SPRSD08401", "SPRSD08401", objArg, "", "", "", "", "", "", "", "", "", "M");
  974. var acptdd = ds_copynode.getColumn(0, "para_acptdd");
  975. var entrregno = ds_copynode.getColumn(0, "para_entrregno");
  976. var totamt = ds_copynode.getColumn(0, "para_totamt");
  977. ds_send.setColumn(0, "acptdd", acptdd);
  978. ds_send.setColumn(0, "entrregno", entrregno);
  979. ds_send.setColumn(0, "totamt", totamt);
  980. var oParam = {};
  981. oParam.id = "TRRSC08403";
  982. oParam.service = "purcbaseapp.PurcBaseMngt";
  983. oParam.method = "reqGetOverTaxLst";
  984. oParam.inds = "req=ds_send";
  985. oParam.outds = "ds_main_upperlimitlst_upperlimitinfo=upperlimitinfo";
  986. oParam.async = false;
  987. //oParam.callback = "cf_TRRSC08403";
  988. tranf_submit(oParam);
  989. }
  990. function switch1_case_upload_button8_onclick(obj:Button, e:ClickEventInfo)
  991. {
  992. if( ds_main_upperlimitlst_upperlimitinfo.rowcount > 0)
  993. {
  994. grdf_exportExcel(switch1.case_upload.grd_upperlimitupload, "세금계산서 내역 업로드_" + utlf_getCurrentDate(), "Sheet", "true", "", "");
  995. }
  996. else
  997. {
  998. sysf_messageBox("저장 데이터가","I004");
  999. }
  1000. }
  1001. function switch1_case_upload_button4_onclick(obj:Button, e:ClickEventInfo)
  1002. {
  1003. for ( var i = 0; i < ds_main_upperlimitlst_upperlimitinfo.rowcount; i++)
  1004. {
  1005. ds_main_upperlimitlst_upperlimitinfo.updatecontrol = false;
  1006. ds_main_upperlimitlst_upperlimitinfo.setRowType(i, "d");
  1007. ds_main_upperlimitlst_upperlimitinfo.updatecontrol = true;
  1008. }
  1009. }
  1010. function switch1_case_upload_button1_onclick(obj:Button, e:ClickEventInfo)
  1011. {
  1012. ds_main_upperlimitlst_upperlimitinfo.clearData();
  1013. grdf_ImportExcel("ds_main_upperlimitlst_upperlimitinfo ", 2, switch1.case_upload.grd_upperlimitupload, 0);
  1014. for (var i = 0; i < ds_main_upperlimitlst_upperlimitinfo.rowcount; i++)
  1015. {
  1016. ds_main_upperlimitlst_upperlimitinfo.updatecontrol = false;
  1017. ds_main_upperlimitlst_upperlimitinfo.setRowType(i, "i");
  1018. ds_main_upperlimitlst_upperlimitinfo.updatecontrol = true;
  1019. }
  1020. var lstCnt = ds_main_upperlimitlst_upperlimitinfo.rowcount;
  1021. if( lstCnt > 0 )
  1022. {
  1023. var oParam = {};
  1024. oParam.id = "TXRSC08401";
  1025. oParam.service = "purcbaseapp.PurcBaseMngt";
  1026. oParam.method = "reqSetTaxInsert";
  1027. oParam.inds = "sdata=ds_main_upperlimitlst_upperlimitinfo:u";
  1028. oParam.outds = "ds_=item";
  1029. oParam.async = false;
  1030. oParam.callback = "cf_TXRSC08401";
  1031. tranf_submit(oParam);
  1032. }
  1033. }
  1034. function cf_TXRSC08401(sSvcId, nErrorCode, sErrorMsg)
  1035. {
  1036. if(nErrorCode < 0) return;
  1037. else
  1038. {
  1039. switch1.case_upload.group1.btn_search.click();
  1040. sysf_messageBox("업로드되었습니다.", "I000");
  1041. switch1.case_upload.caption4.text = "(건수:" + lstCnt + "건)";
  1042. }
  1043. }
  1044. function switch1_case_upload_grd_upperlimitupload_oncellclick(obj:Grid, e:GridClickEventInfo)
  1045. {
  1046. // var rows = grdf_getSelectedRows(switch1.case_upload.grd_upperlimitupload);
  1047. //
  1048. // for(var i = 0; i < rows.length; i++)
  1049. // {
  1050. // var m_row = rows[i];
  1051. //
  1052. // ds_main_upperlimitlst_upperlimitinfo.updatecontrol = false;
  1053. // ds_main_upperlimitlst_upperlimitinfo.setRowType(m_row, "");
  1054. // ds_main_upperlimitlst_upperlimitinfo.updatecontrol = true;
  1055. //
  1056. // var flag = ds_copynode.getColumn(0, "para_flag");
  1057. // if(flag == "F")
  1058. // {
  1059. // ds_main_upperlimitlst_upperlimitinfo.updatecontrol = false;
  1060. // ds_main_upperlimitlst_upperlimitinfo.setRowType(m_row, "u");
  1061. // ds_main_upperlimitlst_upperlimitinfo.updatecontrol = true;
  1062. // }
  1063. // else
  1064. // {
  1065. // ds_main_upperlimitlst_upperlimitinfo.updatecontrol = false;
  1066. // ds_main_upperlimitlst_upperlimitinfo.setRowType(m_row, "d");
  1067. // ds_main_upperlimitlst_upperlimitinfo.updatecontrol = true;
  1068. // }
  1069. // }
  1070. }
  1071. function switch1_case_compare_grp_sea_ipt_suppcustcd_onkeydown(obj:Edit, e:KeyEventInfo)
  1072. {
  1073. if( e.keycode == 13 ){
  1074. obj.updateToDataset();
  1075. }
  1076. }
  1077. function switch1_case_compare_grd_keumcomparelst_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  1078. {
  1079. ds_main_cmprlst_cmprinfo.enableevent = false;
  1080. ds_main_cmprlst_cmprinfo.updatecontrol = false;
  1081. for( var i=0 ; i<ds_main_cmprlst_cmprinfo.rowcount ; i++ ){
  1082. ds_main_cmprlst_cmprinfo.setColumn(i, "select", "N");
  1083. ds_main_cmprlst_cmprinfo.setRowType(i, 1);
  1084. }
  1085. for( var i=0 ; i<switch1.case_compare.grd_keumcomparelst.selectcount ; i++ ){
  1086. for( var j=switch1.case_compare.grd_keumcomparelst.selectstartrow[i] ; j<=switch1.case_compare.grd_keumcomparelst.selectendrow[i] ; j++ ){
  1087. ds_main_cmprlst_cmprinfo.setColumn(j, "select", "Y");
  1088. ds_main_cmprlst_cmprinfo.setRowType(j, 4);
  1089. }
  1090. }
  1091. ds_main_cmprlst_cmprinfo.updatecontrol = true;
  1092. ds_main_cmprlst_cmprinfo.enableevent = true;
  1093. }
  1094. function switch1_case_upload_grd_upperlimitupload_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  1095. {
  1096. ds_main_upperlimitlst_upperlimitinfo.enableevent = false;
  1097. ds_main_upperlimitlst_upperlimitinfo.updatecontrol = false;
  1098. for( var i=0 ; i<ds_main_upperlimitlst_upperlimitinfo.rowcount ; i++ ){
  1099. ds_main_upperlimitlst_upperlimitinfo.setRowType(i, 1);
  1100. }
  1101. var flag = ds_copynode.getColumn(0, "para_flag");
  1102. for( var i=0 ; i<switch1.case_upload.grd_upperlimitupload.selectcount ; i++ ){
  1103. for( var j=switch1.case_upload.grd_upperlimitupload.selectstartrow[i] ; j<=switch1.case_upload.grd_upperlimitupload.selectendrow[i] ; j++ ){
  1104. if( flag == "F" ){
  1105. ds_main_upperlimitlst_upperlimitinfo.setRowType(j, 4);
  1106. }else{
  1107. ds_main_upperlimitlst_upperlimitinfo.setRowType(j, 8);
  1108. }
  1109. }
  1110. }
  1111. ds_main_upperlimitlst_upperlimitinfo.updatecontrol = true;
  1112. ds_main_upperlimitlst_upperlimitinfo.enableevent = true;
  1113. }
  1114. ]]></Script>
  1115. </Form>
  1116. </FDL>