w_rp_rapmoney_mx.srw 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. $PBExportHeader$w_rp_rapmoney_mx.srw
  2. forward
  3. global type w_rp_rapmoney_mx from w_publ_easyq
  4. end type
  5. type ddlb_scid from uo_ddlb_scid within w_rp_rapmoney_mx
  6. end type
  7. type st_5 from statictext within w_rp_rapmoney_mx
  8. end type
  9. end forward
  10. global type w_rp_rapmoney_mx from w_publ_easyq
  11. integer width = 3538
  12. integer height = 2104
  13. string title = "出纳帐明细帐"
  14. ddlb_scid ddlb_scid
  15. st_5 st_5
  16. end type
  17. global w_rp_rapmoney_mx w_rp_rapmoney_mx
  18. type variables
  19. long cur_scid_arr[]
  20. end variables
  21. on w_rp_rapmoney_mx.create
  22. int iCurrent
  23. call super::create
  24. this.ddlb_scid=create ddlb_scid
  25. this.st_5=create st_5
  26. iCurrent=UpperBound(this.Control)
  27. this.Control[iCurrent+1]=this.ddlb_scid
  28. this.Control[iCurrent+2]=this.st_5
  29. end on
  30. on w_rp_rapmoney_mx.destroy
  31. call super::destroy
  32. destroy(this.ddlb_scid)
  33. destroy(this.st_5)
  34. end on
  35. event open;call super::open;//菜单打开
  36. if_ue_retr=true
  37. if_ue_filter=true
  38. if_ue_sort=true
  39. if_ue_sentdataout=true
  40. IF cbx_loginretr.Checked THEN
  41. cb_1.TriggerEvent(Clicked!)
  42. END IF
  43. end event
  44. type cb_func from w_publ_easyq`cb_func within w_rp_rapmoney_mx
  45. end type
  46. type cb_exit from w_publ_easyq`cb_exit within w_rp_rapmoney_mx
  47. integer x = 1157
  48. end type
  49. type cb_2 from w_publ_easyq`cb_2 within w_rp_rapmoney_mx
  50. integer width = 192
  51. string text = "打印&P"
  52. end type
  53. type cb_psetup from w_publ_easyq`cb_psetup within w_rp_rapmoney_mx
  54. end type
  55. type cb_1 from w_publ_easyq`cb_1 within w_rp_rapmoney_mx
  56. end type
  57. event cb_1::clicked;call super::clicked;DateTime firstdate,enddate
  58. firstdate = DateTime(Date(em_1.Text),Time(0))
  59. enddate =DateTime(Date(em_2.Text),Time('23:59:59'))
  60. dw_1.Retrieve(firstdate,enddate,sys_user_account,cur_scid_arr)
  61. end event
  62. type st_3 from w_publ_easyq`st_3 within w_rp_rapmoney_mx
  63. integer x = 690
  64. end type
  65. type st_4 from w_publ_easyq`st_4 within w_rp_rapmoney_mx
  66. integer x = 1399
  67. end type
  68. type em_1 from w_publ_easyq`em_1 within w_rp_rapmoney_mx
  69. integer x = 891
  70. end type
  71. type em_2 from w_publ_easyq`em_2 within w_rp_rapmoney_mx
  72. integer x = 1504
  73. end type
  74. type ddlb_yl from w_publ_easyq`ddlb_yl within w_rp_rapmoney_mx
  75. integer x = 1609
  76. integer y = 8
  77. end type
  78. type cbx_yl from w_publ_easyq`cbx_yl within w_rp_rapmoney_mx
  79. integer x = 1390
  80. integer y = 8
  81. end type
  82. event cbx_yl::clicked;call super::clicked;if this.checked then
  83. dw_1.selectrow(0,false)
  84. end if
  85. end event
  86. type dw_1 from w_publ_easyq`dw_1 within w_rp_rapmoney_mx
  87. integer y = 312
  88. integer height = 1024
  89. string dataobject = "dw_rp_rapmoney_mx"
  90. end type
  91. event dw_1::rowfocuschanged;call super::rowfocuschanged;IF currentrow <=0 THEN RETURN
  92. this.selectrow(0,false)
  93. this.selectrow(currentrow,true)
  94. end event
  95. type sle_mtrl from w_publ_easyq`sle_mtrl within w_rp_rapmoney_mx
  96. end type
  97. type sle_cust from w_publ_easyq`sle_cust within w_rp_rapmoney_mx
  98. end type
  99. type st_mtrl from w_publ_easyq`st_mtrl within w_rp_rapmoney_mx
  100. end type
  101. type st_cust from w_publ_easyq`st_cust within w_rp_rapmoney_mx
  102. end type
  103. type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_rp_rapmoney_mx
  104. boolean visible = true
  105. integer x = 1390
  106. integer y = 100
  107. end type
  108. type pb_em1 from w_publ_easyq`pb_em1 within w_rp_rapmoney_mx
  109. integer x = 1307
  110. end type
  111. type pb_em2 from w_publ_easyq`pb_em2 within w_rp_rapmoney_mx
  112. integer x = 1920
  113. end type
  114. type pb_2 from w_publ_easyq`pb_2 within w_rp_rapmoney_mx
  115. integer x = 2030
  116. end type
  117. type cb_help from w_publ_easyq`cb_help within w_rp_rapmoney_mx
  118. integer x = 1006
  119. end type
  120. type cb_copyself from w_publ_easyq`cb_copyself within w_rp_rapmoney_mx
  121. end type
  122. type gb_1 from w_publ_easyq`gb_1 within w_rp_rapmoney_mx
  123. end type
  124. type ln_bar from w_publ_easyq`ln_bar within w_rp_rapmoney_mx
  125. end type
  126. type ln_bar2 from w_publ_easyq`ln_bar2 within w_rp_rapmoney_mx
  127. end type
  128. type r_bar from w_publ_easyq`r_bar within w_rp_rapmoney_mx
  129. end type
  130. type ln_1 from w_publ_easyq`ln_1 within w_rp_rapmoney_mx
  131. end type
  132. type ln_2 from w_publ_easyq`ln_2 within w_rp_rapmoney_mx
  133. end type
  134. type ln_3 from w_publ_easyq`ln_3 within w_rp_rapmoney_mx
  135. end type
  136. type ln_4 from w_publ_easyq`ln_4 within w_rp_rapmoney_mx
  137. end type
  138. type ddlb_scid from uo_ddlb_scid within w_rp_rapmoney_mx
  139. integer x = 160
  140. integer y = 192
  141. integer width = 480
  142. integer height = 620
  143. integer taborder = 150
  144. boolean bringtotop = true
  145. end type
  146. event constructor;call super::constructor;cur_scid_arr = THIS.uo_scid_arr
  147. end event
  148. event selectionchanged;call super::selectionchanged;
  149. cur_scid_arr = THIS.uo_scid_arr
  150. cb_1.triggerevent(clicked!)
  151. end event
  152. type st_5 from statictext within w_rp_rapmoney_mx
  153. integer x = 23
  154. integer y = 204
  155. integer width = 128
  156. integer height = 48
  157. boolean bringtotop = true
  158. integer textsize = -9
  159. integer weight = 400
  160. fontcharset fontcharset = gb2312charset!
  161. fontpitch fontpitch = variable!
  162. string facename = "宋体"
  163. long textcolor = 33554432
  164. long backcolor = 134217739
  165. string text = "分部"
  166. alignment alignment = right!
  167. boolean focusrectangle = false
  168. end type