w_rp_gz_month.srw 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. $PBExportHeader$w_rp_gz_month.srw
  2. forward
  3. global type w_rp_gz_month from w_publ_easyq
  4. end type
  5. type ddlb_1 from dropdownlistbox within w_rp_gz_month
  6. end type
  7. end forward
  8. global type w_rp_gz_month from w_publ_easyq
  9. string title = "部门员工计件工资汇总表"
  10. ddlb_1 ddlb_1
  11. end type
  12. global w_rp_gz_month w_rp_gz_month
  13. on w_rp_gz_month.create
  14. int iCurrent
  15. call super::create
  16. this.ddlb_1=create ddlb_1
  17. iCurrent=UpperBound(this.Control)
  18. this.Control[iCurrent+1]=this.ddlb_1
  19. end on
  20. on w_rp_gz_month.destroy
  21. call super::destroy
  22. destroy(this.ddlb_1)
  23. end on
  24. event ue_before_open;call super::ue_before_open;if_ue_filter=true
  25. if_ue_sort=true
  26. if_ue_sentdataout=true
  27. wf_replacedw()
  28. end event
  29. type cb_func from w_publ_easyq`cb_func within w_rp_gz_month
  30. end type
  31. type cb_exit from w_publ_easyq`cb_exit within w_rp_gz_month
  32. end type
  33. type cb_2 from w_publ_easyq`cb_2 within w_rp_gz_month
  34. end type
  35. type cb_psetup from w_publ_easyq`cb_psetup within w_rp_gz_month
  36. end type
  37. type cb_1 from w_publ_easyq`cb_1 within w_rp_gz_month
  38. end type
  39. event cb_1::clicked;call super::clicked;long firstmth,endmth
  40. firstmth=long(eM_1.TEXT)
  41. endmth=long(EM_2.TEXT)
  42. dw_1.Retrieve(firstmth,endmth)
  43. end event
  44. type st_3 from w_publ_easyq`st_3 within w_rp_gz_month
  45. integer x = 23
  46. integer width = 315
  47. string text = "统计月份从"
  48. end type
  49. type st_4 from w_publ_easyq`st_4 within w_rp_gz_month
  50. integer x = 635
  51. string text = "到"
  52. end type
  53. type em_1 from w_publ_easyq`em_1 within w_rp_gz_month
  54. integer x = 357
  55. integer width = 288
  56. string mask = "yyyymm"
  57. end type
  58. type em_2 from w_publ_easyq`em_2 within w_rp_gz_month
  59. integer x = 763
  60. integer width = 293
  61. string mask = "yyyymm"
  62. end type
  63. type ddlb_yl from w_publ_easyq`ddlb_yl within w_rp_gz_month
  64. integer y = 56
  65. end type
  66. type cbx_yl from w_publ_easyq`cbx_yl within w_rp_gz_month
  67. integer y = 60
  68. end type
  69. type dw_1 from w_publ_easyq`dw_1 within w_rp_gz_month
  70. integer y = 304
  71. string dataobject = "dw_rp_gz_month_mx"
  72. end type
  73. type sle_mtrl from w_publ_easyq`sle_mtrl within w_rp_gz_month
  74. end type
  75. type sle_cust from w_publ_easyq`sle_cust within w_rp_gz_month
  76. end type
  77. type st_mtrl from w_publ_easyq`st_mtrl within w_rp_gz_month
  78. end type
  79. type st_cust from w_publ_easyq`st_cust within w_rp_gz_month
  80. end type
  81. type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_rp_gz_month
  82. end type
  83. type pb_em1 from w_publ_easyq`pb_em1 within w_rp_gz_month
  84. end type
  85. type pb_em2 from w_publ_easyq`pb_em2 within w_rp_gz_month
  86. integer x = 1065
  87. end type
  88. type pb_2 from w_publ_easyq`pb_2 within w_rp_gz_month
  89. integer x = 1175
  90. end type
  91. type cb_help from w_publ_easyq`cb_help within w_rp_gz_month
  92. end type
  93. type cb_copyself from w_publ_easyq`cb_copyself within w_rp_gz_month
  94. end type
  95. type gb_1 from w_publ_easyq`gb_1 within w_rp_gz_month
  96. end type
  97. type ln_bar from w_publ_easyq`ln_bar within w_rp_gz_month
  98. end type
  99. type ln_bar2 from w_publ_easyq`ln_bar2 within w_rp_gz_month
  100. end type
  101. type r_bar from w_publ_easyq`r_bar within w_rp_gz_month
  102. end type
  103. type ln_1 from w_publ_easyq`ln_1 within w_rp_gz_month
  104. end type
  105. type ln_2 from w_publ_easyq`ln_2 within w_rp_gz_month
  106. end type
  107. type ln_3 from w_publ_easyq`ln_3 within w_rp_gz_month
  108. end type
  109. type ln_4 from w_publ_easyq`ln_4 within w_rp_gz_month
  110. end type
  111. type ddlb_1 from dropdownlistbox within w_rp_gz_month
  112. integer x = 1385
  113. integer y = 196
  114. integer width = 654
  115. integer height = 300
  116. integer taborder = 130
  117. boolean bringtotop = true
  118. integer textsize = -9
  119. integer weight = 400
  120. fontcharset fontcharset = gb2312charset!
  121. fontpitch fontpitch = variable!
  122. string facename = "宋体"
  123. long textcolor = 33554432
  124. string text = "员工计件工资汇总表"
  125. string item[] = {"员工计件工资汇总表","部门计件工资汇总表"}
  126. borderstyle borderstyle = stylelowered!
  127. end type
  128. event selectionchanged;dw_1.uf_save_profile_layout()
  129. IF THIS.Text = '员工计件工资汇总表' THEN
  130. dw_1.DataObject = 'dw_rp_gz_month_mx'
  131. ELSE
  132. dw_1.DataObject = 'dw_rp_gz_month'
  133. END IF
  134. wf_replacedw()
  135. dw_1.SetTransObject(sqlca)
  136. dw_1.cur_DataObject = dw_1.DataObject
  137. dw_1.uf_read_profile_layout()
  138. cb_1.TriggerEvent(Clicked!)
  139. end event