w_rp_crm_cust_plan.srw 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. $PBExportHeader$w_rp_crm_cust_plan.srw
  2. forward
  3. global type w_rp_crm_cust_plan from w_publ_easyq
  4. end type
  5. end forward
  6. global type w_rp_crm_cust_plan from w_publ_easyq
  7. string title = "客户工作计划统计表"
  8. end type
  9. global w_rp_crm_cust_plan w_rp_crm_cust_plan
  10. on w_rp_crm_cust_plan.create
  11. call super::create
  12. end on
  13. on w_rp_crm_cust_plan.destroy
  14. call super::destroy
  15. end on
  16. event open;call super::open;EM_1.TEXT=string(today(),'yyyy-mm')+'-01'
  17. EM_2.TEXT=STRING(TODAY(),'YYYY-MM-DD')
  18. IF cbx_loginretr.Checked THEN
  19. cb_1.TriggerEvent(Clicked!)
  20. END IF
  21. end event
  22. event ue_before_open;call super::ue_before_open;if_ue_retr=true
  23. if_ue_filter=true
  24. if_ue_sort=true
  25. if_ue_sentdataout=true
  26. end event
  27. type cb_func from w_publ_easyq`cb_func within w_rp_crm_cust_plan
  28. end type
  29. type cb_exit from w_publ_easyq`cb_exit within w_rp_crm_cust_plan
  30. end type
  31. type cb_2 from w_publ_easyq`cb_2 within w_rp_crm_cust_plan
  32. end type
  33. type cb_psetup from w_publ_easyq`cb_psetup within w_rp_crm_cust_plan
  34. end type
  35. type cb_1 from w_publ_easyq`cb_1 within w_rp_crm_cust_plan
  36. end type
  37. event cb_1::clicked;call super::clicked;DateTime first_date,end_date
  38. first_date = DateTime(Date(em_1.Text),Time(0))
  39. end_date = DateTime(Date(em_2.Text),Time('23:59:59'))
  40. String ls_cust_str, ls_mtrl_str
  41. IF Pos(sle_cust.Text,"%") <> 0 THEN
  42. ls_cust_str = trim(sle_cust.Text)
  43. ELSE
  44. ls_cust_str = "%"+trim(sle_cust.Text)+"%"
  45. END IF
  46. dw_1.Retrieve(first_date,end_date,sys_areaid,ls_cust_str)
  47. end event
  48. type st_3 from w_publ_easyq`st_3 within w_rp_crm_cust_plan
  49. end type
  50. type st_4 from w_publ_easyq`st_4 within w_rp_crm_cust_plan
  51. end type
  52. type em_1 from w_publ_easyq`em_1 within w_rp_crm_cust_plan
  53. end type
  54. type em_2 from w_publ_easyq`em_2 within w_rp_crm_cust_plan
  55. end type
  56. type ddlb_yl from w_publ_easyq`ddlb_yl within w_rp_crm_cust_plan
  57. integer x = 1509
  58. end type
  59. type cbx_yl from w_publ_easyq`cbx_yl within w_rp_crm_cust_plan
  60. integer x = 1298
  61. integer y = 16
  62. end type
  63. type dw_1 from w_publ_easyq`dw_1 within w_rp_crm_cust_plan
  64. string dataobject = "dw_rp_crm_cust_plan"
  65. end type
  66. type sle_mtrl from w_publ_easyq`sle_mtrl within w_rp_crm_cust_plan
  67. end type
  68. type sle_cust from w_publ_easyq`sle_cust within w_rp_crm_cust_plan
  69. boolean visible = true
  70. integer x = 494
  71. end type
  72. type st_mtrl from w_publ_easyq`st_mtrl within w_rp_crm_cust_plan
  73. end type
  74. type st_cust from w_publ_easyq`st_cust within w_rp_crm_cust_plan
  75. boolean visible = true
  76. integer x = 32
  77. end type
  78. type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_rp_crm_cust_plan
  79. boolean visible = true
  80. integer x = 1298
  81. end type
  82. type pb_em1 from w_publ_easyq`pb_em1 within w_rp_crm_cust_plan
  83. end type
  84. type pb_em2 from w_publ_easyq`pb_em2 within w_rp_crm_cust_plan
  85. end type
  86. type pb_2 from w_publ_easyq`pb_2 within w_rp_crm_cust_plan
  87. end type
  88. type cb_help from w_publ_easyq`cb_help within w_rp_crm_cust_plan
  89. end type
  90. type cb_copyself from w_publ_easyq`cb_copyself within w_rp_crm_cust_plan
  91. end type
  92. type gb_1 from w_publ_easyq`gb_1 within w_rp_crm_cust_plan
  93. end type
  94. type ln_bar from w_publ_easyq`ln_bar within w_rp_crm_cust_plan
  95. end type
  96. type ln_bar2 from w_publ_easyq`ln_bar2 within w_rp_crm_cust_plan
  97. end type
  98. type r_bar from w_publ_easyq`r_bar within w_rp_crm_cust_plan
  99. end type
  100. type ln_1 from w_publ_easyq`ln_1 within w_rp_crm_cust_plan
  101. end type
  102. type ln_2 from w_publ_easyq`ln_2 within w_rp_crm_cust_plan
  103. end type
  104. type ln_3 from w_publ_easyq`ln_3 within w_rp_crm_cust_plan
  105. end type
  106. type ln_4 from w_publ_easyq`ln_4 within w_rp_crm_cust_plan
  107. end type