You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
2.1 KiB
77 lines
2.1 KiB
using BBWY.Client.Models;
|
|
using BBWY.Client.ViewModels.PackTask;
|
|
using BBWY.Controls;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.Input;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Windows.Navigation;
|
|
using System.Windows.Shapes;
|
|
|
|
namespace BBWY.Client.Views.PackagingTask
|
|
{
|
|
/// <summary>
|
|
/// WaitPackingTaskControl.xaml 的交互逻辑
|
|
/// </summary>
|
|
public partial class WaitPackingTaskControl : UserControl
|
|
{
|
|
public WaitPackingTaskControl()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void BButton_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
//var data = this.DataContext as WareHouseListViewModel;
|
|
|
|
//var bbtutton = sender as BButton;
|
|
|
|
//data.StoreGetBySelf((long)bbtutton.CommandParameter);
|
|
}
|
|
|
|
private void btn_storegetbyself_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
var data = this.DataContext as WareHouseListViewModel;
|
|
|
|
var bbtutton = sender as BButton;
|
|
|
|
data.StoreGetBySelf((long)bbtutton.CommandParameter);
|
|
}
|
|
|
|
private void btn_DisposeTask_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
var data = this.DataContext as WareHouseListViewModel;
|
|
|
|
var bbtutton = sender as BButton;
|
|
|
|
data.DisposeTask((long)bbtutton.CommandParameter);
|
|
}
|
|
|
|
private void btn_PackagingTaskException_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
var data = this.DataContext as WareHouseListViewModel;
|
|
|
|
var bbtutton = sender as BButton;
|
|
|
|
data.PackagingTaskException((long)bbtutton.CommandParameter);
|
|
}
|
|
|
|
private void btn_TaskSplit_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
|
|
var data = this.DataContext as WareHouseListViewModel;
|
|
|
|
var bbtutton = sender as BButton;
|
|
|
|
data.TaskSplit((PackTaskModel)bbtutton.CommandParameter);
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
|