diff --git a/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj b/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj
index 47366b8f..c09813b6 100644
--- a/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj
+++ b/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj
@@ -54,7 +54,6 @@
-
diff --git a/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.Development.json b/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.Development.json
index 8bcc29a5..b25a73a2 100644
--- a/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.Development.json
+++ b/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.Development.json
@@ -7,11 +7,11 @@
// "SettleAccountService": "Server=LAPTOP-V3U07C2O;Database=SettleAccountService;user id=sa;Password=1q2w!@#;"
//},
"ConnectionStrings": {
- //"Default": "Server=127.0.0.1;Database=ABP;user id=sa;Password=1",
- //"SettleAccountService": "Server=127.0.0.1;Database=SettleAccountService;user id=sa;Password=1;"
- "Default": "Server=192.168.0.67;Database=ABP;User ID=sa;Password=Microsoft2008;",
- "SettleAccountService": "Server=192.168.0.67;Database=SettleAccountService;user id=sa;password=Microsoft2008;",
- "Wms": "Server=192.168.0.140;Database=CPAT_WMS_TEST;user id=sa;password=Microsoft2008;"
+ "Default": "Server=127.0.0.1;Database=ABP;user id=sa;Password=1",
+ "SettleAccountService": "Server=127.0.0.1;Database=SettleAccountService1;user id=sa;Password=1;"
+ //"Default": "Server=192.168.0.67;Database=ABP;User ID=sa;Password=Microsoft2008;",
+ //"SettleAccountService": "Server=192.168.0.67;Database=SettleAccountService;user id=sa;password=Microsoft2008;",
+ //"Wms": "Server=192.168.0.63;Database=CPAT_WMS;user id=sa;password=Microsoft2008;"
},
"Logging": {
"LogLevel": {
diff --git a/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json b/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json
index 4f6dcfdb..1b7f4fcc 100644
--- a/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json
+++ b/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json
@@ -7,11 +7,11 @@
// "SettleAccountService": "Server=LAPTOP-V3U07C2O;Database=SettleAccountService;user id=sa;Password=1q2w!@#;"
//},
"ConnectionStrings": {
- //"Default": "Server=127.0.0.1;Database=ABP;user id=sa;Password=1",
- //"SettleAccountService": "Server=127.0.0.1;Database=SettleAccountService;user id=sa;Password=1;",
- "Default": "Server=192.168.0.67;Database=ABP;User ID=sa;Password=Microsoft2008;",
- "SettleAccountService": "Server=192.168.0.67;Database=SettleAccountService;user id=sa;password=Microsoft2008;",
- "Wms": "Server=192.168.0.140;Database=CPAT_WMS_TEST;user id=sa;password=Microsoft2008;"
+ "Default": "Server=127.0.0.1;Database=ABP;user id=sa;Password=1",
+ "SettleAccountService": "Server=127.0.0.1;Database=SettleAccountService1;user id=sa;Password=1;",
+ //"Default": "Server=192.168.0.67;Database=ABP;User ID=sa;Password=Microsoft2008;",
+ //"SettleAccountService": "Server=192.168.0.67;Database=SettleAccountService;user id=sa;password=Microsoft2008;",
+ //"Wms": "Server=192.168.0.63;Database=CPAT_WMS;user id=sa;password=Microsoft2008;"
},
"Logging": {
diff --git a/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_F/HQ_F_Kanban.cs b/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_F/HQ_F_Kanban.cs
new file mode 100644
index 00000000..8cd1c69c
--- /dev/null
+++ b/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_F/HQ_F_Kanban.cs
@@ -0,0 +1,63 @@
+using Magicodes.ExporterAndImporter.Core;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Win.Sfs.Shared.DomainBase;
+
+namespace Win.Sfs.SettleAccount.Entities.HQ_F
+{
+
+ //行号
+ //零件号
+ //零件中文名称
+ //需求数
+ //已接收数
+ //订货看板编号
+ //手工或自动
+ //收货仓库
+ //收货仓库描述
+ //交货时间
+ //发货状态
+ //供应商
+
+ public class HQ_F_Kanban:FullAuditedAggregateRootBase
+ {
+ [ExporterHeader(DisplayName = "行号")]
+ public string PoLine { set; get; }
+ [ExporterHeader(DisplayName = "零件号")]
+ public string MaterialCode { set; get; }
+ [ExporterHeader(DisplayName = "零件中文名称 ")]
+ public string MaterialDesc { set; get; }
+ [ExporterHeader(DisplayName = "发货数量")]
+ public decimal Qty { get; set; }
+ [ExporterHeader(DisplayName = "订货看板编号")]
+ public string Kanban { set; get; }
+ [ExporterHeader(DisplayName = "手工或自动")]
+ public string IsAuto { set; get; }
+ [ExporterHeader(DisplayName = "收货仓库")]
+ public string Warehouse { set; get; }
+ [ExporterHeader(DisplayName = "收货仓库描述 ")]
+ public string WarehouseDesc { set; get; }
+ [ExporterHeader(DisplayName = "供应商")]
+ public string Supplier { set; get; }
+ [ExporterHeader(DisplayName = "发货状态")]
+ public string State { set; get; }
+
+ public HQ_F_Kanban(Guid id,string poLine, string materialCode, string materialDesc, decimal qty, string kanban, string isAuto, string warehouse, string warehouseDesc, string supplier, string state):base(id)
+ {
+ Id = id;
+ PoLine = poLine;
+ MaterialCode = materialCode;
+ MaterialDesc = materialDesc;
+ Qty = qty;
+ Kanban = kanban;
+ IsAuto = isAuto;
+ Warehouse = warehouse;
+ WarehouseDesc = warehouseDesc;
+ Supplier = supplier;
+ State = state;
+ }
+ }
+}
diff --git a/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_H/HQ_H_Kanban.cs b/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_H/HQ_H_Kanban.cs
new file mode 100644
index 00000000..5fd264c4
--- /dev/null
+++ b/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_H/HQ_H_Kanban.cs
@@ -0,0 +1,63 @@
+using Magicodes.ExporterAndImporter.Core;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Win.Sfs.Shared.DomainBase;
+
+namespace Win.Sfs.SettleAccount.Entities.HQ_F
+{
+
+ //行号
+ //零件号
+ //零件中文名称
+ //需求数
+ //已接收数
+ //订货看板编号
+ //手工或自动
+ //收货仓库
+ //收货仓库描述
+ //交货时间
+ //发货状态
+ //供应商
+
+ public class HQ_H_Kanban:FullAuditedAggregateRootBase
+ {
+ [ExporterHeader(DisplayName = "行号")]
+ public string PoLine { set; get; }
+ [ExporterHeader(DisplayName = "零件号")]
+ public string MaterialCode { set; get; }
+ [ExporterHeader(DisplayName = "零件中文名称 ")]
+ public string MaterialDesc { set; get; }
+ [ExporterHeader(DisplayName = "发货数量")]
+ public decimal Qty { get; set; }
+ [ExporterHeader(DisplayName = "订货看板编号")]
+ public string Kanban { set; get; }
+ [ExporterHeader(DisplayName = "手工或自动")]
+ public string IsAuto { set; get; }
+ [ExporterHeader(DisplayName = "收货仓库")]
+ public string Warehouse { set; get; }
+ [ExporterHeader(DisplayName = "收货仓库描述 ")]
+ public string WarehouseDesc { set; get; }
+ [ExporterHeader(DisplayName = "供应商")]
+ public string Supplier { set; get; }
+ [ExporterHeader(DisplayName = "发货状态")]
+ public string State { set; get; }
+
+ public HQ_H_Kanban(Guid id,string poLine, string materialCode, string materialDesc, decimal qty, string kanban, string isAuto, string warehouse, string warehouseDesc, string supplier, string state):base(id)
+ {
+ Id = id;
+ PoLine = poLine;
+ MaterialCode = materialCode;
+ MaterialDesc = materialDesc;
+ Qty = qty;
+ Kanban = kanban;
+ IsAuto = isAuto;
+ Warehouse = warehouse;
+ WarehouseDesc = warehouseDesc;
+ Supplier = supplier;
+ State = state;
+ }
+ }
+}
diff --git a/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_M/HQ_M_Kanban.cs b/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_M/HQ_M_Kanban.cs
new file mode 100644
index 00000000..13033f56
--- /dev/null
+++ b/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_M/HQ_M_Kanban.cs
@@ -0,0 +1,63 @@
+using Magicodes.ExporterAndImporter.Core;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Win.Sfs.Shared.DomainBase;
+
+namespace Win.Sfs.SettleAccount.Entities.HQ_F
+{
+
+ //行号
+ //零件号
+ //零件中文名称
+ //需求数
+ //已接收数
+ //订货看板编号
+ //手工或自动
+ //收货仓库
+ //收货仓库描述
+ //交货时间
+ //发货状态
+ //供应商
+
+ public class HQ_M_Kanban:FullAuditedAggregateRootBase
+ {
+ [ExporterHeader(DisplayName = "行号")]
+ public string PoLine { set; get; }
+ [ExporterHeader(DisplayName = "零件号")]
+ public string MaterialCode { set; get; }
+ [ExporterHeader(DisplayName = "零件中文名称 ")]
+ public string MaterialDesc { set; get; }
+ [ExporterHeader(DisplayName = "发货数量")]
+ public decimal Qty { get; set; }
+ [ExporterHeader(DisplayName = "订货看板编号")]
+ public string Kanban { set; get; }
+ [ExporterHeader(DisplayName = "手工或自动")]
+ public string IsAuto { set; get; }
+ [ExporterHeader(DisplayName = "收货仓库")]
+ public string Warehouse { set; get; }
+ [ExporterHeader(DisplayName = "收货仓库描述 ")]
+ public string WarehouseDesc { set; get; }
+ [ExporterHeader(DisplayName = "供应商")]
+ public string Supplier { set; get; }
+ [ExporterHeader(DisplayName = "发货状态")]
+ public string State { set; get; }
+
+ public HQ_M_Kanban(Guid id,string poLine, string materialCode, string materialDesc, decimal qty, string kanban, string isAuto, string warehouse, string warehouseDesc, string supplier, string state):base(id)
+ {
+ Id = id;
+ PoLine = poLine;
+ MaterialCode = materialCode;
+ MaterialDesc = materialDesc;
+ Qty = qty;
+ Kanban = kanban;
+ IsAuto = isAuto;
+ Warehouse = warehouse;
+ WarehouseDesc = warehouseDesc;
+ Supplier = supplier;
+ State = state;
+ }
+ }
+}
diff --git a/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS/TaskList.cs b/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS/TaskList.cs
index e33503e3..088ee487 100644
--- a/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS/TaskList.cs
+++ b/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS/TaskList.cs
@@ -55,7 +55,9 @@ namespace Win.Sfs.SettleAccount.Entities.WMS
}
-
+ ///
+ /// 准时化出库主表
+ ///
public class WmsJitOutPut : FullAuditedAggregateRootBase
{
public WmsJitOutPut()
@@ -82,7 +84,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS
///
- ///
+ /// 准时化出库明细
///
public class WmsJitOutPutDetial : FullAuditedAggregateRootBase
{
@@ -229,7 +231,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS
///
- ///
+ /// 看板明细
///
public class WmsKanbanOutPutDetial : FullAuditedAggregateRootBase
{
@@ -331,7 +333,9 @@ namespace Win.Sfs.SettleAccount.Entities.WMS
-
+ ///
+ /// 备件出库
+ ///
public class WmsSharePartOutPut : FullAuditedAggregateRootBase
{
public WmsSharePartOutPut()
@@ -358,7 +362,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS
///
- ///
+ /// 备件出库明细
///
public class WmsSharePartOutPutDetial : FullAuditedAggregateRootBase
{
@@ -452,7 +456,9 @@ namespace Win.Sfs.SettleAccount.Entities.WMS
-
+ ///
+ /// 备件无订单号出库
+ ///
public class WmsSharePartOutPutDetial2: FullAuditedAggregateRootBase
{
diff --git a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs
index 7a9b8e5f..8ea2ba70 100644
--- a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs
+++ b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs
@@ -330,12 +330,96 @@ namespace Win.Sfs.SettleAccount
builder.ConfigureWmsKanbanOutPutDetail(options);
builder.ConfigureWmsSharePartOutPutDetail(options);
builder.ConfigureWmsSharePartOutPutVersion(options);
+ builder.ConfigureHQFKanban(options);
+ builder.ConfigureHQMKanban(options);
+ builder.ConfigureHQHKanban(options);
#endregion
}
+
+
+
+
+
#region PG-派格
+ private static void ConfigureHQFKanban(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options)
+ {
+
+ builder.Entity(b =>
+ {
+
+ b.ToTable($"{options.TablePrefix}_HQ_F_Kanban", options.Schema);
+
+ b.ConfigureByConvention();
+ b.Property(x => x.Kanban).IsRequired().HasMaxLength(50);//必填项
+ b.Property(x => x.MaterialCode).HasMaxLength(50);
+ b.Property(x => x.MaterialDesc).HasMaxLength(100);
+ b.Property(x => x.PoLine).IsRequired().HasMaxLength(50);
+ b.Property(x => x.Supplier).HasMaxLength(50);
+ b.Property(x => x.Warehouse).HasMaxLength(50);
+ b.Property(x => x.WarehouseDesc).HasMaxLength(150);
+ b.Property(x => x.State).HasMaxLength(50);
+
+ //创建组合索引
+ b.HasIndex(x => new { x.Kanban, x.PoLine, x.MaterialCode });
+
+ });
+ }
+ private static void ConfigureHQMKanban(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options)
+ {
+
+ builder.Entity(b =>
+ {
+
+ b.ToTable($"{options.TablePrefix}_HQ_M_Kanban", options.Schema);
+
+ b.ConfigureByConvention();
+ b.Property(x => x.Kanban).IsRequired().HasMaxLength(50);//必填项
+ b.Property(x => x.MaterialCode).HasMaxLength(50);
+ b.Property(x => x.MaterialDesc).HasMaxLength(100);
+ b.Property(x => x.PoLine).IsRequired().HasMaxLength(50);
+ b.Property(x => x.Supplier).HasMaxLength(50);
+ b.Property(x => x.Warehouse).HasMaxLength(50);
+ b.Property(x => x.WarehouseDesc).HasMaxLength(150);
+ b.Property(x => x.State).HasMaxLength(50);
+
+
+ //创建组合索引
+ b.HasIndex(x => new { x.Kanban, x.PoLine, x.MaterialCode });
+
+ });
+ }
+ private static void ConfigureHQHKanban(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options)
+ {
+
+ builder.Entity(b =>
+ {
+
+ b.ToTable($"{options.TablePrefix}_HQ_H_Kanban", options.Schema);
+
+ b.ConfigureByConvention();
+ b.Property(x => x.Kanban).IsRequired().HasMaxLength(50);//必填项
+ b.Property(x => x.MaterialCode).HasMaxLength(50);
+ b.Property(x => x.MaterialDesc).HasMaxLength(100);
+ b.Property(x => x.PoLine).IsRequired().HasMaxLength(50);
+ b.Property(x => x.Supplier).HasMaxLength(50);
+ b.Property(x => x.Warehouse).HasMaxLength(50);
+ b.Property(x => x.WarehouseDesc).HasMaxLength(150);
+ b.Property(x => x.State).HasMaxLength(50);
+
+
+ //创建组合索引
+ b.HasIndex(x => new { x.Kanban, x.PoLine, x.MaterialCode });
+
+ });
+ }
+
+
+
+
+
///
/// 红旗工厂F平台验收结算明细-导入
///
diff --git a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/SettleSparePartExtendDapperReportRepository.cs b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/SettleSparePartExtendDapperReportRepository.cs
index 56aa3814..61bc7f3f 100644
--- a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/SettleSparePartExtendDapperReportRepository.cs
+++ b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/SettleSparePartExtendDapperReportRepository.cs
@@ -80,42 +80,44 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
}
- public virtual List GetSettleSparePartNoOrderList(string purchaseOrderNo, string version, string sapCode, string matialCode,
+ public virtual List GetSettleSparePartNoOrderList(string purchaseOrderNo, string version, string sapCode, string matialCode,
string begintime, string endtime)
{
- string sqlString = " SELECT \n" +
- " * , \n" +
- " (Price-InvoicePrice) as InvoiceDiffPrice, --单价差异 \n" +
- " ISNULL( Price * ReceiptQty-InvoiceMoney, 0 ) AS SumDiffMoney --总金额差异 \n" +
- " FROM \n" +
- " ( \n" +
- " SELECT \n" +
- " c.Period as WMSDeliveryDate,--交货日期 \n" +
- " c.WMSDeliveryNote,--交货单号 \n" +
- " c.SpareDate as OrderDate,--订单日期 \n" +
- " a.PurchaseOrderNo,--采购订单号 \n" +
- " b.MaterialCode as SAPCode,--SAP编码,即厂内物料号 \n" +
- " a.MaterialCode,--物料代码 \n" +
- " b.MaterialDesc,--物料描述 \n" +
- " a.PurchaseOrderNoText,--采购订单文本 \n" +
- " c.ReceiptQty,-- 发货数量 \n" +
- " a.InvoicedQty as InvoicedQty,--开票数量 \n" +
- " (c.ReceiptQty-d.Amt) as SettleInvoiceDiffQty,--发货与开票差异 \n" +
- " d.InvoicePrice,--开票单价 \n" +
- " 0 as InvoiceMoney --开票金额 \n" +
- " \n" +
- " FROM \n" +
- " Set_SparePart AS a \n" +
- " LEFT JOIN Set_material AS b ON a.MaterialCode= b.CustomerPartCode \n" +
- " LEFT JOIN Set_WMSSparePart c ON a.PurchaseOrderNo= c.WMSDeliveryNote \n" +
- " AND a.MaterialCode= c.MaterialCode \n" +
- " LEFT JOIN ( SELECT SUM ( amt ) / SUM ( Qty ) InvoicePrice, MaterialCode,Amt FROM set_invoice WHERE version = '{0}' GROUP BY materialcode,Amt ) d ON a.MaterialCode= d.MaterialCode \n" +
- " ) TEMP1 \n" +
- " LEFT JOIN ( SELECT Price, --定价 \n" +
- " MaterialCode --厂内物料号 \n" +
- " FROM Set_PriceList WHERE version = ( SELECT MAX ( Version ) FROM Set_PriceList ) ) TEMP2 ON TEMP1.SAPCode= TEMP2.MaterialCode ";
+
+
+ var sql = "SELECT\n" +
+ " temp1.*,\n" +
+ " Isnull( TEMP2.Price, 0 ) Price,\n" +
+ " Round( Isnull( TEMP2.Price, 0 )* InvoicedQty, 2 ) Amt \n" +
+ "FROM\n" +
+ " (\n" +
+ " SELECT\n" +
+ " a.*,\n" +
+ " b.EstimateTypeDesc MaterialGroup,\n" +
+ " b.EstimateType MaterialGroupCode,\n" +
+ " b.MaterialCode SapCode,\n" +
+ " 0 SockQty \n" +
+ " FROM\n" +
+ " (\n" +
+ " SELECT\n" +
+ " sum( ReceiptQty ) ReceiptQty,\n" +
+ " SUM( InvoicedQty ) InvoicedQty,\n" +
+ " SUM( AmountNoTax ) AmountNoTax,\n" +
+ " SUM( PurchasePriceNoTax ) PurchasePriceNoTax,\n" +
+ " MaterialCode \n" +
+ " FROM\n" +
+ " Set_SparePart \n" +
+ " WHERE\n" +
+ " Version = '{0}' \n" +
+ " GROUP BY\n" +
+ " MaterialCode \n" +
+ " ) A\n" +
+ " LEFT JOIN Set_material B ON A.MaterialCode = B.CustomerPartCode \n" +
+ " ) temp1\n" +
+ " LEFT JOIN ( SELECT Price, MaterialCode FROM Set_PriceList WHERE version = ( SELECT MAX( Version ) FROM Set_PriceList ) ) TEMP2 ON TEMP1.SAPCode = TEMP2.MaterialCode";
+
string addwhere = string.Empty;
- string addSqlStr = string.Format(sqlString, version);
+ string addSqlStr = string.Format(sql, version);
//if (!string.IsNullOrEmpty(purchaseOrderNo))
//{
// addwhere += string.Format(" AND PurchaseOrderNo LIKE '{0}%' ", purchaseOrderNo);
@@ -135,7 +137,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
string _sql = string.Format(addSqlStr, addwhere);
//string _sql = string.Format(sqlString, version);
- var _query = DbConnection.Query(_sql, null, null, true, 1200, null);
+ var _query = DbConnection.Query(_sql, null, null, true, 1200, null);
return _query.ToList();
}
@@ -144,6 +146,27 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
}
+ public class SettleSpareExtendPartExport
+ {
+
+
+ //交货日期 交货单号 订单日期 采购订单号 SAP编码 物料代码 物料描述 采购订单文本 发货数量 开票数量 发货与开票差异 开票单价 开票金额 定价 单价差异 差异总金额
+ [ExporterHeader("收货数量数量")]
+ public decimal ReceiptQty { set; get; }
+ [ExporterHeader("开票数量")]
+ public decimal InvoicedQty { set; get; }
+ [ExporterHeader("金额")]
+ public decimal AmountNoTax { set; get; }
+ [ExporterHeader("金额")]
+ public decimal PurchasePriceNoTax { set; get; }
+ public string MaterialCode { set; get; }
+ public string MaterialGroup { set; get; }
+ public string MaterialGroupCode { set; get; }
+ public string SapCode { set; get; }
+ public string SockQty { set; get; }
+ }
+
+ // ReceiptQty InvoicedQty AmountNoTax PurchasePriceNoTax MaterialCode MaterialGroup MaterialGroupCode SapCode
/////
///// 大众看板有条码报表