Browse Source

调整。

master
yibo 7 years ago
parent
commit
150387981b
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      ButcherFactory.Form/SegmentProduction_/SegmentProductionPrint.cs

+ 1
- 2
ButcherFactory.Form/SegmentProduction_/SegmentProductionPrint.cs View File

@ -22,11 +22,10 @@ namespace ButcherFactory.SegmentProduction_
var dic = new Dictionary<string, string>();
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();


Loading…
Cancel
Save