$PBExportHeader$w_mtrldef_edit_price_updatebill.srw forward global type w_mtrldef_edit_price_updatebill from w_publ_base end type type st_1 from statictext within w_mtrldef_edit_price_updatebill end type type cb_1 from uo_imflatbutton within w_mtrldef_edit_price_updatebill end type type mle_1 from multilineedit within w_mtrldef_edit_price_updatebill end type type ddlb_1 from uo_ddlb_storageid within w_mtrldef_edit_price_updatebill end type end forward global type w_mtrldef_edit_price_updatebill from w_publ_base integer width = 1376 integer height = 808 string title = "更新计划价" boolean minbox = false windowtype windowtype = response! st_1 st_1 cb_1 cb_1 mle_1 mle_1 ddlb_1 ddlb_1 end type global w_mtrldef_edit_price_updatebill w_mtrldef_edit_price_updatebill type variables Long cur_storageid = 0 end variables on w_mtrldef_edit_price_updatebill.create int iCurrent call super::create this.st_1=create st_1 this.cb_1=create cb_1 this.mle_1=create mle_1 this.ddlb_1=create ddlb_1 iCurrent=UpperBound(this.Control) this.Control[iCurrent+1]=this.st_1 this.Control[iCurrent+2]=this.cb_1 this.Control[iCurrent+3]=this.mle_1 this.Control[iCurrent+4]=this.ddlb_1 end on on w_mtrldef_edit_price_updatebill.destroy call super::destroy destroy(this.st_1) destroy(this.cb_1) destroy(this.mle_1) destroy(this.ddlb_1) end on event close;call super::close;CloseWithReturn(THIS,cur_storageid) end event type cb_func from w_publ_base`cb_func within w_mtrldef_edit_price_updatebill boolean visible = false integer x = 809 boolean enabled = false end type type cb_exit from w_publ_base`cb_exit within w_mtrldef_edit_price_updatebill integer x = 805 integer y = 520 string text = "取消" end type event cb_exit::clicked;cur_storageid = 0 close(parent) end event type st_1 from statictext within w_mtrldef_edit_price_updatebill integer x = 183 integer y = 424 integer width = 137 integer height = 48 boolean bringtotop = true integer textsize = -9 integer weight = 400 fontcharset fontcharset = gb2312charset! fontpitch fontpitch = variable! string facename = "宋体" long textcolor = 33554432 long backcolor = 134217739 string text = "仓库" boolean focusrectangle = false end type type cb_1 from uo_imflatbutton within w_mtrldef_edit_price_updatebill integer x = 334 integer y = 520 integer width = 311 integer height = 96 integer taborder = 20 boolean bringtotop = true end type event clicked;call super::clicked;CLOSE(PARENT) end event type mle_1 from multilineedit within w_mtrldef_edit_price_updatebill integer width = 1371 integer height = 340 integer taborder = 10 boolean bringtotop = true integer textsize = -9 integer weight = 400 fontcharset fontcharset = gb2312charset! fontpitch fontpitch = variable! string facename = "宋体" long textcolor = 255 long backcolor = 16777215 string text = " 注意:此功能将会按物料计划价(>0)更新所选仓库自制类物料/产品,未结存的进仓单、出仓单成本价、成本金额,库存成本价、成本金额,结存表期初金额、期间进金额、期间出金额、结存金额; 确定操作后,结存表的期初金额将有可能与上月的结余金额不等,数据将不能恢复,请使用前做好备份工作,谨慎使用!" boolean displayonly = true borderstyle borderstyle = stylelowered! end type type ddlb_1 from uo_ddlb_storageid within w_mtrldef_edit_price_updatebill integer x = 306 integer y = 412 integer width = 873 integer taborder = 20 boolean bringtotop = true end type event selectionchanged;call super::selectionchanged;cur_storageid = uo_storageid end event event constructor;call super::constructor;cur_storageid = uo_storageid end event