w_rp_cusamt.srw 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. $PBExportHeader$w_rp_cusamt.srw
  2. forward
  3. global type w_rp_cusamt from w_publ_easyq
  4. end type
  5. end forward
  6. global type w_rp_cusamt from w_publ_easyq
  7. integer x = 9
  8. integer y = 12
  9. string title = "收据明细表"
  10. end type
  11. global w_rp_cusamt w_rp_cusamt
  12. type variables
  13. long cur_scid = -1
  14. end variables
  15. on w_rp_cusamt.create
  16. call super::create
  17. end on
  18. on w_rp_cusamt.destroy
  19. call super::destroy
  20. end on
  21. event open;this.triggerevent('ue_before_open')
  22. wf_movetocenter()
  23. //if sys_option_takerec=1 then
  24. // dw_1.dataobject='dw_rp_msttakemx'
  25. //else
  26. // dw_1.dataobject='dw_rp_msttakemx_group'
  27. //end if
  28. dw_1.SetTransObject (sqlca)
  29. EM_1.TEXT=STRING(TODAY(),'YYYY-MM-DD')
  30. EM_2.TEXT=EM_1.TEXT
  31. dw_1.RBUTTON_FILTER_USE=true //右键查询功能开关
  32. IF cbx_loginretr.Checked THEN
  33. cb_1.TriggerEvent(Clicked!)
  34. END IF
  35. if_ue_retr=true
  36. if_ue_filter=true
  37. if_ue_sort=true
  38. if_ue_sentdataout=true
  39. end event
  40. type cb_func from w_publ_easyq`cb_func within w_rp_cusamt
  41. end type
  42. type cb_exit from w_publ_easyq`cb_exit within w_rp_cusamt
  43. end type
  44. type cb_2 from w_publ_easyq`cb_2 within w_rp_cusamt
  45. boolean bringtotop = true
  46. end type
  47. type cb_psetup from w_publ_easyq`cb_psetup within w_rp_cusamt
  48. boolean bringtotop = true
  49. end type
  50. type cb_1 from w_publ_easyq`cb_1 within w_rp_cusamt
  51. boolean bringtotop = true
  52. end type
  53. event cb_1::clicked;call super::clicked;datetime firstdate,enddate
  54. firstdate =datetime(date(em_1.text),time(0))
  55. enddate = DateTime(Date(em_2.Text),Time('23:59:59'))
  56. dw_1.retrieve(firstdate,enddate,sys_areaid)
  57. end event
  58. type st_3 from w_publ_easyq`st_3 within w_rp_cusamt
  59. end type
  60. type st_4 from w_publ_easyq`st_4 within w_rp_cusamt
  61. end type
  62. type em_1 from w_publ_easyq`em_1 within w_rp_cusamt
  63. end type
  64. type em_2 from w_publ_easyq`em_2 within w_rp_cusamt
  65. end type
  66. type ddlb_yl from w_publ_easyq`ddlb_yl within w_rp_cusamt
  67. integer x = 1550
  68. integer y = 0
  69. end type
  70. type cbx_yl from w_publ_easyq`cbx_yl within w_rp_cusamt
  71. integer x = 1339
  72. integer y = 4
  73. end type
  74. type dw_1 from w_publ_easyq`dw_1 within w_rp_cusamt
  75. integer y = 312
  76. integer width = 2208
  77. string dataobject = "dw_rp_cusamt"
  78. end type
  79. type sle_mtrl from w_publ_easyq`sle_mtrl within w_rp_cusamt
  80. end type
  81. type sle_cust from w_publ_easyq`sle_cust within w_rp_cusamt
  82. end type
  83. type st_mtrl from w_publ_easyq`st_mtrl within w_rp_cusamt
  84. end type
  85. type st_cust from w_publ_easyq`st_cust within w_rp_cusamt
  86. end type
  87. type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_rp_cusamt
  88. boolean visible = true
  89. integer x = 1339
  90. end type
  91. type pb_em1 from w_publ_easyq`pb_em1 within w_rp_cusamt
  92. end type
  93. type pb_em2 from w_publ_easyq`pb_em2 within w_rp_cusamt
  94. end type
  95. type pb_2 from w_publ_easyq`pb_2 within w_rp_cusamt
  96. end type
  97. type cb_help from w_publ_easyq`cb_help within w_rp_cusamt
  98. end type
  99. type cb_copyself from w_publ_easyq`cb_copyself within w_rp_cusamt
  100. end type
  101. type gb_1 from w_publ_easyq`gb_1 within w_rp_cusamt
  102. end type
  103. type ln_bar from w_publ_easyq`ln_bar within w_rp_cusamt
  104. end type
  105. type ln_bar2 from w_publ_easyq`ln_bar2 within w_rp_cusamt
  106. end type
  107. type r_bar from w_publ_easyq`r_bar within w_rp_cusamt
  108. end type
  109. type ln_1 from w_publ_easyq`ln_1 within w_rp_cusamt
  110. end type
  111. type ln_2 from w_publ_easyq`ln_2 within w_rp_cusamt
  112. end type
  113. type ln_3 from w_publ_easyq`ln_3 within w_rp_cusamt
  114. end type
  115. type ln_4 from w_publ_easyq`ln_4 within w_rp_cusamt
  116. end type