/// <summary> /// 查看商品图片 /// </summary> private void OnImageView(int?salesOrderDetailId) { var salesDetail = SaleDetailList.First(salesOrderDetail => salesOrderDetail.Id == salesOrderDetailId.Value); var viewModel = new ProductImageViewModel { Title = "商品图片", ImageUrl = salesDetail.ProductImageUrl }; ViewProductImageRequest.Raise(viewModel); }
/// <summary> /// 查看商品图片 /// </summary> private void OnImageView(int?rmaDetailId) { var rmaDetail = RmaDetailList.First(salesOrderDetail => salesOrderDetail.Id == rmaDetailId.Value); #if DEBUG rmaDetail.ProductImageUrl = "http://irss.intime.com.cn/fileupload/img/product/20140707/0bc94489-254b-426b-b285-629ab69b2737_1000x0.jpg"; #endif var viewModel = new ProductImageViewModel { Title = "商品图片", ImageUrl = rmaDetail.ProductImageUrl }; ViewProductImageRequest.Raise(viewModel); }