From 80676027e82138b09aa2bc287fbf4b32af2699fe Mon Sep 17 00:00:00 2001
From: "506583276@qq.com" <506583276@qq.com>
Date: Mon, 5 Jun 2023 11:33:50 +0800
Subject: [PATCH 01/10] 1
---
BBWY.Client/APIServices/PackTaskService.cs | 7 ++-
.../PackTask/WareHouseListViewModel.cs | 43 ++++++++++-----
BBWY.Client/Views/PackTask/TipsWindow.xaml | 2 +-
BBWY.Client/Views/PackTask/TipsWindow.xaml.cs | 28 ++++++++--
.../Views/PackTask/WaitSealBoxControl.xaml | 35 ++++++++++---
.../Views/PackTask/WareHouseList.xaml.cs | 2 +-
.../Views/SealBox/SetSealBoxWindow.xaml | 52 +++++++++++++++++++
.../Views/SealBox/SetSealBoxWindow.xaml.cs | 49 +++++++++++++++++
8 files changed, 193 insertions(+), 25 deletions(-)
create mode 100644 BBWY.Client/Views/SealBox/SetSealBoxWindow.xaml
create mode 100644 BBWY.Client/Views/SealBox/SetSealBoxWindow.xaml.cs
diff --git a/BBWY.Client/APIServices/PackTaskService.cs b/BBWY.Client/APIServices/PackTaskService.cs
index 468975aa..ff12be0f 100644
--- a/BBWY.Client/APIServices/PackTaskService.cs
+++ b/BBWY.Client/APIServices/PackTaskService.cs
@@ -329,7 +329,7 @@ namespace BBWY.Client.APIServices
///
///
///
- public ApiResponse CompeteSealBox( List CompeteSealBoxs)
+ public ApiResponse CompeteSealBox( CompeteSealBox CompeteSealBoxs)
{
return SendRequest(globalContext.QKApiHost, "api/PackTask/CompeteSealBox", new
{
@@ -346,11 +346,14 @@ namespace BBWY.Client.APIServices
///
/// 任务Id
///
- public long TaskId { get; set; }
+ public long[] TaskId { get; set; }
///
/// 仓库Id
///
public string WareId { get; set; }
+
+ public int BoxCount { get; set; }
+
}
diff --git a/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs b/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs
index 14cc413c..4f5df699 100644
--- a/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs
+++ b/BBWY.Client/ViewModels/PackTask/WareHouseListViewModel.cs
@@ -21,6 +21,7 @@ using NPOI.SS.Formula.Functions;
using GalaSoft.MvvmLight.Messaging;
using BBWY.Client.Models.APIModel;
using BBWY.Client.Models.PackTask;
+using BBWY.Client.Views.SealBox;
namespace BBWY.Client.ViewModels.PackTask
{
@@ -261,6 +262,17 @@ namespace BBWY.Client.ViewModels.PackTask
UpdateTaskStateCommand = new RelayCommand