diff --git a/BBWY.Client/Models/APIModel/Response/PackPurchaseTask/QualityTaskResponse.cs b/BBWY.Client/Models/APIModel/Response/PackPurchaseTask/QualityTaskResponse.cs index 1a7c7571..debf0ee6 100644 --- a/BBWY.Client/Models/APIModel/Response/PackPurchaseTask/QualityTaskResponse.cs +++ b/BBWY.Client/Models/APIModel/Response/PackPurchaseTask/QualityTaskResponse.cs @@ -99,6 +99,10 @@ namespace BBWY.Client.Models.APIModel.Response.PackPurchaseTask /// /// public SaveType? SaveType { get; set; } + /// + /// 商家自取数 + /// + public int? StoreGetSelfCount { get; set; } } public class WareHourseDTO { diff --git a/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs b/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs index a3723fe8..1a1ba198 100644 --- a/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs +++ b/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs @@ -1353,138 +1353,12 @@ namespace BBWY.Client.ViewModels.PackTask #region 事件绑定 - /// - /// 推送sku配置状态 - /// - public ICommand SendToSetSkuConfigureCommand { get; set; } - /// - /// 提交超时原因 - /// - public ICommand SubmitOverTimeMarkMsgCommand { get; set; } - /// - /// 查看揽收单 - /// - public ICommand LookLSOrderConfigureCommand { get; set; } - /// - /// 打印揽收单 - /// - public ICommand PrintLSOrderConfigureCommand { get; set; } - /// - /// 打印封箱明细 - /// - public ICommand PrintSealBoxDetailsCommand { get; set; } - /// - /// 待完结 完成事件 - /// - public ICommand CompeteWaitCompletedCommand { get; set; } - - /// - /// 待转运 完成事件 - /// - public ICommand CompeteWaitTransportCommand { get; set; } - - /// - /// 设置仓库类型 - /// - public ICommand SetWareTypeCommand { get; set; } - - /// - /// 查看箱唛配置 - /// - public ICommand LookBoxConfigureCommand { get; set; } - /// - /// 待配置 /已配置 - /// - public ICommand SetSealBoxConfigureTypeCommand { get; set; } - public ICommand CompeteFallWareCommand { get; set; } - public ICommand CompeteSealBoxCommand { get; set; } - - public ICommand CompletedPackTaskCommand { get; set; } - - - /// - /// 打开图片链接 - /// - public ICommand OpenSkuDetailCommand { get; set; } - - - /// - /// 筛选数据 - /// - public ICommand SetTaskStateCommand { get; set; } - - /// - /// 修改任务状态 - /// - public ICommand UpdateTaskStateCommand { get; set; } - /// - /// 搜索数据 - /// - public ICommand SearchTaskCommand { get; set; } - - /// - /// 创建任务 - /// - public ICommand CreateTaskCommand { get; set; } - - /// - /// 页面改变事件 - /// - public ICommand TaskPageIndexChangedCommand { get; set; } - - /// - /// 设置分箱数量 - /// - public ICommand SetSealBoxCommand { get; set; } - - - /// - /// 打印封箱数据 - /// - public ICommand PrintBoxConfigureCommand { get; set; } - - - /// - /// 删除任务 - /// - public ICommand DeletedTaskCommand { get; set; } - - - /// - /// 商家自取 - /// - public ICommand StoreGetBySelfCommand { get; set; } - - /// /// 商家自取(未验收) /// public ICommand QualityStoreGetBySelfCommand { get; set; } - /// - /// 加载事件(待封箱) - /// - public ICommand LoadSkuDataCommand { get; set; } - - /// - /// 加载事件(封箱已配置) - /// - public ICommand LoadSealBoxSkuDataCommand { get; set; } - - /// - /// 落仓 - /// - public ICommand LoadFallWareSkuDataCommand { get; set; } - - /// - /// 转运 - /// - public ICommand LoadTransportSkuDataCommand { get; set; } - - - - /// /// 完成封箱 /// diff --git a/BBWY.Client/ViewModels/QualityTask/QualityViewModel.cs b/BBWY.Client/ViewModels/QualityTask/QualityViewModel.cs index 8e72a7f2..eed8c773 100644 --- a/BBWY.Client/ViewModels/QualityTask/QualityViewModel.cs +++ b/BBWY.Client/ViewModels/QualityTask/QualityViewModel.cs @@ -114,6 +114,12 @@ namespace BBWY.Client.ViewModels public int WareHourseCount { get => wareHourseCount; set { Set(ref wareHourseCount, value); } } + private int? storeGetSelfCount; + /// + /// 商家自取数 + /// + public int? StoreGetSelfCount { get => storeGetSelfCount; set { Set(ref storeGetSelfCount, value); } } + private int skuCount; /// @@ -688,6 +694,7 @@ namespace BBWY.Client.ViewModels SkuTitle = model.SkuTitle; BasicPack = model.BasicPack; CertificatePosition = model.CertificatePosition; + //ArrivalQuantity = 0; //GoodProductQuantity = 0; @@ -734,7 +741,9 @@ namespace BBWY.Client.ViewModels MessageBox.Show(packTaskRes.Msg); return; } - SkuPurchaseSchemeId = packTaskRes.Data.SkuPurchaseSchemeId; + StoreGetSelfCount = packTaskRes.Data.StoreGetSelfCount; + + SkuPurchaseSchemeId = packTaskRes.Data.SkuPurchaseSchemeId; saveType = packTaskRes.Data.SaveType; if (saveType == null) { diff --git a/BBWY.Client/Views/QualityTask/QualityWindow.xaml b/BBWY.Client/Views/QualityTask/QualityWindow.xaml index f3fa5925..5478e66b 100644 --- a/BBWY.Client/Views/QualityTask/QualityWindow.xaml +++ b/BBWY.Client/Views/QualityTask/QualityWindow.xaml @@ -109,64 +109,48 @@ - - - - - - + + - - + + - - - - - + + + + + - - + + - - + + - + --> + + + + + + - + + + - - - - + + + - - - + + + - + Background=" #ec808d" BorderThickness="0" Foreground="White"/> + + \ No newline at end of file diff --git a/BBWY.Client/Views/QualityTask/QualityWindow.xaml.cs b/BBWY.Client/Views/QualityTask/QualityWindow.xaml.cs index 97e9a9e0..950b840e 100644 --- a/BBWY.Client/Views/QualityTask/QualityWindow.xaml.cs +++ b/BBWY.Client/Views/QualityTask/QualityWindow.xaml.cs @@ -12,6 +12,7 @@ namespace BBWY.Client.Views.QualityTask { public QualityWindow(PackTaskModel model,Action ReflashTask) { + InitializeComponent(); var qualityViewModel =(QualityViewModel)this.DataContext; if (qualityViewModel.ReflashWindow == null)