SMMNG02800_세탁물물품Master.xfdl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNG02800" position="absolute 0 0 1190 720" titletext="세탁물 물품 Master 등록" oninit="SMMNG02800_oninit" onload="SMMNG02800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="roundrect1" type="roundrectangle" class="roundrect_search" position="absolute 0 20 1185 55"/>
  8. <Div position="absolute 0 0 1185 24" id="grp_tle">
  9. <Layouts>
  10. <Layout>
  11. <Static text="세탁물 물품 Master 등록" position="absolute 0 0 186 24" id="caption6" class="tit_1" anchor="default"/>
  12. </Layout>
  13. </Layouts>
  14. </Div>
  15. <Div position="absolute 0 60 1185 720" id="grp_biz" scrollbars="autoboth">
  16. <Layouts>
  17. <Layout>
  18. <Static text="세탁물 물품 Master 등록" position="absolute 0 8 181 24" id="caption12" class="tit_2"/>
  19. <Shape position="absolute 0 25 1185 26" linetype="vertical" id="line1" class="line_1"/>
  20. <Button position="absolute 1141 3 1183 22" id="btn_sav" class="btn5" text="저장" onclick="grp_biz_btn_sav_onclick"/>
  21. <Grid position="absolute 0 25 1185 641" id="grd_mscdlist" visible="true" binddataset="ds_main_mscdinfo_mscdlist" selecttype="multirow" cellsizebandtype="allband" cellsizingtype="col">
  22. <Formats>
  23. <Format id="default">
  24. <Columns>
  25. <Column size="20" band="left"/>
  26. <Column size="83"/>
  27. <Column size="172"/>
  28. <Column size="73"/>
  29. <Column size="77"/>
  30. <Column size="40"/>
  31. <Column size="60"/>
  32. <Column size="48"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="60"/>
  38. <Column size="60"/>
  39. <Column size="60"/>
  40. <Column size="60"/>
  41. <Column size="60"/>
  42. <Column size="136"/>
  43. <Column size="150"/>
  44. </Columns>
  45. <Rows>
  46. <Row size="24" band="head"/>
  47. <Row size="24" band="head"/>
  48. <Row size="24"/>
  49. </Rows>
  50. <Band id="head">
  51. <Cell rowspan="2" taborder="undefined"/>
  52. <Cell col="1" rowspan="2" text="물품코드" taborder="undefined"/>
  53. <Cell col="2" rowspan="2" text="물품명" taborder="undefined"/>
  54. <Cell col="3" rowspan="2" text="구분" taborder="undefined"/>
  55. <Cell col="4" rowspan="2" text="규격" taborder="undefined"/>
  56. <Cell col="5" rowspan="2" text="단위" taborder="undefined"/>
  57. <Cell col="6" rowspan="2" text="사용유무" taborder="undefined"/>
  58. <Cell col="7" rowspan="2" text="정렬" taborder="undefined"/>
  59. <Cell col="8" text="시작일자"/>
  60. <Cell col="9" text="종료일자"/>
  61. <Cell col="10" text="기관코드"/>
  62. <Cell col="11" text="구븐코드"/>
  63. <Cell col="12" rowspan="2" text="폐기관리화면" wordwrap="word" taborder="undefined"/>
  64. <Cell col="13" rowspan="2" text="위탁/수탁화면" wordwrap="word" taborder="undefined"/>
  65. <Cell col="14" rowspan="2" text="보유관리화면" wordwrap="word" taborder="undefined"/>
  66. <Cell col="15" rowspan="2" text="청구관리화면" wordwrap="word" taborder="undefined"/>
  67. <Cell col="16" rowspan="2" text="린넨운용관리화면" wordwrap="word" taborder="undefined"/>
  68. <Cell col="17" rowspan="2" text="상세설명" taborder="undefined"/>
  69. <Cell col="18" rowspan="2" text="비고" taborder="undefined"/>
  70. <Cell row="1" col="8" text="시작일자"/>
  71. <Cell row="1" col="9" text="종료일자"/>
  72. <Cell row="1" col="10" text="기관코드"/>
  73. <Cell row="1" col="11" text="구븐코드"/>
  74. </Band>
  75. <Band id="body">
  76. <Cell celltype="head"/>
  77. <Cell col="1" displaytype="text" edittype="text" text="bind:goodcd"/>
  78. <Cell col="2" displaytype="text" edittype="text" text="bind:goodnm"/>
  79. <Cell col="3" displaytype="combo" edittype="combo" text="bind:goodflag" combodataset="ds_codelist" combocodecol="cdid" combodatacol="cdnm"/>
  80. <Cell col="4" displaytype="text" edittype="text" text="bind:goodspec"/>
  81. <Cell col="5" displaytype="text" edittype="text" text="bind:goodunit"/>
  82. <Cell col="6" displaytype="combo" edittype="combo" text="bind:useyn" combodataset="ds_useyn" combocodecol="value" combodatacol="label"/>
  83. <Cell col="7" displaytype="text" edittype="text" text="bind:sortseq"/>
  84. <Cell col="8" text="bind:fromdd"/>
  85. <Cell col="9" text="bind:todd"/>
  86. <Cell col="10" text="bind:instcd"/>
  87. <Cell col="11" text="bind:gubuncd"/>
  88. <Cell col="12" displaytype="checkbox" edittype="checkbox" text="bind:dsioyn" expr="expr:dsioyn == 'Y' || dsioyn == '1' ? '1' : '0'"/>
  89. <Cell col="13" displaytype="checkbox" edittype="checkbox" text="bind:csmtyn" expr="expr:csmtyn == 'Y' || csmtyn == '1' ? '1' : '0'"/>
  90. <Cell col="14" displaytype="checkbox" edittype="checkbox" text="bind:possyn" expr="expr:possyn == 'Y' || possyn == '1' ? '1' : '0'"/>
  91. <Cell col="15" displaytype="checkbox" edittype="checkbox" text="bind:porqyn" expr="expr:porqyn == 'Y' || porqyn == '1' ? '1' : '0'"/>
  92. <Cell col="16" displaytype="checkbox" edittype="checkbox" text="bind:linenyn" expr="expr:linenyn == 'Y' || linenyn == '1' ? '1' : '0'"/>
  93. <Cell col="17" displaytype="text" edittype="text" text="bind:gooddesc"/>
  94. <Cell col="18" displaytype="text" edittype="text" text="bind:etcremark"/>
  95. </Band>
  96. </Format>
  97. </Formats>
  98. </Grid>
  99. <Button position="absolute 998 3 1051 22" id="button1" class="btn2" text="초기화" onclick="grp_biz_button1_onclick"/>
  100. <Button position="absolute 1097 3 1139 22" id="button3" class="btn2" text="삭제" onclick="grp_biz_button3_onclick"/>
  101. <Button position="absolute 1053 3 1095 22" id="btn_grdadd" class="btn2" enable="true" text="추가" onclick="grp_biz_btn_grdadd_onclick"/>
  102. </Layout>
  103. </Layouts>
  104. </Div>
  105. <Button position="absolute 1120 25 1176 47" id="btn_search" class="btn1" taborder="2" text="조회" onclick="btn_search_onclick"/>
  106. <Shape position="absolute 1097 25 1103 50" linetype="vertical" id="line2" class="line_4"/>
  107. <Static text="기관코드 :" position="absolute 10 30 91 47" id="cap_instcd" class="search_name"/>
  108. <Edit readonly="true" position="absolute 90 29 265 48" align="align:center middle;" id="opt_instcdnm" class="output" style="align:center middle;"/>
  109. <Radio position="absolute 340 29 645 49" id="rdo_gubuncd" visible="true" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_gubuncd_onitemchanged">
  110. <Dataset id="innerdataset">
  111. <ColumnInfo>
  112. <Column id="codecolumn"/>
  113. <Column id="datacolumn"/>
  114. </ColumnInfo>
  115. <Rows>
  116. <Row>
  117. <Col id="codecolumn">01</Col>
  118. <Col id="datacolumn">물품Master</Col>
  119. </Row>
  120. <Row>
  121. <Col id="codecolumn">02</Col>
  122. <Col id="datacolumn">창고Master</Col>
  123. </Row>
  124. </Rows>
  125. </Dataset>
  126. </Radio>
  127. <Static text="구분 :" position="absolute 290 30 345 47" id="caption1" class="search_name"/>
  128. </Layout>
  129. </Layouts>
  130. <Objects>
  131. <Dataset id="ds_datasend" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  132. <ColumnInfo>
  133. <Column id="gubuncd" type="STRING" size="256" sumtext="품목코드"/>
  134. <Column id="instcdnm" type="STRING" size="256"/>
  135. </ColumnInfo>
  136. <Rows>
  137. <Row/>
  138. </Rows>
  139. </Dataset>
  140. <Dataset id="ds_main_mscdinfo_mscdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_mscdinfo_mscdlist_oncolumnchanged">
  141. <ColumnInfo>
  142. <Column id="goodcd" type="STRING" size="256" sumtext="품목코드"/>
  143. <Column id="goodnm" type="STRING" size="256" sumtext="폼목명"/>
  144. <Column id="goodflag" type="STRING" size="256" sumtext="폼목구분"/>
  145. <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
  146. <Column id="goodunit" type="STRING" size="256" sumtext="단위"/>
  147. <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
  148. <Column id="sortseq" type="INT" size="256" sumtext="정렬"/>
  149. <Column id="gooddesc" type="STRING" size="256" sumtext="폼목상세설명"/>
  150. <Column id="etcremark" type="STRING" size="256" sumtext="비고"/>
  151. <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
  152. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  153. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  154. <Column id="gubuncd" type="STRING" size="256" sumtext="구분코드"/>
  155. <Column id="dsioyn" type="STRING" size="256" sumtext="폐기화면사용유무"/>
  156. <Column id="csmtyn" type="STRING" size="256" sumtext="위타수탁화면사용유무"/>
  157. <Column id="possyn" type="STRING" size="256" sumtext="보유량화면사용유무"/>
  158. <Column id="porqyn" type="STRING" size="256" sumtext="청구화면사용유무"/>
  159. <Column id="linenyn" type="STRING" size="256" sumtext="린넨운용화면사용유무"/>
  160. </ColumnInfo>
  161. </Dataset>
  162. <Dataset id="ds_send_savedata_mscdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  163. <ColumnInfo>
  164. <Column id="status" type="STRING" size="256" sumtext="상태 "/>
  165. <Column id="goodcd" type="STRING" size="256" sumtext="품목코드"/>
  166. <Column id="goodnm" type="STRING" size="256" sumtext="폼목명"/>
  167. <Column id="goodflag" type="STRING" size="256" sumtext="폼목구분"/>
  168. <Column id="goodspec" type="STRING" size="256" sumtext="규격"/>
  169. <Column id="goodunit" type="STRING" size="256" sumtext="단위"/>
  170. <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
  171. <Column id="sortseq" type="INT" size="256" sumtext="정렬"/>
  172. <Column id="gooddesc" type="STRING" size="256" sumtext="폼목상세설명"/>
  173. <Column id="etcremark" type="STRING" size="256" sumtext="비고"/>
  174. <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
  175. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  176. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  177. <Column id="gubuncd" type="STRING" size="256" sumtext="구분코드"/>
  178. <Column id="dsioyn" type="STRING" size="256" sumtext="폐기화면사용유무"/>
  179. <Column id="csmtyn" type="STRING" size="256" sumtext="위타수탁화면사용유무"/>
  180. <Column id="possyn" type="STRING" size="256" sumtext="보유량화면사용유무"/>
  181. <Column id="porqyn" type="STRING" size="256" sumtext="청구화면사용유무"/>
  182. <Column id="linenyn" type="STRING" size="256" sumtext="린넨운용화면사용유무"/>
  183. </ColumnInfo>
  184. </Dataset>
  185. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  186. <ColumnInfo>
  187. <Column id="gubuncd" type="STRING" size="256"/>
  188. </ColumnInfo>
  189. <Rows>
  190. <Row/>
  191. </Rows>
  192. </Dataset>
  193. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  194. <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  195. <ColumnInfo>
  196. <Column id="cdid" type="STRING" size="256"/>
  197. <Column id="cdnm" type="STRING" size="256"/>
  198. </ColumnInfo>
  199. </Dataset>
  200. <Dataset id="ds_useyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  201. <ColumnInfo>
  202. <Column id="label" type="STRING" size="256"/>
  203. <Column id="value" type="STRING" size="256"/>
  204. </ColumnInfo>
  205. <Rows>
  206. <Row>
  207. <Col id="label">사용</Col>
  208. <Col id="value">Y</Col>
  209. </Row>
  210. <Row>
  211. <Col id="value">N</Col>
  212. <Col id="label">미사용</Col>
  213. </Row>
  214. </Rows>
  215. </Dataset>
  216. </Objects>
  217. <Bind>
  218. <BindItem id="item0" compid="opt_instcdnm" propid="value" datasetid="ds_datasend" columnid="instcdnm"/>
  219. <BindItem id="item1" compid="rdo_gubuncd" propid="value" datasetid="ds_main_cond" columnid="gubuncd"/>
  220. </Bind>
  221. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  222. * System Name : 경대 의료정보시스템
  223. * Job Name : emr_csrxp -> SMMNG02800
  224. * Creator : yjh
  225. * Make Date : 2017-08-21
  226. * Description :
  227. *---------------------------------------------------------------------------------------
  228. * Modify Date Modifier Modify Description
  229. *---------------------------------------------------------------------------------------
  230. * 2017-08-21 yjh TF->XP
  231. *
  232. *---------------------------------------------------------------------------------------
  233. ****************************************************************************************/
  234. //=======================================================================================
  235. // Lib Include
  236. //---------------------------------------------------------------------------------------
  237. include "com_commonxp::comm_main.xjs";
  238. include "emr_carecomxp::CareCom.xjs";
  239. //=======================================================================================
  240. // Global Form Variable
  241. //---------------------------------------------------------------------------------------
  242. //=======================================================================================
  243. // Function
  244. //---------------------------------------------------------------------------------------
  245. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  246. function fInitialize()
  247. {
  248. opt_instcdnm.value = sysf_getUserInfo("dutplceinstnm");
  249. rdo_gubuncd.value = '01';
  250. fSearch();
  251. }
  252. function fSearch() {
  253. ds_datasend.setColumn(0, "gubuncd", rdo_gubuncd.value);
  254. var pCode = "'T34'"; // 조회할 CdGrupID 코드정보
  255. var pDate = utlf_getCurrentDate(); // 조회기준일자
  256. fGetNursHardCdInfo(pCode, pDate); // 간호코드 조회
  257. var oParam = {};
  258. oParam.id = "TRMNG02801";
  259. oParam.service = "csrapp.CsrDryMngt";
  260. oParam.method = "reqGetMscdList";
  261. oParam.inds = "req=ds_datasend";
  262. oParam.outds = "ds_main_mscdinfo_mscdlist=mscdlist";
  263. oParam.async = false;
  264. //oParam.callback = "cf_TRMNG02801";
  265. tranf_submit(oParam);
  266. if (rdo_gubuncd.value == '02'){
  267. grp_biz.grd_mscdlist.setFormatColProperty(12, "size", 0);
  268. grp_biz.grd_mscdlist.setFormatColProperty(13, "size", 0);
  269. grp_biz.grd_mscdlist.setFormatColProperty(14, "size", 0);
  270. grp_biz.grd_mscdlist.setFormatColProperty(15, "size", 0);
  271. grp_biz.grd_mscdlist.setFormatColProperty(16, "size", 0);
  272. } else {
  273. grp_biz.grd_mscdlist.setFormatColProperty(12, "size", 60);
  274. grp_biz.grd_mscdlist.setFormatColProperty(13, "size", 60);
  275. grp_biz.grd_mscdlist.setFormatColProperty(14, "size", 60);
  276. grp_biz.grd_mscdlist.setFormatColProperty(15, "size", 60);
  277. grp_biz.grd_mscdlist.setFormatColProperty(16, "size", 60);
  278. }
  279. }
  280. //=======================================================================================
  281. // Event
  282. //---------------------------------------------------------------------------------------
  283. /****************************************************************************************
  284. * Components : Form
  285. * Components ID : SMMNG02800
  286. * Event : oninit
  287. * Argument : 01.obj : Object Event has occurred
  288. * : 02.e : Event Object
  289. * Description : 화면 처음 초기화시
  290. ****************************************************************************************/
  291. function SMMNG02800_oninit(obj:Form, e:InitEventInfo)
  292. {
  293. frmf_initForm(obj); //폼 초기화
  294. }
  295. /****************************************************************************************
  296. * Components : Form
  297. * Components ID : SMMNG02800
  298. * Event : onload
  299. * Argument : 01.obj : Object Event has occurred
  300. * : 02.e : Event Object
  301. * Description : 화면 로딩 완료시
  302. ****************************************************************************************/
  303. function SMMNG02800_onload(obj:Form, e:LoadEventInfo)
  304. {
  305. grdf_setRowTypeIcon(grp_biz.grd_mscdlist, 0);
  306. fInitialize();
  307. }
  308. /****************************************************************************************
  309. * Components : Button
  310. * Components ID : btn_sav
  311. * Event : onclick
  312. * Argument : 01.obj : Object Event has occurred
  313. * : 02.e : Event Object
  314. * Description : 저장버튼 클릭시
  315. ****************************************************************************************/
  316. function grp_biz_btn_sav_onclick(obj:Button, e:ClickEventInfo)
  317. {
  318. ds_main_mscdinfo_mscdlist.enableevent = false;
  319. ds_main_mscdinfo_mscdlist.updatecontrol = false;
  320. grdf_setStatusColumn(ds_main_mscdinfo_mscdlist, "status");
  321. ds_main_mscdinfo_mscdlist.updatecontrol = true;
  322. ds_main_mscdinfo_mscdlist.enableevent = true;
  323. ds_send_savedata_mscdlist.assign(grdf_getGridUpdateData(grp_biz.grd_mscdlist));
  324. var oParam = {};
  325. oParam.id = "TXMNG02801";
  326. oParam.service = "csrapp.CsrDryMngt";
  327. oParam.method = "reqExeMscdList";
  328. oParam.inds = "req=ds_send_savedata_mscdlist:A";
  329. oParam.outds = "";
  330. oParam.async = false;
  331. //oParam.callback = "cf_TXMNG02801";
  332. tranf_submit(oParam);
  333. fSearch();
  334. }
  335. /****************************************************************************************
  336. * Components : Button
  337. * Components ID : button1
  338. * Event : onclick
  339. * Argument : 01.obj : Object Event has occurred
  340. * : 02.e : Event Object
  341. * Description : 초기화버튼 클릭시
  342. ****************************************************************************************/
  343. function grp_biz_button1_onclick(obj:Button, e:ClickEventInfo)
  344. {
  345. fInitialize();
  346. }
  347. /****************************************************************************************
  348. * Components : Button
  349. * Components ID : button3
  350. * Event : onclick
  351. * Argument : 01.obj : Object Event has occurred
  352. * : 02.e : Event Object
  353. * Description : 삭제버튼 클릭시
  354. ****************************************************************************************/
  355. function grp_biz_button3_onclick(obj:Button, e:ClickEventInfo)
  356. {
  357. if(ds_main_mscdinfo_mscdlist.rowposition > -1){
  358. ds_main_mscdinfo_mscdlist.enableevent = false;
  359. ds_main_mscdinfo_mscdlist.updatecontrol = false;
  360. for( var i=0 ; i<grp_biz.grd_mscdlist.selectcount ; i++ ){
  361. for( var j=grp_biz.grd_mscdlist.selectendrow[i] ; j>=grp_biz.grd_mscdlist.selectstartrow[i] ; j-- ){
  362. ds_main_mscdinfo_mscdlist.setRowType(j, 8);
  363. }
  364. }
  365. ds_main_mscdinfo_mscdlist.updatecontrol = true;
  366. ds_main_mscdinfo_mscdlist.enableevent = true;
  367. }
  368. }
  369. /****************************************************************************************
  370. * Components : Button
  371. * Components ID : btn_grdadd
  372. * Event : onclick
  373. * Argument : 01.obj : Object Event has occurred
  374. * : 02.e : Event Object
  375. * Description : 추가버튼 클릭시
  376. ****************************************************************************************/
  377. function grp_biz_btn_grdadd_onclick(obj:Button, e:ClickEventInfo)
  378. {
  379. ds_main_mscdinfo_mscdlist.addRow();
  380. ds_main_mscdinfo_mscdlist.setColumn(ds_main_mscdinfo_mscdlist.rowposition, "useyn", "Y");
  381. ds_main_mscdinfo_mscdlist.setColumn(ds_main_mscdinfo_mscdlist.rowposition, "gubuncd", rdo_gubuncd.value);
  382. var tmp = Number(utlf_transNullToEmpty(ds_main_mscdinfo_mscdlist.getColumn(ds_main_mscdinfo_mscdlist.rowposition-1, "goodcd")).substr(1,3)) + 1;
  383. if (tmp.toString().length == 1) {
  384. tmp = "00" + tmp;
  385. } else if (tmp.toString().length == 2) {
  386. tmp = "0" + tmp;
  387. }
  388. if (rdo_gubuncd.value == '01') {ds_main_mscdinfo_mscdlist.setColumn(ds_main_mscdinfo_mscdlist.rowposition, "goodcd", "A" + tmp);}
  389. else { }
  390. grp_biz.grd_mscdlist.showEditor(true);
  391. }
  392. /****************************************************************************************
  393. * Components : Button
  394. * Components ID : btn_search
  395. * Event : onclick
  396. * Argument : 01.obj : Object Event has occurred
  397. * : 02.e : Event Object
  398. * Description : 조회버튼 클릭시
  399. ****************************************************************************************/
  400. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  401. {
  402. fSearch();
  403. }
  404. /****************************************************************************************
  405. * Components : Radio
  406. * Components ID : rdo_gubuncd
  407. * Event : onitemchanged
  408. * Argument : 01.obj : Object Event has occurred
  409. * : 02.e : Event Object
  410. * Description : 라디오 값 변경시
  411. ****************************************************************************************/
  412. function rdo_gubuncd_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  413. {
  414. fSearch();
  415. }
  416. function ds_main_mscdinfo_mscdlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  417. {
  418. switch( e.columnid ){
  419. case "dsioyn" :
  420. case "csmtyn" :
  421. case "possyn" :
  422. case "porqyn" :
  423. case "linenyn" :
  424. if( e.newvalue == "Y" || e.newvalue == "1" ){
  425. obj.setColumn(e.row, e.columnid, "Y");
  426. }else{
  427. obj.setColumn(e.row, e.columnid, "N");
  428. }
  429. break;
  430. default :
  431. break;
  432. }
  433. }
  434. ]]></Script>
  435. </Form>
  436. </FDL>