From d28604624418aa587b3ec298f628994ad67789b5 Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Thu, 19 Oct 2017 21:13:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=AE=A1=E6=A0=B8=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BO/Utils/BillRpc/WeightBillRpc.cs | 6 ++++++ ButcherWeight/WeightForm.cs | 2 ++ 2 files changed, 8 insertions(+) diff --git a/BO/Utils/BillRpc/WeightBillRpc.cs b/BO/Utils/BillRpc/WeightBillRpc.cs index 2c8502e..351934e 100644 --- a/BO/Utils/BillRpc/WeightBillRpc.cs +++ b/BO/Utils/BillRpc/WeightBillRpc.cs @@ -106,5 +106,11 @@ namespace BO.Utils.BillRpc obj = obj.ESerializeDateTime(); return serializer.Deserialize(obj); } + + public static void DoCheck(long b3ID) + { + const string method = "/MainSystem/B3ClientService/Rpcs/BillRpc/WeightBillRpc/DoCheck"; + RpcFacade.Call(method, b3ID,ButcherAppContext.Context.UserConfig.UserName); + } } } diff --git a/ButcherWeight/WeightForm.cs b/ButcherWeight/WeightForm.cs index 1c126be..36af00b 100644 --- a/ButcherWeight/WeightForm.cs +++ b/ButcherWeight/WeightForm.cs @@ -529,6 +529,8 @@ namespace ButcherWeight var entity = WeightBillRpc.GetPrintWeightBill(Dmo.ID); ClientPrint.BwpClientPrint print = new ClientPrint.BwpClientPrint("WeightBillPrint.xaml", entity, new DocumentRenderer()); print.PrintDirect(); + if (Dmo.B3ID.HasValue) + WeightBillRpc.DoCheck(Dmo.B3ID.Value); } } } \ No newline at end of file