From 663f562fd5d48735087958b303e38875e14a25d9 Mon Sep 17 00:00:00 2001
From: luanhui <1029149336@qq.com>
Date: Wed, 10 Jan 2018 22:24:09 +0800
Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj | 5 +-
.../Pages/TypeIOCs/CarLoadingTypeIOC.cs | 254 ++++++++++++++++++
2 files changed, 256 insertions(+), 3 deletions(-)
create mode 100644 B3QingDaoWanFu.Web/Pages/TypeIOCs/CarLoadingTypeIOC.cs
diff --git a/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj b/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj
index 2d265d4..efa97ec 100644
--- a/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj
+++ b/B3QingDaoWanFu.Web/B3QingDaoWanFu.Web.csproj
@@ -153,12 +153,11 @@
ASPXCodeBehind
+
-
-
-
+
diff --git a/B3QingDaoWanFu.Web/Pages/TypeIOCs/CarLoadingTypeIOC.cs b/B3QingDaoWanFu.Web/Pages/TypeIOCs/CarLoadingTypeIOC.cs
new file mode 100644
index 0000000..c0d12dd
--- /dev/null
+++ b/B3QingDaoWanFu.Web/Pages/TypeIOCs/CarLoadingTypeIOC.cs
@@ -0,0 +1,254 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Web.UI;
+using System.Web.UI.HtmlControls;
+using BWP.B3Frameworks;
+using BWP.B3Sale.BO;
+using BWP.Web.Pages.B3Sale;
+using BWP.Web.Pages.B3Sale.Bills.CarLoading_;
+using Forks.Drawing;
+using Forks.EnterpriseServices.DataForm;
+using Forks.Utils;
+using TSingSoft.WebControls2.BillReports;
+using TSingSoft.WebPluginFramework;
+
+namespace BWP.Web.Pages.TypeIOCs
+{
+ [TypeIOC(typeof(CarLoadingPrint), typeof(CarLoadingPrint.AfterAddParameters))]
+ public class CarLoadingTypeIOC : CarLoadingPrint.AfterAddParameters
+ {
+
+ public void Invoke(IDictionary dic, CarLoading dmo)
+ {
+ AddParameterss(dic, dmo);
+ }
+
+ //定制打印格式【装车单】
+ protected void AddParameterss(IDictionary dic, CarLoading Dmo)
+ {
+
+ PageSize = 100;
+ dic.Add("$DetailInfo2", new Func