SPMNG01102_멸균망확인.xfdl 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMNG01102" position="absolute 0 0 540 490" titletext="멸균망확인" oninit="SPMNG01102_oninit" onload="SPMNG01102_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 380 23" id="grp_tle">
  8. <Layouts>
  9. <Layout>
  10. <Static text="멸균망확인" position="absolute 0 0 186 24" id="caption6" class="tit_1" anchor="default"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div position="absolute 0 25 530 478" id="grp_biz" scrollbars="autoboth">
  15. <Layouts>
  16. <Layout>
  17. <Static text="멸균망목록" position="absolute 5 8 126 24" id="caption12" class="tit_2" anchor="default"/>
  18. <Shape position="absolute 5 24 530 30" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
  19. <Grid position="absolute 5 29 530 450" id="grd_gasnetlist" class="datagrid2" binddataset="ds_main_gasnetinfo_gasnetlist" anchor="default" onkeyup="grp_biz_grd_gasnetlist_onkeyup">
  20. <Formats>
  21. <Format id="default">
  22. <Columns>
  23. <Column size="20" band="left"/>
  24. <Column size="0"/>
  25. <Column size="227"/>
  26. <Column size="50"/>
  27. <Column size="50"/>
  28. <Column size="60"/>
  29. <Column size="100"/>
  30. <Column size="0"/>
  31. <Column size="0"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. </Columns>
  37. <Rows>
  38. <Row size="26" band="head"/>
  39. <Row size="24"/>
  40. </Rows>
  41. <Band id="head">
  42. <Cell/>
  43. <Cell col="1" text="물품코드"/>
  44. <Cell col="2" text="물품명"/>
  45. <Cell col="3" text="물품&#10;수량"/>
  46. <Cell col="4" text="확인&#10;수량"/>
  47. <Cell col="5" text="확인자"/>
  48. <Cell col="6" text="사유"/>
  49. <Cell col="7" text="기관코드"/>
  50. <Cell col="8" text="청구일자"/>
  51. <Cell col="9" text="청구번호"/>
  52. <Cell col="10" text="청구순번"/>
  53. <Cell col="11" text="청구부서"/>
  54. <Cell col="12" text="망순번"/>
  55. </Band>
  56. <Band id="body">
  57. <Cell celltype="head"/>
  58. <Cell col="1" text="bind:goodcd"/>
  59. <Cell col="2" displaytype="text" edittype="text" style="font:arial,9,bold;" text="bind:goodnm"/>
  60. <Cell col="3" displaytype="text" edittype="text" style="align:center;font:arial,9,bold;" text="bind:reqqty"/>
  61. <Cell col="4" displaytype="text" edittype="text" style="align:center;font:arial,9,bold;" text="bind:certqty"/>
  62. <Cell col="5" text="bind:certnm"/>
  63. <Cell col="6" displaytype="text" edittype="text" text="bind:certdesc"/>
  64. <Cell col="7" text="bind:instcd"/>
  65. <Cell col="8" text="bind:reqdd"/>
  66. <Cell col="9" text="bind:reqno"/>
  67. <Cell col="10" text="bind:reqseqno"/>
  68. <Cell col="11" text="bind:reqdeptcd"/>
  69. <Cell col="12" text="bind:netseqno"/>
  70. </Band>
  71. </Format>
  72. </Formats>
  73. </Grid>
  74. <Button position="absolute 485 3 527 22" id="btn_sav" class="btn5" text="저장" anchor="default" onclick="grp_biz_btn_sav_onclick"/>
  75. <Edit readonly="true" position="absolute 225 0 470 19" id="output1" anchor="default" class="output" style="background:transparent stretch 5,5;font:Dotum,9,bold;"/>
  76. </Layout>
  77. </Layouts>
  78. </Div>
  79. </Layout>
  80. </Layouts>
  81. <Objects>
  82. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  83. <ColumnInfo>
  84. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  85. <Column id="reqdd" type="STRING" size="256" sumtext="청구일자"/>
  86. <Column id="reqno" type="STRING" size="256" sumtext="청구번호"/>
  87. <Column id="reqseqno" type="STRING" size="256" sumtext="청구순번"/>
  88. <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서"/>
  89. <Column id="certflag" type="STRING" size="256" sumtext="확인여부"/>
  90. </ColumnInfo>
  91. <Rows>
  92. <Row/>
  93. </Rows>
  94. </Dataset>
  95. <Dataset id="ds_main_gasnetinfo_gasnetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  96. <ColumnInfo>
  97. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  98. <Column id="reqdd" type="STRING" size="256" sumtext="청구일자"/>
  99. <Column id="reqno" type="STRING" size="256" sumtext="청구번호"/>
  100. <Column id="reqseqno" type="STRING" size="256" sumtext="청구순번"/>
  101. <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서"/>
  102. <Column id="reqdeptnm" type="STRING" size="256" sumtext="청구부서"/>
  103. <Column id="netseqno" type="STRING" size="256" sumtext="망번호 "/>
  104. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  105. <Column id="goodnm" type="STRING" size="256" sumtext="물품명 "/>
  106. <Column id="reqqty" type="STRING" size="256" sumtext="청구수량"/>
  107. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
  108. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  109. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  110. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  111. <Column id="certnm" type="STRING" size="256" sumtext="확인자명"/>
  112. <Column id="certqty" type="STRING" size="256" sumtext="확인수량"/>
  113. <Column id="usernm" type="STRING" size="256" sumtext="확인자명"/>
  114. <Column id="certdesc" type="STRING" size="256" sumtext="확인사유"/>
  115. <Column id="cnfmyn" type="STRING" size="256" sumtext="확인여부"/>
  116. </ColumnInfo>
  117. </Dataset>
  118. <Dataset id="ds_send_savedata_gasnetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  119. <ColumnInfo>
  120. <Column id="status" type="STRING" size="256"/>
  121. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  122. <Column id="reqdd" type="STRING" size="256" sumtext="청구일자"/>
  123. <Column id="reqno" type="STRING" size="256" sumtext="청구번호"/>
  124. <Column id="reqseqno" type="STRING" size="256" sumtext="청구순번"/>
  125. <Column id="reqdeptcd" type="STRING" size="256" sumtext="청구부서"/>
  126. <Column id="netseqno" type="STRING" size="256" sumtext="망번호 "/>
  127. <Column id="goodcd" type="STRING" size="256" sumtext="물품코드"/>
  128. <Column id="goodnm" type="STRING" size="256" sumtext="물품명 "/>
  129. <Column id="reqqty" type="STRING" size="256" sumtext="청구수량"/>
  130. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
  131. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  132. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID"/>
  133. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  134. <Column id="certqty" type="STRING" size="256" sumtext="청구수량"/>
  135. <Column id="certdesc" type="STRING" size="256" sumtext="청구수량"/>
  136. </ColumnInfo>
  137. </Dataset>
  138. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  139. <ColumnInfo>
  140. <Column id="deptnm" type="STRING" size="256"/>
  141. </ColumnInfo>
  142. <Rows>
  143. <Row/>
  144. </Rows>
  145. </Dataset>
  146. </Objects>
  147. <Bind>
  148. <BindItem id="item0" compid="grp_biz.output1" propid="value" datasetid="ds_main" columnid="deptnm"/>
  149. </Bind>
  150. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  151. * System Name : 경대 의료정보시스템
  152. * Job Name : emr_csrxp -> SPMNG01102
  153. * Creator : yjh
  154. * Make Date : 2017-08-14
  155. * Description :
  156. *---------------------------------------------------------------------------------------
  157. * Modify Date Modifier Modify Description
  158. *---------------------------------------------------------------------------------------
  159. * 2017-08-14 yjh TF->XP
  160. *
  161. *---------------------------------------------------------------------------------------
  162. ****************************************************************************************/
  163. //=======================================================================================
  164. // Lib Include
  165. //---------------------------------------------------------------------------------------
  166. include "com_commonxp::comm_main.xjs";
  167. //=======================================================================================
  168. // Global Form Variable
  169. //---------------------------------------------------------------------------------------
  170. //=======================================================================================
  171. // Function
  172. //---------------------------------------------------------------------------------------
  173. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  174. function fInitialize()
  175. {
  176. ds_main.setColumn(0, "deptnm", sysf_getModelProperty("reqdeptnm"));
  177. ds_main_gasnetinfo_gasnetlist.clearData();
  178. fSearch();
  179. }
  180. function fSearch() {
  181. var instcd ="";
  182. var reqdd = "";
  183. var reqno = "";
  184. var reqseqno = "";
  185. var reqdeptcd = "";
  186. instcd = sysf_getModelProperty("instcd");
  187. reqdd = sysf_getModelProperty("reqdd");
  188. reqno = sysf_getModelProperty("reqno");
  189. reqseqno = sysf_getModelProperty("reqseqno");
  190. reqdeptcd = sysf_getModelProperty("reqdeptcd");
  191. ds_send.setColumn(0, "instcd" , instcd);
  192. ds_send.setColumn(0, "reqdd" , reqdd);
  193. ds_send.setColumn(0, "reqno" , reqno);
  194. ds_send.setColumn(0, "reqseqno" , reqseqno);
  195. ds_send.setColumn(0, "reqdeptcd", reqdeptcd);
  196. ds_send.setColumn(0, "certflag", "Y");
  197. var oParam = {};
  198. oParam.id = "TRMNG01103";
  199. oParam.service = "csrapp.CsrMngt";
  200. oParam.method = "reqGetGasNetInfo";
  201. oParam.inds = "req=ds_send";
  202. oParam.outds = "ds_main_gasnetinfo_gasnetlist=gasnetlist";
  203. oParam.async = false;
  204. //oParam.callback = "cf_TRMNG01103";
  205. tranf_submit(oParam);
  206. ds_main_gasnetinfo_gasnetlist.enableevent = false;
  207. ds_main_gasnetinfo_gasnetlist.updatecontrol = false;
  208. for(var i=0 ; i < ds_main_gasnetinfo_gasnetlist.rowcount ; i++) {
  209. ds_main_gasnetinfo_gasnetlist.setRowType(i, 4);
  210. }
  211. ds_main_gasnetinfo_gasnetlist.updatecontrol = true;
  212. ds_main_gasnetinfo_gasnetlist.enableevent = true;
  213. }
  214. //=======================================================================================
  215. // Event
  216. //---------------------------------------------------------------------------------------
  217. /****************************************************************************************
  218. * Components : Form
  219. * Components ID : SPMNG01102
  220. * Event : oninit
  221. * Argument : 01.obj : Object Event has occurred
  222. * : 02.e : Event Object
  223. * Description : 화면 처음 초기화시
  224. ****************************************************************************************/
  225. function SPMNG01102_oninit(obj:Form, e:InitEventInfo)
  226. {
  227. frmf_initForm(obj); //폼 초기화
  228. }
  229. /****************************************************************************************
  230. * Components : Form
  231. * Components ID : SPMNG01102
  232. * Event : onload
  233. * Argument : 01.obj : Object Event has occurred
  234. * : 02.e : Event Object
  235. * Description : 화면 로딩 완료시
  236. ****************************************************************************************/
  237. function SPMNG01102_onload(obj:Form, e:LoadEventInfo)
  238. {
  239. grdf_setRowTypeIcon(grp_biz.grd_gasnetlist, 0);
  240. fInitialize();
  241. }
  242. /****************************************************************************************
  243. * Components : Button
  244. * Components ID : btn_sav
  245. * Event : onclick
  246. * Argument : 01.obj : Object Event has occurred
  247. * : 02.e : Event Object
  248. * Description : 저장버튼 클릭시
  249. ****************************************************************************************/
  250. function grp_biz_btn_sav_onclick(obj:Button, e:ClickEventInfo)
  251. {
  252. ds_main_gasnetinfo_gasnetlist.enableevent = false;
  253. ds_main_gasnetinfo_gasnetlist.updatecontrol = false;
  254. grdf_setStatusColumn(ds_main_gasnetinfo_gasnetlist, "status");
  255. ds_main_gasnetinfo_gasnetlist.updatecontrol = true;
  256. ds_main_gasnetinfo_gasnetlist.enableevent = true;
  257. ds_send_savedata_gasnetlist.copyData(grdf_getGridUpdateData(grp_biz.grd_gasnetlist));
  258. var oParam = {};
  259. oParam.id = "TXMNG01104";
  260. oParam.service = "csrapp.CsrMngt";
  261. oParam.method = "reqExeGasNetList";
  262. oParam.inds = "gasnetlist=ds_send_savedata_gasnetlist";
  263. oParam.outds = "";
  264. oParam.async = false;
  265. //oParam.callback = "cf_TXMNG01104";
  266. tranf_submit(oParam);
  267. fSearch();
  268. }
  269. function grp_biz_grd_gasnetlist_onkeyup(obj:Grid, e:KeyEventInfo)
  270. {
  271. if(grp_biz.grd_gasnetlist.currentcell == grp_biz.grd_gasnetlist.getBindCellIndex("body", "certqty")) {
  272. if(e.keycode == 13 && (grp_biz.grd_gasnetlist.currentrow != grp_biz.grd_gasnetlist.rowcount - 1)) {
  273. ds_main_gasnetinfo_gasnetlist.rowposition = ds_main_gasnetinfo_gasnetlist.rowposition + 1;
  274. }
  275. }
  276. }
  277. ]]></Script>
  278. </Form>
  279. </FDL>