SMLQF10700_핵의학QC물질별검사관리.xfdl 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLQF10700" position="absolute 0 0 1200 779" titletext="Control Range 관리" oninit="SMLQF10700_oninit" onload="SMLQF10700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="Control Range 관리" class="tit_1" position="absolute 0 0 211 23"/>
  8. <Shape id="line3" class="line_6" position="absolute 0 43 1194 49" anchor="left top right"/>
  9. <Button id="btn_exec" taborder="1" text="저장" class="btn4" position="absolute 1068 21 1124 43" anchor="top right" onclick="btn_exec_onclick"/>
  10. <Button id="btn_init" taborder="2" text="초기화" class="btn4" position="absolute 1127 21 1195 43" anchor="top right" onclick="btn_init_onclick"/>
  11. <Shape id="line7" class="line_10" position="absolute 0 418 1194 424" anchor="left top right"/>
  12. <Static id="cap_regno" text="사용시작일자" class="cell_1" position="absolute 0 423 190 446" anchor="left top"/>
  13. <Div id="group4" taborder="3" class="div_SA" position="absolute 0 48 625 83">
  14. <Layouts>
  15. <Layout>
  16. <Button id="btn_sea" taborder="1" text="조회" class="btn1" position="absolute 473 7 529 29" onclick="group4_btn_sea_onclick"/>
  17. <Static id="caption15" text="조회구분 :" class="search_name" position="absolute 15 9 101 27"/>
  18. <Edit id="ipt_search" taborder="2" class="input_s_button" position="absolute 313 8 413 27" onkeydown="group4_ipt_search_onkeydown"/>
  19. <Combo id="cbo_searchFlag" taborder="3" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_s_essential" position="absolute 103 8 203 27">
  20. <Dataset id="innerdataset">
  21. <ColumnInfo>
  22. <Column id="codecolumn"/>
  23. <Column id="datacolumn"/>
  24. </ColumnInfo>
  25. <Rows>
  26. <Row>
  27. <Col id="codecolumn">1</Col>
  28. <Col id="datacolumn">사용가능자료</Col>
  29. </Row>
  30. <Row>
  31. <Col id="codecolumn">2</Col>
  32. <Col id="datacolumn">전체자료</Col>
  33. </Row>
  34. </Rows>
  35. </Dataset>
  36. </Combo>
  37. <Shape id="line2" linetype="vertical" class="line_4" position="absolute 455 6 461 28"/>
  38. <Combo id="combo1" taborder="4" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_s_essential" position="absolute 208 8 308 27">
  39. <Dataset id="innerdataset">
  40. <ColumnInfo>
  41. <Column id="codecolumn"/>
  42. <Column id="datacolumn"/>
  43. </ColumnInfo>
  44. <Rows>
  45. <Row>
  46. <Col id="codecolumn">1</Col>
  47. <Col id="datacolumn">Control 코드</Col>
  48. </Row>
  49. <Row>
  50. <Col id="codecolumn">2</Col>
  51. <Col id="datacolumn">Control 명</Col>
  52. </Row>
  53. </Rows>
  54. </Dataset>
  55. </Combo>
  56. </Layout>
  57. </Layouts>
  58. </Div>
  59. <Grid id="grd_matrList" taborder="4" binddataset="ds_main_matrlist" useinputpanel="false" position="absolute 0 117 890 393" cellsizingtype="col" autofittype="col" anchor="left top" oncelldblclick="grd_matrList_oncelldblclick">
  60. <Formats>
  61. <Format id="default">
  62. <Columns>
  63. <Column size="20"/>
  64. <Column size="70"/>
  65. <Column size="100"/>
  66. <Column size="0"/>
  67. <Column size="0"/>
  68. <Column size="70"/>
  69. <Column size="70"/>
  70. <Column size="70"/>
  71. <Column size="70"/>
  72. <Column size="70"/>
  73. <Column size="70"/>
  74. <Column size="0"/>
  75. <Column size="60"/>
  76. <Column size="70"/>
  77. </Columns>
  78. <Rows>
  79. <Row size="24" band="head"/>
  80. <Row size="24"/>
  81. </Rows>
  82. <Band id="head">
  83. <Cell/>
  84. <Cell col="1" text="Control 코드"/>
  85. <Cell col="2" text="Control 명"/>
  86. <Cell col="3" text="levlcd"/>
  87. <Cell col="4" text="Standard 명"/>
  88. <Cell col="5" text="LOT번호"/>
  89. <Cell col="6" text="사용시작일시"/>
  90. <Cell col="7" text="사용종료일시"/>
  91. <Cell col="8" text="제조회사"/>
  92. <Cell col="9" text="제조일시"/>
  93. <Cell col="10" text="입고일시"/>
  94. <Cell col="11" text="IF코드"/>
  95. <Cell col="12" text="등록자"/>
  96. <Cell col="13" text="등록일시"/>
  97. </Band>
  98. <Band id="body">
  99. <Cell celltype="head" expr="currow+1"/>
  100. <Cell col="1" style="align:left middle;" text="matrcd" expr="expr:utlf_lTrim(getColumn(currow, 'matrcd'))" wordwrap="word"/>
  101. <Cell col="2" style="align:left middle;padding:1 0 0 1;" text="bind:matrnm" wordwrap="word"/>
  102. <Cell col="3" style="align:left middle;" text="bind:levlcd"/>
  103. <Cell col="4" style="align:left middle;" text="bind:levlnm"/>
  104. <Cell col="5" style="align:left middle;" text="bind:lotno"/>
  105. <Cell col="6" displaytype="date" text="bind:matrfromdd" calendardisplaynulltype="nulltext"/>
  106. <Cell col="7" displaytype="date" text="bind:matrtodd" calendardisplaynulltype="nulltext"/>
  107. <Cell col="8" style="align:left middle;" text="bind:prodcmpy"/>
  108. <Cell col="9" displaytype="date" style="align:left middle;" text="bind:proddt" calendardisplaynulltype="nulltext"/>
  109. <Cell col="10" displaytype="date" style="align:left middle;" text="bind:windt" calendardisplaynulltype="nulltext"/>
  110. <Cell col="11" style="align:left middle;" text="bind:matrifcd"/>
  111. <Cell col="12" style="align:left middle;" text="bind:fstrgstrid"/>
  112. <Cell col="13" displaytype="date" style="align:left middle;" text="bind:fstrgstdt" calendardisplaynulltype="nulltext"/>
  113. </Band>
  114. </Format>
  115. </Formats>
  116. </Grid>
  117. <Shape id="line1" class="line_10" position="absolute 0 112 890 118"/>
  118. <Static id="caption1" text="Control 정보" class="tit_2" position="absolute -1 402 168 424" anchor="left top"/>
  119. <Static id="cap_sexage" text="Control 코드" class="cell_1" position="absolute 396 423 586 446" anchor="left top"/>
  120. <Static id="cap_psnno" text="Standard 코드" class="cell_1" position="absolute 792 423 982 446" anchor="left top"/>
  121. <Edit id="opt_matrfromdd" taborder="5" readonly="true" position="absolute 193 424 393 443" anchor="left top"/>
  122. <Edit id="out_matrcd" taborder="6" readonly="true" position="absolute 589 424 789 443" anchor="left top"/>
  123. <Edit id="out_levlcd" taborder="7" readonly="true" position="absolute 985 424 1194 443" anchor="left top right"/>
  124. <Shape id="line9" class="line_3" position="absolute 0 445 1194 451" anchor="left top right"/>
  125. <Static id="caption7" text="Control 리스트" class="tit_2" position="absolute 0 96 115 118"/>
  126. <Div id="group3" taborder="8" class="div_SA" position="absolute 630 48 1195 83" anchor="left top right">
  127. <Layouts>
  128. <Layout>
  129. <Button id="button1" taborder="1" text="조회" class="btn1" position="absolute 224 7 280 29" anchor="top right" onclick="group3_button1_onclick"/>
  130. <Static id="caption4" text="검사코드 :" class="search_name" position="absolute 5 9 91 26"/>
  131. <Edit id="ipt_searchTestCd" taborder="2" class="input_s_button" position="absolute 98 8 198 27" anchor="left top right" onkeydown="group3_ipt_searchTestCd_onkeydown"/>
  132. <Combo id="cmb_testLrgCd" taborder="3" innerdataset="@ds_init_lb0104" codecolumn="cd" datacolumn="nm" class="combo_s_essential" position="absolute 325 8 435 27" anchor="top right" onitemchanged="group3_cmb_testLrgCd_onitemchanged"/>
  133. <Combo id="cmb_testMdlCd" taborder="4" innerdataset="@ds_init_lb0102" codecolumn="cd" datacolumn="nm" class="combo_s_essential" position="absolute 440 8 555 27" anchor="top right" onitemchanged="group3_cmb_testMdlCd_onitemchanged"/>
  134. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 211 6 217 28" anchor="top right"/>
  135. <Shape id="line5" linetype="vertical" class="line_4" position="absolute 301 6 307 28" anchor="top right"/>
  136. </Layout>
  137. </Layouts>
  138. </Div>
  139. <Grid id="grd_testList" taborder="9" binddataset="ds_main_testlist" useinputpanel="false" position="absolute 895 117 1194 393" autofittype="col" cellsizingtype="col" anchor="left top right">
  140. <Formats>
  141. <Format id="default">
  142. <Columns>
  143. <Column size="19" band="left"/>
  144. <Column size="30" band="left"/>
  145. <Column size="100"/>
  146. <Column size="120"/>
  147. </Columns>
  148. <Rows>
  149. <Row size="24" band="head"/>
  150. <Row size="24"/>
  151. </Rows>
  152. <Band id="head">
  153. <Cell/>
  154. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  155. <Cell col="2" text="검사코드"/>
  156. <Cell col="3" text="검사명"/>
  157. </Band>
  158. <Band id="body">
  159. <Cell celltype="head" expr="currow+1"/>
  160. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'true' ? 1 : 0"/>
  161. <Cell col="2" style="align:left middle;" text="bind:testcd"/>
  162. <Cell col="3" style="align:left middle;" text="bind:testnm"/>
  163. </Band>
  164. </Format>
  165. </Formats>
  166. </Grid>
  167. <Shape id="line14" class="line_10" position="absolute 895 112 1194 118" anchor="left top right"/>
  168. <Static id="caption3" text="검사항목 리스트" class="tit_2" position="absolute 895 96 1018 118"/>
  169. <Grid id="grd_matrTclsList" taborder="10" binddataset="ds_main_matrtclslist" useinputpanel="false" position="absolute 0 475 1194 774" cellsizingtype="col" anchor="all">
  170. <Formats>
  171. <Format id="default">
  172. <Columns>
  173. <Column size="26"/>
  174. <Column size="80"/>
  175. <Column size="120"/>
  176. <Column size="85"/>
  177. <Column size="85"/>
  178. <Column size="80"/>
  179. <Column size="80"/>
  180. <Column size="80"/>
  181. <Column size="80"/>
  182. <Column size="80"/>
  183. <Column size="50"/>
  184. <Column size="50"/>
  185. <Column size="80"/>
  186. <Column size="80"/>
  187. <Column size="60"/>
  188. <Column size="50"/>
  189. <Column size="50"/>
  190. <Column size="60"/>
  191. <Column size="0"/>
  192. <Column size="80"/>
  193. <Column size="80"/>
  194. <Column size="60"/>
  195. <Column size="80"/>
  196. <Column size="135"/>
  197. </Columns>
  198. <Rows>
  199. <Row size="24" band="head"/>
  200. <Row size="24"/>
  201. </Rows>
  202. <Band id="head">
  203. <Cell/>
  204. <Cell col="1" text="검사코드"/>
  205. <Cell col="2" text="검사명"/>
  206. <Cell col="3" text="시작일자"/>
  207. <Cell col="4" text="종료일자"/>
  208. <Cell col="5" text="Def. DOSE"/>
  209. <Cell col="6" text="결과유형"/>
  210. <Cell col="7" text="참고치유형"/>
  211. <Cell col="8" text="참고치구분"/>
  212. <Cell col="9" text="참고치하한"/>
  213. <Cell col="10" text="하한"/>
  214. <Cell col="11" text="상한"/>
  215. <Cell col="12" text="참고치상한"/>
  216. <Cell col="13" text="참고치문자"/>
  217. <Cell col="14" text="소수길이"/>
  218. <Cell col="15" text="단위"/>
  219. <Cell col="16" text="평균"/>
  220. <Cell col="17" text="표준편차"/>
  221. <Cell col="18" text="WGMR범위"/>
  222. <Cell col="19" text="판정유형"/>
  223. <Cell col="20" text="반올림옵션"/>
  224. <Cell col="21" text="그래프"/>
  225. <Cell col="22" text="등록자"/>
  226. <Cell col="23" text="등록일시"/>
  227. </Band>
  228. <Band id="body">
  229. <Cell celltype="head"/>
  230. <Cell col="1" style="align:left middle;" text="bind:testcd" wordwrap="word"/>
  231. <Cell col="2" style="align:left middle;padding:1 0 0 1;" text="bind:testnm" wordwrap="word"/>
  232. <Cell col="3" displaytype="date" edittype="date" text="bind:testfromdd" calendardisplaynulltype="nulltext"/>
  233. <Cell col="4" displaytype="date" edittype="date" text="bind:testtodd" calendardisplaynulltype="nulltext"/>
  234. <Cell col="5" displaytype="text" edittype="text" text="bind:ddosevalue"/>
  235. <Cell col="6" displaytype="combo" edittype="combo" style="padding:2 2 2 2;" text="bind:rsltkind" combodataset="ds_cmb_rsltkind" combocodecol="value" combodatacol="label"/>
  236. <Cell col="7" displaytype="combo" edittype="combo" style="padding:2 2 2 2;" text="bind:refkind" combodataset="ds_cmb_refkind" combocodecol="value" combodatacol="label"/>
  237. <Cell col="8" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:refflag" combodataset="ds_cmb_refflag" combocodecol="value" combodatacol="label"/>
  238. <Cell col="9" displaytype="text" edittype="text" text="bind:refl"/>
  239. <Cell col="10" displaytype="combo" edittype="combo" text="bind:refls" combodataset="ds_cmb_refls" combocodecol="value" combodatacol="label"/>
  240. <Cell col="11" displaytype="combo" edittype="combo" text="bind:refhs" combodataset="ds_cmb_refhs" combocodecol="value" combodatacol="label"/>
  241. <Cell col="12" displaytype="text" edittype="text" text="bind:refh"/>
  242. <Cell col="13" displaytype="text" edittype="text" text="bind:refcval"/>
  243. <Cell col="14" displaytype="combo" edittype="combo" text="bind:intrsltfrmt" combodataset="ds_cmb_intrsltfrmt" combocodecol="value" combodatacol="label"/>
  244. <Cell col="15" displaytype="text" edittype="text" text="bind:rsltunit"/>
  245. <Cell col="16" displaytype="text" edittype="text" text="bind:avg"/>
  246. <Cell col="17" displaytype="text" edittype="text" text="bind:sdval"/>
  247. <Cell col="18" displaytype="text" edittype="text" text="bind:wgmrscop"/>
  248. <Cell col="19" displaytype="combo" edittype="combo" text="bind:judgkind" combodataset="ds_cmb_judgkind" combocodecol="value" combodatacol="label"/>
  249. <Cell col="20" displaytype="combo" edittype="combo" text="bind:rundkind" combodataset="ds_cmb_rundkind" combocodecol="value" combodatacol="label"/>
  250. <Cell col="21" displaytype="checkbox" edittype="checkbox" text="bind::graphdispyn" taborder="undefined"/>
  251. <Cell col="22" style="align:left middle;" text="bind:fstrgstrid"/>
  252. <Cell col="23" displaytype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
  253. </Band>
  254. </Format>
  255. </Formats>
  256. </Grid>
  257. <Button id="button52" taborder="11" text="행추가" class="btn2" enable="false" visible="false" position="absolute 1085 451 1138 470" anchor="top right"/>
  258. <Button id="button53" taborder="12" text="행삭제" class="btn2" position="absolute 1141 451 1194 470" anchor="top right" onclick="button53_onclick"/>
  259. <Button id="btn_up" taborder="13" class="icon_bottom" position="absolute 1035 396 1061 415" anchor="top right" onclick="btn_up_onclick"/>
  260. <Static id="caption2" text="Control 별 검사항목 설정" class="tit_2" position="absolute 0 454 178 476"/>
  261. <Shape id="line4" class="line_10" position="absolute 0 470 1194 476" anchor="left top right"/>
  262. </Layout>
  263. </Layouts>
  264. <Objects>
  265. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  266. <ColumnInfo>
  267. <Column id="refgbn" type="STRING" size="256"/>
  268. <Column id="refcont" type="STRING" size="256"/>
  269. <Column id="searchflag" type="STRING" size="256"/>
  270. <Column id="searchtestcd" type="STRING" size="256"/>
  271. <Column id="testlrg" type="STRING" size="256"/>
  272. </ColumnInfo>
  273. <Rows>
  274. <Row>
  275. <Col id="refgbn">1</Col>
  276. <Col id="refcont"/>
  277. <Col id="searchflag">1</Col>
  278. <Col id="searchtestcd"/>
  279. <Col id="testlrg">00</Col>
  280. </Row>
  281. </Rows>
  282. </Dataset>
  283. <Dataset id="ds_hidden_testmdl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  284. <ColumnInfo>
  285. <Column id="cd" type="STRING" size="256"/>
  286. </ColumnInfo>
  287. <Rows>
  288. <Row>
  289. <Col id="cd">00</Col>
  290. </Row>
  291. </Rows>
  292. </Dataset>
  293. <Dataset id="ds_main_matrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  294. <ColumnInfo>
  295. <Column id="matrcd" type="STRING" size="256" sumtext="QC물질코드"/>
  296. <Column id="levlcd" type="STRING" size="256" sumtext="QC레벨코드"/>
  297. <Column id="matrnm" type="STRING" size="256" sumtext="QC물질명"/>
  298. <Column id="levlnm" type="STRING" size="256" sumtext="레벨명"/>
  299. <Column id="lotno" type="STRING" size="256" sumtext="LOT번호"/>
  300. <Column id="matrfromdd" type="STRING" size="256" sumtext="사용시작일시"/>
  301. <Column id="matrtodd" type="STRING" size="256" sumtext="사용종료일시"/>
  302. <Column id="prodcmpy" type="STRING" size="256" sumtext="제조회사"/>
  303. <Column id="proddt" type="STRING" size="256" sumtext="제조일시"/>
  304. <Column id="windt" type="STRING" size="256" sumtext="입고일자"/>
  305. <Column id="validd" type="STRING" size="256" sumtext="유효일자"/>
  306. <Column id="matrifcd" type="STRING" size="256" sumtext="연동코드"/>
  307. <Column id="fstrgstrid" type="STRING" size="256" sumtext="등록자"/>
  308. <Column id="fstrgstdt" type="STRING" size="256" sumtext="등록일시"/>
  309. <Column id="valiterm" type="STRING" size="256" sumtext="유효만료기간"/>
  310. </ColumnInfo>
  311. </Dataset>
  312. <Dataset id="ds_main_testlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_testlist_oncolumnchanged">
  313. <ColumnInfo>
  314. <Column id="chk" type="STRING" size="256" sumtext="chk"/>
  315. <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
  316. <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
  317. </ColumnInfo>
  318. </Dataset>
  319. <Dataset id="ds_main_matrinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  320. <ColumnInfo>
  321. <Column id="matrfromdd" type="STRING" size="256"/>
  322. <Column id="matrcd" type="STRING" size="256"/>
  323. <Column id="levlcd" type="STRING" size="256"/>
  324. </ColumnInfo>
  325. <Rows>
  326. <Row>
  327. <Col id="matrfromdd"/>
  328. <Col id="matrcd"/>
  329. <Col id="levlcd"/>
  330. </Row>
  331. </Rows>
  332. </Dataset>
  333. <Dataset id="ds_main_matrtclslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_matrtclslist_oncolumnchanged">
  334. <ColumnInfo>
  335. <Column id="testcd" type="STRING" size="256" sumtext="testcd"/>
  336. <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
  337. <Column id="testfromdd" type="STRING" size="256" sumtext="시작일자"/>
  338. <Column id="testtodd" type="STRING" size="256" sumtext="종료일자"/>
  339. <Column id="rsltkind" type="STRING" size="256" sumtext="결과유형"/>
  340. <Column id="refkind" type="STRING" size="256" sumtext="참고치유형"/>
  341. <Column id="refflag" type="STRING" size="256" sumtext="참고치구분"/>
  342. <Column id="refl" type="STRING" size="256" sumtext="참고치하한"/>
  343. <Column id="refls" type="STRING" size="256" sumtext="하한"/>
  344. <Column id="refhs" type="STRING" size="256" sumtext="상한"/>
  345. <Column id="refh" type="STRING" size="256" sumtext="참고치상한"/>
  346. <Column id="refcval" type="STRING" size="256" sumtext="참고치문자"/>
  347. <Column id="intrsltfrmt" type="STRING" size="256" sumtext="결과포멧"/>
  348. <Column id="rsltunit" type="STRING" size="256" sumtext="단위"/>
  349. <Column id="avg" type="STRING" size="256" sumtext="평균"/>
  350. <Column id="sdval" type="STRING" size="256" sumtext="표준편차"/>
  351. <Column id="wgmrscop" type="STRING" size="256" sumtext="WGMR범위"/>
  352. <Column id="judgkind" type="STRING" size="256" sumtext="판정유형"/>
  353. <Column id="rundkind" type="STRING" size="256" sumtext="반올림옵션"/>
  354. <Column id="graphdispyn" type="STRING" size="256" sumtext="그래프"/>
  355. <Column id="ddosevalue" type="STRING" size="256" sumtext="DEFDOSE"/>
  356. <Column id="fstrgstrid" type="STRING" size="256" sumtext="등록자"/>
  357. <Column id="fstrgstdt" type="STRING" size="256" sumtext="등록일자"/>
  358. </ColumnInfo>
  359. </Dataset>
  360. <Dataset id="ds_init_lbLB0104" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  361. <ColumnInfo>
  362. <Column id="cd" type="STRING" size="256"/>
  363. <Column id="nm" type="STRING" size="256"/>
  364. </ColumnInfo>
  365. </Dataset>
  366. <Dataset id="ds_init_lb0102" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  367. <ColumnInfo>
  368. <Column id="cd" type="STRING" size="256"/>
  369. <Column id="nm" type="STRING" size="256"/>
  370. </ColumnInfo>
  371. </Dataset>
  372. <Dataset id="ds_cmb_rsltkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  373. <ColumnInfo>
  374. <Column id="label" type="STRING" size="256"/>
  375. <Column id="value" type="STRING" size="256"/>
  376. </ColumnInfo>
  377. <Rows>
  378. <Row>
  379. <Col id="label">문자+숫자</Col>
  380. <Col id="value">0</Col>
  381. </Row>
  382. <Row>
  383. <Col id="label">숫자</Col>
  384. <Col id="value">1</Col>
  385. </Row>
  386. </Rows>
  387. </Dataset>
  388. <Dataset id="ds_cmb_refkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  389. <ColumnInfo>
  390. <Column id="label" type="STRING" size="256"/>
  391. <Column id="value" type="STRING" size="256"/>
  392. </ColumnInfo>
  393. <Rows>
  394. <Row>
  395. <Col id="label">없음</Col>
  396. <Col id="value">0</Col>
  397. </Row>
  398. <Row>
  399. <Col id="label">문자</Col>
  400. <Col id="value">1</Col>
  401. </Row>
  402. <Row>
  403. <Col id="label">숫자</Col>
  404. <Col id="value">2</Col>
  405. </Row>
  406. </Rows>
  407. </Dataset>
  408. <Dataset id="ds_cmb_refflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  409. <ColumnInfo>
  410. <Column id="label" type="STRING" size="256"/>
  411. <Column id="value" type="STRING" size="256"/>
  412. </ColumnInfo>
  413. <Rows>
  414. <Row>
  415. <Col id="label">사용안함</Col>
  416. <Col id="value">0</Col>
  417. </Row>
  418. <Row>
  419. <Col id="label">하한만사용</Col>
  420. <Col id="value">1</Col>
  421. </Row>
  422. <Row>
  423. <Col id="label">상한만사용</Col>
  424. <Col id="value">2</Col>
  425. </Row>
  426. <Row>
  427. <Col id="label">모두사용</Col>
  428. <Col id="value">3</Col>
  429. </Row>
  430. </Rows>
  431. </Dataset>
  432. <Dataset id="ds_cmb_refls" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  433. <ColumnInfo>
  434. <Column id="label" type="STRING" size="256"/>
  435. <Column id="value" type="STRING" size="256"/>
  436. </ColumnInfo>
  437. <Rows>
  438. <Row>
  439. <Col id="label">&lt;</Col>
  440. <Col id="value">0</Col>
  441. </Row>
  442. <Row>
  443. <Col id="label">&lt;=</Col>
  444. <Col id="value">1</Col>
  445. </Row>
  446. </Rows>
  447. </Dataset>
  448. <Dataset id="ds_cmb_refhs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  449. <ColumnInfo>
  450. <Column id="label" type="STRING" size="256"/>
  451. <Column id="value" type="STRING" size="256"/>
  452. </ColumnInfo>
  453. <Rows>
  454. <Row>
  455. <Col id="label">&lt;</Col>
  456. <Col id="value">0</Col>
  457. </Row>
  458. <Row>
  459. <Col id="label">&lt;=</Col>
  460. <Col id="value">1</Col>
  461. </Row>
  462. </Rows>
  463. </Dataset>
  464. <Dataset id="ds_cmb_intrsltfrmt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  465. <ColumnInfo>
  466. <Column id="label" type="STRING" size="256"/>
  467. <Column id="value" type="STRING" size="256"/>
  468. </ColumnInfo>
  469. <Rows>
  470. <Row>
  471. <Col id="label">-</Col>
  472. <Col id="value">-</Col>
  473. </Row>
  474. <Row>
  475. <Col id="label">0</Col>
  476. <Col id="value">0</Col>
  477. </Row>
  478. <Row>
  479. <Col id="label">1</Col>
  480. <Col id="value">1</Col>
  481. </Row>
  482. <Row>
  483. <Col id="label">2</Col>
  484. <Col id="value">2</Col>
  485. </Row>
  486. <Row>
  487. <Col id="label">3</Col>
  488. <Col id="value">3</Col>
  489. </Row>
  490. <Row>
  491. <Col id="label">4</Col>
  492. <Col id="value">4</Col>
  493. </Row>
  494. <Row>
  495. <Col id="label">5</Col>
  496. <Col id="value">5</Col>
  497. </Row>
  498. <Row>
  499. <Col id="label">6</Col>
  500. <Col id="value">6</Col>
  501. </Row>
  502. <Row>
  503. <Col id="label">7</Col>
  504. <Col id="value">7</Col>
  505. </Row>
  506. <Row>
  507. <Col id="label">8</Col>
  508. <Col id="value">8</Col>
  509. </Row>
  510. <Row>
  511. <Col id="label">9</Col>
  512. <Col id="value">9</Col>
  513. </Row>
  514. <Row>
  515. <Col id="label">10</Col>
  516. <Col id="value">10</Col>
  517. </Row>
  518. </Rows>
  519. </Dataset>
  520. <Dataset id="ds_cmb_judgkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  521. <ColumnInfo>
  522. <Column id="label" type="STRING" size="256"/>
  523. <Column id="value" type="STRING" size="256"/>
  524. </ColumnInfo>
  525. <Rows>
  526. <Row>
  527. <Col id="label">미사용</Col>
  528. <Col id="value">0</Col>
  529. </Row>
  530. <Row>
  531. <Col id="label">L/H</Col>
  532. <Col id="value">1</Col>
  533. </Row>
  534. </Rows>
  535. </Dataset>
  536. <Dataset id="ds_cmb_rundkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  537. <ColumnInfo>
  538. <Column id="label" type="STRING" size="256"/>
  539. <Column id="value" type="STRING" size="256"/>
  540. </ColumnInfo>
  541. <Rows>
  542. <Row>
  543. <Col id="label">사용안함</Col>
  544. <Col id="value">0</Col>
  545. </Row>
  546. <Row>
  547. <Col id="label">반올림</Col>
  548. <Col id="value">1</Col>
  549. </Row>
  550. <Row>
  551. <Col id="label">올림</Col>
  552. <Col id="value">2</Col>
  553. </Row>
  554. <Row>
  555. <Col id="label">내림</Col>
  556. <Col id="value">3</Col>
  557. </Row>
  558. </Rows>
  559. </Dataset>
  560. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  561. <ColumnInfo>
  562. <Column id="codeflag" type="STRING" size="256"/>
  563. <Column id="refcont" type="STRING" size="256"/>
  564. <Column id="refgbn" type="STRING" size="256"/>
  565. <Column id="deptflag" type="STRING" size="256"/>
  566. <Column id="searchflag" type="STRING" size="256"/>
  567. <Column id="matrtclslist" type="STRING" size="256"/>
  568. <Column id="matrfromdd" type="STRING" size="256"/>
  569. <Column id="matrcd" type="STRING" size="256"/>
  570. <Column id="levlcd" type="STRING" size="256"/>
  571. <Column id="matrinfo" type="STRING" size="256"/>
  572. <Column id="testlrgcd" type="STRING" size="256"/>
  573. <Column id="testmdlcd" type="STRING" size="256"/>
  574. </ColumnInfo>
  575. <Rows>
  576. <Row>
  577. <Col id="codeflag"/>
  578. <Col id="refcont"/>
  579. <Col id="refgbn"/>
  580. <Col id="deptflag"/>
  581. <Col id="searchflag"/>
  582. <Col id="matrtclslist"/>
  583. <Col id="matrfromdd"/>
  584. <Col id="matrcd"/>
  585. <Col id="levlcd"/>
  586. <Col id="matrinfo"/>
  587. <Col id="testlrgcd"/>
  588. <Col id="testmdlcd"/>
  589. </Row>
  590. </Rows>
  591. </Dataset>
  592. <Dataset id="ds_init_lb0000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  593. <ColumnInfo>
  594. <Column id="nm" type="STRING" size="256"/>
  595. <Column id="cd" type="STRING" size="256"/>
  596. </ColumnInfo>
  597. </Dataset>
  598. <Dataset id="ds_init_lb0104" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  599. <ColumnInfo>
  600. <Column id="cd" type="STRING" size="256"/>
  601. <Column id="nm" type="STRING" size="256"/>
  602. </ColumnInfo>
  603. </Dataset>
  604. </Objects>
  605. <Bind>
  606. <BindItem id="item0" compid="group4.cbo_searchFlag" propid="value" datasetid="ds_hidden" columnid="refgbn"/>
  607. <BindItem id="item1" compid="group4.combo1" propid="value" datasetid="ds_hidden" columnid="searchflag"/>
  608. <BindItem id="item2" compid="group4.ipt_search" propid="value" datasetid="ds_hidden" columnid="refcont"/>
  609. <BindItem id="item3" compid="group3.ipt_searchTestCd" propid="value" datasetid="ds_hidden" columnid="searchtestcd"/>
  610. <BindItem id="item4" compid="group3.cmb_testLrgCd" propid="value" datasetid="ds_hidden" columnid="testlrg"/>
  611. <BindItem id="item5" compid="opt_matrfromdd" propid="value" datasetid="ds_main_matrinfo" columnid="matrfromdd"/>
  612. <BindItem id="item6" compid="out_matrcd" propid="value" datasetid="ds_main_matrinfo" columnid="matrcd"/>
  613. <BindItem id="item7" compid="out_levlcd" propid="value" datasetid="ds_main_matrinfo" columnid="levlcd"/>
  614. <BindItem id="item8" compid="group3.cmb_testMdlCd" propid="value" datasetid="ds_hidden_testmdl" columnid="cd"/>
  615. </Bind>
  616. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  617. * System Name :
  618. * Job Name :
  619. * Creator :
  620. * Make Date : 2015-11-13
  621. * Description :
  622. *---------------------------------------------------------------------------------------
  623. * Modify Date Modifier Modify Description
  624. *---------------------------------------------------------------------------------------
  625. * 2015-11-13 Live Converter TF->XP
  626. *
  627. *---------------------------------------------------------------------------------------
  628. ****************************************************************************************/
  629. include "com_commonxp::comm_main.xjs";
  630. include "lis_commonxp::LLZ001.xjs";
  631. function SMLQF10700_oninit(obj:Form, e:InitEventInfo)
  632. {
  633. frmf_initForm(obj);
  634. }
  635. function SMLQF10700_onload(obj:Form, e:LoadEventInfo)
  636. {
  637. grdf_initGrid(grd_matrList);
  638. grdf_initGrid(grd_matrTclsList);
  639. grdf_initGrid(grd_testList);
  640. grdf_setRowTypeIcon(grd_matrTclsList, 0);
  641. fSetInit();
  642. }
  643. function fSetInit()
  644. {
  645. ds_main_matrinfo.clearData();
  646. ds_main_matrlist.clearData();
  647. ds_main_testlist.clearData();
  648. ds_main_matrtclslist.clearData();
  649. lf_getDbDeptcd("0102|0104|0000|", "")
  650. fGetMatrList();
  651. fGetTestList();
  652. }
  653. function fGetMatrList()
  654. {
  655. ds_send.setColumn(0, "refgbn", ds_hidden.getColumn(0, "refgbn"));
  656. ds_send.setColumn(0, "searchflag", ds_hidden.getColumn(0, "searchflag"));
  657. ds_send.setColumn(0, "refcont", ds_hidden.getColumn(0, "refcont"));
  658. ds_send.setColumn(0, "deptflag", ds_init_lb0000.getColumn(0, "nm"));
  659. var oParam = {};
  660. oParam.id = "TRLQF00701";
  661. oParam.service = "grademngtbasemngtapp.QCMaterialTestItemMngt";
  662. oParam.method = "reqGetMatrList";
  663. oParam.inds = "cond=ds_send";
  664. oParam.outds = "ds_main_matrlist=matrlist";
  665. oParam.async = false;
  666. //oParam.callback = "cf_TRLQF00701";
  667. tranf_submit(oParam);
  668. }
  669. function fGetTestList()
  670. {
  671. ds_send.setColumn(0, "refcont", ds_hidden.getColumn(0, "searchtestcd"));
  672. ds_send.setColumn(0, "deptflag", ds_init_lb0000.getColumn(0, "nm"));
  673. var oParam = {};
  674. oParam.id = "TRLQF00702";
  675. oParam.service = "grademngtbasemngtapp.QCMaterialTestItemMngt";
  676. oParam.method = "reqGetTestList";
  677. oParam.inds = "cond=ds_send";
  678. oParam.outds = "ds_main_testlist=testlist";
  679. oParam.async = false;
  680. //oParam.callback = "cf_TRLQF00702";
  681. tranf_submit(oParam);
  682. }
  683. function ds_main_testlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  684. {
  685. if( e.columnid == "chk" )
  686. {
  687. obj.setColumn(e.row, "chk", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
  688. }
  689. }
  690. function ds_main_matrtclslist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  691. {
  692. if( e.columnid == "graphdispyn" )
  693. {
  694. obj.setColumn(e.row, "graphdispyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  695. }
  696. if(e.columnid == "refl" || e.columnid == "refh")
  697. {
  698. fSetRef();
  699. }
  700. }
  701. function group4_ipt_search_onkeydown(obj:Edit, e:KeyEventInfo)
  702. {
  703. if(e.keycode == 13)
  704. {
  705. obj.updateToDataset();
  706. fKeyEvent("ipt_search");
  707. }
  708. }
  709. function group3_ipt_searchTestCd_onkeydown(obj:Edit, e:KeyEventInfo)
  710. {
  711. if(e.keycode == 13)
  712. {
  713. obj.updateToDataset();
  714. fKeyEvent("ipt_searchTestCd");
  715. }
  716. }
  717. function group3_cmb_testLrgCd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  718. {
  719. fSetTestLrgCd();
  720. }
  721. function group3_cmb_testMdlCd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  722. {
  723. fGetTclscdList();
  724. }
  725. function fKeyEvent(obj)
  726. {
  727. if(obj == "ipt_search")
  728. {
  729. fGetMatrList();
  730. }
  731. if(obj == "ipt_searchTestCd")
  732. {
  733. ds_send.setColumn(0, "refcont", group3.ipt_searchTestCd.value);
  734. fGetTestList();
  735. }
  736. }
  737. function group4_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  738. {
  739. fGetMatrList();
  740. }
  741. function group3_button1_onclick(obj:Button, e:ClickEventInfo)
  742. {
  743. fGetTestList();
  744. }
  745. function grd_matrList_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  746. {
  747. fGetMatrTclsList();
  748. }
  749. function fGetMatrTclsList()
  750. {
  751. ds_send.setColumn(0, "matrfromdd", ds_main_matrlist.getColumn(ds_main_matrlist.rowposition, "matrfromdd"));
  752. ds_send.setColumn(0, "matrcd", ds_main_matrlist.getColumn(ds_main_matrlist.rowposition, "matrcd").getTrim());
  753. ds_send.setColumn(0, "levlcd", ds_main_matrlist.getColumn(ds_main_matrlist.rowposition, "levlcd"));
  754. ds_send.setColumn(0, "deptflag", ds_init_lb0000.getColumn(0, "nm"));
  755. var oParam = {};
  756. oParam.id = "TRLQF00703";
  757. oParam.service = "grademngtbasemngtapp.QCMaterialTestItemMngt";
  758. oParam.method = "reqGetMatrTclsList";
  759. oParam.inds = "matrinfo=ds_send";
  760. oParam.outds = "ds_main_matrtclslist=matrtclslist ds_main_matrinfo=matrfromdd";
  761. oParam.async = false;
  762. oParam.callback = "cf_TRLQF00703";
  763. tranf_submit(oParam);
  764. }
  765. function cf_TRLQF00703(sSvcId, nErrorCode, sErrorMsg)
  766. {
  767. if(nErrorCode < 0)
  768. {
  769. return;
  770. }
  771. else
  772. {
  773. fSetMatrCopy();
  774. }
  775. }
  776. function fSetMatrCopy()
  777. {
  778. if(ds_main_matrinfo.rowcount == 0)
  779. {
  780. ds_main_matrinfo.addRow();
  781. }
  782. ds_main_matrinfo.setColumn(0, "matrfromdd", ds_main_matrlist.getColumn(ds_main_matrlist.rowposition, "matrfromdd"));
  783. ds_main_matrinfo.setColumn(0, "matrcd", ds_main_matrlist.getColumn(ds_main_matrlist.rowposition, "matrcd").getTrim());
  784. ds_main_matrinfo.setColumn(0, "levlcd", ds_main_matrlist.getColumn(ds_main_matrlist.rowposition, "levlcd"));
  785. }
  786. function btn_up_onclick(obj:Button, e:ClickEventInfo)
  787. {
  788. fCopyTestList();
  789. }
  790. function fCopyTestList()
  791. {
  792. var vChk = ""
  793. var vTestCd = ""
  794. var vTestNm = ""
  795. if(!utlf_isNull(ds_main_matrinfo.getColumn(0, "matrfromdd")))
  796. {
  797. for(var i = 0; i < ds_main_testlist.rowcount; i++)
  798. {
  799. vChk = ds_main_testlist.getColumn(i, "chk");
  800. vTestCd = ds_main_testlist.getColumn(i, "testcd");
  801. vTestNm = ds_main_testlist.getColumn(i, "testnm");
  802. if( vChk == "true")
  803. {
  804. if(ds_main_matrtclslist.findRow("testcd", vTestCd) == "-1")
  805. {
  806. trace(vTestCd)
  807. var row = ds_main_matrtclslist.addRow();
  808. ds_main_matrtclslist.setColumn(row, "testcd", vTestCd);
  809. ds_main_matrtclslist.setColumn(row, "testnm", vTestNm);
  810. ds_main_matrtclslist.setColumn(row, "testfromdd", ds_main_matrinfo.getColumn(0, "matrfromdd"));
  811. ds_main_matrtclslist.setColumn(row, "testtodd", "99991231");
  812. ds_main_testlist.setColumn(i, "chk", "false");
  813. }
  814. else
  815. {
  816. alert(vTestCd + " 항목이 중복되었습니다");
  817. ds_main_testlist.setColumn(i, "chk", "false");
  818. }
  819. }
  820. }
  821. }
  822. else
  823. {
  824. alert("물질을 먼저 선택하세요");
  825. }
  826. }
  827. function fSetRef()
  828. {
  829. var vRefL = ds_main_matrtclslist.getColumn(ds_main_matrtclslist.rowposition, "refl");
  830. var vRefH = ds_main_matrtclslist.getColumn(ds_main_matrtclslist.rowposition, "refh");
  831. if(!utlf_isNull(vRefL) && !utlf_isNull(vRefH))
  832. {
  833. if(parseFloat(vRefL) > parseFloat(vRefH))
  834. {
  835. alert("참고치 하한값이 상한값보다 클 수 없습니다.");
  836. return;
  837. }
  838. var vAvg = (parseFloat(vRefL) + parseFloat(vRefH)) / 2;
  839. var vSD = vAvg / 2;
  840. ds_main_matrtclslist.setColumn(ds_main_matrtclslist.rowposition, "avg", vAvg);
  841. ds_main_matrtclslist.setColumn(ds_main_matrtclslist.rowposition, "sdval", vSD);
  842. }
  843. }
  844. function button53_onclick(obj:Button, e:ClickEventInfo)
  845. {
  846. ds_main_matrtclslist.deleteRow(ds_main_matrtclslist.rowposition);
  847. }
  848. function btn_exec_onclick(obj:Button, e:ClickEventInfo)
  849. {
  850. if(sysf_messageBox("", "Q002")==6)
  851. {
  852. if(grdf_getGridUpdateData(grd_matrTclsList) == 0)
  853. {
  854. sysf_messageBox("저장할 자료가 존재하지 않아 실행", "E001");
  855. return;
  856. }
  857. fExeMatrTclsList();
  858. }
  859. }
  860. function fExeMatrTclsList()
  861. {
  862. ds_send.setColumn(0, "deptflag", ds_init_lb0000.getColumn(0, "nm"));
  863. if(utlf_isNull(ds_main_matrinfo.getColumn(0, "matrfromdd")) || utlf_isNull(ds_main_matrinfo.getColumn(0, "matrcd")) || utlf_isNull(ds_main_matrinfo.getColumn(0, "levlcd"))|| utlf_isNull(ds_main_matrtclslist.getColumn(0, "testcd")) || utlf_isNull(ds_main_matrtclslist.getColumn(0, "testfromdd")))
  864. {
  865. sysf_messageBox("필수 항목이 입력되지 않았습니다.","I007");
  866. return false;
  867. }
  868. var oParam = {};
  869. oParam.id = "TXLQF00701";
  870. oParam.service = "grademngtbasemngtapp.QCMaterialTestItemMngt";
  871. oParam.method = "reqExeMatrTclsList";
  872. oParam.inds = "matrtclslist=ds_main_matrtclslist:u matrinfo=ds_main_matrinfo cond=ds_send";
  873. oParam.async = false;
  874. oParam.callback = "cf_TXLQF00701";
  875. tranf_submit(oParam);
  876. }
  877. function cf_TXLQF00701(sSvcId, nErrorCode, sErrorMsg)
  878. {
  879. if(nErrorCode < 0)
  880. {
  881. return;
  882. }
  883. else
  884. {
  885. fGetMatrTclsList();
  886. }
  887. }
  888. function btn_init_onclick(obj:Button, e:ClickEventInfo)
  889. {
  890. this.reload();
  891. }
  892. ]]></Script>
  893. </Form>
  894. </FDL>