SMLPC00900_검사항목조회화면등록.xfdl 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPC00900" position="absolute 0 0 1198 768" titletext="검사항목조회 화면등록" oninit="SMLPC00900_oninit" onload="SMLPC00900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="검사항목별 조회화면등록" class="tit_1" position="absolute 0 0 177 25"/>
  8. <Shape id="line17" linetype="horizontal" class="line_6" position="absolute 0 30 1194 36"/>
  9. <Button id="btn_save" taborder="1" text="저장" class="btn4" position="absolute 1139 11 1195 33" onclick="btn_save_onclick"/>
  10. <Div id="group1" taborder="2" position="absolute 0 34 1194 69" class="div_SA2">
  11. <Layouts>
  12. <Layout>
  13. <Shape id="line14" linetype="vertical" class="line_4" position="absolute 1105 6 1111 28"/>
  14. <Static id="caption23" text="작업구분 :" class="search_name" position="absolute 15 9 105 26"/>
  15. <Combo id="cmb_workflag" taborder="4" innerdataset="ds_init_cmb_workflag" codecolumn="baseflagcd" datacolumn="baseflagnm" class="combo_search" position="absolute 108 8 228 27" onitemchanged="group1_cmb_workflag_onitemchanged"/>
  16. <Combo id="cmb_workkind" taborder="5" innerdataset="ds_init_cmb_workkind" codecolumn="resncd" datacolumn="resncnts" class="combo_search" position="absolute 943 8 1093 27"/>
  17. <Static id="caption2" text="작업유형 :" class="search_name" position="absolute 849 9 939 26"/>
  18. <Button id="btn_sea" taborder="6" text="조회" class="btn1" position="absolute 1123 7 1179 29" onclick="group1_btn_sea_onclick"/>
  19. </Layout>
  20. </Layouts>
  21. </Div>
  22. <Grid id="grd_settinglist" taborder="3" binddataset="ds_grd_settinglist" useinputpanel="false" position="absolute 0 99 740 766">
  23. <Formats>
  24. <Format id="default">
  25. <Columns>
  26. <Column size="22"/>
  27. <Column size="26"/>
  28. <Column size="30"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="100"/>
  32. <Column size="0"/>
  33. <Column size="113"/>
  34. <Column size="90"/>
  35. <Column size="150"/>
  36. <Column size="0"/>
  37. <Column size="90"/>
  38. <Column size="58"/>
  39. <Column size="80"/>
  40. <Column size="0"/>
  41. </Columns>
  42. <Rows>
  43. <Row size="24" band="head"/>
  44. <Row size="24"/>
  45. </Rows>
  46. <Band id="head">
  47. <Cell/>
  48. <Cell col="1"/>
  49. <Cell col="2" text="선택"/>
  50. <Cell col="3" text="기관코드"/>
  51. <Cell col="4" text="작업구분코드"/>
  52. <Cell col="5" text="작업구분"/>
  53. <Cell col="6" text="작업종류코드"/>
  54. <Cell col="7" text="작업종류"/>
  55. <Cell col="8" text="검사코드"/>
  56. <Cell col="9" text="검사항목명"/>
  57. <Cell col="10" text="검사약어"/>
  58. <Cell col="11" text="관계여부"/>
  59. <Cell col="12" text="표시순서"/>
  60. <Cell col="13" text="종료일자"/>
  61. <Cell col="14" text="등록구분코드"/>
  62. </Band>
  63. <Band id="body">
  64. <Cell/>
  65. <Cell col="1" text="expr:currow + 1"/>
  66. <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:choi"/>
  67. <Cell col="3" text="bind:instcd"/>
  68. <Cell col="4" text="bind:workflagcd"/>
  69. <Cell col="5" displaytype="normal" edittype="none" style="align:left middle;" text="bind:workflagnm"/>
  70. <Cell col="6" text="bind:workkindcd"/>
  71. <Cell col="7" displaytype="normal" edittype="none" style="align:left middle;" text="bind:workkindnm"/>
  72. <Cell col="8" displaytype="normal" edittype="none" text="bind:testcd"/>
  73. <Cell col="9" displaytype="normal" edittype="none" style="align:left middle;" text="bind:testhngnm"/>
  74. <Cell col="10" text="bind:testhngabbr"/>
  75. <Cell col="11" displaytype="combo" edittype="combo" text="bind:relaflagcd" combodataset="ds_relaflagcd" combocodecol="value" combodatacol="label"/>
  76. <Cell col="12" displaytype="text" edittype="text" style="align:center middle;" text="bind:dispseqno"/>
  77. <Cell col="13" displaytype="date" edittype="date" text="bind:todd" mask="yyyy-mm-dd"/>
  78. <Cell col="14" text="bind:rgstflagcd"/>
  79. </Band>
  80. </Format>
  81. </Formats>
  82. </Grid>
  83. <Static id="caption1" text="검사코드 설정목록" class="tit_2" position="absolute 5 79 136 96"/>
  84. <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 95 740 101"/>
  85. <Static id="caption3" text="검사코드목록" class="tit_2" position="absolute 750 79 881 95"/>
  86. <Grid id="grd_testcdlist" taborder="4" binddataset="ds_grd_testcdlist" useinputpanel="false" position="absolute 745 99 1195 766" cellsizingtype="none" autosizingtype="none" autofittype="col">
  87. <Formats>
  88. <Format id="default">
  89. <Columns>
  90. <Column size="24"/>
  91. <Column size="30"/>
  92. <Column size="0"/>
  93. <Column size="80"/>
  94. <Column size="200"/>
  95. <Column size="115"/>
  96. </Columns>
  97. <Rows>
  98. <Row size="24" band="head"/>
  99. <Row size="24"/>
  100. </Rows>
  101. <Band id="head">
  102. <Cell/>
  103. <Cell col="1" text="선택"/>
  104. <Cell col="2" text="기관코드"/>
  105. <Cell col="3" text="검사코드"/>
  106. <Cell col="4" text="검사코드명"/>
  107. <Cell col="5" text="검사약칭"/>
  108. </Band>
  109. <Band id="body">
  110. <Cell text="expr:currow + 1"/>
  111. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:choi"/>
  112. <Cell col="2" text="bind:instcd"/>
  113. <Cell col="3" displaytype="normal" edittype="none" style="align:left middle;" text="bind:testcd"/>
  114. <Cell col="4" displaytype="normal" edittype="none" style="align:left middle;" text="bind:testnm"/>
  115. <Cell col="5" displaytype="normal" edittype="none" style="align:left middle;" text="bind:testabbr"/>
  116. </Band>
  117. </Format>
  118. </Formats>
  119. </Grid>
  120. <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 745 95 1195 101"/>
  121. <Button id="btn_add" taborder="5" text="추가" class="btn2" position="absolute 1153 74 1196 93" onclick="btn_add_onclick"/>
  122. </Layout>
  123. </Layouts>
  124. <Objects>
  125. <Dataset id="ds_init_cmb_workflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  126. <ColumnInfo>
  127. <Column id="baseflagnm" type="STRING"/>
  128. <Column id="baseflagcd" type="STRING"/>
  129. </ColumnInfo>
  130. </Dataset>
  131. <Dataset id="ds_init_cmb_workkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  132. <ColumnInfo>
  133. <Column id="resncnts" type="STRING"/>
  134. <Column id="resncd" type="STRING"/>
  135. </ColumnInfo>
  136. </Dataset>
  137. <Dataset id="ds_grd_settinglist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  138. <ColumnInfo>
  139. <Column id="choi" type="STRING"/>
  140. <Column id="instcd" type="STRING"/>
  141. <Column id="workflagcd" type="STRING"/>
  142. <Column id="workflagnm" type="STRING"/>
  143. <Column id="workkindcd" type="STRING"/>
  144. <Column id="workkindnm" type="STRING"/>
  145. <Column id="testcd" type="STRING"/>
  146. <Column id="testhngnm" type="STRING"/>
  147. <Column id="testhngabbr" type="STRING"/>
  148. <Column id="relaflagcd" type="STRING"/>
  149. <Column id="dispseqno" type="STRING"/>
  150. <Column id="todd" type="STRING"/>
  151. <Column id="rgstflagcd" type="STRING"/>
  152. </ColumnInfo>
  153. </Dataset>
  154. <Dataset id="ds_grd_testcdlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  155. <ColumnInfo>
  156. <Column id="choi" type="STRING"/>
  157. <Column id="instcd" type="STRING"/>
  158. <Column id="testcd" type="STRING"/>
  159. <Column id="testnm" type="STRING"/>
  160. <Column id="testabbr" type="STRING"/>
  161. </ColumnInfo>
  162. </Dataset>
  163. <Dataset id="ds_hidden_refflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  164. <ColumnInfo>
  165. <Column id="workflagcd" type="STRING" size="256"/>
  166. <Column id="workkindcd" type="STRING" size="256"/>
  167. </ColumnInfo>
  168. <Rows>
  169. <Row/>
  170. </Rows>
  171. </Dataset>
  172. <Dataset id="ds_resncdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  173. <ColumnInfo>
  174. <Column id="choi" type="STRING" size="256" sumtext="선택"/>
  175. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  176. <Column id="baseflagcd" type="STRING" size="256" sumtext="구분코드"/>
  177. <Column id="resncd" type="STRING" size="256" sumtext="사유코드"/>
  178. <Column id="resncnts" type="STRING" size="256" sumtext="사유내용"/>
  179. </ColumnInfo>
  180. </Dataset>
  181. <Dataset id="ds_relaflagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  182. <ColumnInfo>
  183. <Column id="label" type="STRING" size="256"/>
  184. <Column id="value" type="STRING" size="256"/>
  185. </ColumnInfo>
  186. <Rows>
  187. <Row>
  188. <Col id="label">관계검사</Col>
  189. <Col id="value">0</Col>
  190. </Row>
  191. <Row>
  192. <Col id="label">단독검사</Col>
  193. <Col id="value">1</Col>
  194. </Row>
  195. </Rows>
  196. </Dataset>
  197. </Objects>
  198. <Bind>
  199. <BindItem id="item0" compid="group1.cmb_workflag" propid="value" datasetid="ds_hidden_refflag" columnid="workflagcd"/>
  200. <BindItem id="item1" compid="group1.cmb_workkind" propid="value" datasetid="ds_hidden_refflag" columnid="workkindcd"/>
  201. </Bind>
  202. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  203. * System Name :
  204. * Job Name :
  205. * Creator :
  206. * Make Date : 2015-11-13
  207. * Description :
  208. *---------------------------------------------------------------------------------------
  209. * Modify Date Modifier Modify Description
  210. *---------------------------------------------------------------------------------------
  211. * 2015-11-13 Live Converter TF->XP
  212. *
  213. *---------------------------------------------------------------------------------------
  214. ****************************************************************************************/
  215. include "com_commonxp::comm_main.xjs";
  216. include "lis_commonxp::LPZ001.xjs";
  217. function SMLPC00900_oninit(obj:Form, e:InitEventInfo)
  218. {
  219. frmf_initForm(obj);
  220. grdf_initGrid(grd_settinglist);
  221. grdf_initGrid(grd_testcdlist);
  222. grdf_setRowTypeIcon(grd_settinglist, 0);
  223. }
  224. function SMLPC00900_onload(obj:Form, e:LoadEventInfo)
  225. {
  226. fExeInitialize();
  227. }
  228. function fExeInitialize()
  229. {
  230. // 전체 검사코드목록 조회
  231. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  232. ,{col : "delflagcd", val : "0"}
  233. ,{col : "testflag", val : ""}]);
  234. //submit("TRLPC00901", false);
  235. var oParam = {};
  236. oParam.id = "TRLPC00901";
  237. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  238. oParam.method = "reqGetTestCodeList";
  239. oParam.inds = "refData=ds_send";
  240. oParam.outds = "ds_grd_testcdlist=refrslt";
  241. oParam.async = false;
  242. //oParam.callback = "cf_TRLPC00901";
  243. tranf_submit(oParam);
  244. //------------------
  245. // 작업구분목록 조회
  246. //submit("TRLPZ00104");
  247. var oParam = {};
  248. oParam.id = "TRLPZ00104";
  249. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  250. oParam.method = "reqGetBaseFlagCodeList";
  251. oParam.inds = "refData=ds_send";
  252. oParam.outds = "ds_init_cmb_workflag=refrslt";
  253. oParam.async = false;
  254. //oParam.callback = "cf_TRLPZ00104";
  255. tranf_submit(oParam);
  256. }
  257. //조회버튼
  258. function group1_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  259. {
  260. fGetRefData();
  261. }
  262. //설정목록 검색 함수
  263. function fGetRefData()
  264. {
  265. // model.removeNodeset("/root/send");
  266. // model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  267. // model.makeValue("/root/send/workflagcd", model.getValue("/root/hidden/refflag/workflagcd"));
  268. // model.makeValue("/root/send/workkindcd", model.getValue("/root/hidden/refflag/workkindcd"));
  269. dsf_createDsRow("ds_temp_search", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  270. ,{col : "workflagcd", val : ds_hidden_refflag.getColumn(0, "workflagcd")}
  271. ,{col : "workkindcd", val : ds_hidden_refflag.getColumn(0, "workkindcd")}]);
  272. //submit("TRLPC00902");
  273. var oParam = {};
  274. oParam.id = "TRLPC00902";
  275. oParam.service = "plgybaseinfomngtapp.SetTestCode";
  276. oParam.method = "reqGetSetTestCodeList";
  277. oParam.inds = "refData=ds_temp_search";
  278. oParam.outds = "ds_grd_settinglist=refrslt";
  279. oParam.async = false;
  280. //oParam.callback = "cf_TRLPC00902";
  281. tranf_submit(oParam);
  282. }
  283. function group1_cmb_workflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  284. {
  285. fGetReasonList()
  286. }
  287. function fGetReasonList()
  288. {
  289. // model.removeNodeset("/root/send");
  290. // model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  291. // model.makeValue("/root/send/baseflagcd", "'"+model.getValue("/root/hidden/refflag/workflagcd")+"'");
  292. dsf_createDsRow("ds_send1", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  293. ,{col : "baseflagcd", val : "'"+ds_hidden_refflag.getColumn(0, "workflagcd")+"'"}]);
  294. //submit("TRLPZ00103");
  295. var oParam = {};
  296. oParam.id = "TRLPZ00103";
  297. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  298. oParam.method = "reqGetReasonCodeList";
  299. oParam.inds = "refData=ds_send1";
  300. oParam.outds = "ds_init_cmb_workkind=refrslt";
  301. oParam.async = false;
  302. //oParam.callback = "cf_TRLPZ00103";
  303. tranf_submit(oParam);
  304. //ds_resncdlist.filter("resncd='ZZZZ'");
  305. ds_init_cmb_workkind.filterstr = "resncd !='ZZZZ'";
  306. }
  307. function btn_add_onclick(obj:Button, e:ClickEventInfo)
  308. {
  309. fExeDataAdd();
  310. }
  311. function fExeDataAdd()
  312. {
  313. var ColNo = 7;
  314. var iFindRowNo = 0;
  315. //var TargetNode = "/root/main/settingcnts/settinglist";
  316. //var SourceNode = "/root/init/testcodecnts/testcodelist";
  317. var TargetNode = ds_grd_settinglist;
  318. var SourceNode = ds_grd_testcdlist;
  319. //---------------------------
  320. // 작업구분/유형 선택여부 검사
  321. //if (!lpzfExeBfSaveCheck("/root/hidden/refflag/workflagcd", "작업구분을", "C002", "")) return false;
  322. //if (!lpzfExeBfSaveCheck("/root/hidden/refflag/workkindcd", "작업유형을", "C002", "")) return false;
  323. var msgcnts = ds_hidden_refflag.getColumn(0, "workflagcd");
  324. var msgcd = ds_hidden_refflag.getColumn(0, "workkindcd");
  325. if(!lpzfExeBfSaveCheck(msgcnts, "작업구분을", "C002", "")) return false;
  326. if(!lpzfExeBfSaveCheck(msgcd, "작업유형을", "C002", "")) return false;
  327. for(var iRowNo=0; iRowNo < ds_grd_testcdlist.rowcount; iRowNo++)
  328. {
  329. // 선택항목만 추가처리
  330. if(ds_grd_testcdlist.getColumn(iRowNo, "choi") == 1)
  331. {
  332. // 기존 등록자료인지 검사
  333. iFindRowNo = ds_grd_settinglist.findRow(ds_grd_testcdlist.getColumn(iRowNo, "testcd", 1, ColNo, false, true));
  334. trace("iFindRowNo="+iFindRowNo);
  335. if (iFindRowNo < 0)
  336. {
  337. //grd_settinglist.additem();
  338. ds_grd_settinglist.addRow();
  339. var iRow = ds_grd_settinglist.rowcount-1
  340. // model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/choi", "true");
  341. // model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/instcd", model.getValue(SourceNode + "[" + iRowNo + "]/instcd"));
  342. // model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/workflagcd", model.getValue("/root/hidden/refflag/workflagcd"));
  343. // model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/workflagnm", model.getValue("/root/init/baseflagcd/baseflagcdlist[baseflagcd='" + model.getValue("/root/hidden/refflag/workflagcd") + "']/baseflagnm"));
  344. // model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/workkindcd", model.getValue("/root/hidden/refflag/workkindcd"));
  345. // model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/workkindnm", model.getValue("/root/init/resncd/resncdlist[resncd='" + model.getValue("/root/hidden/refflag/workkindcd") + "']/resncnts"));
  346. // model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/testcd", model.getValue(SourceNode + "[" + iRowNo + "]/testcd"));
  347. // model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/testhngnm", model.getValue(SourceNode + "[" + iRowNo + "]/testnm"));
  348. // model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/testhngabbr", model.getValue(SourceNode + "[" + iRowNo + "]/testabbr"));
  349. // model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/relaflagcd", "1");
  350. // model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/dispseqno", (grd_settinglist.rows-1));
  351. // model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/rgstflagcd", "0");
  352. // grd_settinglist.rowStatus((grd_settinglist.rows-1)) = "1"; // 신규로 처리
  353. ds_grd_settinglist.setColumn(iRow, "choi", 1);
  354. ds_grd_settinglist.setColumn(iRow, "instcd", ds_grd_testcdlist.getColumn(iRowNo, "instcd"));
  355. ds_grd_settinglist.setColumn(iRow, "workflagcd", ds_hidden_refflag.getColumn(0, "workflagcd"));
  356. ds_grd_settinglist.setColumn(iRow, "workflagnm", ds_init_cmb_workflag.getColumn("baseflagcd='"+ds_hidden_refflag.getColumn(0, "workflagcd")+"'", "baseflagnm"));
  357. ds_grd_settinglist.setColumn(iRow, "workkindcd", ds_hidden_refflag.getColumn(0, "workkindcd"));
  358. ds_grd_settinglist.setColumn(iRow, "workkindnm", ds_init_cmb_workkind.getColumn("resncd='"+ds_hidden_refflag.getColumn(0, "workkindcd")+"'", "resncnts"));
  359. ds_grd_settinglist.setColumn(iRow, "testcd", ds_grd_testcdlist.getColumn(iRowNo, "testcd"));
  360. ds_grd_settinglist.setColumn(iRow, "testhngnm", ds_grd_testcdlist.getColumn(iRowNo, "testnm"));
  361. ds_grd_settinglist.setColumn(iRow, "testhngabbr", ds_grd_testcdlist.getColumn(iRowNo, "testabbr"));
  362. ds_grd_settinglist.setColumn(iRow, "relaflagcd", "1");
  363. ds_grd_settinglist.setColumn(iRow, "dispseqno", ds_grd_settinglist.rowcount);
  364. ds_grd_settinglist.setColumn(iRow, "rgstflagcd", "0");
  365. }
  366. else
  367. {
  368. //grd_settinglist.select(iFindRowNo, 0, iFindRowNo, grd_settinglist.cols-1) = true;
  369. return false;
  370. }
  371. }
  372. }
  373. }
  374. //저장버튼
  375. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  376. {
  377. fExeRefData();
  378. }
  379. function fExeRefData()
  380. {
  381. //if (!lpzfExeBfSaveCheck("/root/hidden/refflag/workflagcd", "작업구분을", "C002", "")) return false;
  382. if(!lpzfExeBfSaveCheck(ds_hidden_refflag.getColumn(0, "workflagcd"), "작업구분을", "C002", "")) return false;
  383. if(!lpzfExeBfSaveCheck(ds_hidden_refflag.getColumn(0, "workkindcd"), "작업유형을", "C002", "")) return false;
  384. //--------------------------
  385. lpzfExeRemakeSendNode(1); // Send Node 삭제 후 재 생성
  386. //model.setValue("/root/send/data1", grd_settinglist.getUpdateData());
  387. // ds_send.setColumn(0, "data1", grd_settinglist.updateToDataset());
  388. //dsf_createDsRow("ds_send_data", [{col : "data1", val : grd_settinglist.getUpdateData()}]);
  389. //grd_settinglist.up
  390. //grd_settinglist.updateToDataset();
  391. //if (submit("TXLPC00901"))
  392. var oParam = {};
  393. oParam.id = "TXLPC00901";
  394. oParam.service = "plgybaseinfomngtapp.SetTestCode";
  395. oParam.method = "reqExeSetTestCode";
  396. oParam.inds = "refData=ds_grd_settinglist:I";
  397. oParam.async = false;
  398. //oParam.callback = "cf_TXLPC00901";
  399. tranf_submit(oParam);
  400. sysf_messageBox("저장이", "I002");
  401. //fGetRefData();
  402. }
  403. function cf_TXLPC00901(sSvcId, nErrorCode, sErrorMsg)
  404. {
  405. if(nErrorCode < 0)
  406. {
  407. trace("!");
  408. return;
  409. }
  410. trace("?");
  411. sysf_messageBox("저장이", "E009");
  412. }]]></Script>
  413. </Form>
  414. </FDL>