w_rp_mtrl_spt_price.srw 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. $PBExportHeader$w_rp_mtrl_spt_price.srw
  2. forward
  3. global type w_rp_mtrl_spt_price from w_publ_easyq
  4. end type
  5. type tv_1 from uo_tv_mtrltype within w_rp_mtrl_spt_price
  6. end type
  7. end forward
  8. global type w_rp_mtrl_spt_price from w_publ_easyq
  9. string title = "物料价格提醒"
  10. tv_1 tv_1
  11. end type
  12. global w_rp_mtrl_spt_price w_rp_mtrl_spt_price
  13. type variables
  14. String ls_handtype = ''
  15. end variables
  16. on w_rp_mtrl_spt_price.create
  17. int iCurrent
  18. call super::create
  19. this.tv_1=create tv_1
  20. iCurrent=UpperBound(this.Control)
  21. this.Control[iCurrent+1]=this.tv_1
  22. end on
  23. on w_rp_mtrl_spt_price.destroy
  24. call super::destroy
  25. destroy(this.tv_1)
  26. end on
  27. event resize;call super::resize;tv_1.height=this.height - dw_1.y - 115
  28. end event
  29. type cb_func from w_publ_easyq`cb_func within w_rp_mtrl_spt_price
  30. end type
  31. type cb_exit from w_publ_easyq`cb_exit within w_rp_mtrl_spt_price
  32. end type
  33. type cb_2 from w_publ_easyq`cb_2 within w_rp_mtrl_spt_price
  34. boolean bringtotop = true
  35. end type
  36. type cb_psetup from w_publ_easyq`cb_psetup within w_rp_mtrl_spt_price
  37. boolean bringtotop = true
  38. end type
  39. type cb_1 from w_publ_easyq`cb_1 within w_rp_mtrl_spt_price
  40. boolean bringtotop = true
  41. end type
  42. event cb_1::clicked;call super::clicked;//DateTime first_date,end_date
  43. //
  44. //first_date = DateTime(Date(em_1.Text),Time(0))
  45. //end_date = DateTime(Date(em_2.Text),Time('23:59:59'))
  46. //dw_1.Retrieve(ls_handtype,first_date,end_date)
  47. dw_1.Retrieve(ls_handtype)
  48. end event
  49. type st_3 from w_publ_easyq`st_3 within w_rp_mtrl_spt_price
  50. boolean visible = false
  51. integer x = 2062
  52. integer y = 204
  53. end type
  54. type st_4 from w_publ_easyq`st_4 within w_rp_mtrl_spt_price
  55. boolean visible = false
  56. integer x = 2775
  57. integer y = 204
  58. end type
  59. type em_1 from w_publ_easyq`em_1 within w_rp_mtrl_spt_price
  60. boolean visible = false
  61. integer x = 2277
  62. integer y = 188
  63. integer width = 402
  64. integer taborder = 120
  65. end type
  66. type em_2 from w_publ_easyq`em_2 within w_rp_mtrl_spt_price
  67. boolean visible = false
  68. integer x = 2862
  69. integer y = 188
  70. integer width = 402
  71. integer taborder = 130
  72. end type
  73. type ddlb_yl from w_publ_easyq`ddlb_yl within w_rp_mtrl_spt_price
  74. integer x = 1563
  75. integer y = 12
  76. end type
  77. type cbx_yl from w_publ_easyq`cbx_yl within w_rp_mtrl_spt_price
  78. integer x = 1344
  79. integer y = 16
  80. end type
  81. type dw_1 from w_publ_easyq`dw_1 within w_rp_mtrl_spt_price
  82. integer x = 768
  83. integer y = 184
  84. integer width = 2373
  85. integer height = 1188
  86. string dataobject = "dw_rp_mtrl_spt_price"
  87. end type
  88. type sle_mtrl from w_publ_easyq`sle_mtrl within w_rp_mtrl_spt_price
  89. end type
  90. type sle_cust from w_publ_easyq`sle_cust within w_rp_mtrl_spt_price
  91. end type
  92. type st_mtrl from w_publ_easyq`st_mtrl within w_rp_mtrl_spt_price
  93. end type
  94. type st_cust from w_publ_easyq`st_cust within w_rp_mtrl_spt_price
  95. end type
  96. type cbx_loginretr from w_publ_easyq`cbx_loginretr within w_rp_mtrl_spt_price
  97. boolean visible = true
  98. integer x = 1344
  99. end type
  100. type pb_em1 from w_publ_easyq`pb_em1 within w_rp_mtrl_spt_price
  101. boolean visible = false
  102. integer x = 2674
  103. integer y = 188
  104. end type
  105. type pb_em2 from w_publ_easyq`pb_em2 within w_rp_mtrl_spt_price
  106. boolean visible = false
  107. integer x = 3269
  108. integer y = 188
  109. end type
  110. type pb_2 from w_publ_easyq`pb_2 within w_rp_mtrl_spt_price
  111. boolean visible = false
  112. integer x = 3374
  113. integer y = 188
  114. end type
  115. type cb_help from w_publ_easyq`cb_help within w_rp_mtrl_spt_price
  116. integer y = 4
  117. end type
  118. type cb_copyself from w_publ_easyq`cb_copyself within w_rp_mtrl_spt_price
  119. end type
  120. type gb_1 from w_publ_easyq`gb_1 within w_rp_mtrl_spt_price
  121. end type
  122. type ln_bar from w_publ_easyq`ln_bar within w_rp_mtrl_spt_price
  123. end type
  124. type ln_bar2 from w_publ_easyq`ln_bar2 within w_rp_mtrl_spt_price
  125. end type
  126. type r_bar from w_publ_easyq`r_bar within w_rp_mtrl_spt_price
  127. end type
  128. type ln_1 from w_publ_easyq`ln_1 within w_rp_mtrl_spt_price
  129. end type
  130. type ln_2 from w_publ_easyq`ln_2 within w_rp_mtrl_spt_price
  131. end type
  132. type ln_3 from w_publ_easyq`ln_3 within w_rp_mtrl_spt_price
  133. end type
  134. type ln_4 from w_publ_easyq`ln_4 within w_rp_mtrl_spt_price
  135. end type
  136. type tv_1 from uo_tv_mtrltype within w_rp_mtrl_spt_price
  137. integer y = 184
  138. integer width = 768
  139. integer height = 1120
  140. integer taborder = 20
  141. boolean bringtotop = true
  142. integer textsize = -9
  143. fontcharset fontcharset = gb2312charset!
  144. fontfamily fontfamily = anyfont!
  145. string facename = "宋体"
  146. end type
  147. event selectionchanged;call super::selectionchanged;ls_handtype = THIS.uo_cur_info.handtype
  148. ls_handtype = ls_handtype + '%'
  149. cb_1.triggerevent(clicked!)
  150. end event