yibo 7 years ago
parent
commit
24a5f83dc4
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      ButcherFactory.Form/SegmentProduction_/SegmentProductionPrint.cs

+ 3
- 3
ButcherFactory.Form/SegmentProduction_/SegmentProductionPrint.cs View File

@ -28,13 +28,13 @@ namespace ButcherFactory.SegmentProduction_
BwpClientPrint.BwpClientWebPrint.Create2DPic(url, imgUrl, 100);
dic.Add("$ImageUrl", imgUrl);
BwpClientPrint.BwpClientWebPrint.Print(PRINTFILE, dic);
AfterPrint();
AfterPrint();
}
public static void PrintEnd(List<SegmentProduction> list)
{
string firstRow = "<tr><td><span>{0}:</span></td><td>{1}</td><td>{2}</td><td rowspan='{3}' style='width:120px'><img src='$ImageUrl' style='width:120px;height:120px;margin-top:-5px;'/></td></tr>";
string template = "<tr><td><span>{0}:</span></td><td>{1}</td><td>{2}</td></tr>";
string firstRow = "<tr><td><span>{0}:</span></td><td>{1}</td><td>{2:#0.######}</td><td rowspan='{3}' style='width:120px'><img src='$ImageUrl' style='width:120px;height:120px;margin-top:-5px;'/></td></tr>";
string template = "<tr><td><span>{0}:</span></td><td>{1}</td><td>{2:#0.######}</td></tr>";
var builder = new StringBuilder();
bool first = true;
var count = list.GroupBy(x => x.Goods_Name).Count();


Loading…
Cancel
Save