w_rp_mstpay_old.srw 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. $PBExportHeader$w_rp_mstpay_old.srw
  2. forward
  3. global type w_rp_mstpay_old from w_publ_easyq
  4. end type
  5. type rb_1 from radiobutton within w_rp_mstpay_old
  6. end type
  7. type rb_2 from radiobutton within w_rp_mstpay_old
  8. end type
  9. type rb_3 from radiobutton within w_rp_mstpay_old
  10. end type
  11. type rb_4 from radiobutton within w_rp_mstpay_old
  12. end type
  13. end forward
  14. global type w_rp_mstpay_old from w_publ_easyq
  15. string title = "应付帐龄表"
  16. rb_1 rb_1
  17. rb_2 rb_2
  18. rb_3 rb_3
  19. rb_4 rb_4
  20. end type
  21. global w_rp_mstpay_old w_rp_mstpay_old
  22. type variables
  23. long arg_date_s=0,arg_date_e=30
  24. end variables
  25. on w_rp_mstpay_old.create
  26. int iCurrent
  27. call super::create
  28. this.rb_1=create rb_1
  29. this.rb_2=create rb_2
  30. this.rb_3=create rb_3
  31. this.rb_4=create rb_4
  32. iCurrent=UpperBound(this.Control)
  33. this.Control[iCurrent+1]=this.rb_1
  34. this.Control[iCurrent+2]=this.rb_2
  35. this.Control[iCurrent+3]=this.rb_3
  36. this.Control[iCurrent+4]=this.rb_4
  37. end on
  38. on w_rp_mstpay_old.destroy
  39. call super::destroy
  40. destroy(this.rb_1)
  41. destroy(this.rb_2)
  42. destroy(this.rb_3)
  43. destroy(this.rb_4)
  44. end on
  45. event open;call super::open;IF cbx_loginretr.Checked THEN
  46. cb_1.TriggerEvent(Clicked!)
  47. END IF
  48. end event
  49. event ue_before_open;call super::ue_before_open;if_ue_retr=true
  50. if_ue_filter=true
  51. if_ue_sort=true
  52. if_ue_sentdataout=true
  53. end event
  54. type cb_func from w_publ_easyq`cb_func within w_rp_mstpay_old
  55. end type
  56. type cb_exit from w_publ_easyq`cb_exit within w_rp_mstpay_old
  57. end type
  58. type cb_2 from w_publ_easyq`cb_2 within w_rp_mstpay_old
  59. end type
  60. type cb_psetup from w_publ_easyq`cb_psetup within w_rp_mstpay_old
  61. end type
  62. type cb_1 from w_publ_easyq`cb_1 within w_rp_mstpay_old
  63. end type
  64. event cb_1::clicked;call super::clicked;if rb_1.checked then
  65. arg_date_s=0
  66. arg_date_e=30
  67. elseif rb_2.checked then
  68. arg_date_s=31
  69. arg_date_e=60
  70. elseif rb_3.checked then
  71. arg_date_s=61
  72. arg_date_e=90
  73. elseif rb_4.checked then
  74. arg_date_s=91
  75. arg_date_e=99999
  76. end if
  77. dw_1.retrieve(arg_date_s,arg_date_e )
  78. end event
  79. type st_3 from w_publ_easyq`st_3 within w_rp_mstpay_old
  80. integer y = 340
  81. end type
  82. type st_4 from w_publ_easyq`st_4 within w_rp_mstpay_old
  83. integer y = 340
  84. end type
  85. type em_1 from w_publ_easyq`em_1 within w_rp_mstpay_old
  86. integer y = 324
  87. end type
  88. type em_2 from w_publ_easyq`em_2 within w_rp_mstpay_old
  89. integer y = 324
  90. end type
  91. type ddlb_yl from w_publ_easyq`ddlb_yl within w_rp_mstpay_old
  92. end type
  93. type cbx_yl from w_publ_easyq`cbx_yl within w_rp_mstpay_old
  94. end type
  95. type dw_1 from w_publ_easyq`dw_1 within w_rp_mstpay_old
  96. integer y = 300
  97. integer height = 1016
  98. string dataobject = "dw_rp_mstpay_old"
  99. end type
  100. type sle_mtrl from w_publ_easyq`sle_mtrl within w_rp_mstpay_old
  101. end type
  102. type sle_cust from w_publ_easyq`sle_cust within w_rp_mstpay_old
  103. end type
  104. type st_mtrl from w_publ_easyq`st_mtrl within w_rp_mstpay_old
  105. end type
  106. type st_cust from w_publ_easyq`st_cust within w_rp_mstpay_old
  107. end type
  108. type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_rp_mstpay_old
  109. boolean visible = true
  110. end type
  111. type pb_em1 from w_publ_easyq`pb_em1 within w_rp_mstpay_old
  112. boolean visible = false
  113. integer y = 412
  114. end type
  115. type pb_em2 from w_publ_easyq`pb_em2 within w_rp_mstpay_old
  116. boolean visible = false
  117. integer y = 412
  118. end type
  119. type pb_2 from w_publ_easyq`pb_2 within w_rp_mstpay_old
  120. boolean visible = false
  121. integer y = 412
  122. end type
  123. type cb_help from w_publ_easyq`cb_help within w_rp_mstpay_old
  124. end type
  125. type cb_copyself from w_publ_easyq`cb_copyself within w_rp_mstpay_old
  126. end type
  127. type gb_1 from w_publ_easyq`gb_1 within w_rp_mstpay_old
  128. integer x = 41
  129. integer y = 560
  130. integer height = 96
  131. end type
  132. type ln_bar from w_publ_easyq`ln_bar within w_rp_mstpay_old
  133. end type
  134. type ln_bar2 from w_publ_easyq`ln_bar2 within w_rp_mstpay_old
  135. end type
  136. type r_bar from w_publ_easyq`r_bar within w_rp_mstpay_old
  137. end type
  138. type ln_1 from w_publ_easyq`ln_1 within w_rp_mstpay_old
  139. end type
  140. type ln_2 from w_publ_easyq`ln_2 within w_rp_mstpay_old
  141. end type
  142. type ln_3 from w_publ_easyq`ln_3 within w_rp_mstpay_old
  143. boolean visible = false
  144. end type
  145. type ln_4 from w_publ_easyq`ln_4 within w_rp_mstpay_old
  146. boolean visible = false
  147. end type
  148. type rb_1 from radiobutton within w_rp_mstpay_old
  149. integer x = 27
  150. integer y = 200
  151. integer width = 320
  152. integer height = 60
  153. boolean bringtotop = true
  154. integer textsize = -9
  155. integer weight = 400
  156. fontcharset fontcharset = gb2312charset!
  157. fontpitch fontpitch = variable!
  158. string facename = "宋体"
  159. long textcolor = 33554432
  160. long backcolor = 134217739
  161. string text = "一月内"
  162. boolean checked = true
  163. end type
  164. event clicked;cb_1.triggerevent(clicked!)
  165. end event
  166. type rb_2 from radiobutton within w_rp_mstpay_old
  167. integer x = 389
  168. integer y = 200
  169. integer width = 320
  170. integer height = 60
  171. boolean bringtotop = true
  172. integer textsize = -9
  173. integer weight = 400
  174. fontcharset fontcharset = gb2312charset!
  175. fontpitch fontpitch = variable!
  176. string facename = "宋体"
  177. long textcolor = 33554432
  178. long backcolor = 134217739
  179. string text = "两月内"
  180. end type
  181. event clicked;cb_1.triggerevent(clicked!)
  182. end event
  183. type rb_3 from radiobutton within w_rp_mstpay_old
  184. integer x = 750
  185. integer y = 200
  186. integer width = 320
  187. integer height = 60
  188. boolean bringtotop = true
  189. integer textsize = -9
  190. integer weight = 400
  191. fontcharset fontcharset = gb2312charset!
  192. fontpitch fontpitch = variable!
  193. string facename = "宋体"
  194. long textcolor = 33554432
  195. long backcolor = 134217739
  196. string text = "三月内"
  197. end type
  198. event clicked;cb_1.triggerevent(clicked!)
  199. end event
  200. type rb_4 from radiobutton within w_rp_mstpay_old
  201. integer x = 1111
  202. integer y = 200
  203. integer width = 320
  204. integer height = 60
  205. boolean bringtotop = true
  206. integer textsize = -9
  207. integer weight = 400
  208. fontcharset fontcharset = gb2312charset!
  209. fontpitch fontpitch = variable!
  210. string facename = "宋体"
  211. long textcolor = 33554432
  212. long backcolor = 134217739
  213. string text = "三月以上"
  214. end type
  215. event clicked;cb_1.triggerevent(clicked!)
  216. end event