Browse Source

1

AddValidOverTime
506583276@qq.com 2 years ago
parent
commit
c3f2ffc720
  1. 15
      BBWY.Client/Views/FallWare/PrintBoxWindow.xaml.cs
  2. 14
      BBWY.Client/Views/FallWare/PrintLSOrderWindow.xaml.cs
  3. 13
      BBWY.Client/Views/PackTask/ServiceWindow.xaml.cs
  4. 16
      BBWY.Client/Views/SealBox/SealBoxPrintDetailsWindow.xaml.cs

15
BBWY.Client/Views/FallWare/PrintBoxWindow.xaml.cs

@ -166,6 +166,21 @@ namespace BBWY.Client.Views.FallWare
})); }));
}); });
var applicationPath = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
string printNames = System.IO.Path.Combine(applicationPath, "printName.init");
try
{
if (File.Exists(printNames))
{
File.Delete(printNames);
}
}
catch
{
}
} }
} }
} }

14
BBWY.Client/Views/FallWare/PrintLSOrderWindow.xaml.cs

@ -130,6 +130,20 @@ namespace BBWY.Client.Views.FallWare
this.Close(); this.Close();
}); });
}); });
var applicationPath = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
string printNames = System.IO.Path.Combine(applicationPath, "printName.init");
try
{
if (File.Exists(printNames))
{
File.Delete(printNames);
}
}
catch
{
}
} }
public void PrintBox(List<GetWareLSOrderPurchase> GetWareLSOrderPurchases, int nowPageIndex, int totalPageIndex) public void PrintBox(List<GetWareLSOrderPurchase> GetWareLSOrderPurchases, int nowPageIndex, int totalPageIndex)

13
BBWY.Client/Views/PackTask/ServiceWindow.xaml.cs

@ -83,6 +83,19 @@ namespace BBWY.Client.Views.PackTask
var applicationPath = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); var applicationPath = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
string printNames = System.IO.Path.Combine(applicationPath, "printName.init"); string printNames = System.IO.Path.Combine(applicationPath, "printName.init");
try
{
if (File.Exists(printNames))
{
File.Delete(printNames);
}
}
catch
{
}
File.WriteAllText(printNames, cbPrintName.Text); File.WriteAllText(printNames, cbPrintName.Text);

16
BBWY.Client/Views/SealBox/SealBoxPrintDetailsWindow.xaml.cs

@ -125,7 +125,23 @@ namespace BBWY.Client.Views.SealBox
{ {
this.Close(); this.Close();
})); }));
}); });
var applicationPath = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
string printNames = System.IO.Path.Combine(applicationPath, "printName.init");
try
{
if (File.Exists(printNames))
{
File.Delete(printNames);
}
}
catch
{
}
} }
public void PrintBox(List<WareSealBoxSku> sealBoxSkus) public void PrintBox(List<WareSealBoxSku> sealBoxSkus)

Loading…
Cancel
Save