w_warebalc_cmpl_ch.srw 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. $PBExportHeader$w_warebalc_cmpl_ch.srw
  2. forward
  3. global type w_warebalc_cmpl_ch from window
  4. end type
  5. type ddlb_1 from dropdownlistbox within w_warebalc_cmpl_ch
  6. end type
  7. type rb_2 from radiobutton within w_warebalc_cmpl_ch
  8. end type
  9. type rb_1 from radiobutton within w_warebalc_cmpl_ch
  10. end type
  11. type mle_2 from multilineedit within w_warebalc_cmpl_ch
  12. end type
  13. type st_4 from statictext within w_warebalc_cmpl_ch
  14. end type
  15. type st_3 from statictext within w_warebalc_cmpl_ch
  16. end type
  17. type st_1 from statictext within w_warebalc_cmpl_ch
  18. end type
  19. type cb_2 from uo_imflatbutton within w_warebalc_cmpl_ch
  20. end type
  21. type cb_1 from uo_imflatbutton within w_warebalc_cmpl_ch
  22. end type
  23. end forward
  24. global type w_warebalc_cmpl_ch from window
  25. integer width = 2117
  26. integer height = 1404
  27. boolean titlebar = true
  28. string title = "仓库重算条件设定"
  29. boolean controlmenu = true
  30. windowtype windowtype = response!
  31. long backcolor = 134217739
  32. string icon = "AppIcon!"
  33. boolean center = true
  34. ddlb_1 ddlb_1
  35. rb_2 rb_2
  36. rb_1 rb_1
  37. mle_2 mle_2
  38. st_4 st_4
  39. st_3 st_3
  40. st_1 st_1
  41. cb_2 cb_2
  42. cb_1 cb_1
  43. end type
  44. global w_warebalc_cmpl_ch w_warebalc_cmpl_ch
  45. type variables
  46. s_sys_user s_user
  47. end variables
  48. on w_warebalc_cmpl_ch.create
  49. this.ddlb_1=create ddlb_1
  50. this.rb_2=create rb_2
  51. this.rb_1=create rb_1
  52. this.mle_2=create mle_2
  53. this.st_4=create st_4
  54. this.st_3=create st_3
  55. this.st_1=create st_1
  56. this.cb_2=create cb_2
  57. this.cb_1=create cb_1
  58. this.Control[]={this.ddlb_1,&
  59. this.rb_2,&
  60. this.rb_1,&
  61. this.mle_2,&
  62. this.st_4,&
  63. this.st_3,&
  64. this.st_1,&
  65. this.cb_2,&
  66. this.cb_1}
  67. end on
  68. on w_warebalc_cmpl_ch.destroy
  69. destroy(this.ddlb_1)
  70. destroy(this.rb_2)
  71. destroy(this.rb_1)
  72. destroy(this.mle_2)
  73. destroy(this.st_4)
  74. destroy(this.st_3)
  75. destroy(this.st_1)
  76. destroy(this.cb_2)
  77. destroy(this.cb_1)
  78. end on
  79. event close;
  80. CloseWithReturn(THIS,s_user)
  81. end event
  82. type ddlb_1 from dropdownlistbox within w_warebalc_cmpl_ch
  83. integer x = 539
  84. integer y = 388
  85. integer width = 677
  86. integer height = 300
  87. integer taborder = 10
  88. integer textsize = -9
  89. integer weight = 400
  90. fontcharset fontcharset = gb2312charset!
  91. fontpitch fontpitch = variable!
  92. string facename = "宋体"
  93. long textcolor = 33554432
  94. long backcolor = 134217739
  95. string text = "月加权平均"
  96. boolean sorted = false
  97. string item[] = {"月加权平均","日加权平均","先进先出","先进后出"}
  98. borderstyle borderstyle = stylelowered!
  99. end type
  100. type rb_2 from radiobutton within w_warebalc_cmpl_ch
  101. integer x = 539
  102. integer y = 176
  103. integer width = 402
  104. integer height = 60
  105. integer textsize = -9
  106. integer weight = 400
  107. fontcharset fontcharset = gb2312charset!
  108. fontpitch fontpitch = variable!
  109. string facename = "宋体"
  110. long textcolor = 33554432
  111. long backcolor = 134217739
  112. string text = "全部仓库"
  113. end type
  114. type rb_1 from radiobutton within w_warebalc_cmpl_ch
  115. integer x = 539
  116. integer y = 72
  117. integer width = 402
  118. integer height = 60
  119. integer textsize = -9
  120. integer weight = 400
  121. fontcharset fontcharset = gb2312charset!
  122. fontpitch fontpitch = variable!
  123. string facename = "宋体"
  124. long textcolor = 33554432
  125. long backcolor = 134217739
  126. string text = "单个仓库"
  127. end type
  128. type mle_2 from multilineedit within w_warebalc_cmpl_ch
  129. integer x = 1294
  130. integer y = 396
  131. integer width = 795
  132. integer height = 300
  133. integer taborder = 20
  134. integer textsize = -9
  135. integer weight = 400
  136. fontcharset fontcharset = gb2312charset!
  137. fontpitch fontpitch = variable!
  138. string facename = "宋体"
  139. long textcolor = 33554432
  140. long backcolor = 134217739
  141. string text = "计算成本价的模式"
  142. boolean border = false
  143. end type
  144. type st_4 from statictext within w_warebalc_cmpl_ch
  145. integer x = 1294
  146. integer y = 72
  147. integer width = 795
  148. integer height = 284
  149. integer textsize = -9
  150. integer weight = 400
  151. fontcharset fontcharset = gb2312charset!
  152. fontpitch fontpitch = variable!
  153. string facename = "宋体"
  154. long textcolor = 33554432
  155. long backcolor = 134217739
  156. string text = "重算仓库方式,单个仓库适合没有调仓或调仓间可以不考虑其成本价变化的;全部仓库适合调仓多且调出调入仓要同步成本价的"
  157. boolean focusrectangle = false
  158. end type
  159. type st_3 from statictext within w_warebalc_cmpl_ch
  160. integer x = 27
  161. integer y = 400
  162. integer width = 402
  163. integer height = 48
  164. integer textsize = -9
  165. integer weight = 400
  166. fontcharset fontcharset = gb2312charset!
  167. fontpitch fontpitch = variable!
  168. string facename = "宋体"
  169. long textcolor = 33554432
  170. long backcolor = 134217739
  171. string text = "重算方式"
  172. alignment alignment = right!
  173. boolean focusrectangle = false
  174. end type
  175. type st_1 from statictext within w_warebalc_cmpl_ch
  176. integer x = 23
  177. integer y = 68
  178. integer width = 402
  179. integer height = 48
  180. integer textsize = -9
  181. integer weight = 400
  182. fontcharset fontcharset = gb2312charset!
  183. fontpitch fontpitch = variable!
  184. string facename = "宋体"
  185. long textcolor = 33554432
  186. long backcolor = 134217739
  187. string text = "考虑模式"
  188. alignment alignment = right!
  189. boolean focusrectangle = false
  190. end type
  191. type cb_2 from uo_imflatbutton within w_warebalc_cmpl_ch
  192. integer x = 1170
  193. integer y = 1116
  194. integer width = 311
  195. integer taborder = 20
  196. string text = "取消"
  197. string normalpicname = "exit.bmp"
  198. end type
  199. event clicked;call super::clicked;s_user.copyflag = 0
  200. Close(PARENT)
  201. end event
  202. type cb_1 from uo_imflatbutton within w_warebalc_cmpl_ch
  203. integer x = 699
  204. integer y = 1116
  205. integer width = 311
  206. integer taborder = 10
  207. string normalpicname = "ok.bmp"
  208. end type
  209. event clicked;call super::clicked;
  210. Close(PARENT)
  211. end event