From 78ecfca9467c503178bc3284dea7ba23ec5ba8dd Mon Sep 17 00:00:00 2001 From: chenwenkai <1084072318@qq.com> Date: Tue, 5 Nov 2024 14:03:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=9D=A1=E7=A0=81=E6=9C=80?= =?UTF-8?q?=E5=B0=8F=E5=8C=85=E8=A3=85=E6=95=B0=E6=94=B9=E4=B8=BA=E4=BC=A0?= =?UTF-8?q?=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Tnb.WarehouseMgr.Entities/Dto/Inputs/BarCodeInput.cs | 2 +- WarehouseMgr/Tnb.WarehouseMgr/WmsOutsourceService.cs | 2 +- WarehouseMgr/Tnb.WarehouseMgr/WmsPurchaseService.cs | 2 +- .../Tnb.WarehouseMgr/WmsRawmatTransferinstockService.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Dto/Inputs/BarCodeInput.cs b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Dto/Inputs/BarCodeInput.cs index d4d7eb5b..9ac3fbee 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Dto/Inputs/BarCodeInput.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Dto/Inputs/BarCodeInput.cs @@ -16,6 +16,6 @@ namespace Tnb.WarehouseMgr.Entities.Dto.Inputs /// /// 条码数量 /// - //public int code_qty { get; set; } + public int code_qty { get; set; } } } diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsOutsourceService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsOutsourceService.cs index 11009c6e..8890a89c 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsOutsourceService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsOutsourceService.cs @@ -164,7 +164,7 @@ namespace Tnb.WarehouseMgr }; int codeNum = 0; - //minPacking = input.code_qty;//最小包装数替换成传进来的条码数量 + minPacking = input.code_qty;//最小包装数替换成传进来的条码数量 if (minPacking.HasValue && minPacking.Value > 0) { codeNum = input.barcode_qty; diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsPurchaseService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsPurchaseService.cs index af1cb55b..cdee4a18 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsPurchaseService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsPurchaseService.cs @@ -469,7 +469,7 @@ namespace Tnb.WarehouseMgr throw new AppFriendlyException($"物料{WmsPurchaseD.material_code} {WmsPurchaseD.material_id} 包装数量为空或者等于0,无法打印!", 500); }; int codeNum = 0; - //minPacking = input.code_qty;//最小包装数替换成传进来的条码数量 + minPacking = input.code_qty;//最小包装数替换成传进来的条码数量 if (minPacking.HasValue && minPacking.Value > 0) { codeNum = input.barcode_qty; diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsRawmatTransferinstockService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsRawmatTransferinstockService.cs index 68ce2092..9cbac22b 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsRawmatTransferinstockService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsRawmatTransferinstockService.cs @@ -244,7 +244,7 @@ namespace Tnb.WarehouseMgr throw new AppFriendlyException($"物料{WmsRawmatTransferinstockD.matcode} {WmsRawmatTransferinstockD.matcode_id} 包装数量为空或者等于0,无法打印!", 500); }; int codeNum = 0; - //minPacking = input.code_qty;//最小包装数替换成传进来的条码数量 + minPacking = input.code_qty;//最小包装数替换成传进来的条码数量 if (minPacking.HasValue && minPacking.Value > 0) { codeNum = input.barcode_qty;