销售发货单

This commit is contained in:
admin
2021-01-21 16:20:31 +08:00
parent 9b672067cb
commit 37c919001f
7 changed files with 52 additions and 15 deletions

View File

@@ -64,6 +64,7 @@
<Compile Include="Request\Arrival.cs" />
<Compile Include="Request\Bin.cs" />
<Compile Include="Request\Customer.cs" />
<Compile Include="Request\Dispatch.cs" />
<Compile Include="Request\Materiel.cs" />
<Compile Include="Request\MaterielType.cs" />
<Compile Include="Request\OtherStoreIn.cs" />

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Request
{
public class Dispatch
{
public string SalesOrderNo { get; set; }
}
}

View File

@@ -7,16 +7,16 @@ namespace NX.ERP.Model.Sale
{
public class DispatchList
{
public int ID { get; set; }
public string Code { get; set; }
public DateTime Date { get; set; }
public int SalesOrderId { get; set; }
public string SalesOrderNo { get; set; }
public string CustomerCode { get; set; }
public string CoCode { get; set; }
public string CusCode { get; set; }
public DateTime SalesOrderDate { get; set; }
public ICollection<DispatchListDetail> Details { get; set; } = new List<DispatchListDetail>();
public ICollection<DispatchListDetail> SalesOrderDtlLst { get; set; } = new List<DispatchListDetail>();
}
}

View File

@@ -7,14 +7,20 @@ namespace NX.ERP.Model.Sale
{
public class DispatchListDetail
{
private int id;
private int sales_order_dtl_id;
private string invCode;
private double quantity;
private string invName;
public int Id { get => id; set => id = value; }
public string InvCode { get => invCode; set => invCode = value; }
public double Quantity { get => quantity; set => quantity = value; }
public int SalesOrderDtlId { get => sales_order_dtl_id; set => sales_order_dtl_id = value; }
public string MaterialCode { get => invCode; set => invCode = value; }
public double Qty { get => quantity; set => quantity = value; }
public string InvName { get => invName; set => invName = value; }
public string UnitCode { get; set; }
public int SalesOrderId { get; set; }
}
}