|
|
|
@ -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(); |
|
|
|
|