From ffc93851fe16c82ef2c0343a6abe53e3f9e1d8ce Mon Sep 17 00:00:00 2001
From: zhou keda <1315948824@qq.com>
Date: Fri, 11 Oct 2024 15:41:41 +0800
Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E6=8F=90=E6=8A=A5=E7=BB=91?=
=?UTF-8?q?=E5=AE=9A=E8=BD=BD=E5=85=B7=E5=A2=9E=E5=8A=A0=E8=A7=84=E6=A0=BC?=
=?UTF-8?q?=E5=9E=8B=E5=8F=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs | 2 ++
.../Dto/Inputs/BindCarryCodeInput.cs | 8 ++++++++
WarehouseMgr/Tnb.WarehouseMgr/WmsCarryService.cs | 2 ++
3 files changed, 12 insertions(+)
diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs
index 1a0392a5..462f2e34 100644
--- a/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs
+++ b/ProductionMgr/Tnb.ProductionMgr/PrdMoTaskService.cs
@@ -2491,6 +2491,8 @@ namespace Tnb.ProductionMgr
bindCarryCodeInput.material_id = prdMoTask.material_id;
bindCarryCodeInput.material_code = basMaterial.code;
bindCarryCodeInput.material_name = basMaterial.name;
+ bindCarryCodeInput.material_specification = basMaterial.material_specification;
+ bindCarryCodeInput.container_no = basMaterial.material_standard;
bindCarryCodeInput.location_id = location.id;
bindCarryCodeInput.location_code = location.location_code;
bindCarryCodeInput.code_batch = report.batch;
diff --git a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Dto/Inputs/BindCarryCodeInput.cs b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Dto/Inputs/BindCarryCodeInput.cs
index 468d9bfa..ad3163ee 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Dto/Inputs/BindCarryCodeInput.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Dto/Inputs/BindCarryCodeInput.cs
@@ -15,6 +15,14 @@ namespace Tnb.WarehouseMgr.Entities.Dto.Inputs
public string material_id { get; set; }
public string material_code { get; set; }
public string material_name { get; set; }
+ ///
+ /// 规格型号
+ ///
+ public string? material_specification { get; set; }
+ ///
+ /// 箱号
+ ///
+ public string? container_no { get; set; }
public string location_id { get; set; } = "";
public string location_code { get; set; } = "";
public string code_batch { get; set; }
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsCarryService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsCarryService.cs
index 2364337c..befe4826 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr/WmsCarryService.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsCarryService.cs
@@ -326,6 +326,8 @@ namespace Tnb.WarehouseMgr
wmsCarryCode.material_id = input.material_id;
wmsCarryCode.material_code = input.material_code;
wmsCarryCode.material_name = input.material_name;
+ wmsCarryCode.material_specification = input.material_specification;
+ wmsCarryCode.container_no = input.container_no;
wmsCarryCode.location_id = input.location_id;
wmsCarryCode.location_code = input.location_code;
wmsCarryCode.code_batch = input.code_batch;