w_rp_planprice_his.srw 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. $PBExportHeader$w_rp_planprice_his.srw
  2. forward
  3. global type w_rp_planprice_his from w_publ_easyq
  4. end type
  5. end forward
  6. global type w_rp_planprice_his from w_publ_easyq
  7. string title = "计划价变更历史统计表"
  8. end type
  9. global w_rp_planprice_his w_rp_planprice_his
  10. on w_rp_planprice_his.create
  11. call super::create
  12. end on
  13. on w_rp_planprice_his.destroy
  14. call super::destroy
  15. end on
  16. event ue_before_openretrieve;call super::ue_before_openretrieve;s_hide_col s_col_mtrlsectype
  17. s_col_mtrlsectype.col_1 = 'u_mtrldef_mtrlsectype'
  18. f_hide_col(1308,dw_1,s_col_mtrlsectype)
  19. s_hide_col s_col_zxmtrlmode
  20. s_col_zxmtrlmode.col_1 = 'u_mtrldef_zxmtrlmode'
  21. f_hide_col(1309,dw_1,s_col_zxmtrlmode)
  22. end event
  23. type cb_func from w_publ_easyq`cb_func within w_rp_planprice_his
  24. end type
  25. type cb_exit from w_publ_easyq`cb_exit within w_rp_planprice_his
  26. end type
  27. type cb_2 from w_publ_easyq`cb_2 within w_rp_planprice_his
  28. end type
  29. type cb_psetup from w_publ_easyq`cb_psetup within w_rp_planprice_his
  30. end type
  31. type cb_1 from w_publ_easyq`cb_1 within w_rp_planprice_his
  32. end type
  33. event cb_1::clicked;call super::clicked;datetime first_date,end_date
  34. first_date=datetime(date(em_1.text),time(0))
  35. end_date=datetime(date(em_2.text),time('23:59:59'))
  36. dw_1.retrieve(first_date,end_date)
  37. end event
  38. type st_3 from w_publ_easyq`st_3 within w_rp_planprice_his
  39. end type
  40. type st_4 from w_publ_easyq`st_4 within w_rp_planprice_his
  41. end type
  42. type em_1 from w_publ_easyq`em_1 within w_rp_planprice_his
  43. end type
  44. type em_2 from w_publ_easyq`em_2 within w_rp_planprice_his
  45. end type
  46. type ddlb_yl from w_publ_easyq`ddlb_yl within w_rp_planprice_his
  47. end type
  48. type cbx_yl from w_publ_easyq`cbx_yl within w_rp_planprice_his
  49. end type
  50. type dw_1 from w_publ_easyq`dw_1 within w_rp_planprice_his
  51. integer y = 300
  52. string dataobject = "dw_rp_planprice_his"
  53. end type
  54. event dw_1::rowfocuschanged;call super::rowfocuschanged;IF currentrow <=0 THEN RETURN
  55. this.selectrow(0,false)
  56. this.selectrow(currentrow,true)
  57. end event
  58. type sle_mtrl from w_publ_easyq`sle_mtrl within w_rp_planprice_his
  59. end type
  60. type sle_cust from w_publ_easyq`sle_cust within w_rp_planprice_his
  61. end type
  62. type st_mtrl from w_publ_easyq`st_mtrl within w_rp_planprice_his
  63. end type
  64. type st_cust from w_publ_easyq`st_cust within w_rp_planprice_his
  65. end type
  66. type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_rp_planprice_his
  67. boolean visible = true
  68. end type
  69. type pb_em1 from w_publ_easyq`pb_em1 within w_rp_planprice_his
  70. end type
  71. type pb_em2 from w_publ_easyq`pb_em2 within w_rp_planprice_his
  72. end type
  73. type pb_2 from w_publ_easyq`pb_2 within w_rp_planprice_his
  74. end type
  75. type cb_help from w_publ_easyq`cb_help within w_rp_planprice_his
  76. end type
  77. type cb_copyself from w_publ_easyq`cb_copyself within w_rp_planprice_his
  78. end type
  79. type gb_1 from w_publ_easyq`gb_1 within w_rp_planprice_his
  80. end type
  81. type ln_bar from w_publ_easyq`ln_bar within w_rp_planprice_his
  82. end type
  83. type ln_bar2 from w_publ_easyq`ln_bar2 within w_rp_planprice_his
  84. end type
  85. type r_bar from w_publ_easyq`r_bar within w_rp_planprice_his
  86. end type
  87. type ln_1 from w_publ_easyq`ln_1 within w_rp_planprice_his
  88. end type
  89. type ln_2 from w_publ_easyq`ln_2 within w_rp_planprice_his
  90. end type
  91. type ln_3 from w_publ_easyq`ln_3 within w_rp_planprice_his
  92. end type
  93. type ln_4 from w_publ_easyq`ln_4 within w_rp_planprice_his
  94. end type