SMADT50300_조영제재고관리.xfdl 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMADT50200" position="absolute 0 0 1001 777" titletext="약품 재고 관리" oninit="SMADT50300_oninit" onload="SMADT50300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 3 23 991 772" id="group3" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Grid position="absolute 3 44 980 722" id="grd_drugsum" binddataset="ds_jyjlist" anchor="left top bottom" oncellclick="group3_grd_drugsum_oncellclick" autoenter="none" selectbandtype="default" cellsizingtype="col">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="57"/>
  15. <Column size="83"/>
  16. <Column size="53"/>
  17. <Column size="63"/>
  18. <Column size="72"/>
  19. <Column size="260"/>
  20. <Column size="70"/>
  21. <Column size="52"/>
  22. <Column size="98"/>
  23. <Column size="135"/>
  24. <Column size="40"/>
  25. <Column size="40"/>
  26. <Column size="40"/>
  27. <Column size="40"/>
  28. <Column size="40"/>
  29. </Columns>
  30. <Rows>
  31. <Row size="24" band="head"/>
  32. <Row size="24"/>
  33. </Rows>
  34. <Band id="head">
  35. <Cell text="INSTCD"/>
  36. <Cell col="1" text="SUPPDEPTCD"/>
  37. <Cell col="2" text="SECTCD"/>
  38. <Cell col="3" text="짐계일자"/>
  39. <Cell col="4" text="처방코드"/>
  40. <Cell col="5" text="처방코드명"/>
  41. <Cell col="6" text="수량"/>
  42. <Cell col="7" text="마감Flag"/>
  43. <Cell col="8" text="무서코드"/>
  44. <Cell col="9" text="부서명"/>
  45. <Cell col="10"/>
  46. <Cell col="11"/>
  47. <Cell col="12"/>
  48. <Cell col="13"/>
  49. <Cell col="14"/>
  50. </Band>
  51. <Band id="body">
  52. <Cell displaytype="text" edittype="text" text="bind:instcd"/>
  53. <Cell col="1" displaytype="text" edittype="text" text="bind:suppdeptcd"/>
  54. <Cell col="2" text="bind:sectcd"/>
  55. <Cell col="3" text="bind:iodd"/>
  56. <Cell col="4" text="bind:goodcd"/>
  57. <Cell col="5" text="bind:goodnm"/>
  58. <Cell col="6" text="bind:dayused"/>
  59. <Cell col="7" text="bind:magamflag"/>
  60. <Cell col="8" text="bind:deptcd"/>
  61. <Cell col="9" text="bind:deptnm"/>
  62. <Cell col="10" text="bind:agojego"/>
  63. <Cell col="11" text="bind:outgo"/>
  64. <Cell col="12" text="bind:presentcnt"/>
  65. <Cell col="13" text="bind:receive"/>
  66. <Cell col="14" text="bind:totsu"/>
  67. </Band>
  68. </Format>
  69. </Formats>
  70. </Grid>
  71. <Div id="Div00" taborder="5" position="absolute 3 5 979 42" class="div_SA2" anchor="default">
  72. <Layouts>
  73. <Layout>
  74. <Button id="Btn_Save" taborder="0" text="재고반영" class="btn4" position="absolute 867 9 967 29" anchor="default" onclick="group3_Div00_Btn_Save_onclick"/>
  75. <Button id="btn_tri" taborder="1" text="조회" onclick="group3_btn_tri_onclick" class="btn1" position="absolute 773 9 834 29" anchor="default"/>
  76. <Calendar id="input7" taborder="2" onchanged="group3_input7_onchanged" class="input_default" position="absolute 242 8 348 29" anchor="default"/>
  77. <Static id="caption7" text="~" position="absolute 231 9 243 29" anchor="default"/>
  78. <Calendar id="input6" taborder="3" onchanged="group3_input6_onchanged" oneditclick="group3_input6_oneditclick" class="input_default" position="absolute 115 8 221 29" anchor="default"/>
  79. <Static id="caption11" text="조회일자 :" class="search_name" position="absolute 22 10 100 27" anchor="default"/>
  80. </Layout>
  81. </Layouts>
  82. </Div>
  83. </Layout>
  84. </Layouts>
  85. </Div>
  86. <Static id="caption6" text="조영제 재고 관리" class="tit_1" position="absolute 0 0 229 25"/>
  87. </Layout>
  88. </Layouts>
  89. <Objects>
  90. <Dataset id="ds_jyjlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  91. <ColumnInfo>
  92. <Column id="instcd" type="STRING" size="256"/>
  93. <Column id="suppdeptcd" type="STRING" size="256"/>
  94. <Column id="sectcd" type="STRING" size="256"/>
  95. <Column id="iodd" type="STRING" size="256"/>
  96. <Column id="goodcd" type="STRING" size="256"/>
  97. <Column id="agojego" type="STRING" size="256"/>
  98. <Column id="receive" type="STRING" size="256"/>
  99. <Column id="totsu" type="STRING" size="256"/>
  100. <Column id="outgo" type="STRING" size="256"/>
  101. <Column id="dayused" type="STRING" size="256"/>
  102. <Column id="presentcnt" type="STRING" size="256"/>
  103. <Column id="magamflag" type="STRING" size="256"/>
  104. <Column id="deptcd" type="STRING" size="256"/>
  105. <Column id="deptnm" type="STRING" size="256"/>
  106. <Column id="goodnm" type="STRING" size="256"/>
  107. </ColumnInfo>
  108. <Rows>
  109. <Row/>
  110. </Rows>
  111. </Dataset>
  112. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  113. <ColumnInfo>
  114. <Column id="srchendfromdd" type="STRING" size="256"/>
  115. <Column id="srchendtodd" type="STRING" size="256"/>
  116. </ColumnInfo>
  117. <Rows>
  118. <Row/>
  119. </Rows>
  120. </Dataset>
  121. </Objects>
  122. <Bind>
  123. <BindItem id="item2" compid="group3.grd_drugsum" propid="" datasetid="ds_jyjlist" columnid=""/>
  124. <BindItem id="item1" compid="group3.Div00.input7" propid="value" datasetid="ds_send" columnid="srchendtodd"/>
  125. <BindItem id="item0" compid="group3.Div00.input6" propid="value" datasetid="ds_send" columnid="srchendfromdd"/>
  126. </Bind>
  127. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  128. * System Name :
  129. * Job Name :
  130. * Creator :
  131. * Make Date : 2015-11-13
  132. * Description :
  133. *---------------------------------------------------------------------------------------
  134. * Modify Date Modifier Modify Description
  135. *---------------------------------------------------------------------------------------
  136. * 2015-11-13 Live Converter TF->XP
  137. *
  138. *---------------------------------------------------------------------------------------
  139. ****************************************************************************************/
  140. include "com_commonxp::comm_main.xjs";
  141. include "mis_miscommonxp::MIS.xjs";
  142. var arErrorCode = new HashArray();
  143. /******************************************************************
  144. * Argument :
  145. * Description : 초기화
  146. ******************************************************************/
  147. function SMADT50300_oninit(obj:Form, e:InitEventInfo)
  148. {
  149. frmf_initForm(obj);
  150. }
  151. function SMADT50300_onload(obj:Form, e:LoadEventInfo)
  152. {
  153. ds_send.setColumn(0, "srchfromdd", utlf_getCurrentDate());
  154. ds_send.setColumn(0, "srchendfromdd", utlf_getCurrentDate());
  155. ds_send.setColumn(0, "srchendtodd", utlf_getCurrentDate());
  156. ds_jyjlist.clearData();
  157. }
  158. function group3_btn_tri_onclick(obj:Button, e:ClickEventInfo)
  159. {
  160. var oParam = {};
  161. oParam.id = "TRADT50300";
  162. oParam.service = "pharmacystocapp.DrugStocSum";
  163. oParam.method = "reqGetJoyongJeStocSumList";
  164. oParam.inds = "req=ds_send";
  165. oParam.outds = "ds_jyjlist=item";
  166. oParam.async = false;
  167. //oParam.callback = "TRADT50300";
  168. tranf_submit(oParam);
  169. }
  170. function group3_Div00_Btn_Save_onclick(obj:Button, e:ClickEventInfo)
  171. {
  172. var oParam = {};
  173. oParam.id = "TXADT50300";
  174. oParam.service = "pharmacystocapp.DeliveDrugStocSumMngt";
  175. oParam.method = "reqExeDeliveMisJoYongJeStocSumEnd";
  176. oParam.inds = "req=ds_jyjlist";
  177. oParam.outds = "";
  178. oParam.async = false;
  179. oParam.callback = "cf_TXADT50300";
  180. tranf_submit(oParam);
  181. }
  182. function cf_TXADT50300(sSvcId, nErrorCode, sErrorMsg) {
  183. if(nErrorCode < 0) return;
  184. sysf_messageBox("재고반영이","I002");
  185. }
  186. ]]></Script>
  187. </Form>
  188. </FDL>