成品调拨入库规格型号

This commit is contained in:
2024-11-13 17:53:20 +08:00
parent ac3797e374
commit e7ceaef0a0
4 changed files with 80 additions and 3 deletions

View File

@@ -0,0 +1,71 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.QcMgr.Entities.Entity
{
/// <summary>
/// 质检执行载具表
/// </summary>
[SugarTable("qc_check_exec_carry")]
public class QcCheckExecCarry:BaseEntity<string>
{
public QcCheckExecCarry()
{
id = SnowflakeIdHelper.NextId();
}
public string org_id { get; set; }
/// <summary>
/// 质检主表id
/// </summary>
public string qc_check_exec_id { get;set; }
public string carry_id { get; set; }
public string carry_code { get; set; }
public string warehouse_id { get; set; }
public string qty { get; set; }
/// <summary>
/// 状态
/// </summary>
public string status { get;set; }
/// <summary>
/// 库位
/// </summary>
public string location_id { get; set; }
public string location_code { get; set; }
/// <summary>
/// 物料id
/// </summary>
public string material_id { get;set; }
/// <summary>
/// 暂控处理单id
/// </summary>
public string temp_control_order_id { get; set; }
/// <summary>
/// 提报人
/// </summary>
public string reporter_id { get;set;}
/// <summary>
/// 处理人id
/// </summary>
public string processer_id { get;set; }
public string create_id { get;set ; }
public DateTime? create_time { get;set; }
public string modify_id { get;set; }
public DateTime? modify_time { get;set; }
}
}

View File

@@ -136,5 +136,9 @@ public partial class WmsTransferInstockD : BaseEntity<string>
/// </summary>
public string auxprop_xph { get; set; }
public string udi_code { get; set; }
/// <summary>
/// 物料规格
/// </summary>
public string material_specificatior { get; set; }
}

View File

@@ -1865,7 +1865,8 @@ namespace Tnb.WarehouseMgr
{
wmsTransferInstockD.material_id = material.id;
wmsTransferInstockD.material_code = material.code;
wmsTransferInstockD.material_desc = material.material_specification;
wmsTransferInstockD.material_specificatior = material.material_specification;
wmsTransferInstockD.material_desc = material.material_standard;
}
wmsTransferInstockD.auxprop = detail.auxprop;
@@ -1951,7 +1952,8 @@ namespace Tnb.WarehouseMgr
{
wmsTransferInstockD.material_id = material.id;
wmsTransferInstockD.material_code = material.code;
wmsTransferInstockD.material_desc = material.material_specification;
wmsTransferInstockD.material_specificatior = material.material_specification;
wmsTransferInstockD.material_desc = material.material_standard;
}
wmsTransferInstockDs.Add(wmsTransferInstockD);

View File

@@ -210,7 +210,7 @@ namespace Tnb.WarehouseMgr
erpRequestData.Add("pk_org", erpOrg.pk_org);
erpRequestData.Add("pk_org_v", erpOrg.pk_org_v);
erpRequestData.Add("pk_group", erpOrg.pk_group);
erpRequestData.Add("vbillcode", wmsPurchaseH.bill_code);
erpRequestData.Add("vbillcode", wmsPurchaseH.erp_bill_code);
erpRequestData.Add("vtrantypecode", tranType?.EnCode ?? "");
erpRequestData.Add("csourcebillhid", wmsPurchaseH?.erp_arriveorder_pk ?? "");
erpRequestData.Add("vdef3", wmsPurchaseH?.service_num ?? "");