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.
52 lines
1.6 KiB
52 lines
1.6 KiB
using BBWY.Client.ViewModels.PackTask;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
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.SealBox
|
|
{
|
|
/// <summary>
|
|
/// SealBoxNoConfigureControl.xaml 的交互逻辑
|
|
/// </summary>
|
|
public partial class SealBoxNoConfigureControl : UserControl
|
|
{
|
|
public SealBoxNoConfigureControl()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
|
|
|
|
private void listbox_order_ScrollChanged(object sender, ScrollChangedEventArgs e)
|
|
{
|
|
//if (e.ExtentHeight - e.ViewportHeight - e.VerticalOffset < 100)
|
|
//{
|
|
// var vm = this.DataContext as WareHouseListViewModel;//获取绑定的数据
|
|
// if (vm.WareNoSealBoxModels!=null&& vm.WaitSealBoxModelList !=null&& vm.WareNoSealBoxModels.Count==vm.WaitSealBoxModelList.Count)
|
|
// {
|
|
// var datas = vm.WareNoSealBoxModels.Where(w => w.SealBoxSkus.Count == 0).FirstOrDefault();
|
|
// if (datas!=null)
|
|
// {
|
|
// datas.SealBoxSkus = vm.WaitSealBoxModelList.FirstOrDefault(w => w.ShopId == datas.ShopId).SealBoxSkus;
|
|
// }
|
|
// }
|
|
|
|
// // 滚动到底部
|
|
//}
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|