w_rp_spt_amerce_mx.srw 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. $PBExportHeader$w_rp_spt_amerce_mx.srw
  2. forward
  3. global type w_rp_spt_amerce_mx from w_publ_easyq
  4. end type
  5. type ddlb_2 from uo_ddlb_storageid within w_rp_spt_amerce_mx
  6. end type
  7. type ddlb_status from dropdownlistbox within w_rp_spt_amerce_mx
  8. end type
  9. end forward
  10. global type w_rp_spt_amerce_mx from w_publ_easyq
  11. string title = "供应商罚款单明细表"
  12. ddlb_2 ddlb_2
  13. ddlb_status ddlb_status
  14. end type
  15. global w_rp_spt_amerce_mx w_rp_spt_amerce_mx
  16. type variables
  17. Long cur_storageid_arr[]
  18. Long cur_flag = -1
  19. Long cur_secflag = -1
  20. end variables
  21. on w_rp_spt_amerce_mx.create
  22. int iCurrent
  23. call super::create
  24. this.ddlb_2=create ddlb_2
  25. this.ddlb_status=create ddlb_status
  26. iCurrent=UpperBound(this.Control)
  27. this.Control[iCurrent+1]=this.ddlb_2
  28. this.Control[iCurrent+2]=this.ddlb_status
  29. end on
  30. on w_rp_spt_amerce_mx.destroy
  31. call super::destroy
  32. destroy(this.ddlb_2)
  33. destroy(this.ddlb_status)
  34. end on
  35. type cb_func from w_publ_easyq`cb_func within w_rp_spt_amerce_mx
  36. end type
  37. type cb_exit from w_publ_easyq`cb_exit within w_rp_spt_amerce_mx
  38. end type
  39. type cb_2 from w_publ_easyq`cb_2 within w_rp_spt_amerce_mx
  40. integer taborder = 100
  41. boolean bringtotop = true
  42. end type
  43. type cb_psetup from w_publ_easyq`cb_psetup within w_rp_spt_amerce_mx
  44. boolean bringtotop = true
  45. end type
  46. type cb_1 from w_publ_easyq`cb_1 within w_rp_spt_amerce_mx
  47. boolean bringtotop = true
  48. end type
  49. event cb_1::clicked;DateTime first_date,end_date
  50. first_date = DateTime(Date(em_1.Text),Time(0))
  51. end_date = DateTime(Date(em_2.Text),Time('23:59:59'))
  52. dw_1.Retrieve(first_date,end_date,cur_flag,sys_user_spttype )
  53. end event
  54. type st_3 from w_publ_easyq`st_3 within w_rp_spt_amerce_mx
  55. integer x = 421
  56. end type
  57. type st_4 from w_publ_easyq`st_4 within w_rp_spt_amerce_mx
  58. integer x = 1125
  59. end type
  60. type em_1 from w_publ_easyq`em_1 within w_rp_spt_amerce_mx
  61. integer x = 626
  62. integer taborder = 110
  63. end type
  64. type em_2 from w_publ_easyq`em_2 within w_rp_spt_amerce_mx
  65. integer x = 1221
  66. integer taborder = 120
  67. end type
  68. type ddlb_yl from w_publ_easyq`ddlb_yl within w_rp_spt_amerce_mx
  69. integer x = 1687
  70. integer y = 4
  71. end type
  72. type cbx_yl from w_publ_easyq`cbx_yl within w_rp_spt_amerce_mx
  73. integer x = 1477
  74. integer y = 4
  75. end type
  76. type dw_1 from w_publ_easyq`dw_1 within w_rp_spt_amerce_mx
  77. integer y = 300
  78. integer width = 2994
  79. integer height = 940
  80. string dataobject = "dw_rp_spt_amerce_mx"
  81. end type
  82. event dw_1::doubleclicked;call super::doubleclicked;IF row > 0 THEN
  83. String ls_code
  84. Long ll_scid
  85. ll_scid = THIS.Object.u_spt_amerce_scid[row]
  86. ls_code = THIS.Object.u_spt_amerce_billcode[row]
  87. f_open_win(ll_scid,ls_code)
  88. END IF
  89. end event
  90. type sle_mtrl from w_publ_easyq`sle_mtrl within w_rp_spt_amerce_mx
  91. end type
  92. type sle_cust from w_publ_easyq`sle_cust within w_rp_spt_amerce_mx
  93. end type
  94. type st_mtrl from w_publ_easyq`st_mtrl within w_rp_spt_amerce_mx
  95. end type
  96. type st_cust from w_publ_easyq`st_cust within w_rp_spt_amerce_mx
  97. end type
  98. type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_rp_spt_amerce_mx
  99. boolean visible = true
  100. integer x = 1477
  101. end type
  102. type pb_em1 from w_publ_easyq`pb_em1 within w_rp_spt_amerce_mx
  103. integer x = 1038
  104. end type
  105. type pb_em2 from w_publ_easyq`pb_em2 within w_rp_spt_amerce_mx
  106. integer x = 1641
  107. end type
  108. type pb_2 from w_publ_easyq`pb_2 within w_rp_spt_amerce_mx
  109. integer x = 1751
  110. end type
  111. type cb_help from w_publ_easyq`cb_help within w_rp_spt_amerce_mx
  112. end type
  113. type cb_copyself from w_publ_easyq`cb_copyself within w_rp_spt_amerce_mx
  114. end type
  115. type gb_1 from w_publ_easyq`gb_1 within w_rp_spt_amerce_mx
  116. end type
  117. type ln_bar from w_publ_easyq`ln_bar within w_rp_spt_amerce_mx
  118. end type
  119. type ln_bar2 from w_publ_easyq`ln_bar2 within w_rp_spt_amerce_mx
  120. end type
  121. type r_bar from w_publ_easyq`r_bar within w_rp_spt_amerce_mx
  122. end type
  123. type ln_1 from w_publ_easyq`ln_1 within w_rp_spt_amerce_mx
  124. end type
  125. type ln_2 from w_publ_easyq`ln_2 within w_rp_spt_amerce_mx
  126. end type
  127. type ln_3 from w_publ_easyq`ln_3 within w_rp_spt_amerce_mx
  128. end type
  129. type ln_4 from w_publ_easyq`ln_4 within w_rp_spt_amerce_mx
  130. end type
  131. type ddlb_2 from uo_ddlb_storageid within w_rp_spt_amerce_mx
  132. boolean visible = false
  133. integer x = 14
  134. integer y = 208
  135. integer width = 681
  136. integer height = 1108
  137. integer taborder = 40
  138. boolean bringtotop = true
  139. end type
  140. event constructor;call super::constructor;cur_storageid_arr = this.uo_storageid_arr
  141. end event
  142. event selectionchanged;call super::selectionchanged;cur_storageid_arr = this.uo_storageid_arr
  143. cb_1.triggerevent(clicked!)
  144. end event
  145. type ddlb_status from dropdownlistbox within w_rp_spt_amerce_mx
  146. integer x = 18
  147. integer y = 192
  148. integer width = 384
  149. integer height = 556
  150. integer taborder = 70
  151. boolean bringtotop = true
  152. integer textsize = -9
  153. integer weight = 400
  154. fontcharset fontcharset = gb2312charset!
  155. fontpitch fontpitch = variable!
  156. string facename = "宋体"
  157. long textcolor = 33554432
  158. string text = "[全部]"
  159. boolean sorted = false
  160. string item[] = {"[全部]","待审核","已审核"}
  161. borderstyle borderstyle = stylelowered!
  162. end type
  163. event selectionchanged;IF Index = 1 THEN
  164. cur_flag = -1
  165. ELSEIF Index = 2 THEN
  166. cur_flag = 0
  167. ELSEIF Index = 3 THEN
  168. cur_flag = 1
  169. END IF
  170. cb_1.TriggerEvent(clicked!)
  171. end event