w_rp_spt_sub_hz2_mx.srw 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. $PBExportHeader$w_rp_spt_sub_hz2_mx.srw
  2. forward
  3. global type w_rp_spt_sub_hz2_mx from w_publ_easyq
  4. end type
  5. type cbx_ifpost from checkbox within w_rp_spt_sub_hz2_mx
  6. end type
  7. end forward
  8. global type w_rp_spt_sub_hz2_mx from w_publ_easyq
  9. integer width = 3611
  10. integer height = 2280
  11. string title = "供应商明细"
  12. boolean minbox = false
  13. boolean maxbox = false
  14. boolean resizable = false
  15. windowtype windowtype = response!
  16. windowstate windowstate = normal!
  17. boolean if_ue_sort = true
  18. boolean if_ue_sentdataout = true
  19. cbx_ifpost cbx_ifpost
  20. end type
  21. global w_rp_spt_sub_hz2_mx w_rp_spt_sub_hz2_mx
  22. type variables
  23. s_edit_index_tran s_open
  24. end variables
  25. on w_rp_spt_sub_hz2_mx.create
  26. int iCurrent
  27. call super::create
  28. this.cbx_ifpost=create cbx_ifpost
  29. iCurrent=UpperBound(this.Control)
  30. this.Control[iCurrent+1]=this.cbx_ifpost
  31. end on
  32. on w_rp_spt_sub_hz2_mx.destroy
  33. call super::destroy
  34. destroy(this.cbx_ifpost)
  35. end on
  36. event open;call super::open;s_open = Message.PowerObjectParm
  37. em_1.Text = String(s_open.c_long)
  38. em_2.Text = String(s_open.d_long)
  39. cbx_ifpost.Checked = ( s_open.e_long = -1 )
  40. cb_1.TriggerEvent(Clicked!)
  41. end event
  42. type cb_func from w_publ_easyq`cb_func within w_rp_spt_sub_hz2_mx
  43. end type
  44. type cb_exit from w_publ_easyq`cb_exit within w_rp_spt_sub_hz2_mx
  45. end type
  46. type cb_2 from w_publ_easyq`cb_2 within w_rp_spt_sub_hz2_mx
  47. end type
  48. type cb_psetup from w_publ_easyq`cb_psetup within w_rp_spt_sub_hz2_mx
  49. end type
  50. type cb_1 from w_publ_easyq`cb_1 within w_rp_spt_sub_hz2_mx
  51. end type
  52. event cb_1::clicked;call super::clicked;Long ls_firstcmon,ls_lastmon,ll_sptid
  53. String ls_subid
  54. Int li_ifpost
  55. IF cbx_ifpost.Checked THEN
  56. li_ifpost = -1
  57. ELSE
  58. li_ifpost = 1
  59. END IF
  60. ls_firstcmon = Long(em_1.Text)
  61. ls_lastmon = Long(em_2.Text)
  62. ll_sptid = s_open.b_long
  63. ls_subid = s_open.b_string
  64. ls_subid = ls_subid + '%'
  65. dw_1.Retrieve(sys_accsetid,li_ifpost,ls_firstcmon,ls_lastmon,ll_sptid,ls_subid)
  66. end event
  67. type st_3 from w_publ_easyq`st_3 within w_rp_spt_sub_hz2_mx
  68. integer width = 206
  69. string text = "期间从:"
  70. end type
  71. type st_4 from w_publ_easyq`st_4 within w_rp_spt_sub_hz2_mx
  72. integer x = 517
  73. end type
  74. type em_1 from w_publ_easyq`em_1 within w_rp_spt_sub_hz2_mx
  75. integer width = 306
  76. alignment alignment = center!
  77. string mask = "yyyymm"
  78. end type
  79. type em_2 from w_publ_easyq`em_2 within w_rp_spt_sub_hz2_mx
  80. integer x = 622
  81. integer width = 306
  82. alignment alignment = center!
  83. string mask = "yyyymm"
  84. end type
  85. type ddlb_yl from w_publ_easyq`ddlb_yl within w_rp_spt_sub_hz2_mx
  86. end type
  87. type cbx_yl from w_publ_easyq`cbx_yl within w_rp_spt_sub_hz2_mx
  88. end type
  89. type dw_1 from w_publ_easyq`dw_1 within w_rp_spt_sub_hz2_mx
  90. string dataobject = "dw_rp_spt_sub_hz2_mx"
  91. boolean rbutton_filter_use = true
  92. boolean titleclick_sort_use = true
  93. end type
  94. event dw_1::doubleclicked;call super::doubleclicked;s_edit_index_tran s_tran //翻页功能窗口 传递参数使用
  95. s_tran.if_retrieve_all = TRUE //是否一次RETRIEVE所有行
  96. s_tran.work_mode = 0 //0-单纯编辑模式, 1-选择模式
  97. s_tran.arg_pkid = 0 //目标定位PKID (备用)
  98. s_tran.arg_string_code = '' //查询列部分内容,用于初步筛选
  99. Long li_row
  100. li_row = THIS.GetRow()
  101. IF li_row <= 0 THEN RETURN
  102. s_tran.e_long = THIS.Object.cw_credence_credid[li_row]
  103. OpenWithParm(w_credence_edit,s_tran)
  104. end event
  105. type ln_bar from w_publ_easyq`ln_bar within w_rp_spt_sub_hz2_mx
  106. end type
  107. type ln_bar2 from w_publ_easyq`ln_bar2 within w_rp_spt_sub_hz2_mx
  108. end type
  109. type r_bar from w_publ_easyq`r_bar within w_rp_spt_sub_hz2_mx
  110. end type
  111. type ln_1 from w_publ_easyq`ln_1 within w_rp_spt_sub_hz2_mx
  112. end type
  113. type ln_2 from w_publ_easyq`ln_2 within w_rp_spt_sub_hz2_mx
  114. end type
  115. type cbx_ifpost from checkbox within w_rp_spt_sub_hz2_mx
  116. integer x = 951
  117. integer y = 200
  118. integer width = 466
  119. integer height = 80
  120. boolean bringtotop = true
  121. integer textsize = -9
  122. integer weight = 400
  123. fontcharset fontcharset = gb2312charset!
  124. fontpitch fontpitch = variable!
  125. string facename = "宋体"
  126. long textcolor = 33554432
  127. long backcolor = 67108864
  128. string text = "包括未登帐凭证"
  129. end type
  130. event clicked;cb_1.TriggerEvent(Clicked!)
  131. end event