SMRSD04420_신규재료수가위원회내역(결과팝업).xfdl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRSD04420" position="absolute 0 0 1045 650" titletext="신규재료수가위원회내역(팝업)" oninit="SMRSD04420_oninit" onload="SMRSD04420_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group2" taborder="0" class="div_SA2" position="absolute 0 0 1040 40">
  8. <Layouts>
  9. <Layout>
  10. <Edit id="ipt_newmatrseq" taborder="1" class="input_essential" position="absolute 495 10 730 29" autoselect="true" autoskip="true"/>
  11. <Button id="btn_search" taborder="2" text="조회" class="btn1" position="absolute 975 9 1031 31" onclick="group2_btn_search_onclick"/>
  12. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 957 9 963 27"/>
  13. <Static id="cap_newmatrseq" text="수가위원회차수 :" class="search_name" position="absolute 370 11 495 28"/>
  14. <Static id="cap_instcd" text="기관코드 :" class="search_name" position="absolute 15 11 101 28"/>
  15. <Combo id="cmb_instcd" taborder="3" class="combo_essential" position="absolute 115 10 240 29"/>
  16. </Layout>
  17. </Layouts>
  18. </Div>
  19. <Static id="caption4" text="물품 리스트" class="tit_2" position="absolute 0 61 113 82"/>
  20. <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 77 1040 83" anchor="left top right"/>
  21. <Grid id="grd_rscmnwgd" taborder="1" binddataset="ds_main_rscmnwgd" useinputpanel="false" position="absolute 0 82 1040 615" autoenter="select" autofittype="col" cellsizingtype="col">
  22. <Formats>
  23. <Format id="default">
  24. <Columns>
  25. <Column size="22"/>
  26. <Column size="55"/>
  27. <Column size="100"/>
  28. <Column size="100"/>
  29. <Column size="100"/>
  30. <Column size="100"/>
  31. <Column size="100"/>
  32. <Column size="0"/>
  33. <Column size="100"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. <Column size="0"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="0"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. <Column size="0"/>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="0"/>
  59. <Column size="0"/>
  60. <Column size="0"/>
  61. <Column size="0"/>
  62. <Column size="0"/>
  63. <Column size="0"/>
  64. <Column size="0"/>
  65. <Column size="0"/>
  66. <Column size="0"/>
  67. <Column size="0"/>
  68. <Column size="0"/>
  69. <Column size="0"/>
  70. <Column size="0"/>
  71. <Column size="0"/>
  72. <Column size="0"/>
  73. <Column size="0"/>
  74. <Column size="0"/>
  75. <Column size="0"/>
  76. <Column size="0"/>
  77. <Column size="0"/>
  78. <Column size="0"/>
  79. <Column size="0"/>
  80. <Column size="0"/>
  81. <Column size="0"/>
  82. <Column size="0"/>
  83. <Column size="0"/>
  84. <Column size="0"/>
  85. <Column size="0"/>
  86. <Column size="0"/>
  87. <Column size="180"/>
  88. <Column size="169"/>
  89. </Columns>
  90. <Rows>
  91. <Row size="24" band="head"/>
  92. <Row size="24"/>
  93. </Rows>
  94. <Band id="head">
  95. <Cell/>
  96. <Cell col="1" text="순번"/>
  97. <Cell col="2" text="물품한글명"/>
  98. <Cell col="3" text="물품영문명"/>
  99. <Cell col="4" text="물품규격"/>
  100. <Cell col="5" text="물품모델"/>
  101. <Cell col="6" text="제조국"/>
  102. <Cell col="7" text="제조회사코드"/>
  103. <Cell col="8" text="제조회사"/>
  104. <Cell col="9" text="주거래처-최종공급처"/>
  105. <Cell col="10" text="주거래처"/>
  106. <Cell col="11" text="담당자ID"/>
  107. <Cell col="12" text="담당자HP"/>
  108. <Cell col="13" text="담당자전화번호"/>
  109. <Cell col="14" text="구매단위"/>
  110. <Cell col="15" text="사용단위"/>
  111. <Cell col="16" text="청구수량"/>
  112. <Cell col="17" text="단가"/>
  113. <Cell col="18" text="월평균사용량"/>
  114. <Cell col="19" text="사용예정일"/>
  115. <Cell col="20" text="청구사유및용도"/>
  116. <Cell col="21" text="유사재료사용현황"/>
  117. <Cell col="22" text="타병원사용현황"/>
  118. <Cell col="23" text="신규재료사용시개선점"/>
  119. <Cell col="24" text="비고"/>
  120. <Cell col="25" text="청구부서"/>
  121. <Cell col="26" text="청구부서"/>
  122. <Cell col="27" text="청구자"/>
  123. <Cell col="28" text="청구자"/>
  124. <Cell col="29" text="청구자원내전화"/>
  125. <Cell col="30" text="요양급여"/>
  126. <Cell col="31" text="요양급여"/>
  127. <Cell col="32" text="EDI 코드"/>
  128. <Cell col="33" text="의료적비급여사유"/>
  129. <Cell col="34" text="해당고시"/>
  130. <Cell col="35" text="미결정치료재료신청일"/>
  131. <Cell col="36" text="미결정치료재료"/>
  132. <Cell col="37" text="행위료포함"/>
  133. <Cell col="38" text="심사소견"/>
  134. <Cell col="39" text="수가위원회여부"/>
  135. <Cell col="40" text="신규재료진행상태"/>
  136. <Cell col="41" text="대분류"/>
  137. <Cell col="42" text="대분류"/>
  138. <Cell col="43" text="중분류"/>
  139. <Cell col="44" text="중분류"/>
  140. <Cell col="45" text="소분류"/>
  141. <Cell col="46" text="소분류"/>
  142. <Cell col="47" text="물품코드"/>
  143. <Cell col="48" text="물품명"/>
  144. <Cell col="49" text="동재료한글명"/>
  145. <Cell col="50" text="동재료영어명"/>
  146. <Cell col="51" text="동재료수가코드"/>
  147. <Cell col="52" text="동재료금액"/>
  148. <Cell col="53" text="기관코드"/>
  149. <Cell col="54" text="수가위원회차수"/>
  150. <Cell col="55" text="청구일자"/>
  151. <Cell col="56" text="청구순번"/>
  152. <Cell col="57" text="물품구분"/>
  153. <Cell col="58" text="구매팀소견"/>
  154. <Cell col="59" text="응급처리여부"/>
  155. <Cell col="60" text="단가"/>
  156. <Cell col="61" text="구매단위"/>
  157. <Cell col="62" text="수가위원회구입여부결과"/>
  158. <Cell col="63" text="수가위원회수가결과" wordwrap="word"/>
  159. </Band>
  160. <Band id="body">
  161. <Cell celltype="head"/>
  162. <Cell col="1" text="bind:newmatrordseq"/>
  163. <Cell col="2" text="bind:goodhngnm"/>
  164. <Cell col="3" text="bind:goodengnm"/>
  165. <Cell col="4" text="bind:goodspec"/>
  166. <Cell col="5" text="bind:goodmodel"/>
  167. <Cell col="6" displaytype="combo" edittype="combo" text="bind:prodplce"/>
  168. <Cell col="7" text="bind:prodcmpycd"/>
  169. <Cell col="8" text="bind:prodcmpynm"/>
  170. <Cell col="9" text="bind:maincustlastsuplplce"/>
  171. <Cell col="10" text="bind:custnm"/>
  172. <Cell col="11" text="bind:chrgid"/>
  173. <Cell col="12" text="bind:chrgmpphon"/>
  174. <Cell col="13" text="bind:chrgtel"/>
  175. <Cell col="14" text="bind:gumae"/>
  176. <Cell col="15" text="bind:deliveunit"/>
  177. <Cell col="16" text="bind:reqqty" mask="999999999"/>
  178. <Cell col="17" text="bind:danga" mask="#,###"/>
  179. <Cell col="18" text="bind:mmavguseqty" mask="999999999"/>
  180. <Cell col="19" text="bind:useschedd"/>
  181. <Cell col="20" text="bind:reqresnusge"/>
  182. <Cell col="21" text="bind:smlartymatruseprestcond"/>
  183. <Cell col="22" text="bind:anohospusestat"/>
  184. <Cell col="23" text="bind:newmatrusgeimprvpnt"/>
  185. <Cell col="24" text="bind:reqcmt"/>
  186. <Cell col="25" text="bind:reqdeptcd"/>
  187. <Cell col="26" text="bind:depthngnm"/>
  188. <Cell col="27" text="bind:reqpsnid"/>
  189. <Cell col="28" text="bind:name"/>
  190. <Cell col="29" text="bind:reqdepttel"/>
  191. <Cell col="30" text="bind:insuyn"/>
  192. <Cell col="31" text="bind:insu"/>
  193. <Cell col="32" text="bind:edicd"/>
  194. <Cell col="33" text="bind:insuresn"/>
  195. <Cell col="34" text="bind:insucomd"/>
  196. <Cell col="35" text="bind:undecicurematrreqdt" mask="yyyy-mm-dd"/>
  197. <Cell col="36" text="bind:undecicurematr"/>
  198. <Cell col="37" text="bind:actamtincl"/>
  199. <Cell col="38" text="bind:judgcmt"/>
  200. <Cell col="39" text="bind:insucommityn"/>
  201. <Cell col="40" text="bind:newmatrprcsstat"/>
  202. <Cell col="41" text="bind:lrgcd"/>
  203. <Cell col="42" text="bind:lrgnm"/>
  204. <Cell col="43" text="bind:mdlcd"/>
  205. <Cell col="44" text="bind:mdlnm"/>
  206. <Cell col="45" text="bind:smlcd"/>
  207. <Cell col="46" text="bind:smlnm"/>
  208. <Cell col="47" text="bind:goodcd"/>
  209. <Cell col="48" text="bind:goodnm"/>
  210. <Cell col="49" text="bind:smlartygoodhngnm"/>
  211. <Cell col="50" text="bind:smlartygoodengnm"/>
  212. <Cell col="51" text="bind:calcscorcd"/>
  213. <Cell col="52" text="bind:smlartyamt" mask="#,###"/>
  214. <Cell col="53" text="bind:instcd"/>
  215. <Cell col="54" text="bind:newmatrseq"/>
  216. <Cell col="55" text="bind:reqdd"/>
  217. <Cell col="56" text="bind:reqseqno"/>
  218. <Cell col="57" text="bind:goodflag"/>
  219. <Cell col="58" text="bind:purcteamcmt"/>
  220. <Cell col="59" text="bind:newmatremflag"/>
  221. <Cell col="60" text="bind:goodunitcost"/>
  222. <Cell col="61" text="bind:purcunit"/>
  223. <Cell col="62" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:rsltpurc" combodataset="ds_init_rsltpurc" combocodecol="value" combodatacol="label"/>
  224. <Cell col="63" displaytype="text" edittype="text" text="bind:rsltinsucmt"/>
  225. </Band>
  226. </Format>
  227. </Formats>
  228. </Grid>
  229. <Button id="btn_iptrslt" taborder="2" text="저장" class="btn4" position="absolute 987 57 1040 77" onclick="btn_iptrslt_onclick"/>
  230. <Button id="btn_cancel" taborder="4" text="닫기" class="btn4" position="absolute 984 618 1040 640" onclick="btn_cancel_onclick"/>
  231. <Shape id="line3" linetype="horizontal" class="line_6" position="absolute 0 614 1040 620"/>
  232. </Layout>
  233. </Layouts>
  234. <Objects>
  235. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  236. <ColumnInfo>
  237. <Column id="instcd" type="STRING" size="256"/>
  238. <Column id="newmatrseq" type="STRING" size="256"/>
  239. <Column id="rscmnwgd" type="STRING" size="256"/>
  240. </ColumnInfo>
  241. <Rows>
  242. <Row>
  243. <Col id="instcd"/>
  244. <Col id="newmatrseq"/>
  245. <Col id="rscmnwgd"/>
  246. </Row>
  247. </Rows>
  248. </Dataset>
  249. <Dataset id="ds_main_rscmnwgd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  250. <ColumnInfo>
  251. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  252. <Column id="newmatrseq" type="STRING" size="256" sumtext="수가위원회차수"/>
  253. <Column id="reqdd" type="STRING" size="256" sumtext="청구일자"/>
  254. <Column id="reqseqno" type="STRING" size="256" sumtext="청구순번"/>
  255. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
  256. <Column id="insucommityn" type="STRING" size="256" sumtext="수"/>
  257. <Column id="newmatrordseq" type="BIGDECIMAL" size="256" sumtext="수가위원회출력순번"/>
  258. <Column id="newmatremflag" type="STRING" size="256" sumtext="응급처리여부"/>
  259. <Column id="goodunitcost" type="BIGDECIMAL" size="256" sumtext="단가"/>
  260. <Column id="purcunit" type="STRING" size="256" sumtext="구매단위"/>
  261. <Column id="rsltpurc" type="STRING" size="256" sumtext="수가위원회구입여부결과"/>
  262. <Column id="rsltinsucmt" type="STRING" size="256" sumtext="수가위원회수가결과"/>
  263. <Column id="rsltcmt" type="STRING" size="256" sumtext="수가위원회구입여부결과(출력물)"/>
  264. <Column id="goodhngnm" type="STRING" size="256" sumtext="물품한글명"/>
  265. <Column id="goodengnm" type="STRING" size="256" sumtext="물품영문명"/>
  266. <Column id="goodspec" type="STRING" size="256" sumtext="물품규격"/>
  267. <Column id="goodmodel" type="STRING" size="256" sumtext="물품모델"/>
  268. <Column id="prodplce" type="STRING" size="256" sumtext="제조국"/>
  269. <Column id="prodcmpycd" type="STRING" size="256" sumtext="제조회사코드"/>
  270. <Column id="prodcmpynm" type="STRING" size="256" sumtext="제조회사명"/>
  271. <Column id="maincustlastsuplplce" type="STRING" size="256" sumtext="주거래처-최종공급처"/>
  272. <Column id="custnm" type="STRING" size="256" sumtext="주거래처-최종공급처명"/>
  273. <Column id="chrgid" type="STRING" size="256" sumtext="담당자ID"/>
  274. <Column id="chrgmpphon" type="STRING" size="256" sumtext="담당자HP"/>
  275. <Column id="chrgtel" type="STRING" size="256" sumtext="담당자전화번호"/>
  276. <Column id="gumae" type="STRING" size="256" sumtext="구매단위"/>
  277. <Column id="deliveunit" type="STRING" size="256" sumtext="사용단위"/>
  278. <Column id="reqqty" type="STRING" size="256" sumtext="청구수량"/>
  279. <Column id="danga" type="BIGDECIMAL" size="256" sumtext="단가"/>
  280. <Column id="mmavguseqty" type="BIGDECIMAL" size="256" sumtext="월평균사용량"/>
  281. <Column id="useschedd" type="STRING" size="256" sumtext="사용예정일"/>
  282. <Column id="edicd" type="STRING" size="256" sumtext="EDI코드"/>
  283. <Column id="reqresnusge" type="STRING" size="256" sumtext="청구사유 및 용도"/>
  284. <Column id="smlartymatruseprestcond" type="STRING" size="256" sumtext="유사재료사용현황"/>
  285. <Column id="anohospusestat" type="STRING" size="256" sumtext="타병원사용현황"/>
  286. <Column id="newmatrusgeimprvpnt" type="STRING" size="256" sumtext="신규재료사용시 개선점"/>
  287. <Column id="reqcmt" type="STRING" size="256" sumtext="비고"/>
  288. <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서"/>
  289. <Column id="depthngnm" type="STRING" size="256" sumtext="청구부서명"/>
  290. <Column id="reqpsnid" type="STRING" size="256" sumtext="청구자"/>
  291. <Column id="name" type="STRING" size="256" sumtext="청구자"/>
  292. <Column id="reqdepttel" type="STRING" size="256" sumtext="청구자원내전화"/>
  293. <Column id="insuyn" type="STRING" size="256" sumtext="보험여부"/>
  294. <Column id="insuresn" type="STRING" size="256" sumtext="의료적비급여사유"/>
  295. <Column id="insucomd" type="STRING" size="256" sumtext="해당고시"/>
  296. <Column id="undecicurematr" type="STRING" size="256" sumtext="미결정치료재료"/>
  297. <Column id="undecicurematrreqdt" type="STRING" size="256" sumtext="미결정치료재료신청일"/>
  298. <Column id="insu" type="STRING" size="256" sumtext="보험여부결과"/>
  299. <Column id="actamtincl" type="STRING" size="256" sumtext="행위료포함"/>
  300. <Column id="judgcmt" type="STRING" size="256" sumtext="심사소견"/>
  301. <Column id="purcteamcmt" type="STRING" size="256" sumtext="구매팀소견"/>
  302. <Column id="newmatrprcsstat" type="STRING" size="256" sumtext="신규재료진행상태"/>
  303. <Column id="lrgcd" type="STRING" size="256" sumtext="대분류"/>
  304. <Column id="lrgnm" type="STRING" size="256" sumtext="대분류"/>
  305. <Column id="mdlcd" type="STRING" size="256" sumtext="중분류"/>
  306. <Column id="mdlnm" type="STRING" size="256" sumtext="중분류"/>
  307. <Column id="smlcd" type="STRING" size="256" sumtext="소분류"/>
  308. <Column id="smlnm" type="STRING" size="256" sumtext="소분류"/>
  309. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  310. <Column id="goodnm" type="STRING" size="256" sumtext="물품명"/>
  311. <Column id="smlartygoodhngnm" type="STRING" size="256" sumtext="동재료 한글명"/>
  312. <Column id="smlartygoodengnm" type="STRING" size="256" sumtext="동재료 영어명"/>
  313. <Column id="calcscorcd" type="STRING" size="256" sumtext="동재료 수가코드"/>
  314. <Column id="smlartyamt" type="STRING" size="256" sumtext="동재료 금액"/>
  315. <Column id="instnm" type="STRING" size="256" sumtext="기관명"/>
  316. </ColumnInfo>
  317. </Dataset>
  318. <Dataset id="ds_init_rsltpurc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  319. <ColumnInfo>
  320. <Column id="label" type="STRING" size="256"/>
  321. <Column id="value" type="STRING" size="256"/>
  322. </ColumnInfo>
  323. <Rows>
  324. <Row>
  325. <Col id="label">통과</Col>
  326. <Col id="value">1</Col>
  327. </Row>
  328. <Row>
  329. <Col id="label">보류</Col>
  330. <Col id="value">2</Col>
  331. </Row>
  332. <Row>
  333. <Col id="label">불가</Col>
  334. <Col id="value">3</Col>
  335. </Row>
  336. </Rows>
  337. </Dataset>
  338. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  339. <Dataset id="ds_temp_rscmnwsg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  340. <ColumnInfo>
  341. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  342. <Column id="newmatrseq" type="STRING" size="256" sumtext="수가위원회차수"/>
  343. <Column id="reqdd" type="STRING" size="256" sumtext="청구일자"/>
  344. <Column id="reqseqno" type="STRING" size="256" sumtext="청구순번"/>
  345. <Column id="goodflag" type="STRING" size="256" sumtext="물품구분"/>
  346. <Column id="smlartygoodcd" type="STRING" size="256" sumtext="물품구분"/>
  347. </ColumnInfo>
  348. </Dataset>
  349. </Objects>
  350. <Bind>
  351. <BindItem id="item0" compid="group2.cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
  352. <BindItem id="item1" compid="group2.ipt_newmatrseq" propid="value" datasetid="ds_send" columnid="newmatrseq"/>
  353. </Bind>
  354. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  355. * System Name :
  356. * Job Name :
  357. * Creator :
  358. * Make Date : 2017-06-19
  359. * Description :
  360. *---------------------------------------------------------------------------------------
  361. * Modify Date Modifier Modify Description
  362. *---------------------------------------------------------------------------------------
  363. * 2017-06-19 Live Converter TF->XP
  364. *
  365. *---------------------------------------------------------------------------------------
  366. ****************************************************************************************/
  367. include "com_commonxp::comm_main.xjs";
  368. include "mis_miscommonxp::MIS.xjs";
  369. function SMRSD04420_oninit(obj:Form, e:InitEventInfo)
  370. {
  371. frmf_initForm(obj);
  372. }
  373. function SMRSD04420_onload(obj:Form, e:LoadEventInfo)
  374. {
  375. grdf_initGrid(grd_rscmnwgd);
  376. grdf_setRowTypeIcon(grd_rscmnwgd, 0);
  377. try
  378. {
  379. ds_temp.copyData(arg_ds_temp);
  380. }
  381. catch(e)
  382. {
  383. }
  384. fInitialize();
  385. fGetdata();
  386. }
  387. function fInitialize()
  388. {
  389. ds_send.clearData();
  390. ds_send.addRow();
  391. misfGridInit(grd_rscmnwgd);
  392. misfComboComCdListMulti("Z0007", "group2.cmb_instcd");
  393. ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  394. misfMsterDetailSet(grd_rscmnwgd, null, "TRRSD04401","Y");
  395. }
  396. function fGetdata()
  397. {
  398. var sInstcd = ds_temp.getColumn(0, "instcd");
  399. var sNewmatrseq = ds_temp.getColumn(0, "newmatrseq");
  400. if(!utlf_isNull(sInstcd))
  401. {
  402. group2.cmb_instcd.value = ds_temp.getColumn(0, "instcd");
  403. group2.cmb_instcd.enable = false;
  404. }
  405. if(!utlf_isNull(sNewmatrseq))
  406. {
  407. group2.ipt_newmatrseq.value = ds_temp.getColumn(0, "newmatrseq");
  408. group2.ipt_newmatrseq.enable = false;
  409. }
  410. if(!utlf_isNull(sInstcd) && !utlf_isNull(sNewmatrseq)) group2.btn_search.click();
  411. }
  412. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  413. {
  414. arrCompId = new Array("group2.cmb_instcd","group2.ipt_newmatrseq");
  415. frmf_isRequiredControls(arrCompId);
  416. var oParam = {};
  417. oParam.id = "TRRSD04401";
  418. oParam.service = "purcbaseapp.PurcBaseMngt";
  419. oParam.method = "reqGetGoodCd";
  420. oParam.inds = "req=ds_send";
  421. oParam.outds = "ds_main_rscmnwgd=rscmnwgd";
  422. oParam.async = false;
  423. //oParam.callback = "cf_TRRSD04401";
  424. tranf_submit(oParam);
  425. }
  426. function btn_iptrslt_onclick(obj:Button, e:ClickEventInfo)
  427. {
  428. fSave();
  429. }
  430. function fSave()
  431. {
  432. if(!frmf_chkMdtGrid(grd_rscmnwgd, [2,3,4,5], ["물품한글명", "물품영문명", "물품규격", "물품모델", "제조국"])) return;
  433. var oParam = {};
  434. oParam.id = "TXRSD04402";
  435. oParam.service = "purcbaseapp.PurcBaseMngt";
  436. oParam.method = "reqSetNewMatr";
  437. oParam.inds = "wic=ds_main_rscmnwgd:u wsg=ds_temp_rscmnwsg:u";
  438. oParam.outds = "";
  439. oParam.async = false;
  440. //oParam.callback = "cf_TXRSD04402";
  441. tranf_submit(oParam);
  442. }
  443. function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  444. {
  445. this.close();
  446. }
  447. ]]></Script>
  448. </Form>
  449. </FDL>