Browse Source

需求单No.143331编辑

master
zhangzhifeng 6 years ago
parent
commit
cc62f76732
10 changed files with 393 additions and 94 deletions
  1. +55
    -13
      B3DealerClient/B3DealerClient.csproj
  2. +50
    -58
      B3DealerClient/Properties/Resources.Designer.cs
  3. +18
    -22
      B3DealerClient/Properties/Settings.Designer.cs
  4. +99
    -0
      B3DealerClient/Utils/BwpClientWebPrint.cs
  5. +35
    -0
      B3DealerClient/Windows/CarcassInStoreWindow_/CarcassInStoreConfigPrint.cs
  6. +48
    -0
      B3DealerClient/Windows/CarcassInStoreWindow_/CarcassInStoreConfigPrint.html
  7. +3
    -1
      B3DealerClient/Windows/CarcassInStoreWindow_/CarcassInStoreWindow.xaml.cs
  8. +33
    -0
      B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutConfigPrint.cs
  9. +50
    -0
      B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutConfigPrint.html
  10. +2
    -0
      B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutWindow.xaml.cs

+ 55
- 13
B3DealerClient/B3DealerClient.csproj View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -13,6 +13,8 @@
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<KeyContainerName>BwpApp</KeyContainerName>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@ -23,6 +25,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@ -32,6 +35,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>app.ico</ApplicationIcon>
@ -53,25 +57,54 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\TSREF\release\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System.Data">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Microsoft.CSharp">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System.Core">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System.Xml.Linq">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="WindowsBase">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="PresentationCore">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="PresentationFramework">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="zxing, Version=0.11.0.0, Culture=neutral, PublicKeyToken=4e88037ac681fe60, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\tsref\release\zxing.dll</HintPath>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Compile Include="..\..\..\version\Dealer_version.cs">
<Link>Dealer_version.cs</Link>
</Compile>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
@ -128,6 +161,7 @@
<DependentUpon>SettingDialog.xaml</DependentUpon>
</Compile>
<Compile Include="Utils\AppContext.cs" />
<Compile Include="Utils\BwpClientWebPrint.cs" />
<Compile Include="Utils\ControlAttachProperty.cs" />
<Compile Include="Utils\DbUtil.cs" />
<Compile Include="Utils\Extensions.cs" />
@ -135,6 +169,7 @@
<Compile Include="Utils\WindowUtil.cs" />
<Compile Include="Utils\XmlUtil.cs" />
<Compile Include="Windows\CarcassInStoreWindow_\CarcassInStoreConfig.cs" />
<Compile Include="Windows\CarcassInStoreWindow_\CarcassInStoreConfigPrint.cs" />
<Compile Include="Windows\CarcassInStoreWindow_\CarcassInStoreContext.cs" />
<Compile Include="Windows\CarcassInStoreWindow_\CarcassInStoreWindow.xaml.cs">
<DependentUpon>CarcassInStoreWindow.xaml</DependentUpon>
@ -143,6 +178,7 @@
<DependentUpon>RecordViewDialog.xaml</DependentUpon>
</Compile>
<Compile Include="Windows\CarcassSaleOutWindow_\CarcassSaleOutConfig.cs" />
<Compile Include="Windows\CarcassSaleOutWindow_\CarcassSaleOutConfigPrint.cs" />
<Compile Include="Windows\CarcassSaleOutWindow_\CarcassSaleOutContext.cs" />
<Compile Include="Windows\CarcassSaleOutWindow_\CarcassSaleOutWindow.xaml.cs">
<DependentUpon>CarcassSaleOutWindow.xaml</DependentUpon>
@ -193,7 +229,10 @@
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
<Content Include="Windows\CarcassInStoreWindow_\CarcassInStoreConfigPrint.html" />
<Content Include="Windows\CarcassSaleOutWindow_\CarcassSaleOutConfigPrint.html" />
</ItemGroup>
<ItemGroup>
<Page Include="Control\NumberPad.xaml">
<SubType>Designer</SubType>
@ -303,6 +342,9 @@
<Resource Include="Images\login.png" />
<Resource Include="Images\setting.png" />
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Service References\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.


+ 50
- 58
B3DealerClient/Properties/Resources.Designer.cs View File

@ -1,71 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 4.0.30319.42000
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将丢失。
// 重新生成代码,这些更改将丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace B3DealerClient.Properties
{
/// <summary>
/// 一个强类型的资源类,用于查找本地化的字符串等。
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
namespace B3DealerClient.Properties {
using System;
/// <summary>
/// 返回此类使用的、缓存的 ResourceManager 实例
/// 一个强类型的资源类,用于查找本地化的字符串等。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("B3DealerClient.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// 返回此类使用的缓存的 ResourceManager 实例。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("B3DealerClient.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 使用此强类型资源类,为所有资源查找
/// 重写当前线程的 CurrentUICulture 属性。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
return resourceMan;
}
}
/// <summary>
/// 为所有资源查找重写当前线程的 CurrentUICulture 属性,
/// 方法是使用此强类型资源类。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

+ 18
- 22
B3DealerClient/Properties/Settings.Designer.cs View File

@ -1,30 +1,26 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace B3DealerClient.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
namespace B3DealerClient.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
}
}
}

+ 99
- 0
B3DealerClient/Utils/BwpClientWebPrint.cs View File

@ -0,0 +1,99 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Microsoft.Win32;
using ZXing;
namespace B3DealerClient.Utils
{
public class BwpClientWebPrint
{
static string htmlPath = Application.StartupPath + "\\print.html";
public static void Print(string templatePath, IDictionary<string, string> parameters)
{
if (!File.Exists(templatePath))
throw new Exception("打印模板不存在!");
ChangePageSettingByRegist();
CreatePrintHtml(templatePath, parameters);
pd_PrintPage();
}
private static void CreatePrintHtml(string templatePath, IDictionary<string, string> dic)
{
using (FileStream fs = new FileStream(htmlPath, FileMode.Create, FileAccess.ReadWrite))
{
using (StreamWriter sw = new StreamWriter(fs))
{
var text = File.ReadAllText(templatePath);
foreach (var item in dic)
text = text.Replace(item.Key, item.Value);
sw.Write(text);
sw.Close();
fs.Close();
}
}
}
public static void Create2DPic(string content, string path, int size)
{
var writer = new BarcodeWriter();
writer.Options.Margin = 0;
writer.Options.Width = size;
writer.Options.Height = size;
writer.Format = BarcodeFormat.QR_CODE;
writer.Options.Hints.Add(EncodeHintType.CHARACTER_SET, "UTF-8");
using (var bitMap = writer.Write(content))
{
bitMap.Save(path, ImageFormat.Png);
}
}
public static void CreateBarCode(string content, string path, Size size)
{
var writer = new BarcodeWriter();
writer.Options.Margin = 1;
writer.Options.Width = size.Width;
writer.Options.Height = size.Height;
writer.Format = BarcodeFormat.CODE_128;
writer.Options.Hints.Add(EncodeHintType.CHARACTER_SET, "UTF-8");
using (var bitMap = writer.Write(content))
{
bitMap.Save(path, ImageFormat.Png);
}
}
private static void ChangePageSettingByRegist()
{
RegistryKey hklm = Registry.CurrentUser;
RegistryKey software = hklm.OpenSubKey(@"Software\Microsoft\Internet Explorer\PageSetup".ToUpper(), true);
software.SetValue("header", "");
software.SetValue("footer", "");
software.SetValue("margin_bottom", 0);
software.SetValue("margin_left", 0.1);
software.SetValue("margin_right", 0.05);
software.SetValue("margin_top", 0.1);
software.SetValue("Shrink_To_Fit", "yes");
}
private static void pd_PrintPage()
{
WebBrowser webBrowserForPrinting = new WebBrowser();
webBrowserForPrinting.Url = new Uri(htmlPath);
webBrowserForPrinting.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(PrintDocument);
}
private static void PrintDocument(object sender, WebBrowserDocumentCompletedEventArgs e)
{
var browser = (WebBrowser)sender;
browser.Print();
browser.Dispose();
}
}
}

+ 35
- 0
B3DealerClient/Windows/CarcassInStoreWindow_/CarcassInStoreConfigPrint.cs View File

@ -0,0 +1,35 @@
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Printing;
using System.IO;
using B3DealerClient.BO;
using B3DealerClient.Utils;
using System;
using System.Globalization;
namespace B3DealerClient.Windows.CarcassInStoreWindow_
{
public static class CarcassInStoreConfigPrint
{
static string TEMPLATE = Path.Combine(AppDomain.CurrentDomain.BaseDirectory , @"CarcassInStoreConfigPrint.html");
static string PicUrl = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"img.png");
private static DateTime currentdate= DateTime.Now;
public static void Print(CarcassInStore_Receive entity,string supplier)
{
var dic = new Dictionary<string, string>();
dic.Add("$NetWeight",entity.NetWeight.ToString(CultureInfo.InvariantCulture));
dic.Add("$Pics", entity.Pics.ToString(CultureInfo.InvariantCulture));
dic.Add("$GoodsName", entity.Goods_Name.ToString(CultureInfo.InvariantCulture));
if (supplier != null)
{
dic.Add("$supplier",supplier);
}
BwpClientWebPrint.Create2DPic("$NetWeight", PicUrl, 120);
dic.Add("$picUrl", PicUrl);
dic.Add("$date", currentdate.ToString());
BwpClientWebPrint.Print(TEMPLATE, dic);
}
}
}

+ 48
- 0
B3DealerClient/Windows/CarcassInStoreWindow_/CarcassInStoreConfigPrint.html View File

@ -0,0 +1,48 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title></title>
<style type='text/css'>
* {
margin: 0;
padding: 0;
}
.AA {
height: 400PX;
width: 400PX;
float: left;
}
body {
width: 100%;
}
</style>
</head>
<body>
<div style="width:100%;height:400px">
<div class="AA">
<div style="height:50px;text-align:center;line-height:50px;font-size:1.2rem">上海牧联电子商务有限公司</div>
<div style="height:20px;text-align:left;line-height:20px;font-size:0.8rem">$GoodsName-10kg/箱</div>
<div style="height:150px;width:100%">
<div style="height:200px;width:50%;float:left">
<img border="0" src=$picUrl />
</div>
<div style="height: 200px; width: 50%; float: right">
<div style="height:20px;text-align:center;line-height:20px;font-size:0.8rem">重量:$NetWeight</div>
<div style="height:20px;text-align:center; line-height: 20px; font-size: 0.8rem">件数:$Pics</div>
</div>
</div>
<div style="font-size: 1.5em;">
<div>供应商:$supplier</div>
<div>打印时间:$date</div>
</div>
</div>
</div>
</body>
</html>

+ 3
- 1
B3DealerClient/Windows/CarcassInStoreWindow_/CarcassInStoreWindow.xaml.cs View File

@ -111,7 +111,7 @@ namespace B3DealerClient.Windows.CarcassInStoreWindow_
context.InStore = dig.Result;
config.InStore = dig.Result;
XmlUtil.SerializerObjToFile(config);
break;
break;
}
}
}
@ -249,6 +249,8 @@ namespace B3DealerClient.Windows.CarcassInStoreWindow_
RecordSelected();
weightControl.Weight = 0;
context.Weight = 0;
CarcassInStoreConfigPrint.Print(record,context.Supplier.Name);
}
private void ViewBtn_PreviewMouseDown(object sender, MouseButtonEventArgs e)


+ 33
- 0
B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutConfigPrint.cs View File

@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using B3DealerClient.BO;
using B3DealerClient.Utils;
namespace B3DealerClient.Windows.CarcassSaleOutWindow_
{
public static class CarcassSaleOutConfigPrint
{
static string TEMPLATE = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"CarcassSaleOutConfigPrint.html");
static string PicUrl = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"img.png");
public static void Print(CarcassSaleOut_Record entity,string deliverLineName,string customer)
{
var dic = new Dictionary<string, string>();
dic.Add("$User", customer);
dic.Add("$NetWeight",entity.NetWeight.ToString(CultureInfo.InvariantCulture));
dic.Add("$Pics",entity.SecondNumber.ToString(CultureInfo.InvariantCulture));
dic.Add("$LineName",deliverLineName);
dic.Add("$GoodsName", entity.Goods_Name);
BwpClientWebPrint.Create2DPic(dic["$NetWeight"], PicUrl, 120);
dic.Add("$picUrl", PicUrl);
BwpClientWebPrint.Print(TEMPLATE, dic);
}
}
}

+ 50
- 0
B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutConfigPrint.html View File

@ -0,0 +1,50 @@
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
<style>
* {
margin: 0;
padding: 0;
}
.AA {
height: 400PX;
width: 400PX;
float: left;
}
body {
width: 100%;
}
</style>
</head>
<body>
<div style="width:100%;height:400px">
<div class="AA">
<div style="height:50px;text-align:center;line-height:50px;font-size:1.5rem">上海牧联电子商务有限公司</div>
<div style="height:20px;text-align:left;line-height:20px;font-size:0.8rem">$User</div>
<div style="height:20px;text-align:left;line-height:20px;font-size:0.8rem">$GoodsName-10kg/箱</div>
<div style="height:150px;width:100%">
<div style="height:200px;width:50%;float:left">
<img border="0" src=$picUrl />
</div>
<div style="height: 200px; width: 50%; float: right">
<div style="height:20px;text-align:center;line-height:20px;font-size:0.8rem">线路:$LineName</div>
<div style="height:20px;text-align:center;line-height:20px;font-size:0.8rem">重量:$NetWeight</div>
<div style="height:20px;text-align:center;line-height:20px;font-size:0.8rem">件数:$Pics</div>
</div>
</div>
<div style="font-size:1.5em;">
<div>地址:上海市嘉定区昌翔路88弄30号</div>
<div>销售热线:18063329988</div>
</div>
</div>
</div>
</body>
</html>

+ 2
- 0
B3DealerClient/Windows/CarcassSaleOutWindow_/CarcassSaleOutWindow.xaml.cs View File

@ -276,6 +276,8 @@ namespace B3DealerClient.Windows.CarcassSaleOutWindow_
weightControl.Weight = 0;
context.Weight = 0;
context.StrNumber = string.Empty;
CarcassSaleOutConfigPrint.Print(record, context.DriverGoodsLine.Name,context.Dmo.Customer_Name);
}
private void ViewBtn_PreviewMouseDown(object sender, MouseButtonEventArgs e)


Loading…
Cancel
Save