SMLBP01900_혈액원NATFile결과전송.xfdl 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLBP01900" position="absolute 0 0 1196 802" titletext="혈액원NATFile결과전송" oninit="SMLBP01900_oninit" onload="SMLBP01900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="btn_cle" taborder="1" text="초기화" class="btn4" position="absolute 1127 19 1195 41" onclick="btn_cle_onclick"/>
  8. <Shape id="line1" linetype="horizontal" class="line_6" position="absolute 1 41 1196 47" style="strokepen:3 solid #33bbbbff;"/>
  9. <Button id="button42" taborder="2" text="저장" class="btn4" position="absolute 1068 19 1124 41" onclick="button42_onclick"/>
  10. <Static id="caption5" text="혈액원 NAT File 결과 전송" class="tit_1" position="absolute 0 0 186 25"/>
  11. <Static id="caption11" text="입력자 정보" class="tit_2" position="absolute 2 64 96 81"/>
  12. <Shape id="line7" linetype="horizontal" class="line_1" position="absolute 0 82 250 88" style="strokepen:3 solid #33bbbbff;"/>
  13. <Static id="caption3" text="결과목록" class="tit_2" position="absolute 257 65 366 81"/>
  14. <Shape id="line2" linetype="horizontal" class="line_1" position="absolute 255 82 1194 88" style="strokepen:3 solid #33bbbbff;"/>
  15. <Static id="caption6" text="입력자 이름" class="cell_1" position="absolute 0 110 100 133"/>
  16. <Shape id="line8" linetype="horizontal" class="line_3" position="absolute 0 132 250 138" style="strokepen:3 solid #33bbbbff;"/>
  17. <Static id="caption1" text="파일 선택" class="tit_2" position="absolute 1 142 95 159"/>
  18. <Shape id="line3" linetype="horizontal" class="line_1" position="absolute 0 158 250 164" style="strokepen:3 solid #33bbbbff;"/>
  19. <Button id="button16" taborder="3" text="NAT File 변환" class="btn2" visible="false" position="absolute 153 781 250 800"/>
  20. <Shape id="line14" linetype="horizontal" class="line_2" position="absolute 0 107 250 113" style="strokepen:1 solid #33bbbbff;"/>
  21. <Shape id="line4" linetype="horizontal" class="line_3" position="absolute 0 181 250 187" style="strokepen:1 solid #33bbbbff;"/>
  22. <Static id="caption12" text="입력자 ID" class="cell_1" position="absolute 0 86 100 109"/>
  23. <Edit id="ipt_userid" taborder="4" class="input_s_essential" position="absolute 103 87 250 106" onkeyup="ipt_userid_onkeyup"/>
  24. <Edit id="opt_usernm" taborder="5" readonly="true" position="absolute 103 111 250 130"/>
  25. <Button id="img1" taborder="6" class="icon_search" position="absolute 232 164 248 180" onclick="img1_onclick"/>
  26. <Grid id="grd_natrslt" taborder="7" binddataset="ds_grd_natrslt" useinputpanel="false" position="absolute 255 86 1194 800" autofittype="col">
  27. <Formats>
  28. <Format id="default">
  29. <Columns>
  30. <Column size="31"/>
  31. <Column size="30"/>
  32. <Column size="85"/>
  33. <Column size="85"/>
  34. <Column size="90"/>
  35. <Column size="0"/>
  36. <Column size="70"/>
  37. <Column size="90"/>
  38. <Column size="60"/>
  39. <Column size="90"/>
  40. <Column size="60"/>
  41. <Column size="90"/>
  42. <Column size="60"/>
  43. <Column size="100"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. </Columns>
  50. <Rows>
  51. <Row size="24" band="head"/>
  52. <Row size="24" band="head"/>
  53. <Row size="24"/>
  54. </Rows>
  55. <Band id="head">
  56. <Cell rowspan="2" taborder="undefined"/>
  57. <Cell col="1" rowspan="2" text="No" taborder="undefined"/>
  58. <Cell col="2" rowspan="2" text="채혈일" taborder="undefined"/>
  59. <Cell col="3" rowspan="2" text="최종검사일" taborder="undefined"/>
  60. <Cell col="4" rowspan="2" text="혈액번호" taborder="undefined"/>
  61. <Cell col="5" text="헌혈종류"/>
  62. <Cell col="6" rowspan="2" text="검사단계" taborder="undefined"/>
  63. <Cell col="7" colspan="2" text="HCV" taborder="undefined"/>
  64. <Cell col="9" colspan="2" text="HIV" taborder="undefined"/>
  65. <Cell col="11" colspan="2" text="HTLV" taborder="undefined"/>
  66. <Cell col="13" rowspan="2" text="바코드" taborder="undefined"/>
  67. <Cell col="14"/>
  68. <Cell col="15"/>
  69. <Cell col="16"/>
  70. <Cell col="17"/>
  71. <Cell col="18"/>
  72. <Cell row="1" col="5" text="헌혈종류"/>
  73. <Cell row="1" col="7" text="결과"/>
  74. <Cell row="1" col="8" text="D/C"/>
  75. <Cell row="1" col="9" text="결과"/>
  76. <Cell row="1" col="10" text="D/C"/>
  77. <Cell row="1" col="11" text="결과"/>
  78. <Cell row="1" col="12" text="D/C"/>
  79. <Cell row="1" col="14" text="LBD10101"/>
  80. <Cell row="1" col="15" text="LBD10102"/>
  81. <Cell row="1" col="16" text="LBD10103"/>
  82. <Cell row="1" col="17"/>
  83. <Cell row="1" col="18"/>
  84. </Band>
  85. <Band id="body">
  86. <Cell text="expr:currow + 1"/>
  87. <Cell col="1" text="bind:no"/>
  88. <Cell col="2" text="bind:dondt"/>
  89. <Cell col="3" text="bind:rsltdt"/>
  90. <Cell col="4" text="bind:blodno"/>
  91. <Cell col="5" text="bind:dongbn"/>
  92. <Cell col="6" text="bind:rsltgbn"/>
  93. <Cell col="7" displaytype="combo" edittype="combo" text="bind:hcvrslt" enable="false"/>
  94. <Cell col="8" text="bind:hcvdc"/>
  95. <Cell col="9" displaytype="combo" edittype="combo" text="bind:hivrslt" enable="false"/>
  96. <Cell col="10" text="bind:hivdc"/>
  97. <Cell col="11" displaytype="combo" edittype="combo" text="bind:htlvrslt" enable="false"/>
  98. <Cell col="12" text="bind:htlvdc"/>
  99. <Cell col="13" text="bind:bcno"/>
  100. <Cell col="14" text="bind:n01"/>
  101. <Cell col="15" text="bind:n02"/>
  102. <Cell col="16" text="bind:n03"/>
  103. <Cell col="17" text="bind:Q"/>
  104. <Cell col="18" text="bind:R"/>
  105. </Band>
  106. </Format>
  107. </Formats>
  108. </Grid>
  109. <Edit id="ipt_filename" taborder="8" position="absolute 0 163 230 182"/>
  110. <Button id="button1" taborder="9" text="test" class="btn2_letter2" visible="false" position="absolute 1140 61 1182 80" onclick="button1_onclick"/>
  111. </Layout>
  112. </Layouts>
  113. <Objects>
  114. <Dataset id="ds_grd_natrslt" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  115. <ColumnInfo>
  116. <Column id="no" type="STRING"/>
  117. <Column id="dondt" type="STRING"/>
  118. <Column id="rsltdt" type="STRING"/>
  119. <Column id="blodno" type="STRING"/>
  120. <Column id="dongbn" type="STRING"/>
  121. <Column id="rsltgbn" type="STRING"/>
  122. <Column id="hcvrslt" type="STRING"/>
  123. <Column id="hcvdc" type="STRING"/>
  124. <Column id="hivrslt" type="STRING"/>
  125. <Column id="hivdc" type="STRING"/>
  126. <Column id="htlvrslt" type="STRING"/>
  127. <Column id="htlvdc" type="STRING"/>
  128. <Column id="bcno" type="STRING"/>
  129. <Column id="n01" type="STRING"/>
  130. <Column id="n02" type="STRING"/>
  131. <Column id="n03" type="STRING"/>
  132. <Column id="Q" type="STRING"/>
  133. <Column id="R" type="STRING"/>
  134. </ColumnInfo>
  135. </Dataset>
  136. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  137. <ColumnInfo>
  138. <Column id="userid" type="STRING" size="256"/>
  139. <Column id="usernm" type="STRING" size="256"/>
  140. <Column id="drive" type="STRING" size="256"/>
  141. <Column id="filename" type="STRING" size="256"/>
  142. </ColumnInfo>
  143. <Rows>
  144. <Row/>
  145. </Rows>
  146. </Dataset>
  147. <Dataset id="ds_rslt_resultyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  148. <ColumnInfo>
  149. <Column id="bcnoall" type="STRING" size="256"/>
  150. </ColumnInfo>
  151. <Rows>
  152. <Row>
  153. <Col id="bcnoall">G28BY00A0|</Col>
  154. </Row>
  155. </Rows>
  156. </Dataset>
  157. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  158. <ColumnInfo>
  159. <Column id="natlist" type="STRING" size="256"/>
  160. <Column id="grddata" type="STRING" size="256"/>
  161. <Column id="userid" type="STRING" size="256"/>
  162. </ColumnInfo>
  163. <Rows>
  164. <Row/>
  165. </Rows>
  166. </Dataset>
  167. <Dataset id="ds_bcnolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  168. <ColumnInfo>
  169. <Column id="natno" type="STRING" size="256" sumtext="nat번호"/>
  170. <Column id="tnsrbcno" type="STRING" size="256" sumtext="검체번호"/>
  171. <Column id="n01" type="STRING" size="256" sumtext="LBD10101결과"/>
  172. <Column id="n02" type="STRING" size="256" sumtext="LBD10102결과"/>
  173. <Column id="n03" type="STRING" size="256" sumtext="LBD10103결과"/>
  174. </ColumnInfo>
  175. </Dataset>
  176. <Dataset id="ds_getUsernm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  177. <ColumnInfo>
  178. <Column id="usernm" type="STRING" size="256" sumtext="검사자명"/>
  179. </ColumnInfo>
  180. </Dataset>
  181. <Dataset id="ds_rsltyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  182. <ColumnInfo>
  183. <Column id="bcnoall" type="STRING" size="256" sumtext="검체구분"/>
  184. </ColumnInfo>
  185. </Dataset>
  186. </Objects>
  187. <Bind>
  188. <BindItem id="item0" compid="ipt_userid" propid="value" datasetid="ds_hidden" columnid="userid"/>
  189. <BindItem id="item1" compid="opt_usernm" propid="value" datasetid="ds_hidden" columnid="usernm"/>
  190. <BindItem id="item2" compid="ipt_filename" propid="value" datasetid="ds_hidden" columnid="filename"/>
  191. </Bind>
  192. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  193. * System Name :
  194. * Job Name :
  195. * Creator :
  196. * Make Date : 2015-05-01
  197. * Description :
  198. *---------------------------------------------------------------------------------------
  199. * Modify Date Modifier Modify Description
  200. *---------------------------------------------------------------------------------------
  201. * 2015-05-01 Live Converter TF->XP
  202. *
  203. *---------------------------------------------------------------------------------------
  204. ****************************************************************************************/
  205. include "com_commonxp::comm_main.xjs";
  206. function SMLBP01900_oninit(obj:Form, e:InitEventInfo)
  207. {
  208. frmf_initForm(obj);
  209. }
  210. function SMLBP01900_onload(obj:Form, e:LoadEventInfo)
  211. {
  212. grdf_initGrid(grd_natrslt);
  213. grdf_setRowTypeIcon(grd_natrslt, 0);
  214. fSetInit();
  215. }
  216. //초기화
  217. function fSetInit()
  218. {
  219. ds_hidden.clearData();
  220. ds_hidden.addRow();
  221. ds_grd_natrslt.clearData();
  222. ipt_userid.setFocus();
  223. }
  224. //초기화버튼
  225. function btn_cle_onclick(obj:Button, e:ClickEventInfo)
  226. {
  227. fSetInit();
  228. }
  229. //TEST 버튼
  230. function button1_onclick(obj:Button, e:ClickEventInfo)
  231. {
  232. fSetRsltYnBcno();
  233. }
  234. // 결과저장된 bcno 표시바꾸기
  235. function fSetRsltYnBcno()
  236. {
  237. var bcnoall = ds_rslt_resultyn.getColumn(0, "bcnoall"); // ex : G28BY0010|G28BY0020|
  238. var bcno1 = bcnoall.split("|");
  239. for(i=0; i<(bcno1.length-1); i++)
  240. {
  241. //setRowStyle("grd_natrslt", "0", bcno1[i], "bcno", "");
  242. }
  243. }
  244. //결과 파일명 가져오기
  245. function img1_onclick(obj:Button, e:ClickEventInfo)
  246. {
  247. fGetFileName();
  248. }
  249. // 파일 가져오기
  250. function fGetFileName()
  251. {
  252. //if(model.getvalue("/root/hidden/usernm") == "")
  253. if(utlf_isNull(ds_hidden.getColumn(0, "usernm")))
  254. {
  255. sysf_messageBox("입력자 ID 를 입력하세요!!", "E");
  256. ipt_userid.setFocus();
  257. return;
  258. }
  259. //var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls|CSV Files(*.csv)|*.csv|Excel Files(*.xlsx)|*.xlsx");
  260. var fd = new FileDialog;
  261. var fileName = fd.open("FileOpen", FileDialog.LOAD);
  262. trace("fileName="+fileName.filename);
  263. if(utlf_isNull(fileName))
  264. {
  265. sysf_messageBox("입고할 파일을 선택하세요", "I");
  266. return;
  267. }
  268. ds_hidden.setColumn(0, "filename", (fileName.filename));
  269. var sStr = (fileName.filename).substr((fileName.filename).length -4)
  270. trace("sStr="+sStr);
  271. if(sStr.toLowerCase() == ".csv") //csv파일일때
  272. {
  273. fileName = (fileName.filename).substr(0, (fileName.filename).length - 4) + sStr.toLowerCase();
  274. //grd_natrslt.loadText(fileName);
  275. ds_grd_natrslt.loadCSV(fileName);
  276. }
  277. else if(sStr.toLowerCase() == ".xls" || sStr.toLowerCase() == "xlsx") //excel파일일때
  278. {
  279. fileName = (fileName.filename).substr(0, (fileName.filename).length - 4) + sStr.toLowerCase();
  280. //grd_natrslt.loadExcel(fileName);
  281. //ds_grd_natrslt.loadExcel(fileName);
  282. grdf_ImportExcel("ds_grd_natrslt", 0, grd_natrslt)
  283. ds_importExcel.copyData(ds_grd_natrslt);
  284. }
  285. else
  286. {
  287. sysf_messageBox("Excel파일을 선택하세요", "E");
  288. ds_hidden.setColumn(0, "filename", filename);
  289. return;
  290. }
  291. if(ds_grd_natrslt.getColumn(0, "R") == "ALT") //ALT 일때는 HTLV결과임
  292. {
  293. for(i = 0; i < ds_grd_natrslt.rowcount; i++)
  294. {
  295. ds_grd_natrslt.setColumn(i, "dongbn", ds_grd_natrslt.getColumn(i, "blodno")); //혈액번호에 들어가있는 헌혈종류
  296. ds_grd_natrslt.setColumn(i, "blodno", ds_grd_natrslt.getColumn(i, "rsltdt")); //최종검사일에 들어가있는 혈액번호
  297. ds_grd_natrslt.setColumn(i, "rsltdt", "-");
  298. ds_grd_natrslt.setColumn(i, "rsltgbn", "완료");
  299. ds_grd_natrslt.setColumn(i, "hcvrslt", "");
  300. ds_grd_natrslt.setColumn(i, "hcvdc", "");
  301. ds_grd_natrslt.setColumn(i, "hivrslt", "");
  302. ds_grd_natrslt.setColumn(i, "hivdc", "");
  303. ds_grd_natrslt.setColumn(i, "htlvrslt", ds_grd_natrslt.getColumn(i, "Q")); //엑셀 Q컬럼에 있는 HTLV결과
  304. ds_grd_natrslt.setColumn(i, "htlvdc", "-");
  305. ds_grd_natrslt.setColumn(i, "bcno", "");
  306. ds_grd_natrslt.setColumn(i, "n01", "");
  307. ds_grd_natrslt.setColumn(i, "n02", "");
  308. ds_grd_natrslt.setColumn(i, "n03", "");
  309. }
  310. //grd_natrslt.deleteRow(2); //제목 저장시 iud : d로 해서 넘어감
  311. ds_grd_natrslt.deleteRow(1);
  312. }
  313. else //NAT결과일때
  314. {
  315. //NAT일때는 deleteRow 2번만 함 - 제목이 두줄
  316. ds_grd_natrslt.deleteRow(1);
  317. }
  318. //혈액번호로 바코드번호 및 해당 결과 조회
  319. fGetNatnoBcno();
  320. }
  321. // 엑셀로딩후 natno에 맞는 bcno 가져오기
  322. function fGetNatnoBcno()
  323. {
  324. var natlist = "";
  325. if(ds_grd_natrslt.rowcount < 2)
  326. {
  327. return;
  328. }
  329. //for(i=1; i<(grd_natrslt.rows-1); i++)
  330. for(i = 0; i <ds_grd_natrslt.rowcount; i++)
  331. {
  332. //natlist += "'" + model.getValue("/root/main/rsltlist["+i+"]/blodno") + "'"; // $natlist$
  333. natlist += "'" + ds_grd_natrslt.getColumn(i, "blodno") + "'";
  334. //if(i < (grd_natrslt.rows-2))
  335. if( i < ds_grd_natrslt.rowcount-1)
  336. {
  337. natlist += ",";
  338. }
  339. }
  340. ds_send.setColumn(0, "natlist", natlist);
  341. // natno에 맞는 bcno 조회
  342. var oParam = {};
  343. oParam.id = "TRLBP01901";
  344. oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
  345. oParam.method = "reqGetNatnoBcno";
  346. oParam.inds = "cond=setColumn";
  347. oParam.outds = "ds_bcnolist=getNatnoBcno";
  348. oParam.async = false;
  349. //oParam.callback = "cf_TRLBP01901";
  350. tranf_submit(oParam);
  351. var row2 = 1;
  352. //var count = getNodesetCount("/root/main/bcnolist") ;
  353. var count = ds_bcnolist.rowcount;
  354. //for(j=1; j<(grd_natrslt.rows-1); j++)
  355. for(j=0; j < ds_grd_natrslt.rowcount-1; j++)
  356. {
  357. for(z=0; z < count; z++)
  358. {
  359. //if(model.getValue("/root/main/rsltlist["+j+"]/blodno") == model.getValue("/root/main/bcnolist["+(z+1)+"]/natno"))
  360. if(ds_grd_natrslt.getColumn(j, "blodno") == ds_bcnolist.getColumn(z, "natno"))
  361. {
  362. //model.setValue("/root/main/rsltlist["+j+"]/bcno", model.getValue("/root/main/bcnolist["+(z+1)+"]/bcno"));
  363. ds_grd_natrslt.setColumn(j, "bcno", ds_bcnolist.getColumn(z, "bcno"));
  364. ds_grd_natrslt.setColumn(j, "n01", ds_bcnolist.getColumn(z, "n01")); //등록된 LBD10101 결과
  365. ds_grd_natrslt.setColumn(j, "n02", ds_bcnolist.getColumn(z, "n02")); //등록된 LBD10102
  366. ds_grd_natrslt.setColumn(j, "n03", ds_bcnolist.getColumn(z, "n03")); //등록된 LBD10103
  367. }
  368. }
  369. }
  370. // for(k=1; k<grd_natrslt.rows; k++)
  371. // {
  372. // grd_natrslt.rowStatus(k) = 1;
  373. // }
  374. }
  375. function ipt_userid_onkeyup(obj:Edit, e:KeyEventInfo)
  376. {
  377. if(e.keycode == 13)
  378. {
  379. fKeyEvent();
  380. }
  381. }
  382. //키이벤트 엔터키 입력시
  383. function fKeyEvent()
  384. {
  385. // 등록번호 바코드 리딩시
  386. //model.setvalue("/root/hidden/userid", (ipt_userid.currentText).substr(0,8));
  387. ds_hidden.setColumn(0, "userid", (ipt_userid.text).substr(0, 8));
  388. // 입력자 정보
  389. fGetUserInfo();
  390. // ipt_userid.selBegin = 0;
  391. // ipt_userid.selEnd = ipt_userid.currentText.length;
  392. }
  393. // 입력자 정보
  394. function fGetUserInfo()
  395. {
  396. if(!utlf_isNull(ds_hidden.getColumn(0, "userid")))
  397. {
  398. //model.makeValue("/root/send/userid" , model.getvalue("/root/hidden/userid"));
  399. ds_send.setColumn(0, "userid", ds_hidden.getColumn(0, "userid"));
  400. var oParam = {};
  401. oParam.id = "TRLZZ00104";
  402. oParam.service = "diagtestapplib.LisCommon";
  403. oParam.method = "reqGetUserNM";
  404. oParam.inds = "cond=ds_send";
  405. oParam.outds = "ds_getUsernm=usernm";
  406. oParam.async = false;
  407. //oParam.callback = "cf_TRLZZ00104";
  408. tranf_submit(oParam);
  409. //model.setValue("/root/hidden/usernm", model.getValue("/root/main/getUsernm/usernm"));
  410. ds_hidden.setColumn(0, "usernm", ds_getUsernm.getColumn(0, "usernm"));
  411. }
  412. }
  413. //저장
  414. function button42_onclick(obj:Button, e:ClickEventInfo)
  415. {
  416. fExeNatRslt();
  417. }
  418. // 저장
  419. function fExeNatRslt()
  420. {
  421. // var grddata = grd_natrslt.getUpdateData();
  422. //model.setValue("/root/send/grddata", grddata);
  423. //model.setValue("/root/send/userid", model.getValue("/root/hidden/userid"));
  424. ds_send.setColumn(0, "userid", ds_hidden.getColumn(0, "userid"));
  425. //submit("TXLBP01901");
  426. var oParam = {};
  427. oParam.id = "TXLBP01901";
  428. oParam.service = "refprintmngtapp.BloodBankRefPrintMngt";
  429. oParam.method = "reqExeNatRslt";
  430. oParam.inds = "cond=ds_grd_natrslt:U cond2=ds_send";
  431. oParam.outds = "ds_rsltyn=rsltyn";
  432. oParam.transaction = false;
  433. oParam.async = false;
  434. //oParam.callback = "cf_TXLBP01901";
  435. tranf_submit(oParam);
  436. // 결과저장된 bcno 표시바꾸기
  437. fSetRsltYnBcno();
  438. }
  439. ]]></Script>
  440. </Form>
  441. </FDL>