if (_WebOrderModel.OrderNo.ToString().Trim().Equals("") == true)
return;
string OrderNo = _WebOrderModel.OrderNo;
//client.GetOrderNOAsync(orderno);
DocumentPreviewWindow preview = new DocumentPreviewWindow();
ReportPreviewModel model = new ReportPreviewModel();
//读取ReportService服务地址
model.ServiceUri = SystemControl.Super.GetAppSetting("ReportService.BaseURL");
model.ReportTypeName = "Com.B2B.Admin.Report.XtraOrderDetail";
model.Parameters["Weborderno"].Value = OrderNo;
//model.AutoShowParametersPanel = false;
preview.Model = model;
preview.Model.CreateDocument();
preview.ShowDialog();