Browse Source

打印标签一维条码全部改为二维条码小标签

master
ruoxing.wang 1 month ago
parent
commit
de9df29f7c
  1. 506
      InjectionPC/FrmMain2408.Designer.cs
  2. 18
      InjectionPC/FrmMain2408.cs

506
InjectionPC/FrmMain2408.Designer.cs

File diff suppressed because it is too large

18
InjectionPC/FrmMain2408.cs

@ -589,7 +589,7 @@ namespace InjectionPC
? System.AppDomain.CurrentDomain.BaseDirectory + ? System.AppDomain.CurrentDomain.BaseDirectory +
"wl.grf" "wl.grf"
: System.AppDomain.CurrentDomain.BaseDirectory + : System.AppDomain.CurrentDomain.BaseDirectory +
"单个条码.grf"; "单个条码1.grf";
} }
else else
{ {
@ -803,7 +803,7 @@ namespace InjectionPC
? System.AppDomain.CurrentDomain.BaseDirectory + ? System.AppDomain.CurrentDomain.BaseDirectory +
"wl.grf" "wl.grf"
: System.AppDomain.CurrentDomain.BaseDirectory + : System.AppDomain.CurrentDomain.BaseDirectory +
"单个条码.grf"; "单个条码1.grf";
if (partNo[j].Contains("A2146982300") || if (partNo[j].Contains("A2146982300") ||
partNo[j].Contains("A2146982400")) partNo[j].Contains("A2146982400"))
{ {
@ -1095,7 +1095,7 @@ namespace InjectionPC
? System.AppDomain.CurrentDomain.BaseDirectory + ? System.AppDomain.CurrentDomain.BaseDirectory +
"wl.grf" "wl.grf"
: System.AppDomain.CurrentDomain.BaseDirectory + : System.AppDomain.CurrentDomain.BaseDirectory +
"单个条码.grf"; "单个条码1.grf";
} }
else else
{ {
@ -1323,7 +1323,7 @@ namespace InjectionPC
? System.AppDomain.CurrentDomain.BaseDirectory + ? System.AppDomain.CurrentDomain.BaseDirectory +
"wl.grf" "wl.grf"
: System.AppDomain.CurrentDomain.BaseDirectory + : System.AppDomain.CurrentDomain.BaseDirectory +
"单个条码.grf"; "单个条码1.grf";
if(partNo[j].Contains("A2146982300") || if(partNo[j].Contains("A2146982300") ||
partNo[j].Contains("A2146982400")) partNo[j].Contains("A2146982400"))
{ {
@ -1656,7 +1656,7 @@ namespace InjectionPC
if (IsOne == "1") if (IsOne == "1")
{ {
filename = System.AppDomain.CurrentDomain.BaseDirectory + "单个条码.grf"; filename = System.AppDomain.CurrentDomain.BaseDirectory + "单个条码1.grf";
DataTable headTable = new DataTable(); DataTable headTable = new DataTable();
headTable.Columns.Add("PrintTime"); headTable.Columns.Add("PrintTime");
headTable.Columns.Add("PartNo"); headTable.Columns.Add("PartNo");
@ -1904,7 +1904,7 @@ namespace InjectionPC
if (IsOne == "1") if (IsOne == "1")
{ {
filename = System.AppDomain.CurrentDomain.BaseDirectory + "单个条码.grf"; filename = System.AppDomain.CurrentDomain.BaseDirectory + "单个条码1.grf";
DataTable headTable = new DataTable(); DataTable headTable = new DataTable();
headTable.Columns.Add("PrintTime"); headTable.Columns.Add("PrintTime");
headTable.Columns.Add("PartNo"); headTable.Columns.Add("PartNo");
@ -2480,7 +2480,7 @@ namespace InjectionPC
? System.AppDomain.CurrentDomain.BaseDirectory + ? System.AppDomain.CurrentDomain.BaseDirectory +
"wl.grf" "wl.grf"
: System.AppDomain.CurrentDomain.BaseDirectory + : System.AppDomain.CurrentDomain.BaseDirectory +
"单个条码.grf"; "单个条码1.grf";
if (partNo.Contains("A2146982300") || if (partNo.Contains("A2146982300") ||
partNo.Contains("A2146982400")) partNo.Contains("A2146982400"))
{ {
@ -3066,7 +3066,7 @@ namespace InjectionPC
? AppDomain.CurrentDomain.BaseDirectory + ? AppDomain.CurrentDomain.BaseDirectory +
"wl.grf" "wl.grf"
: AppDomain.CurrentDomain.BaseDirectory + : AppDomain.CurrentDomain.BaseDirectory +
"单个条码.grf"; "单个条码1.grf";
if (md.PartNo.Contains("A2146982300") || if (md.PartNo.Contains("A2146982300") ||
md.PartNo.Contains("A2146982400")) md.PartNo.Contains("A2146982400"))
{ {
@ -4080,7 +4080,7 @@ namespace InjectionPC
{ {
if (IsSupply == "1") if (IsSupply == "1")
{ {
filename = System.AppDomain.CurrentDomain.BaseDirectory + "单个条码.grf"; filename = System.AppDomain.CurrentDomain.BaseDirectory + "单个条码1.grf";
DataTable headTable = new DataTable(); DataTable headTable = new DataTable();
headTable.Columns.Add("PrintTime"); headTable.Columns.Add("PrintTime");
headTable.Columns.Add("PartNo"); headTable.Columns.Add("PartNo");

Loading…
Cancel
Save