|
|
|
|
using Aucma.Core.PrintTo.ViewModels;
|
|
|
|
|
using System.Windows;
|
|
|
|
|
|
|
|
|
|
namespace Aucma.Core.PrintTo.Views
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// PrintToDevView.xaml 的交互逻辑
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class PrintToDevView : Window
|
|
|
|
|
{
|
|
|
|
|
public PrintToDevView()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
this.DataContext = new PrintToDevViewModel();
|
|
|
|
|
}
|
|
|
|
|
public PrintToDevView(string productCode,string materialCode, string materialName, int printAmount, string? barCode=null)
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
this.DataContext = new PrintToDevViewModel(productCode, materialCode, materialName, printAmount,barCode);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|