SMRSM01100_화학물질취급관리조사목록조회.xfdl 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRSM01100" position="absolute 0 0 1200 757" titletext="화학물질 취급 변경내역 조회" oninit="SMRSM01100_oninit" onload="SMRSM01100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="화학물질 취급 변경내역 조회" class="tit_1" position="absolute 0 0 208 25"/>
  8. <Shape id="line2" class="line_6" position="absolute 0 46 1194 52" anchor="left top right"/>
  9. <Button id="btn_send" taborder="1" text="전송취소" class="btn4" visible="false" position="absolute 1054 25 1134 47" anchor="top right" onclick="btn_send_onclick"/>
  10. <Button id="btn_save" taborder="2" text="확정" class="btn4" visible="false" position="absolute 1137 25 1193 47" anchor="top right" onclick="btn_save_onclick"/>
  11. <Div id="grp_sea" taborder="3" class="div_SA2" position="absolute 0 50 1194 110" anchor="left top right">
  12. <Layouts>
  13. <Layout>
  14. <Shape id="line5" linetype="vertical" class="line_4" position="absolute 837 8 843 50" anchor="top right"/>
  15. <Button id="btn_search" taborder="20" text="조회" class="btn1" position="absolute 855 10 911 32" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
  16. <Edit id="opt_deptnm" taborder="21" readonly="true" position="absolute 216 32 406 51" class="output"/>
  17. <Static id="caption1" text="부서코드" class="search_name" position="absolute 35 33 111 50"/>
  18. <Edit id="ipt_deptcd" taborder="22" class="input_default" position="absolute 117 32 192 51" autoskip="true" autoselect="true" onkeydown="grp_sea_ipt_deptcd_onkeydown"/>
  19. <Button id="btn_deptcd" taborder="23" class="icon_search" position="absolute 196 33 212 49" onclick="grp_sea_btn_deptcd_onclick"/>
  20. <Static id="caption9" text="보고일자" class="search_name" position="absolute 35 9 116 26"/>
  21. <Calendar id="ipt_reptddfrom" taborder="24" class="input_default" position="absolute 117 8 215 27" mask="yyyy-mm-dd" autoskip="true" autoselect="true" onchanged="grp_sea_ipt_reptddfrom_onchanged"/>
  22. <Static id="caption7" text="~" position="absolute 219 8 231 28"/>
  23. <Calendar id="ipt_reptddto" taborder="25" class="input_default" position="absolute 234 8 332 27" mask="yyyy-mm-dd" autoskip="true" autoselect="true" onchanged="grp_sea_ipt_reptddto_onchanged"/>
  24. <Edit id="opt_matrnm" taborder="26" readonly="true" position="absolute 575 32 817 51" class="output"/>
  25. <Edit id="ipt_matrcd" taborder="27" class="input_default" position="absolute 507 32 552 51" autoskip="true" autoselect="true"/>
  26. <Button id="btn_matrcd" taborder="28" class="icon_search" position="absolute 556 33 572 49" onclick="grp_sea_btn_matrcd_onclick"/>
  27. <Static id="caption8" text="물질코드" class="search_name" position="absolute 426 33 502 50"/>
  28. <Radio id="rdo_prcsstat" taborder="29" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 509 7 786 27" onitemchanged="grp_sea_rdo_prcsstat_onitemchanged">
  29. <Dataset id="innerdataset">
  30. <ColumnInfo>
  31. <Column id="codecolumn"/>
  32. <Column id="datacolumn"/>
  33. </ColumnInfo>
  34. <Rows>
  35. <Row>
  36. <Col id="codecolumn">S</Col>
  37. <Col id="datacolumn">임시저장</Col>
  38. </Row>
  39. <Row>
  40. <Col id="codecolumn">T</Col>
  41. <Col id="datacolumn">전송완료</Col>
  42. </Row>
  43. <Row>
  44. <Col id="codecolumn">C</Col>
  45. <Col id="datacolumn">확정완료</Col>
  46. </Row>
  47. <Row>
  48. <Col id="codecolumn">%</Col>
  49. <Col id="datacolumn">전 체</Col>
  50. </Row>
  51. </Rows>
  52. </Dataset>
  53. </Radio>
  54. <Static id="caption2" text="진행상태" class="search_name" position="absolute 426 9 507 26"/>
  55. <Button id="btn_excelAll" taborder="30" text="전체 내용 엑셀출력" class="btn7" position="absolute 915 10 1050 32" anchor="top right" onclick="grp_sea_btn_excelAll_onclick"/>
  56. </Layout>
  57. </Layouts>
  58. </Div>
  59. <Shape id="line3" class="line_10" position="absolute 0 135 230 141" anchor="left top"/>
  60. <Static id="caption21" text="보고 목록" class="tit_2" position="absolute 0 119 80 141" anchor="left top"/>
  61. <Button id="btn_excel" taborder="4" text="엑셀출력" class="btn7" position="absolute 1114 115 1194 134" anchor="top right" onclick="btn_excel_onclick"/>
  62. <Grid id="grd_reptlist" taborder="5" binddataset="ds_main_reptlist" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 0 140 230 750" anchor="left top bottom" oncellclick="grd_reptlist_oncellclick">
  63. <Formats>
  64. <Format id="default">
  65. <Columns>
  66. <Column size="23" band="left"/>
  67. <Column size="73"/>
  68. <Column size="26"/>
  69. <Column size="105"/>
  70. <Column size="0"/>
  71. </Columns>
  72. <Rows>
  73. <Row size="24" band="head"/>
  74. <Row size="24" band="head"/>
  75. <Row size="24"/>
  76. </Rows>
  77. <Band id="head">
  78. <Cell rowspan="2" taborder="undefined"/>
  79. <Cell col="1" rowspan="2" text="보고일자" taborder="undefined"/>
  80. <Cell col="2" rowspan="2" text="순번" taborder="undefined"/>
  81. <Cell col="3" rowspan="2" text="부서명" taborder="undefined"/>
  82. <Cell col="4" text="부서코드"/>
  83. <Cell row="1" col="4" text="부서코드"/>
  84. </Band>
  85. <Band id="body">
  86. <Cell celltype="head"/>
  87. <Cell col="1" displaytype="date" text="bind:reptdd" calendardisplaynulltype="nulltext"/>
  88. <Cell col="2" text="bind:reptseq"/>
  89. <Cell col="3" style="align:left top;padding:5 2 1 2;" text="bind:deptnm" wordwrap="word"/>
  90. <Cell col="4" text="bind:deptcd"/>
  91. </Band>
  92. </Format>
  93. </Formats>
  94. </Grid>
  95. <Grid id="grd_matrlist" taborder="6" binddataset="ds_main_matrlist" useinputpanel="false" position="absolute 235 140 1193 750" anchor="all" autoenter="select" cellsizingtype="col">
  96. <Formats>
  97. <Format id="default">
  98. <Columns>
  99. <Column size="35"/>
  100. <Column size="73"/>
  101. <Column size="34"/>
  102. <Column size="126"/>
  103. <Column size="93"/>
  104. <Column size="93"/>
  105. <Column size="83"/>
  106. <Column size="55"/>
  107. <Column size="55"/>
  108. <Column size="55"/>
  109. <Column size="55"/>
  110. <Column size="45"/>
  111. <Column size="55"/>
  112. <Column size="55"/>
  113. <Column size="43"/>
  114. <Column size="49"/>
  115. <Column size="49"/>
  116. <Column size="0"/>
  117. <Column size="0"/>
  118. <Column size="0"/>
  119. <Column size="0"/>
  120. <Column size="0"/>
  121. <Column size="0"/>
  122. <Column size="0"/>
  123. <Column size="0"/>
  124. <Column size="0"/>
  125. <Column size="0"/>
  126. <Column size="0"/>
  127. </Columns>
  128. <Rows>
  129. <Row size="24" band="head"/>
  130. <Row size="24" band="head"/>
  131. <Row size="24"/>
  132. </Rows>
  133. <Band id="head">
  134. <Cell rowspan="2" text="구분" taborder="undefined"/>
  135. <Cell col="1" rowspan="2" text="적용시작&#10;일자" taborder="undefined"/>
  136. <Cell col="2" rowspan="2" text="물질&#10;코드" taborder="undefined"/>
  137. <Cell col="3" rowspan="2" text="물질명" taborder="undefined"/>
  138. <Cell col="4" rowspan="2" text="제조사" taborder="undefined"/>
  139. <Cell col="5" rowspan="2" text="공급처" taborder="undefined"/>
  140. <Cell col="6" rowspan="2" text="용도" taborder="undefined"/>
  141. <Cell col="7" rowspan="2" text="월&#10;사용량" taborder="undefined"/>
  142. <Cell col="8" rowspan="2" text="연간&#10;사용량" taborder="undefined"/>
  143. <Cell col="9" rowspan="2" text="1일&#10;취급시간" taborder="undefined"/>
  144. <Cell col="10" rowspan="2" text="월&#10;작업일수" taborder="undefined"/>
  145. <Cell col="11" rowspan="2" text="취급자&#10;수" taborder="undefined"/>
  146. <Cell col="12" rowspan="2" text="소분용기&#10;유무" taborder="undefined"/>
  147. <Cell col="13" rowspan="2" text="원용기&#10;경고표지" taborder="undefined"/>
  148. <Cell col="14" rowspan="2" text="MSDS&#10;유무" taborder="undefined"/>
  149. <Cell col="15" rowspan="2" text="작성자" taborder="undefined"/>
  150. <Cell col="16" rowspan="2" text="전송자" taborder="undefined"/>
  151. <Cell col="17" text="보고일자"/>
  152. <Cell col="18" text="순번"/>
  153. <Cell col="19" text="orguseqtym"/>
  154. <Cell col="20" text="orguseqtyy"/>
  155. <Cell col="21" text="orgusge"/>
  156. <Cell col="22" text="orgtrethrd"/>
  157. <Cell col="23" text="orgworkdcntm"/>
  158. <Cell col="24" text="orgtretmcnt"/>
  159. <Cell col="25" text="orgctnryn"/>
  160. <Cell col="26" text="orgctnrsignyn"/>
  161. <Cell col="27" text="orgmsdsyn"/>
  162. <Cell row="1" col="17" text="보고일자"/>
  163. <Cell row="1" col="18" text="순번"/>
  164. <Cell row="1" col="19" text="orguseqtym"/>
  165. <Cell row="1" col="20" text="orguseqtyy"/>
  166. <Cell row="1" col="21" text="orgusge"/>
  167. <Cell row="1" col="22" text="orgtrethrd"/>
  168. <Cell row="1" col="23" text="orgworkdcntm"/>
  169. <Cell row="1" col="24" text="orgtretmcnt"/>
  170. <Cell row="1" col="25" text="orgctnryn"/>
  171. <Cell row="1" col="26" text="orgctnrsignyn"/>
  172. <Cell row="1" col="27" text="orgmsdsyn"/>
  173. </Band>
  174. <Band id="body">
  175. <Cell displaytype="combo" style="align:center middle;color:BIND(color);color2:BIND(color);font:arial,9,bold;" text="bind:workflag" combodataset="ds_cmb_workflag" combocodecol="value" combodatacol="label" enable="false"/>
  176. <Cell col="1" displaytype="date" style="color:#ff0000ff;color2:#ff0000ff;" text="bind:appdd" calendardisplaynulltype="nulltext"/>
  177. <Cell col="2" text="bind:matrcd"/>
  178. <Cell col="3" style="align:left top;padding:4 2 2 2;" text="bind:matrnm" wordwrap="word"/>
  179. <Cell col="4" style="align:left top;padding:4 2 2 2;" text="bind:prodcmpynm" wordwrap="word"/>
  180. <Cell col="5" style="align:left top;padding:4 2 2 2;" text="bind:maincustlastsuplplcenm" wordwrap="word"/>
  181. <Cell col="6" style="align:left top;padding:4 2 2 2;color:EXPR(col6);color2:EXPR(col6);" text="bind:usge" wordwrap="word"/>
  182. <Cell col="7" style="align:center top;padding:5 0 2 0;color:EXPR(col7);color2:EXPR(col7);" text="bind:useqtym" wordwrap="word"/>
  183. <Cell col="8" style="align:center top;padding:5 0 2 0;color:EXPR(col8);color2:EXPR(col8);" text="bind:useqtyy" wordwrap="word"/>
  184. <Cell col="9" style="align:center top;padding:5 0 2 0;color:EXPR(col9);color2:EXPR(col9);" text="bind:trethrd" wordwrap="word"/>
  185. <Cell col="10" style="align:center top;padding:5 0 2 0;color:EXPR(col10);color2:EXPR(col10);" text="bind:workdcntm" wordwrap="word"/>
  186. <Cell col="11" style="align:center top;padding:5 0 2 0;color:EXPR(col11);color2:EXPR(col11);" text="bind:tretmcnt" wordwrap="word"/>
  187. <Cell col="12" displaytype="combo" style="align:center top;padding:5 0 2 0;color:EXPR(col12);color2:EXPR(col12);" text="bind:ctnryn" wordwrap="word" combodataset="ds_cmb_ctnryn" combocodecol="value" combodatacol="label" enable="false"/>
  188. <Cell col="13" displaytype="combo" style="align:center top;padding:5 0 2 0;color:EXPR(col13);color2:EXPR(col13);" text="bind:ctnrsignyn" wordwrap="word" combodataset="ds_cmb_ctnrsignyn" combocodecol="value" combodatacol="label" enable="false"/>
  189. <Cell col="14" displaytype="combo" style="align:center top;padding:5 0 2 0;color:EXPR(col14);color2:EXPR(col14);" text="bind:msdsyn" wordwrap="word" combodataset="ds_cmb_msdsyn" combocodecol="value" combodatacol="label" enable="false"/>
  190. <Cell col="15" text="bind:fstname"/>
  191. <Cell col="16" style="align:center;" text="bind:trnsname"/>
  192. <Cell col="17" text="bind:reptdd" mask="yyyy-mm-dd"/>
  193. <Cell col="18" text="bind:reptseq"/>
  194. <Cell col="19" text="bind:orguseqtym"/>
  195. <Cell col="20" text="bind:orguseqtyy"/>
  196. <Cell col="21" text="bind:orgusge"/>
  197. <Cell col="22" text="bind:orgtrethrd"/>
  198. <Cell col="23" text="bind:orgworkdcntm"/>
  199. <Cell col="24" text="bind:orgtretmcnt"/>
  200. <Cell col="25" text="bind:orgctnryn"/>
  201. <Cell col="26" text="bind:orgctnrsignyn"/>
  202. <Cell col="27" text="bind:orgmsdsyn"/>
  203. </Band>
  204. </Format>
  205. </Formats>
  206. </Grid>
  207. <Shape id="line1" class="line_10" position="absolute 235 135 1193 141" anchor="left top right"/>
  208. <Static id="caption3" text="조사 내역" class="tit_2" position="absolute 235 119 315 140"/>
  209. <Grid id="grd_excellist" taborder="7" binddataset="ds_main_excellist" useinputpanel="false" visible="false" position="absolute 280 230 968 330">
  210. <Formats>
  211. <Format id="default">
  212. <Columns>
  213. <Column size="83"/>
  214. <Column size="34"/>
  215. <Column size="135"/>
  216. <Column size="35"/>
  217. <Column size="73"/>
  218. <Column size="34"/>
  219. <Column size="126"/>
  220. <Column size="93"/>
  221. <Column size="93"/>
  222. <Column size="83"/>
  223. <Column size="55"/>
  224. <Column size="55"/>
  225. <Column size="55"/>
  226. <Column size="55"/>
  227. <Column size="45"/>
  228. <Column size="55"/>
  229. <Column size="55"/>
  230. <Column size="43"/>
  231. <Column size="49"/>
  232. </Columns>
  233. <Rows>
  234. <Row size="24" band="head"/>
  235. <Row size="24" band="head"/>
  236. <Row size="24"/>
  237. </Rows>
  238. <Band id="head">
  239. <Cell rowspan="2" text="보고일자" taborder="undefined"/>
  240. <Cell col="1" rowspan="2" text="순번" taborder="undefined"/>
  241. <Cell col="2" rowspan="2" text="부서명" taborder="undefined"/>
  242. <Cell col="3" rowspan="2" text="구분" taborder="undefined"/>
  243. <Cell col="4" rowspan="2" text="적용시작&#10;일자" taborder="undefined"/>
  244. <Cell col="5" rowspan="2" text="물질&#10;코드" taborder="undefined"/>
  245. <Cell col="6" rowspan="2" text="물질명" taborder="undefined"/>
  246. <Cell col="7" rowspan="2" text="제조사" taborder="undefined"/>
  247. <Cell col="8" rowspan="2" text="공급처" taborder="undefined"/>
  248. <Cell col="9" rowspan="2" text="용도" taborder="undefined"/>
  249. <Cell col="10" rowspan="2" text="월&#10;사용량" taborder="undefined"/>
  250. <Cell col="11" rowspan="2" text="연간&#10;사용량" taborder="undefined"/>
  251. <Cell col="12" rowspan="2" text="1일&#10;취급시간" taborder="undefined"/>
  252. <Cell col="13" rowspan="2" text="월&#10;작업일수" taborder="undefined"/>
  253. <Cell col="14" rowspan="2" text="취급자&#10;수" taborder="undefined"/>
  254. <Cell col="15" rowspan="2" text="소분용기&#10;유무" taborder="undefined"/>
  255. <Cell col="16" rowspan="2" text="원용기&#10;경고표지" taborder="undefined"/>
  256. <Cell col="17" rowspan="2" text="MSDS&#10;유무" taborder="undefined"/>
  257. <Cell col="18" rowspan="2" text="작성자" taborder="undefined"/>
  258. </Band>
  259. <Band id="body">
  260. <Cell displaytype="date" text="bind:reptdd" calendardisplaynulltype="nulltext"/>
  261. <Cell col="1" text="bind:reptseq"/>
  262. <Cell col="2" text="bind:deptnm"/>
  263. <Cell col="3" displaytype="combo" edittype="combo" text="bind:workflag" enable="false"/>
  264. <Cell col="4" displaytype="date" text="bind:appdd" calendardisplaynulltype="nulltext"/>
  265. <Cell col="5" text="bind:matrcd"/>
  266. <Cell col="6" text="bind:matrnm"/>
  267. <Cell col="7" text="bind:prodcmpynm"/>
  268. <Cell col="8" text="bind:maincustlastsuplplcenm"/>
  269. <Cell col="9" text="bind:usge"/>
  270. <Cell col="10" text="bind:useqtym"/>
  271. <Cell col="11" text="bind:useqtyy"/>
  272. <Cell col="12" text="bind:trethrd"/>
  273. <Cell col="13" text="bind:workdcntm"/>
  274. <Cell col="14" text="bind:tretmcnt"/>
  275. <Cell col="15" displaytype="combo" edittype="combo" text="bind:ctnryn" enable="false"/>
  276. <Cell col="16" displaytype="combo" edittype="combo" text="bind:ctnrsignyn" enable="false"/>
  277. <Cell col="17" displaytype="combo" edittype="combo" text="bind:msdsyn" enable="false"/>
  278. <Cell col="18" text="bind:fstname"/>
  279. </Band>
  280. </Format>
  281. </Formats>
  282. </Grid>
  283. </Layout>
  284. </Layouts>
  285. <Objects>
  286. <Dataset id="ds_main_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_condition_oncolumnchanged">
  287. <ColumnInfo>
  288. <Column id="reptddfrom" type="STRING" size="256"/>
  289. <Column id="reptddto" type="STRING" size="256"/>
  290. <Column id="deptcd" type="STRING" size="256"/>
  291. <Column id="deptnm" type="STRING" size="256"/>
  292. <Column id="prcsstat" type="STRING" size="256"/>
  293. <Column id="matrcd" type="STRING" size="256"/>
  294. <Column id="matrnm" type="STRING" size="256"/>
  295. <Column id="popflag" type="STRING" size="256"/>
  296. <Column id="confirmflag" type="STRING" size="256"/>
  297. </ColumnInfo>
  298. <Rows>
  299. <Row>
  300. <Col id="reptddfrom"/>
  301. <Col id="reptddto"/>
  302. <Col id="deptcd"/>
  303. <Col id="deptnm"/>
  304. <Col id="prcsstat"/>
  305. <Col id="matrcd"/>
  306. <Col id="matrnm"/>
  307. <Col id="popflag"/>
  308. <Col id="confirmflag"/>
  309. </Row>
  310. </Rows>
  311. </Dataset>
  312. <Dataset id="ds_main_reptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  313. <ColumnInfo>
  314. <Column id="reptdd" type="STRING" size="256" sumtext="보고일"/>
  315. <Column id="reptseq" type="STRING" size="256" sumtext="보고순번"/>
  316. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
  317. <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
  318. </ColumnInfo>
  319. </Dataset>
  320. <Dataset id="ds_main_matrlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  321. <ColumnInfo>
  322. <Column id="reptdd" type="STRING" size="256" sumtext="보고일"/>
  323. <Column id="reptseq" type="STRING" size="256" sumtext="보고순번"/>
  324. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
  325. <Column id="matrcd" type="STRING" size="256" sumtext="물질코드"/>
  326. <Column id="workflag" type="STRING" size="256" sumtext="작업구분"/>
  327. <Column id="appdd" type="STRING" size="256" sumtext="적용일"/>
  328. <Column id="useqtym" type="STRING" size="256" sumtext="월사용량"/>
  329. <Column id="useqtyy" type="STRING" size="256" sumtext="연간 사용량"/>
  330. <Column id="usge" type="STRING" size="256" sumtext="용도"/>
  331. <Column id="trethrd" type="STRING" size="256" sumtext="일 취급시간"/>
  332. <Column id="workdcntm" type="STRING" size="256" sumtext="월 작업일수"/>
  333. <Column id="tretmcnt" type="STRING" size="256" sumtext="취급자수"/>
  334. <Column id="ctnryn" type="STRING" size="256" sumtext="소분용기 유무"/>
  335. <Column id="ctnrsignyn" type="STRING" size="256" sumtext="원용기 경고표지 유무"/>
  336. <Column id="msdsyn" type="STRING" size="256" sumtext="msds 유무"/>
  337. <Column id="matrnm" type="STRING" size="256" sumtext="물질명"/>
  338. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명"/>
  339. <Column id="maincustlastsuplplcenm" type="STRING" size="256" sumtext="주거래처명"/>
  340. <Column id="fstid" type="STRING" size="256" sumtext="최초등록자ID"/>
  341. <Column id="fstname" type="STRING" size="256" sumtext="최초등록자명"/>
  342. <Column id="orguseqtym" type="STRING" size="256" sumtext="월사용량"/>
  343. <Column id="orguseqtyy" type="STRING" size="256" sumtext="연간 사용량"/>
  344. <Column id="orgusge" type="STRING" size="256" sumtext="용도"/>
  345. <Column id="orgtrethrd" type="STRING" size="256" sumtext="일 취급시간"/>
  346. <Column id="orgworkdcntm" type="STRING" size="256" sumtext="월 작업일수"/>
  347. <Column id="orgtretmcnt" type="STRING" size="256" sumtext="취급자수"/>
  348. <Column id="orgctnryn" type="STRING" size="256" sumtext="소분용기 유무"/>
  349. <Column id="orgctnrsignyn" type="STRING" size="256" sumtext="원용기 경고표지 유무"/>
  350. <Column id="orgmsdsyn" type="STRING" size="256" sumtext="MSDS여부"/>
  351. <Column id="color" type="STRING" size="256"/>
  352. <Column id="trnsname" type="STRING" size="256"/>
  353. </ColumnInfo>
  354. </Dataset>
  355. <Dataset id="ds_cmb_workflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  356. <ColumnInfo>
  357. <Column id="label" type="STRING" size="256"/>
  358. <Column id="value" type="STRING" size="256"/>
  359. </ColumnInfo>
  360. <Rows>
  361. <Row>
  362. <Col id="label">-</Col>
  363. <Col id="value"/>
  364. </Row>
  365. <Row>
  366. <Col id="label">신규</Col>
  367. <Col id="value">N</Col>
  368. </Row>
  369. <Row>
  370. <Col id="label">변경</Col>
  371. <Col id="value">C</Col>
  372. </Row>
  373. <Row>
  374. <Col id="label">중단</Col>
  375. <Col id="value">S</Col>
  376. </Row>
  377. </Rows>
  378. </Dataset>
  379. <Dataset id="ds_cmb_ctnryn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  380. <ColumnInfo>
  381. <Column id="label" type="STRING" size="256"/>
  382. <Column id="value" type="STRING" size="256"/>
  383. </ColumnInfo>
  384. <Rows>
  385. <Row>
  386. <Col id="label">-</Col>
  387. <Col id="value"/>
  388. </Row>
  389. <Row>
  390. <Col id="label">Y</Col>
  391. <Col id="value">Y</Col>
  392. </Row>
  393. <Row>
  394. <Col id="label">N</Col>
  395. <Col id="value">N</Col>
  396. </Row>
  397. </Rows>
  398. </Dataset>
  399. <Dataset id="ds_cmb_ctnrsignyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  400. <ColumnInfo>
  401. <Column id="label" type="STRING" size="256"/>
  402. <Column id="value" type="STRING" size="256"/>
  403. </ColumnInfo>
  404. <Rows>
  405. <Row>
  406. <Col id="label">-</Col>
  407. <Col id="value"/>
  408. </Row>
  409. <Row>
  410. <Col id="label">Y</Col>
  411. <Col id="value">Y</Col>
  412. </Row>
  413. <Row>
  414. <Col id="label">N</Col>
  415. <Col id="value">N</Col>
  416. </Row>
  417. </Rows>
  418. </Dataset>
  419. <Dataset id="ds_cmb_msdsyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  420. <ColumnInfo>
  421. <Column id="label" type="STRING" size="256"/>
  422. <Column id="value" type="STRING" size="256"/>
  423. </ColumnInfo>
  424. <Rows>
  425. <Row>
  426. <Col id="label">-</Col>
  427. <Col id="value"/>
  428. </Row>
  429. <Row>
  430. <Col id="label">Y</Col>
  431. <Col id="value">Y</Col>
  432. </Row>
  433. <Row>
  434. <Col id="label">N</Col>
  435. <Col id="value">N</Col>
  436. </Row>
  437. </Rows>
  438. </Dataset>
  439. <Dataset id="ds_main_excellist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  440. <ColumnInfo>
  441. <Column id="reptdd" type="STRING" size="256" sumtext="보고일"/>
  442. <Column id="reptseq" type="STRING" size="256" sumtext="보고순번"/>
  443. <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
  444. <Column id="matrcd" type="STRING" size="256" sumtext="물질코드"/>
  445. <Column id="workflag" type="STRING" size="256" sumtext="작업구분"/>
  446. <Column id="appdd" type="STRING" size="256" sumtext="적용일"/>
  447. <Column id="useqtym" type="STRING" size="256" sumtext="월사용량"/>
  448. <Column id="useqtyy" type="STRING" size="256" sumtext="연간 사용량"/>
  449. <Column id="usge" type="STRING" size="256" sumtext="용도"/>
  450. <Column id="trethrd" type="STRING" size="256" sumtext="일 취급시간"/>
  451. <Column id="workdcntm" type="STRING" size="256" sumtext="월 작업일수"/>
  452. <Column id="tretmcnt" type="STRING" size="256" sumtext="취급자수"/>
  453. <Column id="ctnryn" type="STRING" size="256" sumtext="소분용기 유무"/>
  454. <Column id="ctnrsignyn" type="STRING" size="256" sumtext="원용기 경고표지 유무"/>
  455. <Column id="msdsyn" type="STRING" size="256" sumtext="msds 유무"/>
  456. <Column id="matrnm" type="STRING" size="256" sumtext="물질명"/>
  457. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명"/>
  458. <Column id="maincustlastsuplplcenm" type="STRING" size="256" sumtext="주거래처명"/>
  459. <Column id="fstname" type="STRING" size="256" sumtext="최초등록자명"/>
  460. </ColumnInfo>
  461. </Dataset>
  462. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  463. <ColumnInfo>
  464. <Column id="instcd" type="STRING" size="256"/>
  465. </ColumnInfo>
  466. <Rows>
  467. <Row/>
  468. </Rows>
  469. </Dataset>
  470. <Dataset id="ds_init_prvg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  471. <ColumnInfo>
  472. <Column id="cnt" type="STRING" size="256" sumtext="권한유무(있으면 1, 없으면 0)"/>
  473. </ColumnInfo>
  474. </Dataset>
  475. <Dataset id="ds_popmatr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  476. <ColumnInfo>
  477. <Column id="matrcd" type="STRING" size="256"/>
  478. <Column id="matrnm" type="STRING" size="256"/>
  479. <Column id="deptcd" type="STRING" size="256"/>
  480. <Column id="prodcmpynm" type="STRING" size="256"/>
  481. <Column id="maincustlastsuplplcenm" type="STRING" size="256"/>
  482. <Column id="returntype" type="STRING" size="256"/>
  483. <Column id="selectyn" type="STRING" size="256"/>
  484. </ColumnInfo>
  485. <Rows>
  486. <Row>
  487. <Col id="matrcd"/>
  488. <Col id="matrnm"/>
  489. <Col id="deptcd"/>
  490. <Col id="prodcmpynm"/>
  491. <Col id="maincustlastsuplplcenm"/>
  492. <Col id="returntype"/>
  493. <Col id="selectyn"/>
  494. </Row>
  495. </Rows>
  496. </Dataset>
  497. </Objects>
  498. <Bind>
  499. <BindItem id="item0" compid="grp_sea.ipt_reptddfrom" propid="value" datasetid="ds_main_condition" columnid="reptddfrom"/>
  500. <BindItem id="item1" compid="grp_sea.ipt_reptddto" propid="value" datasetid="ds_main_condition" columnid="reptddto"/>
  501. <BindItem id="item2" compid="grp_sea.rdo_prcsstat" propid="value" datasetid="ds_main_condition" columnid="prcsstat"/>
  502. <BindItem id="item3" compid="grp_sea.ipt_deptcd" propid="value" datasetid="ds_main_condition" columnid="deptcd"/>
  503. <BindItem id="item4" compid="grp_sea.opt_deptnm" propid="value" datasetid="ds_main_condition" columnid="deptnm"/>
  504. <BindItem id="item5" compid="grp_sea.ipt_matrcd" propid="value" datasetid="ds_main_condition" columnid="matrcd"/>
  505. <BindItem id="item6" compid="grp_sea.opt_matrnm" propid="value" datasetid="ds_main_condition" columnid="matrnm"/>
  506. </Bind>
  507. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  508. * System Name :
  509. * Job Name :
  510. * Creator :
  511. * Make Date : 2017-06-19
  512. * Description :
  513. *---------------------------------------------------------------------------------------
  514. * Modify Date Modifier Modify Description
  515. *---------------------------------------------------------------------------------------
  516. * 2017-06-19 Live Converter TF->XP
  517. *
  518. *---------------------------------------------------------------------------------------
  519. ****************************************************************************************/
  520. include "com_commonxp::comm_main.xjs";
  521. include "mis_miscommonxp::MIS.xjs";
  522. function SMRSM01100_oninit(obj:Form, e:InitEventInfo)
  523. {
  524. frmf_initForm(obj);
  525. }
  526. function SMRSM01100_onload(obj:Form, e:LoadEventInfo)
  527. {
  528. grdf_initGrid(grd_reptlist);
  529. grdf_setRowTypeIcon(grd_reptlist, 0);
  530. grdf_initGrid(grd_matrlist);
  531. fOpenForm();
  532. }
  533. function fOpenForm()
  534. {
  535. var cur_yymm = String(utlf_getCurrentDate()).substr(0, 6);
  536. var month_day = utlf_getCurrentDate().toDate().getMonthDay();
  537. grp_sea.ipt_reptddfrom.value = cur_yymm + "01";
  538. grp_sea.ipt_reptddto.value = cur_yymm + month_day;
  539. grp_sea.rdo_prcsstat.value = "T";
  540. misfGridInit(grd_reptlist);
  541. misfGridInit(grd_matrlist);
  542. misfGridInit(grd_excellist);
  543. var oParam = {};
  544. oParam.id = "TRRSM00403";
  545. oParam.service = "purcbaseapp.PurcBaseMngt";
  546. oParam.method = "reqGetMatrMngtPrvg";
  547. oParam.inds = "req=ds_send";
  548. oParam.outds = "ds_init_prvg=matrlist";
  549. oParam.async = false;
  550. oParam.callback = "cf_TRRSM00403";
  551. tranf_submit(oParam);
  552. }
  553. function cf_TRRSM00403(sSvcId, nErrorCode, sErrorMsg)
  554. {
  555. if(nErrorCode < 0)
  556. {
  557. return;
  558. }
  559. else
  560. {
  561. if(ds_init_prvg.getColumn(0, "cnt") == "1")
  562. {
  563. btn_save.visible = true;
  564. btn_send.visible = true;
  565. }
  566. }
  567. }
  568. function grp_sea_ipt_reptddfrom_onchanged(obj:Calendar, e:ChangeEventInfo)
  569. {
  570. misfGridInit(grd_matrlist);
  571. }
  572. function grp_sea_ipt_reptddto_onchanged(obj:Calendar, e:ChangeEventInfo)
  573. {
  574. misfGridInit(grd_matrlist);
  575. }
  576. function grp_sea_rdo_prcsstat_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  577. {
  578. if(ds_init_prvg.getColumn(0, "cnt") == "1")
  579. {
  580. if(obj.value == "T")
  581. {
  582. btn_save.enable = true;
  583. btn_send.enable = true;
  584. }
  585. else
  586. {
  587. btn_save.enable = false;
  588. btn_send.enable = false;
  589. }
  590. }
  591. misfGridInit(grd_reptlist);
  592. misfGridInit(grd_matrlist);
  593. }
  594. function ds_main_condition_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  595. {
  596. if(e.columnid == "deptcd")
  597. {
  598. var objFocus = this.getFocus();
  599. misfGridInit(grd_matrlist);
  600. grp_sea.ipt_deptcd.value = e.newvalue;
  601. grp_sea.ipt_deptcd.setFocus();
  602. grp_sea.opt_deptnm.value = "";
  603. misfValidationCheck("02", "", "deptcd,deptnm" );
  604. objFocus.setFocus();
  605. }
  606. if(e.columnid == "matrcd")
  607. {
  608. misfGridInit(grd_matrlist);
  609. if(utlf_isNull(e.newvalue))
  610. {
  611. ds_main_condition.setColumn(0, "matrnm", "");
  612. }
  613. }
  614. }
  615. function grp_sea_ipt_deptcd_onkeydown(obj:Edit, e:KeyEventInfo)
  616. {
  617. if(e.keycode == 13)
  618. {
  619. obj.updateToDataset();
  620. }
  621. }
  622. function grp_sea_btn_deptcd_onclick(obj:Button, e:ClickEventInfo)
  623. {
  624. var vOrigDeptcd = grp_sea.ipt_deptcd.value;
  625. var recv_list = "deptcd,deptnm";
  626. misfOpenPopUpList("02", ds_main_condition,"", recv_list);
  627. if(vOrigDeptcd != grp_sea.ipt_deptcd.value)
  628. {
  629. misfGridInit(grd_matrlist);
  630. }
  631. }
  632. function grp_sea_btn_matrcd_onclick(obj:Button, e:ClickEventInfo)
  633. {
  634. ds_popmatr.clearData();
  635. ds_popmatr.addRow();
  636. ds_popmatr.setColumn(0, "deptcd", grp_sea.ipt_deptcd.value);
  637. ds_popmatr.setColumn(0, "selectyn", "");
  638. var objArg = new Object();
  639. objArg.arg_ds_popdata = ds_popmatr;
  640. frmf_modal("SPRSM00100", "SPRSM00100", objArg, "", "", "", "", "", "", "", "", "", "M");
  641. if(ds_popmatr.getColumn(0, "selectyn") == "Y")
  642. {
  643. misfGridInit(grd_matrlist);
  644. ds_main_condition.setColumn(0, "matrnm", ds_popmatr.getColumn(0, "matrnm"));
  645. ds_main_condition.setColumn(0, "matrcd", ds_popmatr.getColumn(0, "matrcd"));
  646. }
  647. }
  648. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  649. {
  650. fGetReptList();
  651. }
  652. function fGetReptList()
  653. {
  654. if(String(ds_main_condition.getColumn(0, "reptddfrom")).length != 8 )
  655. {
  656. sysf_messageBox("보고일자를 정확하게 입력하십시요. ", "E999", "");
  657. grp_sea.ipt_reptddfrom.setFocus();
  658. return;
  659. }
  660. if(String(ds_main_condition.getColumn(0, "reptddto")).length != 8 )
  661. {
  662. sysf_messageBox("보고일자를 정확하게 입력하십시요. ", "E999", "");
  663. grp_sea.ipt_reptddto.setFocus();
  664. return;
  665. }
  666. grp_sea.ipt_deptcd.value = grp_sea.ipt_deptcd.value.getTrim();
  667. grp_sea.ipt_matrcd.value = grp_sea.ipt_matrcd.value.getTrim();
  668. misfGridInit(grd_reptlist);
  669. misfGridInit(grd_matrlist);
  670. misfGridInit(grd_excellist);
  671. var oParam = {};
  672. oParam.id = "TRRSM01101";
  673. oParam.service = "purcbaseapp.PurcBaseMngt";
  674. oParam.method = "reqGetReptList";
  675. oParam.inds = "req=ds_main_condition";
  676. oParam.outds = "ds_main_reptlist=reptlist ds_main_excellist=excellist";
  677. oParam.async = false;
  678. //oParam.callback = "cf_TRRSM01101";
  679. tranf_submit(oParam);
  680. }
  681. function grp_sea_btn_excelAll_onclick(obj:Button, e:ClickEventInfo)
  682. {
  683. grdf_exportExcel(grd_excellist, "화학물질 취급관리 조사 내역 전체", "SheetName1", "false");
  684. }
  685. function grd_reptlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  686. {
  687. if(ds_main_reptlist.rowcount < 1)
  688. {
  689. return;
  690. }
  691. misfGridInit(grd_matrlist);
  692. ds_send.clearData();
  693. dsf_makeValue(ds_send, "reptdd", "string", ds_main_reptlist.getColumn(e.row, "reptdd"), 0);
  694. dsf_makeValue(ds_send, "reptseq", "string", ds_main_reptlist.getColumn(e.row, "reptseq"), 0);
  695. dsf_makeValue(ds_send, "deptcd", "string", ds_main_reptlist.getColumn(e.row, "deptcd"), 0);
  696. var oParam = {};
  697. oParam.id = "TRRSM01102";
  698. oParam.service = "purcbaseapp.PurcBaseMngt";
  699. oParam.method = "reqGetMatrInvstList";
  700. oParam.inds = "req=ds_send";
  701. oParam.outds = "ds_main_matrlist=matrlist";
  702. oParam.async = false;
  703. oParam.callback = "cf_TRRSM01102";
  704. tranf_submit(oParam);
  705. grd_matrlist.setFocus();
  706. }
  707. function cf_TRRSM01102(sSvcId, nErrorCode, sErrorMsg)
  708. {
  709. if(nErrorCode < 0)
  710. {
  711. return;
  712. }
  713. else
  714. {
  715. ds_main_matrlist.addColumn("col6", "string");
  716. ds_main_matrlist.addColumn("col7", "string");
  717. ds_main_matrlist.addColumn("col8", "string");
  718. ds_main_matrlist.addColumn("col9", "string");
  719. ds_main_matrlist.addColumn("col10", "string");
  720. ds_main_matrlist.addColumn("col11", "string");
  721. ds_main_matrlist.addColumn("col12", "string");
  722. ds_main_matrlist.addColumn("col13", "string");
  723. ds_main_matrlist.addColumn("col14", "string");
  724. for(var irow = 0; irow < ds_main_matrlist.rowcount; irow++)
  725. {
  726. var flag = ds_main_matrlist.getColumn(irow, "workflag");
  727. if(utlf_isNull(flag))
  728. {
  729. ds_main_matrlist.setColumn(irow, "color", "");
  730. }
  731. else if(flag == "N")
  732. {
  733. ds_main_matrlist.setColumn(irow, "color", "#ff0000");
  734. }
  735. else if(flag == "C")
  736. {
  737. ds_main_matrlist.setColumn(irow, "color", "#ff0000");
  738. var iFlagCol = grd_matrlist.getBindCellIndex("body", "workflag");
  739. fSetStyleAndFlag("usge", irow, iFlagCol);
  740. fSetStyleAndFlag("useqtym", irow, iFlagCol);
  741. fSetStyleAndFlag("useqtyy", irow, iFlagCol);
  742. fSetStyleAndFlag("trethrd", irow, iFlagCol);
  743. fSetStyleAndFlag("workdcntm", irow, iFlagCol);
  744. fSetStyleAndFlag("tretmcnt", irow, iFlagCol);
  745. fSetStyleAndFlag("ctnryn", irow, iFlagCol);
  746. fSetStyleAndFlag("ctnrsignyn", irow, iFlagCol);
  747. fSetStyleAndFlag("msdsyn", irow, iFlagCol);
  748. }
  749. else if(flag == "S")
  750. {
  751. ds_main_matrlist.setColumn(irow, "color", "#ff0000");
  752. }
  753. }
  754. }
  755. }
  756. function fSetStyleAndFlag(pColname, pRow, pFlagCol)
  757. {
  758. var pCol = pColname;
  759. ds_main_matrlist.enableevent = false;
  760. ds_main_matrlist.updatecontrol = false;
  761. if(ds_main_matrlist.getColumn(pRow, pCol) == ds_main_matrlist.getColumn(pRow, "org"+pColname))
  762. {
  763. ds_main_matrlist.setColumn(pRow, "col" + grd_matrlist.getBindCellIndex("body", pCol), "");
  764. }
  765. else
  766. {
  767. ds_main_matrlist.setColumn(pRow, "col" + grd_matrlist.getBindCellIndex("body", pCol), "#ff0000");
  768. ds_main_matrlist.setColumn(pRow, "col" + grd_matrlist.getBindCellIndex("body", pFlagCol), "#ff0000");
  769. }
  770. ds_main_matrlist.updatecontrol = true;
  771. ds_main_matrlist.enableevent = true;
  772. }
  773. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  774. {
  775. grdf_exportExcel(grd_matrlist, "화학물질 취급관리 조사 내역", "SheetName1", "false");
  776. }
  777. function btn_send_onclick(obj:Button, e:ClickEventInfo)
  778. {
  779. if(ds_main_matrlist.rowcount == 0) return;
  780. if (sysf_messageBox( "해당 조사내역을 전송취소 하시겠습니까? ", "Q999", "") != 6 ) return;
  781. fClickSendBtn();
  782. }
  783. function fClickSendBtn()
  784. {
  785. ds_send.clearData();
  786. dsf_makeValue(ds_send, "reptdd", "string", ds_main_reptlist.getColumn(ds_main_reptlist.rowposition, "reptdd"), 0);
  787. dsf_makeValue(ds_send, "reptseq", "string", ds_main_reptlist.getColumn(ds_main_reptlist.rowposition, "reptseq"), 0);
  788. var oParam = {};
  789. oParam.id = "TXRSM01101";
  790. oParam.service = "purcbaseapp.PurcBaseMngt";
  791. oParam.method = "reqExeSaveMatrInvestSendNot";
  792. oParam.inds = "req=ds_send";
  793. oParam.async = false;
  794. oParam.callback = "cf_TXRSM01101";
  795. tranf_submit(oParam);
  796. }
  797. function cf_TXRSM01101(sSvcId, nErrorCode, sErrorMsg)
  798. {
  799. if(nErrorCode < 0)
  800. {
  801. return;
  802. }
  803. else
  804. {
  805. fGetReptList();
  806. }
  807. }
  808. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  809. {
  810. if(ds_main_matrlist.rowcount == 0) return;
  811. if (sysf_messageBox( "해당 조사 내역을 확정처리 하시겠습니까? ", "Q999", "") != 6 ) return;
  812. fClickSaveBtn();
  813. }
  814. function fClickSaveBtn()
  815. {
  816. ds_main_matrlist.updatecontrol = false;
  817. for(var i = 0; i < ds_main_matrlist.rowcount; i++)
  818. {
  819. ds_main_matrlist.setRowType(i, "u");
  820. }
  821. ds_main_matrlist.updatecontrol = true;
  822. ds_send.clearData();
  823. dsf_makeValue(ds_send, "reptdd", "string", ds_main_reptlist.getColumn(ds_main_reptlist.rowposition, "reptdd"), 0);
  824. dsf_makeValue(ds_send, "reptseq", "string", ds_main_reptlist.getColumn(ds_main_reptlist.rowposition, "reptseq"), 0);
  825. var oParam = {};
  826. oParam.id = "TXRSM01102";
  827. oParam.service = "purcbaseapp.PurcBaseMngt";
  828. oParam.method = "reqExeSaveMatrConfirm";
  829. oParam.inds = "req=ds_send matrlist=ds_main_matrlist:u";
  830. oParam.async = false;
  831. oParam.callback = "cf_TXRSM01102";
  832. tranf_submit(oParam);
  833. }
  834. function cf_TXRSM01102(sSvcId, nErrorCode, sErrorMsg)
  835. {
  836. if(nErrorCode < 0)
  837. {
  838. return;
  839. }
  840. else
  841. {
  842. fGetReptList();
  843. }
  844. }
  845. ]]></Script>
  846. </Form>
  847. </FDL>