public override void GetItemInfo() { if ((this.m_haveWholesalePurview && this.m_ProductInfo.EnableWholesale) && (this.m_Quantity >= this.m_ProductInfo.PriceInfo.NumberWholesale1)) { base.SaleType = 4; } else { base.SaleType = 1; } base.Price = ProductPrice.GetTruePrice(this.m_ProductInfo, this.m_Quantity, this.m_UserInfo, this.m_Property, this.m_haveWholesalePurview); base.Price = AbstractItemInfo.TaxRateCompute(this.m_NeedInvoice, this.m_ProductInfo, base.Price); base.ProductName = this.m_ProductInfo.ProductName; base.Unit = this.m_ProductInfo.Unit; base.Amount = this.m_Quantity; base.PriceMarket = this.m_ProductInfo.PriceMarket; base.ServiceTerm = this.m_ProductInfo.ServiceTerm; base.ServiceTermUnit = this.m_ProductInfo.ServiceTermUnit; base.Remark = ""; base.BeginDate = DateTime.Today; base.PresentExp = this.m_ProductInfo.PresentExp; base.PresentMoney = this.m_ProductInfo.PresentMoney; base.PresentPoint = this.m_ProductInfo.PresentPoint; base.ProductId = this.m_ProductInfo.ProductId; base.TableName = this.m_ProductInfo.TableName; base.ProductKind = this.m_ProductInfo.ProductKind; base.TotalWeight = this.m_ProductInfo.Weight * base.Amount; base.SubTotal = base.Price * this.m_Quantity; base.Property = this.m_Property; base.ProductCharacter = this.m_ProductInfo.ProductCharacter; base.Weight = this.m_ProductInfo.Weight; }