w_rp_msttake_old.srw 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. $PBExportHeader$w_rp_msttake_old.srw
  2. forward
  3. global type w_rp_msttake_old from w_publ_easyq
  4. end type
  5. type rb_1 from radiobutton within w_rp_msttake_old
  6. end type
  7. type rb_2 from radiobutton within w_rp_msttake_old
  8. end type
  9. type rb_3 from radiobutton within w_rp_msttake_old
  10. end type
  11. type rb_4 from radiobutton within w_rp_msttake_old
  12. end type
  13. end forward
  14. global type w_rp_msttake_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_msttake_old w_rp_msttake_old
  22. type variables
  23. long arg_date_s=0,arg_date_e=30
  24. end variables
  25. on w_rp_msttake_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_msttake_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_msttake_old
  55. end type
  56. type cb_exit from w_publ_easyq`cb_exit within w_rp_msttake_old
  57. end type
  58. type cb_2 from w_publ_easyq`cb_2 within w_rp_msttake_old
  59. end type
  60. type cb_psetup from w_publ_easyq`cb_psetup within w_rp_msttake_old
  61. end type
  62. type cb_1 from w_publ_easyq`cb_1 within w_rp_msttake_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_msttake_old
  80. integer y = 340
  81. end type
  82. type st_4 from w_publ_easyq`st_4 within w_rp_msttake_old
  83. integer y = 340
  84. end type
  85. type em_1 from w_publ_easyq`em_1 within w_rp_msttake_old
  86. integer y = 324
  87. end type
  88. type em_2 from w_publ_easyq`em_2 within w_rp_msttake_old
  89. integer y = 324
  90. end type
  91. type ddlb_yl from w_publ_easyq`ddlb_yl within w_rp_msttake_old
  92. integer y = 12
  93. end type
  94. type cbx_yl from w_publ_easyq`cbx_yl within w_rp_msttake_old
  95. integer y = 16
  96. end type
  97. type dw_1 from w_publ_easyq`dw_1 within w_rp_msttake_old
  98. integer y = 300
  99. integer height = 1016
  100. string dataobject = "dw_rp_msttake_old"
  101. end type
  102. type sle_mtrl from w_publ_easyq`sle_mtrl within w_rp_msttake_old
  103. integer x = 1632
  104. integer y = 472
  105. end type
  106. type sle_cust from w_publ_easyq`sle_cust within w_rp_msttake_old
  107. integer x = 471
  108. integer y = 472
  109. end type
  110. type st_mtrl from w_publ_easyq`st_mtrl within w_rp_msttake_old
  111. integer x = 1175
  112. integer y = 488
  113. end type
  114. type st_cust from w_publ_easyq`st_cust within w_rp_msttake_old
  115. integer x = 9
  116. integer y = 488
  117. end type
  118. type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_rp_msttake_old
  119. boolean visible = true
  120. end type
  121. type pb_em1 from w_publ_easyq`pb_em1 within w_rp_msttake_old
  122. boolean visible = false
  123. integer x = 1257
  124. integer y = 548
  125. end type
  126. type pb_em2 from w_publ_easyq`pb_em2 within w_rp_msttake_old
  127. boolean visible = false
  128. integer x = 1385
  129. integer y = 548
  130. end type
  131. type pb_2 from w_publ_easyq`pb_2 within w_rp_msttake_old
  132. boolean visible = false
  133. integer x = 1495
  134. integer y = 548
  135. end type
  136. type cb_help from w_publ_easyq`cb_help within w_rp_msttake_old
  137. end type
  138. type cb_copyself from w_publ_easyq`cb_copyself within w_rp_msttake_old
  139. end type
  140. type gb_1 from w_publ_easyq`gb_1 within w_rp_msttake_old
  141. integer x = 41
  142. integer y = 560
  143. integer height = 96
  144. end type
  145. type ln_bar from w_publ_easyq`ln_bar within w_rp_msttake_old
  146. end type
  147. type ln_bar2 from w_publ_easyq`ln_bar2 within w_rp_msttake_old
  148. end type
  149. type r_bar from w_publ_easyq`r_bar within w_rp_msttake_old
  150. end type
  151. type ln_1 from w_publ_easyq`ln_1 within w_rp_msttake_old
  152. end type
  153. type ln_2 from w_publ_easyq`ln_2 within w_rp_msttake_old
  154. end type
  155. type ln_3 from w_publ_easyq`ln_3 within w_rp_msttake_old
  156. boolean visible = false
  157. end type
  158. type ln_4 from w_publ_easyq`ln_4 within w_rp_msttake_old
  159. boolean visible = false
  160. end type
  161. type rb_1 from radiobutton within w_rp_msttake_old
  162. integer x = 27
  163. integer y = 208
  164. integer width = 320
  165. integer height = 60
  166. boolean bringtotop = true
  167. integer textsize = -9
  168. integer weight = 400
  169. fontcharset fontcharset = gb2312charset!
  170. fontpitch fontpitch = variable!
  171. string facename = "宋体"
  172. long textcolor = 33554432
  173. long backcolor = 134217739
  174. string text = "一月内"
  175. boolean checked = true
  176. end type
  177. event clicked;cb_1.triggerevent(clicked!)
  178. end event
  179. type rb_2 from radiobutton within w_rp_msttake_old
  180. integer x = 389
  181. integer y = 208
  182. integer width = 320
  183. integer height = 60
  184. boolean bringtotop = true
  185. integer textsize = -9
  186. integer weight = 400
  187. fontcharset fontcharset = gb2312charset!
  188. fontpitch fontpitch = variable!
  189. string facename = "宋体"
  190. long textcolor = 33554432
  191. long backcolor = 134217739
  192. string text = "两月内"
  193. end type
  194. event clicked;cb_1.triggerevent(clicked!)
  195. end event
  196. type rb_3 from radiobutton within w_rp_msttake_old
  197. integer x = 750
  198. integer y = 208
  199. integer width = 320
  200. integer height = 60
  201. boolean bringtotop = true
  202. integer textsize = -9
  203. integer weight = 400
  204. fontcharset fontcharset = gb2312charset!
  205. fontpitch fontpitch = variable!
  206. string facename = "宋体"
  207. long textcolor = 33554432
  208. long backcolor = 134217739
  209. string text = "三月内"
  210. end type
  211. event clicked;cb_1.triggerevent(clicked!)
  212. end event
  213. type rb_4 from radiobutton within w_rp_msttake_old
  214. integer x = 1111
  215. integer y = 208
  216. integer width = 320
  217. integer height = 60
  218. boolean bringtotop = true
  219. integer textsize = -9
  220. integer weight = 400
  221. fontcharset fontcharset = gb2312charset!
  222. fontpitch fontpitch = variable!
  223. string facename = "宋体"
  224. long textcolor = 33554432
  225. long backcolor = 134217739
  226. string text = "三月以上"
  227. end type
  228. event clicked;cb_1.triggerevent(clicked!)
  229. end event