From 17768d359b566a176492fd39ce9752d32b85cc7e Mon Sep 17 00:00:00 2001 From: "506583276@qq.com" <506583276@qq.com> Date: Mon, 10 Jul 2023 19:56:55 +0800 Subject: [PATCH] 10149 --- BBWY.Client/GlobalContext.cs | 2 +- .../PackTask/WareHouseListViewModel.cs | 36 +++++- .../Views/PackTask/WaitPackageControl.xaml | 99 ++++++++++------ .../Views/PackTask/WareHouseListControl.xaml | 107 +++++++++++------- .../Views/QualityTask/WaitQualityControl.xaml | 101 +++++++++++------ 5 files changed, 234 insertions(+), 111 deletions(-) diff --git a/BBWY.Client/GlobalContext.cs b/BBWY.Client/GlobalContext.cs index 1f7c238b..7fe80fc3 100644 --- a/BBWY.Client/GlobalContext.cs +++ b/BBWY.Client/GlobalContext.cs @@ -13,7 +13,7 @@ namespace BBWY.Client { ShopServiceGroupList = new List(); ShopServiceGroupLowerList = new List(); - ClientVersion = "10148"; + ClientVersion = "10149"; } private User user; diff --git a/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs b/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs index 92478d58..7c51ba09 100644 --- a/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs +++ b/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs @@ -55,9 +55,43 @@ namespace BBWY.Client.ViewModels.PackTask private ObservableCollection selectIdList = new ObservableCollection { "任务ID","拳探订单号" }; - public ObservableCollection SelectIdList { get => selectIdList; set { Set(ref selectIdList, value); } } + private ObservableCollection selectShopList = new ObservableCollection { + "店铺","部门" + }; + public ObservableCollection SelectShopList { get => selectShopList; set { Set(ref selectShopList, value); } } + + /// + /// 查询物流 + /// + private string selectShop = "店铺"; + public string SelectShop + { + get => selectShop; + + + set + { + Set(ref selectShop, value); + + OnSelectShopChanged(selectShop); + } + } + + private void OnSelectShopChanged(string selectShop) + { + if (selectShop == "店铺") + { + SearchDepartment = null; + } + if (selectShop == "部门") + { + SearchShopName = null; + } + + } + /// /// 查询物流 /// diff --git a/BBWY.Client/Views/PackTask/WaitPackageControl.xaml b/BBWY.Client/Views/PackTask/WaitPackageControl.xaml index 84fcf645..ac7eee8a 100644 --- a/BBWY.Client/Views/PackTask/WaitPackageControl.xaml +++ b/BBWY.Client/Views/PackTask/WaitPackageControl.xaml @@ -27,15 +27,18 @@ - - + + - - + @@ -46,8 +49,7 @@ - - + @@ -64,58 +66,87 @@ + - - - - + + + - - - - + + - - + + + + + - - + + + + + + + + + + + + + + + - + + - - - - - + + + + - - + + + + -