SPMRI03901_처방제어원인.xfdl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMRI02900" position="absolute 0 0 1200 785" titletext="처방제어원인" oninit="SPMRI03901_oninit" onload="SPMRI03901_onload">
  5. <Layouts>
  6. <Layout>
  7. <Grid position="absolute 8 64 1186 258" id="grd_norecord" binddataset="ds_grd_norecord" oncelldblclick="grd_docinfo_oncelldblclick">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="79"/>
  12. <Column size="0"/>
  13. <Column size="0"/>
  14. <Column size="690"/>
  15. <Column size="61"/>
  16. <Column size="82"/>
  17. <Column size="92"/>
  18. </Columns>
  19. <Rows>
  20. <Row size="24" band="head"/>
  21. <Row size="24"/>
  22. </Rows>
  23. <Band id="head">
  24. <Cell text="구분"/>
  25. <Cell col="1" text="진료과코드"/>
  26. <Cell col="2" text="직종코드"/>
  27. <Cell col="3" text="메시지"/>
  28. <Cell col="4" text="등록번호"/>
  29. <Cell col="5" text="입원일"/>
  30. <Cell col="6" text="생성번호"/>
  31. </Band>
  32. <Band id="body">
  33. <Cell text="bind:checkcode"/>
  34. <Cell col="1" text="bind:orddeptcd"/>
  35. <Cell col="2" text="bind:jobposcd"/>
  36. <Cell col="3" style="align:left;" text="bind:checkmsg"/>
  37. <Cell col="4" text="bind:checkpid"/>
  38. <Cell col="5" text="bind:checkindd"/>
  39. <Cell col="6" text="bind:checkcretno"/>
  40. </Band>
  41. </Format>
  42. </Formats>
  43. </Grid>
  44. <Static text="등록번호" position="absolute 8 9 75 32" align="align:center middle;" id="caption32" class="cell_1" onclick="caption32_onclick"/>
  45. <Edit position="absolute 80 8 167 30" id="ipt_pid" onkeyup="ipt_pid_onkeyup"/>
  46. <Edit position="absolute 748 8 800 30" id="ipt_unprepdrid" onkeydown="ipt_unprepdr_onkeydown"/>
  47. <Static id="caption00" text="미비의사" onclick="caption32_onclick" class="cell_1" position="absolute 638 9 712 32"/>
  48. <Edit id="ipt_unprepdeptcd" taborder="2" onkeydown="ipt_unprepdr_onkeydown" position="absolute 744 40 836 62"/>
  49. <Button id="btn_imsi" taborder="3" class="icon_search" position="absolute 720 9 740 29" onclick="btn_imsi_onclick"/>
  50. <Edit id="ipt_unprepdrnm" taborder="4" onkeydown="ipt_unprepdr_onkeydown" position="absolute 804 8 896 30"/>
  51. <Edit id="ipt_unprepdeptnm" taborder="5" onkeydown="ipt_unprepdr_onkeydown" position="absolute 844 40 936 62"/>
  52. <Button id="btn_search" taborder="6" text="조회" onclick="btn_search_onclick" class="btn1" position="absolute 902 9 958 31" anchor="top right"/>
  53. <Grid id="grd_staffmibirecord" taborder="7" binddataset="ds_grd_staffmibirecord" useinputpanel="false" oncelldblclick="grd_docinfo_oncelldblclick" position="absolute 8 552 1189 778">
  54. <Formats>
  55. <Format id="default">
  56. <Columns>
  57. <Column size="40"/>
  58. <Column size="78"/>
  59. <Column size="0"/>
  60. <Column size="93"/>
  61. <Column size="93"/>
  62. <Column size="94"/>
  63. <Column size="82"/>
  64. <Column size="82"/>
  65. <Column size="218"/>
  66. <Column size="0"/>
  67. <Column size="133"/>
  68. <Column size="350"/>
  69. </Columns>
  70. <Rows>
  71. <Row size="24" band="head"/>
  72. <Row size="24"/>
  73. </Rows>
  74. <Band id="head">
  75. <Cell text="NO"/>
  76. <Cell col="1" text="경과시간"/>
  77. <Cell col="2" text="진료과코드"/>
  78. <Cell col="3" text="등록번호"/>
  79. <Cell col="4" text="입원일자"/>
  80. <Cell col="5" text="퇴원일자"/>
  81. <Cell col="6" text="진료일자"/>
  82. <Cell col="7" text="미비상태"/>
  83. <Cell col="8" text="서식명"/>
  84. <Cell col="9" text="직종코드"/>
  85. <Cell col="10" text="항목명"/>
  86. <Cell col="11" text="의무기록전달사항"/>
  87. </Band>
  88. <Band id="body">
  89. <Cell text="expr:currow + 1"/>
  90. <Cell col="1" text="bind:overchk"/>
  91. <Cell col="2" text="bind:orddeptcd"/>
  92. <Cell col="3" text="bind:pid"/>
  93. <Cell col="4" text="bind:indd"/>
  94. <Cell col="5" text="bind:dschdd"/>
  95. <Cell col="6" text="bind:formrecdd"/>
  96. <Cell col="7" text="bind:unprepstat"/>
  97. <Cell col="8" displaytype="normal" edittype="none" text="bind:formnm"/>
  98. <Cell col="9" text="bind:jobposcd"/>
  99. <Cell col="10" text="bind:unprepitemnm"/>
  100. <Cell col="11" style="align:left;" text="bind:medirecalertcnts"/>
  101. </Band>
  102. </Format>
  103. </Formats>
  104. </Grid>
  105. <Static id="caption8" text="staffsign 미비(외래 처방 제어)" class="tit_2" position="absolute 5 526 304 542" onclick="caption8_onclick"/>
  106. <Grid id="grd_mibirecord" taborder="8" binddataset="ds_grd_mibirecord" useinputpanel="false" oncelldblclick="grd_docinfo_oncelldblclick" position="absolute 8 294 1189 520">
  107. <Formats>
  108. <Format id="default">
  109. <Columns>
  110. <Column size="78"/>
  111. <Column size="0"/>
  112. <Column size="93"/>
  113. <Column size="93"/>
  114. <Column size="94"/>
  115. <Column size="71"/>
  116. <Column size="82"/>
  117. <Column size="178"/>
  118. <Column size="0"/>
  119. <Column size="133"/>
  120. <Column size="350"/>
  121. </Columns>
  122. <Rows>
  123. <Row size="24" band="head"/>
  124. <Row size="24"/>
  125. </Rows>
  126. <Band id="head">
  127. <Cell text="경과시간"/>
  128. <Cell col="1" text="진료과코드"/>
  129. <Cell col="2" text="등록번호"/>
  130. <Cell col="3" text="입원일자"/>
  131. <Cell col="4" text="퇴원일자"/>
  132. <Cell col="5" text="진료일자"/>
  133. <Cell col="6" text="미비상태"/>
  134. <Cell col="7" text="서식명"/>
  135. <Cell col="8" text="직종코드"/>
  136. <Cell col="9" text="항목명"/>
  137. <Cell col="10" text="의무기록전달사항"/>
  138. </Band>
  139. <Band id="body">
  140. <Cell text="bind:overchk"/>
  141. <Cell col="1" text="bind:orddeptcd"/>
  142. <Cell col="2" text="bind:pid"/>
  143. <Cell col="3" text="bind:indd"/>
  144. <Cell col="4" text="bind:dschdd"/>
  145. <Cell col="5" text="bind:formrecdd"/>
  146. <Cell col="6" text="bind:unprepstat"/>
  147. <Cell col="7" displaytype="normal" edittype="none" text="bind:formnm"/>
  148. <Cell col="8" text="bind:jobposcd"/>
  149. <Cell col="9" text="bind:unprepitemnm"/>
  150. <Cell col="10" style="align:left;" text="bind:medirecalertcnts"/>
  151. </Band>
  152. </Format>
  153. </Formats>
  154. </Grid>
  155. <Static id="caption01" text="전공의 미비(입원 처방 제어)" onclick="caption8_onclick" class="tit_2" position="absolute 5 268 272 284"/>
  156. <Static id="caption02" text="기록누락(입원 처방 제어)" onclick="caption8_onclick" class="tit_2" position="absolute 8 40 251 56"/>
  157. <Button id="btn_search00" taborder="9" text="조회" class="btn1" position="absolute 420 9 476 31" anchor="top right" onclick="btn_search00_onclick"/>
  158. <Static id="caption03" text="진료/수술과" onclick="caption32_onclick" class="cell_1" position="absolute 189 10 277 33"/>
  159. <Combo id="cmb_orddeptcd" taborder="10" position="absolute 284 10 412 30" index="-1" innerdataset="@ds_orddept" codecolumn="deptcd" datacolumn="depthngnm"/>
  160. <Edit id="ipt_indd" taborder="11" position="absolute 228 40 320 62"/>
  161. <Edit id="ipt_cretno" taborder="12" position="absolute 332 39 424 61"/>
  162. </Layout>
  163. </Layouts>
  164. <Objects>
  165. <Dataset id="ds_grd_docinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" onrowposchanged="ds_grd_docinfo_onrowposchanged">
  166. <ColumnInfo>
  167. <Column id="checkflag" type="STRING" size="256" sumtext="check구분"/>
  168. <Column id="orddeptnm" type="STRING" size="256" sumtext="등록번호"/>
  169. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  170. <Column id="jobposnm" type="STRING" size="256" sumtext="직종명"/>
  171. <Column id="jobposcd" type="STRING" size="256" sumtext="직종코드"/>
  172. <Column id="orddrid" type="STRING" size="256" sumtext="진료의id"/>
  173. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
  174. <Column id="deptabbrnm" type="STRING" size="256" sumtext="부서약어명"/>
  175. <Column id="drstate" type="STRING" size="256" sumtext="진료상태"/>
  176. </ColumnInfo>
  177. </Dataset>
  178. <Dataset id="ds_grd_docinfo_jobposnm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  179. <ColumnInfo>
  180. <Column id="label" type="STRING" size="256"/>
  181. <Column id="value" type="STRING" size="256"/>
  182. </ColumnInfo>
  183. <Rows>
  184. <Row>
  185. <Col id="label">St</Col>
  186. <Col id="value">St</Col>
  187. </Row>
  188. <Row>
  189. <Col id="label">R</Col>
  190. <Col id="value">R</Col>
  191. </Row>
  192. <Row>
  193. <Col id="label">I</Col>
  194. <Col id="value">I</Col>
  195. </Row>
  196. </Rows>
  197. </Dataset>
  198. <Dataset id="ds_jlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  199. <ColumnInfo>
  200. <Column id="pid" type="STRING" size="256"/>
  201. <Column id="cretno" type="STRING" size="256"/>
  202. <Column id="indd" type="STRING" size="256"/>
  203. <Column id="orddeptcd" type="STRING" size="256"/>
  204. </ColumnInfo>
  205. <Rows>
  206. <Row/>
  207. </Rows>
  208. </Dataset>
  209. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  210. <ColumnInfo>
  211. <Column id="unprepdeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  212. <Column id="unprepdeptnm" type="STRING" size="256" sumtext="진료부서명"/>
  213. <Column id="unprepdrid" type="STRING" size="256" sumtext="미비의사"/>
  214. <Column id="unprepdrnm" type="STRING" size="256" sumtext="미비의사명"/>
  215. <Column id="pid" type="STRING" size="256" sumtext="챠트번호"/>
  216. </ColumnInfo>
  217. </Dataset>
  218. <Dataset id="ds_grd_norecord" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  219. <ColumnInfo>
  220. <Column id="checkcode" type="STRING" size="256"/>
  221. <Column id="checkmsg" type="STRING" size="256"/>
  222. <Column id="checkhour" type="STRING" size="256"/>
  223. <Column id="checkpid" type="STRING" size="256"/>
  224. <Column id="checkindd" type="STRING" size="256"/>
  225. <Column id="checkcretno" type="STRING" size="256"/>
  226. </ColumnInfo>
  227. </Dataset>
  228. <Dataset id="ds_grd_staffmibirecord" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  229. <ColumnInfo>
  230. <Column id="overchk" type="STRING" size="256"/>
  231. <Column id="pid" type="STRING" size="256"/>
  232. <Column id="indd" type="STRING" size="256"/>
  233. <Column id="dschdd" type="STRING" size="256"/>
  234. <Column id="formnm" type="STRING" size="256"/>
  235. <Column id="unprepitemnm" type="STRING" size="256"/>
  236. <Column id="medirecalertcnts" type="STRING" size="256"/>
  237. <Column id="unprepstat" type="STRING" size="256"/>
  238. <Column id="formrecdd" type="STRING" size="256"/>
  239. </ColumnInfo>
  240. </Dataset>
  241. <Dataset id="ds_grd_mibirecord" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  242. <ColumnInfo>
  243. <Column id="overchk" type="STRING" size="256"/>
  244. <Column id="pid" type="STRING" size="256"/>
  245. <Column id="indd" type="STRING" size="256"/>
  246. <Column id="dschdd" type="STRING" size="256"/>
  247. <Column id="formnm" type="STRING" size="256"/>
  248. <Column id="unprepitemnm" type="STRING" size="256"/>
  249. <Column id="medirecalertcnts" type="STRING" size="256"/>
  250. <Column id="unprepstat" type="STRING" size="256"/>
  251. <Column id="formrecdd" type="STRING" size="256"/>
  252. </ColumnInfo>
  253. </Dataset>
  254. <Dataset id="ds_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  255. <ColumnInfo>
  256. <Column id="deptcd" type="STRING" size="256"/>
  257. <Column id="depthngnm" type="STRING" size="256"/>
  258. </ColumnInfo>
  259. </Dataset>
  260. </Objects>
  261. <Bind>
  262. <BindItem id="item0" compid="ipt_pid" propid="value" datasetid="ds_send_reqdata" columnid="pid"/>
  263. <BindItem id="item1" compid="ipt_unprepdrid" propid="value" datasetid="ds_send_reqdata" columnid="unprepdrid"/>
  264. <BindItem id="item2" compid="ipt_unprepdeptcd" propid="value" datasetid="ds_send_reqdata" columnid="unprepdeptcd"/>
  265. <BindItem id="item3" compid="ipt_unprepdrnm" propid="value" datasetid="ds_send_reqdata" columnid="unprepdrnm"/>
  266. <BindItem id="item4" compid="ipt_unprepdeptnm" propid="value" datasetid="ds_send_reqdata" columnid="unprepdeptnm"/>
  267. </Bind>
  268. <InitValue>
  269. <Edit id="ipt_unprepdeptcd" visible="false"/>
  270. <Edit id="ipt_unprepdeptnm" visible="false"/>
  271. <Edit id="ipt_indd" visible="false"/>
  272. <Edit id="ipt_cretno" visible="false"/>
  273. </InitValue>
  274. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  275. * System Name :
  276. * Job Name :
  277. * Creator :
  278. * Make Date : 2014-10-20
  279. * Description :
  280. *---------------------------------------------------------------------------------------
  281. * Modify Date Modifier Modify Description
  282. *---------------------------------------------------------------------------------------
  283. * 2014-10-20 Live Converter TF->XP
  284. *
  285. *---------------------------------------------------------------------------------------
  286. ****************************************************************************************/
  287. //=======================================================================================
  288. // Lib Include
  289. //---------------------------------------------------------------------------------------
  290. include "com_commonxp::comm_main.xjs"
  291. include "emr_prcpmngtxp::MMO001.xjs";
  292. //=======================================================================================
  293. // Global Form Variable
  294. //---------------------------------------------------------------------------------------
  295. var arErrorCode = new HashArray();
  296. //=======================================================================================
  297. // Function
  298. //---------------------------------------------------------------------------------------
  299. /****************************************************************************************
  300. * Argument : 01.sKey : 코드아이디
  301. * : 02.sValue : 코드명
  302. * Description : 공통코드를 가져온다.
  303. ****************************************************************************************/
  304. /**
  305. * @desc 미비의사 조회
  306. * @param srchflag 검색구분(id:아이디, nm:명)
  307. * unprepdeptcd 미비진료과
  308. * unprepdr 미비의사(srch?id:아이디, nm:명)
  309. * stnddd 기준일자
  310. * deptengabbr 부서약어명
  311. */
  312. /****************************************************************************************
  313. * Components :
  314. * Components ID : button5
  315. * Event : onlbuttonup
  316. * Argument : 01.obj : Object Event has occurred
  317. * : 02.e : Event Object
  318. * Description :
  319. ****************************************************************************************/
  320. function SPMRI03901_oninit(obj:Form, e:InitEventInfo)
  321. {
  322. frmf_initForm(obj);
  323. ds_send_reqdata.clearData();
  324. ds_send_reqdata.addRow();
  325. }
  326. function SPMRI03901_onload(obj:Form, e:LoadEventInfo)
  327. {
  328. var dutplcecd = sysf_getUserInfo("dutplcecd");
  329. setDeptCodeList(dutplcecd);
  330. }
  331. function btn_imsi_onclick(obj:Button, e:ClickEventInfo)
  332. {
  333. var iParam = frmf_modal("SPZSU10103", "SPZSU10103", null, null, 1, 200, 200, null, null, null, null, null, "M");
  334. if(!utlf_isNull(iParam)){
  335. ds_send_reqdata.setColumn(0, "unprepdrid", iParam.getColumn(0, "userid"));
  336. ds_send_reqdata.setColumn(0, "unprepdrnm", iParam.getColumn(0, "usernm"));
  337. ds_send_reqdata.setColumn(0, "unprepdeptcd", iParam.getColumn(0, "dutplcecd"));
  338. ds_send_reqdata.setColumn(0, "unprepdeptnm", iParam.getColumn(0, "dutplcenm"));
  339. }
  340. }
  341. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  342. {
  343. fSearch();
  344. }
  345. function fSearch() {
  346. var dutplcecd = ipt_unprepdeptcd.value;
  347. var unprepdeptcd = ipt_unprepdeptcd.value;
  348. var deptflag ="01";
  349. var indschflag ="A";
  350. var unprepdrid =ipt_unprepdrid.value;
  351. var drflag ="01";
  352. var completeflag ="";
  353. var unprepsign = "Y";
  354. var chk24mibi = "Y";
  355. var formcd = "-";
  356. var unprepitemcd ="-";
  357. var doctkindflag = "-";
  358. //staff 미비
  359. dsf_createDsRow("ds_send_TRMRI01801", [{col: "unprepdeptcd", type:"string", size:256, val:"-"}
  360. ,{col: "deptflag", type:"string", size:256, val:deptflag}
  361. ,{col: "indschflag", type:"string", size:256, val:indschflag}
  362. ,{col: "unprepdrid", type:"string", size:256, val:unprepdrid}
  363. ,{col: "drflag", type:"string", size:256, val:drflag}
  364. ,{col: "completeflag", type:"string", size:256, val:completeflag}
  365. ,{col: "unprepsign", type:"string", size:256, val:unprepsign}
  366. ,{col: "chk24mibi", type:"string", size:256, val:chk24mibi}
  367. ,{col: "doctkindflag", type:"string", size:256, val:doctkindflag}
  368. ,{col: "unprepitemcd", type:"string", size:256, val:unprepitemcd}
  369. ,{col: "formcd", type:"string", size:256, val:formcd}
  370. ]);
  371. var oParam = {};
  372. oParam.id = "TRMRI01801";
  373. oParam.service = "unprepmngtapp.ChrtUnprepMngt";
  374. oParam.method = "reqGetUnPrepDrClsList";
  375. oParam.inds = "req=ds_send_TRMRI01801";
  376. oParam.outds = "ds_grd_staffmibirecord=unpreplist";
  377. oParam.async = false;
  378. //oParam.callback = "cf_TRARC02501";
  379. tranf_submit(oParam);
  380. unprepsign = "N";
  381. doctkindflag = "R";
  382. dsf_createDsRow("ds_send_TRMRI01801_2", [{col: "unprepdeptcd", type:"string", size:256, val:"-"}
  383. ,{col: "deptflag", type:"string", size:256, val:deptflag}
  384. ,{col: "indschflag", type:"string", size:256, val:indschflag}
  385. ,{col: "unprepdrid", type:"string", size:256, val:unprepdrid}
  386. ,{col: "drflag", type:"string", size:256, val:drflag}
  387. ,{col: "completeflag", type:"string", size:256, val:completeflag}
  388. ,{col: "unprepsign", type:"string", size:256, val:unprepsign}
  389. ,{col: "chk24mibi", type:"string", size:256, val:chk24mibi}
  390. ,{col: "doctkindflag", type:"string", size:256, val:doctkindflag}
  391. ,{col: "unprepitemcd", type:"string", size:256, val:unprepitemcd}
  392. ,{col: "formcd", type:"string", size:256, val:formcd}
  393. ]);
  394. var oParam = {};
  395. oParam.id = "TRMRI01801_2";
  396. oParam.service = "unprepmngtapp.ChrtUnprepMngt";
  397. oParam.method = "reqGetUnPrepDrClsList";
  398. oParam.inds = "req=ds_send_TRMRI01801_2";
  399. oParam.outds = "ds_grd_mibirecord=unpreplist";
  400. oParam.async = false;
  401. tranf_submit(oParam);
  402. }
  403. function fSearch_pid() {
  404. var pid = ipt_pid.value;
  405. var cretno = ipt_cretno.value;
  406. var indd = ipt_indd.value;
  407. var dutplcecd = cmb_orddeptcd.value;
  408. if (utlf_isNull(pid))
  409. {
  410. sysf_messageBox("등록번호가 입력되지 않았습니다","I");
  411. return;
  412. }
  413. if (utlf_isNull(dutplcecd))
  414. {
  415. sysf_messageBox("부서가 선택되지 않았습니다","I");
  416. return;
  417. }
  418. // var indd = "";
  419. // var cretno = "";
  420. //
  421. // var dutplcecd = cmb_orddeptcd.value;
  422. //
  423. // dsf_createDsRow("ds_send_3901", [{col: "pid", type:"string", size:256, val:pid}
  424. // ]);
  425. //
  426. // var oParam = {};
  427. // oParam.id = "TR3901";
  428. // oParam.service = "unprepmngtapp.ChrtUnprepMngt";
  429. // oParam.method = "reqGetJaewonList";
  430. // oParam.inds = "req=ds_send_3901";
  431. // oParam.outds = "ds_jlist=jlist";
  432. // oParam.async = false;
  433. //
  434. // tranf_submit(oParam);
  435. //
  436. // indd = ds_jlist.getColumn(0,"indd");
  437. // cretno = ds_jlist.getColumn(0,"cretno");
  438. // dutplcecd = ds_jlist.getColumn(0,"orddeptcd");
  439. dsf_createDsRow("ds_send_TRMMO00124", [{col: "pid", type:"string", size:256, val:pid}
  440. ,{col: "indd", type:"string", size:256, val:indd}
  441. ,{col: "cretno", type:"string", size:256, val:cretno}
  442. ,{col: "dutplcecd", type:"string", size:256, val:dutplcecd}
  443. ]);
  444. var oParam = {};
  445. oParam.id = "TRMMO00124";
  446. oParam.service = "prcpmngtapp.PrcpMngt";
  447. oParam.method = "reqGetChkValidRec";
  448. oParam.inds = "req=ds_send_TRMMO00124";
  449. oParam.outds = "ds_grd_norecord=rtndata";
  450. oParam.async = false;
  451. tranf_submit(oParam);
  452. }
  453. function btn_search00_onclick(obj:Button, e:ClickEventInfo)
  454. {
  455. fSearch_pid();
  456. }
  457. function setDeptCodeList(sDeptcd, sOrddd){
  458. lf_mmbfGetDeptCodeComboList(ds_orddept, "O", sOrddd);
  459. if(!utlf_isNull(sDeptcd))
  460. cmb_orddeptcd.value = sDeptcd;
  461. }
  462. function ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  463. {
  464. if(e.keycode == "13"){
  465. var pid = ipt_pid.value;
  466. sysf_trace(pid);
  467. dsf_createDsRow("ds_send_3901", [{col: "pid", type:"string", size:256, val:pid}
  468. ]);
  469. var oParam = {};
  470. oParam.id = "TR3901";
  471. oParam.service = "unprepmngtapp.ChrtUnprepMngt";
  472. oParam.method = "reqGetJaewonList";
  473. oParam.inds = "req=ds_send_3901";
  474. oParam.outds = "ds_jlist=jlist";
  475. oParam.async = false;
  476. tranf_submit(oParam);
  477. cmb_orddeptcd.value = ds_jlist.getColumn(0,"orddeptcd");
  478. ipt_indd.value = ds_jlist.getColumn(0,"indd");
  479. ipt_cretno.value = ds_jlist.getColumn(0,"cretno");
  480. }
  481. }
  482. ]]></Script>
  483. </Form>
  484. </FDL>