w_rp_sale_month_amt.srw 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. $PBExportHeader$w_rp_sale_month_amt.srw
  2. forward
  3. global type w_rp_sale_month_amt from w_publ_easyq
  4. end type
  5. type ddlb_1 from dropdownlistbox within w_rp_sale_month_amt
  6. end type
  7. type st_1 from statictext within w_rp_sale_month_amt
  8. end type
  9. end forward
  10. global type w_rp_sale_month_amt from w_publ_easyq
  11. string title = "销售年度汇总表"
  12. ddlb_1 ddlb_1
  13. st_1 st_1
  14. end type
  15. global w_rp_sale_month_amt w_rp_sale_month_amt
  16. on w_rp_sale_month_amt.create
  17. int iCurrent
  18. call super::create
  19. this.ddlb_1=create ddlb_1
  20. this.st_1=create st_1
  21. iCurrent=UpperBound(this.Control)
  22. this.Control[iCurrent+1]=this.ddlb_1
  23. this.Control[iCurrent+2]=this.st_1
  24. end on
  25. on w_rp_sale_month_amt.destroy
  26. call super::destroy
  27. destroy(this.ddlb_1)
  28. destroy(this.st_1)
  29. end on
  30. type cb_func from w_publ_easyq`cb_func within w_rp_sale_month_amt
  31. end type
  32. type cb_exit from w_publ_easyq`cb_exit within w_rp_sale_month_amt
  33. end type
  34. type cb_2 from w_publ_easyq`cb_2 within w_rp_sale_month_amt
  35. end type
  36. type cb_psetup from w_publ_easyq`cb_psetup within w_rp_sale_month_amt
  37. end type
  38. type cb_1 from w_publ_easyq`cb_1 within w_rp_sale_month_amt
  39. end type
  40. event cb_1::clicked;call super::clicked;long firstmth,endmth
  41. firstmth=long(eM_1.TEXT)
  42. endmth=long(EM_2.TEXT)
  43. Int li_option_outrep
  44. IF sys_power_issuper THEN
  45. li_option_outrep = 0
  46. ELSE
  47. li_option_outrep = sys_option_outrep
  48. END IF
  49. dw_1.Retrieve(firstmth,endmth, sys_user_outrep, li_option_outrep)
  50. end event
  51. type st_3 from w_publ_easyq`st_3 within w_rp_sale_month_amt
  52. integer x = 23
  53. integer width = 315
  54. string text = "统计年份从"
  55. end type
  56. type st_4 from w_publ_easyq`st_4 within w_rp_sale_month_amt
  57. integer x = 635
  58. string text = "到"
  59. end type
  60. type em_1 from w_publ_easyq`em_1 within w_rp_sale_month_amt
  61. integer x = 357
  62. integer width = 224
  63. string mask = "yyyy"
  64. end type
  65. type em_2 from w_publ_easyq`em_2 within w_rp_sale_month_amt
  66. integer x = 754
  67. integer width = 224
  68. string mask = "yyyy"
  69. end type
  70. type ddlb_yl from w_publ_easyq`ddlb_yl within w_rp_sale_month_amt
  71. end type
  72. type cbx_yl from w_publ_easyq`cbx_yl within w_rp_sale_month_amt
  73. end type
  74. type dw_1 from w_publ_easyq`dw_1 within w_rp_sale_month_amt
  75. integer y = 304
  76. string dataobject = "dw_rp_sale_month_amt"
  77. end type
  78. type sle_mtrl from w_publ_easyq`sle_mtrl within w_rp_sale_month_amt
  79. end type
  80. type sle_cust from w_publ_easyq`sle_cust within w_rp_sale_month_amt
  81. end type
  82. type st_mtrl from w_publ_easyq`st_mtrl within w_rp_sale_month_amt
  83. end type
  84. type st_cust from w_publ_easyq`st_cust within w_rp_sale_month_amt
  85. end type
  86. type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_rp_sale_month_amt
  87. end type
  88. type pb_em1 from w_publ_easyq`pb_em1 within w_rp_sale_month_amt
  89. integer x = 576
  90. end type
  91. type pb_em2 from w_publ_easyq`pb_em2 within w_rp_sale_month_amt
  92. integer x = 1065
  93. end type
  94. type pb_2 from w_publ_easyq`pb_2 within w_rp_sale_month_amt
  95. integer x = 1175
  96. end type
  97. type cb_help from w_publ_easyq`cb_help within w_rp_sale_month_amt
  98. end type
  99. type cb_copyself from w_publ_easyq`cb_copyself within w_rp_sale_month_amt
  100. end type
  101. type gb_1 from w_publ_easyq`gb_1 within w_rp_sale_month_amt
  102. end type
  103. type ln_bar from w_publ_easyq`ln_bar within w_rp_sale_month_amt
  104. end type
  105. type ln_bar2 from w_publ_easyq`ln_bar2 within w_rp_sale_month_amt
  106. end type
  107. type r_bar from w_publ_easyq`r_bar within w_rp_sale_month_amt
  108. end type
  109. type ln_1 from w_publ_easyq`ln_1 within w_rp_sale_month_amt
  110. end type
  111. type ln_2 from w_publ_easyq`ln_2 within w_rp_sale_month_amt
  112. end type
  113. type ln_3 from w_publ_easyq`ln_3 within w_rp_sale_month_amt
  114. end type
  115. type ln_4 from w_publ_easyq`ln_4 within w_rp_sale_month_amt
  116. end type
  117. type ddlb_1 from dropdownlistbox within w_rp_sale_month_amt
  118. integer x = 1385
  119. integer y = 196
  120. integer width = 654
  121. integer height = 300
  122. integer taborder = 130
  123. boolean bringtotop = true
  124. integer textsize = -9
  125. integer weight = 400
  126. fontcharset fontcharset = gb2312charset!
  127. fontpitch fontpitch = variable!
  128. string facename = "宋体"
  129. long textcolor = 33554432
  130. string text = "销售金额年度汇总表"
  131. string item[] = {"销售金额年度汇总表","销售数量金额年度汇总表"}
  132. borderstyle borderstyle = stylelowered!
  133. end type
  134. event selectionchanged;dw_1.uf_save_profile_layout()
  135. IF THIS.Text = '销售金额年度汇总表' THEN
  136. dw_1.DataObject = 'dw_rp_sale_month_amt'
  137. ELSE
  138. dw_1.DataObject = 'dw_rp_sale_month_amt_mtrl_1'
  139. END IF
  140. dw_1.SetTransObject(sqlca)
  141. dw_1.cur_DataObject = dw_1.DataObject
  142. dw_1.uf_read_profile_layout()
  143. cb_1.TriggerEvent(Clicked!)
  144. end event
  145. type st_1 from statictext within w_rp_sale_month_amt
  146. integer x = 2066
  147. integer y = 208
  148. integer width = 1257
  149. integer height = 52
  150. boolean bringtotop = true
  151. integer textsize = -9
  152. integer weight = 400
  153. fontcharset fontcharset = gb2312charset!
  154. fontpitch fontpitch = variable!
  155. string facename = "宋体"
  156. long textcolor = 16711680
  157. long backcolor = 134217739
  158. string text = "注意:本统计表只统计财务审核的单据"
  159. boolean focusrectangle = false
  160. end type