From 150387981b781bb034a5039340b4a06b489cf68a Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Mon, 21 May 2018 22:36:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SegmentProduction_/SegmentProductionPrint.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ButcherFactory.Form/SegmentProduction_/SegmentProductionPrint.cs b/ButcherFactory.Form/SegmentProduction_/SegmentProductionPrint.cs index 6a41c42..c23e50f 100644 --- a/ButcherFactory.Form/SegmentProduction_/SegmentProductionPrint.cs +++ b/ButcherFactory.Form/SegmentProduction_/SegmentProductionPrint.cs @@ -22,11 +22,10 @@ namespace ButcherFactory.SegmentProduction_ var dic = new Dictionary(); dic.Add("$Goods_Name", entity.Goods_Name); dic.Add("$Goods_Spec", entity.Goods_Spec); - dic.Add("$Weight", entity.Weight.ToString("#0.######")); dic.Add("$Date", dt.Value.ToString("yyyy/MM/dd")); var imgUrl = string.Format(IMGFILE, id); var url = string.Format(AppContext.ConnectInfo.TraceBackUrl + "?code={0}", entity.BarCode); - BwpClientPrint.BwpClientWebPrint.Create2DPic(url, imgUrl, 120); + BwpClientPrint.BwpClientWebPrint.Create2DPic(url, imgUrl, 100); dic.Add("$ImageUrl", imgUrl); BwpClientPrint.BwpClientWebPrint.Print(PRINTFILE, dic); AfterPrint();