w_rp_sale_invoicemx.srw 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. $PBExportHeader$w_rp_sale_invoicemx.srw
  2. forward
  3. global type w_rp_sale_invoicemx from w_publ_easyq
  4. end type
  5. type ddlb_status from dropdownlistbox within w_rp_sale_invoicemx
  6. end type
  7. type ddlb_1 from uo_ddlb_scid within w_rp_sale_invoicemx
  8. end type
  9. type st_1 from statictext within w_rp_sale_invoicemx
  10. end type
  11. type st_2 from statictext within w_rp_sale_invoicemx
  12. end type
  13. end forward
  14. global type w_rp_sale_invoicemx from w_publ_easyq
  15. integer width = 3538
  16. integer height = 2280
  17. string title = "发票单明细表"
  18. ddlb_status ddlb_status
  19. ddlb_1 ddlb_1
  20. st_1 st_1
  21. st_2 st_2
  22. end type
  23. global w_rp_sale_invoicemx w_rp_sale_invoicemx
  24. type variables
  25. int cur_flag=-1
  26. long cur_scid=0
  27. end variables
  28. on w_rp_sale_invoicemx.create
  29. int iCurrent
  30. call super::create
  31. this.ddlb_status=create ddlb_status
  32. this.ddlb_1=create ddlb_1
  33. this.st_1=create st_1
  34. this.st_2=create st_2
  35. iCurrent=UpperBound(this.Control)
  36. this.Control[iCurrent+1]=this.ddlb_status
  37. this.Control[iCurrent+2]=this.ddlb_1
  38. this.Control[iCurrent+3]=this.st_1
  39. this.Control[iCurrent+4]=this.st_2
  40. end on
  41. on w_rp_sale_invoicemx.destroy
  42. call super::destroy
  43. destroy(this.ddlb_status)
  44. destroy(this.ddlb_1)
  45. destroy(this.st_1)
  46. destroy(this.st_2)
  47. end on
  48. event ue_before_openretrieve;call super::ue_before_openretrieve;s_hide_col s_col_mtrlsectype
  49. s_col_mtrlsectype.col_1 = 'u_mtrldef_mtrlsectype'
  50. f_hide_col(1308,dw_1,s_col_mtrlsectype)
  51. s_hide_col s_col_zxmtrlmode
  52. s_col_zxmtrlmode.col_1 = 'u_mtrldef_zxmtrlmode'
  53. f_hide_col(1309,dw_1,s_col_zxmtrlmode)
  54. end event
  55. type cb_func from w_publ_easyq`cb_func within w_rp_sale_invoicemx
  56. end type
  57. type cb_exit from w_publ_easyq`cb_exit within w_rp_sale_invoicemx
  58. end type
  59. type cb_2 from w_publ_easyq`cb_2 within w_rp_sale_invoicemx
  60. end type
  61. type cb_psetup from w_publ_easyq`cb_psetup within w_rp_sale_invoicemx
  62. end type
  63. type cb_1 from w_publ_easyq`cb_1 within w_rp_sale_invoicemx
  64. end type
  65. event cb_1::clicked;call super::clicked;dw_1.retrieve(cur_scid,datetime(date(trim(em_1.text)),time(0)),datetime(date(trim(em_2.text)),time("23:59:59")),cur_flag)
  66. end event
  67. type st_3 from w_publ_easyq`st_3 within w_rp_sale_invoicemx
  68. integer x = 1317
  69. integer y = 204
  70. end type
  71. type st_4 from w_publ_easyq`st_4 within w_rp_sale_invoicemx
  72. integer x = 2021
  73. integer y = 204
  74. end type
  75. type em_1 from w_publ_easyq`em_1 within w_rp_sale_invoicemx
  76. integer x = 1518
  77. integer y = 188
  78. end type
  79. type em_2 from w_publ_easyq`em_2 within w_rp_sale_invoicemx
  80. integer x = 2126
  81. integer y = 188
  82. end type
  83. type ddlb_yl from w_publ_easyq`ddlb_yl within w_rp_sale_invoicemx
  84. end type
  85. type cbx_yl from w_publ_easyq`cbx_yl within w_rp_sale_invoicemx
  86. end type
  87. type dw_1 from w_publ_easyq`dw_1 within w_rp_sale_invoicemx
  88. integer y = 304
  89. string dataobject = "dw_rp_sale_invoice"
  90. end type
  91. type sle_mtrl from w_publ_easyq`sle_mtrl within w_rp_sale_invoicemx
  92. end type
  93. type sle_cust from w_publ_easyq`sle_cust within w_rp_sale_invoicemx
  94. end type
  95. type st_mtrl from w_publ_easyq`st_mtrl within w_rp_sale_invoicemx
  96. end type
  97. type st_cust from w_publ_easyq`st_cust within w_rp_sale_invoicemx
  98. end type
  99. type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_rp_sale_invoicemx
  100. boolean visible = true
  101. end type
  102. type pb_em1 from w_publ_easyq`pb_em1 within w_rp_sale_invoicemx
  103. integer x = 1929
  104. integer y = 188
  105. end type
  106. type pb_em2 from w_publ_easyq`pb_em2 within w_rp_sale_invoicemx
  107. integer x = 2537
  108. integer y = 188
  109. end type
  110. type pb_2 from w_publ_easyq`pb_2 within w_rp_sale_invoicemx
  111. integer x = 2642
  112. integer y = 188
  113. end type
  114. type cb_help from w_publ_easyq`cb_help within w_rp_sale_invoicemx
  115. end type
  116. type cb_copyself from w_publ_easyq`cb_copyself within w_rp_sale_invoicemx
  117. end type
  118. type gb_1 from w_publ_easyq`gb_1 within w_rp_sale_invoicemx
  119. end type
  120. type ln_bar from w_publ_easyq`ln_bar within w_rp_sale_invoicemx
  121. end type
  122. type ln_bar2 from w_publ_easyq`ln_bar2 within w_rp_sale_invoicemx
  123. end type
  124. type r_bar from w_publ_easyq`r_bar within w_rp_sale_invoicemx
  125. end type
  126. type ln_1 from w_publ_easyq`ln_1 within w_rp_sale_invoicemx
  127. end type
  128. type ln_2 from w_publ_easyq`ln_2 within w_rp_sale_invoicemx
  129. end type
  130. type ln_3 from w_publ_easyq`ln_3 within w_rp_sale_invoicemx
  131. end type
  132. type ln_4 from w_publ_easyq`ln_4 within w_rp_sale_invoicemx
  133. end type
  134. type ddlb_status from dropdownlistbox within w_rp_sale_invoicemx
  135. integer x = 859
  136. integer y = 196
  137. integer width = 384
  138. integer height = 556
  139. integer taborder = 80
  140. boolean bringtotop = true
  141. integer textsize = -9
  142. integer weight = 400
  143. fontcharset fontcharset = gb2312charset!
  144. fontpitch fontpitch = variable!
  145. string facename = "宋体"
  146. long textcolor = 33554432
  147. string text = "[全部]"
  148. boolean sorted = false
  149. string item[] = {"[全部]","待审","审核"}
  150. borderstyle borderstyle = stylelowered!
  151. end type
  152. event selectionchanged;IF Index = 1 THEN
  153. cur_flag = -1
  154. ELSEIF Index = 2 THEN
  155. cur_flag = 0
  156. ELSEIF Index = 3 THEN
  157. cur_flag = 1
  158. END IF
  159. cb_1.TriggerEvent(clicked!)
  160. end event
  161. type ddlb_1 from uo_ddlb_scid within w_rp_sale_invoicemx
  162. integer x = 165
  163. integer y = 196
  164. integer width = 544
  165. integer height = 1560
  166. integer taborder = 20
  167. boolean bringtotop = true
  168. end type
  169. event selectionchanged;call super::selectionchanged;cur_scid = THIS.uo_scid
  170. cb_1.TriggerEvent(clicked!)
  171. end event
  172. type st_1 from statictext within w_rp_sale_invoicemx
  173. integer x = 5
  174. integer y = 212
  175. integer width = 151
  176. integer height = 48
  177. boolean bringtotop = true
  178. integer textsize = -9
  179. integer weight = 400
  180. fontcharset fontcharset = gb2312charset!
  181. fontpitch fontpitch = variable!
  182. string facename = "宋体"
  183. long textcolor = 33554432
  184. long backcolor = 134217739
  185. string text = "分部"
  186. alignment alignment = right!
  187. boolean focusrectangle = false
  188. end type
  189. type st_2 from statictext within w_rp_sale_invoicemx
  190. integer x = 713
  191. integer y = 212
  192. integer width = 128
  193. integer height = 48
  194. boolean bringtotop = true
  195. integer textsize = -9
  196. integer weight = 400
  197. fontcharset fontcharset = gb2312charset!
  198. fontpitch fontpitch = variable!
  199. string facename = "宋体"
  200. long textcolor = 33554432
  201. long backcolor = 134217739
  202. string text = "状态"
  203. alignment alignment = right!
  204. boolean focusrectangle = false
  205. end type