w_mtrldef_edit_price_updatebill.srw 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. $PBExportHeader$w_mtrldef_edit_price_updatebill.srw
  2. forward
  3. global type w_mtrldef_edit_price_updatebill from w_publ_base
  4. end type
  5. type st_1 from statictext within w_mtrldef_edit_price_updatebill
  6. end type
  7. type cb_1 from uo_imflatbutton within w_mtrldef_edit_price_updatebill
  8. end type
  9. type mle_1 from multilineedit within w_mtrldef_edit_price_updatebill
  10. end type
  11. type ddlb_1 from uo_ddlb_storageid within w_mtrldef_edit_price_updatebill
  12. end type
  13. end forward
  14. global type w_mtrldef_edit_price_updatebill from w_publ_base
  15. integer width = 1376
  16. integer height = 808
  17. string title = "更新计划价"
  18. boolean minbox = false
  19. windowtype windowtype = response!
  20. st_1 st_1
  21. cb_1 cb_1
  22. mle_1 mle_1
  23. ddlb_1 ddlb_1
  24. end type
  25. global w_mtrldef_edit_price_updatebill w_mtrldef_edit_price_updatebill
  26. type variables
  27. Long cur_storageid = 0
  28. end variables
  29. on w_mtrldef_edit_price_updatebill.create
  30. int iCurrent
  31. call super::create
  32. this.st_1=create st_1
  33. this.cb_1=create cb_1
  34. this.mle_1=create mle_1
  35. this.ddlb_1=create ddlb_1
  36. iCurrent=UpperBound(this.Control)
  37. this.Control[iCurrent+1]=this.st_1
  38. this.Control[iCurrent+2]=this.cb_1
  39. this.Control[iCurrent+3]=this.mle_1
  40. this.Control[iCurrent+4]=this.ddlb_1
  41. end on
  42. on w_mtrldef_edit_price_updatebill.destroy
  43. call super::destroy
  44. destroy(this.st_1)
  45. destroy(this.cb_1)
  46. destroy(this.mle_1)
  47. destroy(this.ddlb_1)
  48. end on
  49. event close;call super::close;CloseWithReturn(THIS,cur_storageid)
  50. end event
  51. type cb_func from w_publ_base`cb_func within w_mtrldef_edit_price_updatebill
  52. boolean visible = false
  53. integer x = 809
  54. boolean enabled = false
  55. end type
  56. type cb_exit from w_publ_base`cb_exit within w_mtrldef_edit_price_updatebill
  57. integer x = 805
  58. integer y = 520
  59. string text = "取消"
  60. end type
  61. event cb_exit::clicked;cur_storageid = 0
  62. close(parent)
  63. end event
  64. type st_1 from statictext within w_mtrldef_edit_price_updatebill
  65. integer x = 183
  66. integer y = 424
  67. integer width = 137
  68. integer height = 48
  69. boolean bringtotop = true
  70. integer textsize = -9
  71. integer weight = 400
  72. fontcharset fontcharset = gb2312charset!
  73. fontpitch fontpitch = variable!
  74. string facename = "宋体"
  75. long textcolor = 33554432
  76. long backcolor = 134217739
  77. string text = "仓库"
  78. boolean focusrectangle = false
  79. end type
  80. type cb_1 from uo_imflatbutton within w_mtrldef_edit_price_updatebill
  81. integer x = 334
  82. integer y = 520
  83. integer width = 311
  84. integer height = 96
  85. integer taborder = 20
  86. boolean bringtotop = true
  87. end type
  88. event clicked;call super::clicked;CLOSE(PARENT)
  89. end event
  90. type mle_1 from multilineedit within w_mtrldef_edit_price_updatebill
  91. integer width = 1371
  92. integer height = 340
  93. integer taborder = 10
  94. boolean bringtotop = true
  95. integer textsize = -9
  96. integer weight = 400
  97. fontcharset fontcharset = gb2312charset!
  98. fontpitch fontpitch = variable!
  99. string facename = "宋体"
  100. long textcolor = 255
  101. long backcolor = 16777215
  102. string text = " 注意:此功能将会按物料计划价(>0)更新所选仓库自制类物料/产品,未结存的进仓单、出仓单成本价、成本金额,库存成本价、成本金额,结存表期初金额、期间进金额、期间出金额、结存金额; 确定操作后,结存表的期初金额将有可能与上月的结余金额不等,数据将不能恢复,请使用前做好备份工作,谨慎使用!"
  103. boolean displayonly = true
  104. borderstyle borderstyle = stylelowered!
  105. end type
  106. type ddlb_1 from uo_ddlb_storageid within w_mtrldef_edit_price_updatebill
  107. integer x = 306
  108. integer y = 412
  109. integer width = 873
  110. integer taborder = 20
  111. boolean bringtotop = true
  112. end type
  113. event selectionchanged;call super::selectionchanged;cur_storageid = uo_storageid
  114. end event
  115. event constructor;call super::constructor;cur_storageid = uo_storageid
  116. end event