Merge branch 'master' of https://codeup.aliyun.com/62ce7bca487c500c27f70a79/OPS/WMS-Api
This commit is contained in:
Binary file not shown.
@@ -3526,6 +3526,11 @@
|
|||||||
物料规格型号
|
物料规格型号
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="P:WMS.Web.Core.Dto.OutStock.OutStockQueryInfoResponse.Unit">
|
||||||
|
<summary>
|
||||||
|
单位
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="P:WMS.Web.Core.Dto.OutStock.OutStockQueryInfoResponse.Stock">
|
<member name="P:WMS.Web.Core.Dto.OutStock.OutStockQueryInfoResponse.Stock">
|
||||||
<summary>
|
<summary>
|
||||||
仓库ID
|
仓库ID
|
||||||
@@ -3906,7 +3911,7 @@
|
|||||||
仓位
|
仓位
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="P:WMS.Web.Core.Dto.TakeStock.TakeStockQueryInfoResponse.Erp_SubStockCode">
|
<member name="P:WMS.Web.Core.Dto.TakeStock.TakeStockQueryInfoResponse.Erp_SubStock">
|
||||||
<summary>
|
<summary>
|
||||||
子仓库
|
子仓库
|
||||||
</summary>
|
</summary>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using System;
|
using Npoi.Mapper.Attributes;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
@@ -12,46 +13,57 @@ namespace WMS.Web.Core.Dto.ChangeBoxRecord
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 单据编号
|
/// 单据编号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("单据号")]
|
||||||
public string BillNo { get; set; }
|
public string BillNo { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 物料名称
|
/// 物料名称
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("物料名称")]
|
||||||
public string MaterialName { get; set; }
|
public string MaterialName { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 物料编码
|
/// 物料编码
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("物料编码")]
|
||||||
public string MaterialNumber { get; set; }
|
public string MaterialNumber { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 物料规格型号
|
/// 物料规格型号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("规格型号")]
|
||||||
public string Specifications { get; set; }
|
public string Specifications { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 序列号
|
/// 序列号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("序列号")]
|
||||||
public string SerialNumbers { get; set; }
|
public string SerialNumbers { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 原箱子
|
/// 原箱子
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("原箱号")]
|
||||||
public string SrcBox { get; set; }
|
public string SrcBox { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 目标箱子
|
/// 目标箱子
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("目标箱号")]
|
||||||
public string DestBox { get; set; }
|
public string DestBox { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 原仓位
|
/// 原仓位
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("原仓位")]
|
||||||
public string SrcSubStock { get; set; }
|
public string SrcSubStock { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 目标仓位
|
/// 目标仓位
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("现仓位")]
|
||||||
public string DestSubStock { get; set; }
|
public string DestSubStock { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 操作人
|
/// 操作人
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("操作人")]
|
||||||
public string Creator { get; set; }
|
public string Creator { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 操作时间
|
/// 操作时间
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("操作时间")]
|
||||||
public string CreateTime { get; set; }
|
public string CreateTime { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using System;
|
using Npoi.Mapper.Attributes;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
@@ -9,34 +10,42 @@ namespace WMS.Web.Core.Dto.MoveBoxRecord
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 单据编号
|
/// 单据编号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("单据号")]
|
||||||
public string BillNo { get; set; }
|
public string BillNo { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 箱号
|
/// 箱号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("箱号")]
|
||||||
public string Box { get; set; }
|
public string Box { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 原仓位
|
/// 原仓位
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("原仓位")]
|
||||||
public string SrcSubStock { get; set; }
|
public string SrcSubStock { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 目标仓位
|
/// 目标仓位
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("新仓位")]
|
||||||
public string DestSubStock { get; set; }
|
public string DestSubStock { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 数量
|
/// 数量
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("数量")]
|
||||||
public decimal Qty { get; set; }
|
public decimal Qty { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 类型:整箱移货上级,整箱移货下级
|
/// 类型:整箱移货上级,整箱移货下级
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("操作类型")]
|
||||||
public string Type { get; set; }
|
public string Type { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 操作人
|
/// 操作人
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("操作人")]
|
||||||
public string Creator { get; set; }
|
public string Creator { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 操作时间
|
/// 操作时间
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("操作时间")]
|
||||||
public string CreateTime { get; set; }
|
public string CreateTime { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using System;
|
using Npoi.Mapper.Attributes;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
@@ -12,67 +13,87 @@ namespace WMS.Web.Core.Dto.OutStock
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 主键 订单编号
|
/// 主键 订单编号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Ignore]
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 单据编号
|
/// 单据编号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("出库单号")]
|
||||||
public string BillNo { get; set; }
|
public string BillNo { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 单据类型
|
/// 单据类型
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("出库类型")]
|
||||||
public string Type { get; set; }
|
public string Type { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 创建人
|
/// 创建人
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("创建人")]
|
||||||
public string Creator { get; set; }
|
public string Creator { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 创建时间(出库时间)
|
/// 创建时间(出库时间)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("出库时间")]
|
||||||
public string CreateTime { get; set; }
|
public string CreateTime { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 同步成功或者失败 null 就是未同步
|
/// 同步成功或者失败 null 就是未同步
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool? SuccessSync { get; set; }
|
[Column("金蝶同步状态")]
|
||||||
|
public string SuccessSync { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 来源单号
|
/// 来源单号
|
||||||
///</summary>
|
///</summary>
|
||||||
|
[Column("来源单号")]
|
||||||
public string SourceBillNo { get; set; }
|
public string SourceBillNo { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 销售订单号
|
/// 销售订单号
|
||||||
///</summary>
|
///</summary>
|
||||||
|
[Column("销售订单号")]
|
||||||
public string SaleBillNo { get; set; }
|
public string SaleBillNo { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 发货组织
|
/// 发货组织
|
||||||
///</summary>
|
///</summary>
|
||||||
|
[Column("发货组织")]
|
||||||
public string DeliveryOrg { get; set; }
|
public string DeliveryOrg { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 收货客户
|
/// 收货客户
|
||||||
///</summary>
|
///</summary>
|
||||||
|
[Column("收货客户")]
|
||||||
public string ReceiptCustomer { get; set; }
|
public string ReceiptCustomer { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 物料名称
|
/// 物料名称
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("物料名称")]
|
||||||
public string MaterialName { get; set; }
|
public string MaterialName { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 物料编码
|
/// 物料编码
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("物料编码")]
|
||||||
public string MaterialNumber { get; set; }
|
public string MaterialNumber { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 物料规格型号
|
/// 物料规格型号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("规格型号")]
|
||||||
public string Specifications { get; set; }
|
public string Specifications { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
/// 单位
|
||||||
|
/// </summary>
|
||||||
|
[Column("单位")]
|
||||||
|
public string Unit { get; set; }
|
||||||
|
/// <summary>
|
||||||
/// 仓库ID
|
/// 仓库ID
|
||||||
///</summary>
|
///</summary>
|
||||||
|
[Column("仓库")]
|
||||||
public string Stock { get; set; }
|
public string Stock { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 出库数量
|
/// 出库数量
|
||||||
///</summary>
|
///</summary>
|
||||||
|
[Column("出库数量")]
|
||||||
public decimal Qty { get; set; }
|
public decimal Qty { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 备注
|
/// 备注
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("备注")]
|
||||||
public string Remark { get; set; }
|
public string Remark { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using System;
|
using Npoi.Mapper.Attributes;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
@@ -16,54 +17,67 @@ namespace WMS.Web.Core.Dto.TakeStock
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 单据编号
|
/// 单据编号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("盘盈亏单号")]
|
||||||
public string BillNo { get; set; }
|
public string BillNo { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 盘点日期
|
/// 盘点日期
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("盘点日期")]
|
||||||
public string Date { get; set; }
|
public string Date { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 盘点人员
|
/// 盘点人员
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("盘点人")]
|
||||||
public string Creator { get; set; }
|
public string Creator { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 金蝶同步成功或者失败 null 就是未同步
|
/// 金蝶同步成功或者失败 null 就是未同步
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool? SuccessSync { get; set; }
|
[Column("金蝶同步状态")]
|
||||||
|
public string SuccessSync { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 单位
|
/// 单位
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("单位")]
|
||||||
public string Unit { get; set; }
|
public string Unit { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 仓库
|
/// 仓库
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("仓库")]
|
||||||
public string Stock { get; set; }
|
public string Stock { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 仓位
|
/// 仓位
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("仓位")]
|
||||||
public string SubStock { get; set; }
|
public string SubStock { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 子仓库
|
/// 子仓库
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string Erp_SubStockCode { get; set; }
|
[Column("子仓库")]
|
||||||
|
public string Erp_SubStock { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 盘点前数量(wms系统数量)
|
/// 盘点前数量(wms系统数量)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("WMS系统数量")]
|
||||||
public decimal BeforeQty { get; set; }
|
public decimal BeforeQty { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 盘点实际数量(实际仓库数量)
|
/// 盘点实际数量(实际仓库数量)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("实际仓库数量")]
|
||||||
public decimal AfterQty { get; set; }
|
public decimal AfterQty { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 盘点后数量
|
/// 盘点后数量
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("此次盘点数量")]
|
||||||
public decimal FinalQty { get; set; }
|
public decimal FinalQty { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 盘点结果类型:1为盘盈,2位盘亏
|
/// 盘点结果类型:1为盘盈,2位盘亏
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("盘点结果")]
|
||||||
public string ResultType { get; set; }
|
public string ResultType { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 备注
|
/// 备注
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Column("备注")]
|
||||||
public string Remark { get; set; }
|
public string Remark { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ namespace WMS.Web.Repositories
|
|||||||
Type = s.order.Type.GetRemark(),
|
Type = s.order.Type.GetRemark(),
|
||||||
Creator = _singleDataService.GetSingleData(SingleAction.Staffs, _loginRepositories.CompanyId, s.order.CreatorId),
|
Creator = _singleDataService.GetSingleData(SingleAction.Staffs, _loginRepositories.CompanyId, s.order.CreatorId),
|
||||||
CreateTime = s.order.CreateTime.DateToStringSeconds(),
|
CreateTime = s.order.CreateTime.DateToStringSeconds(),
|
||||||
SuccessSync = s.order.SuccessSync,
|
SuccessSync = s.order.SuccessSync == true ? "成功" : "失败",
|
||||||
Stock = _singleDataService.GetSingleData(SingleAction.Stocks, _loginRepositories.CompanyId, s.detail.StockCode),
|
Stock = _singleDataService.GetSingleData(SingleAction.Stocks, _loginRepositories.CompanyId, s.detail.StockCode),
|
||||||
SourceBillNo = string.Join(",", s.detail.ErpDetails.Select(s => s.SourceBillNo)),
|
SourceBillNo = string.Join(",", s.detail.ErpDetails.Select(s => s.SourceBillNo)),
|
||||||
SaleBillNo = string.Join(",", s.detail.ErpDetails.Select(s => s.SaleBillNo)),
|
SaleBillNo = string.Join(",", s.detail.ErpDetails.Select(s => s.SaleBillNo)),
|
||||||
@@ -170,6 +170,7 @@ namespace WMS.Web.Repositories
|
|||||||
MaterialNumber = _erpBasicDataExtendService.GetMaterialNumber(materials, s.detail.MaterialId),
|
MaterialNumber = _erpBasicDataExtendService.GetMaterialNumber(materials, s.detail.MaterialId),
|
||||||
Specifications = _erpBasicDataExtendService.GetMaterialSpecifications(materials, s.detail.MaterialId),
|
Specifications = _erpBasicDataExtendService.GetMaterialSpecifications(materials, s.detail.MaterialId),
|
||||||
Qty = s.detail.Qty,
|
Qty = s.detail.Qty,
|
||||||
|
Unit = _erpBasicDataExtendService.GetMaterialUnitName(materials, s.detail.MaterialId),
|
||||||
Remark = s.order.Remark
|
Remark = s.order.Remark
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ namespace WMS.Web.Repositories
|
|||||||
Unit = _erpBasicDataExtendService.GetMaterialUnitName(materials, s.MaterialId),
|
Unit = _erpBasicDataExtendService.GetMaterialUnitName(materials, s.MaterialId),
|
||||||
Stock = _singleDataService.GetSingleData(SingleAction.Stocks, _loginRepositories.CompanyId, s.StockCode),
|
Stock = _singleDataService.GetSingleData(SingleAction.Stocks, _loginRepositories.CompanyId, s.StockCode),
|
||||||
SubStock = _singleDataService.GetSingleData(SingleAction.SubStocks, _loginRepositories.CompanyId, s.SubStockId),
|
SubStock = _singleDataService.GetSingleData(SingleAction.SubStocks, _loginRepositories.CompanyId, s.SubStockId),
|
||||||
Erp_SubStockCode= _erpBasicDataExtendService.GetStockName(subStocks, s.Erp_SubStockId),
|
Erp_SubStock= _erpBasicDataExtendService.GetStockName(subStocks, s.Erp_SubStockId),
|
||||||
BeforeQty = s.BeforeQty,
|
BeforeQty = s.BeforeQty,
|
||||||
AfterQty = s.AfterQty,
|
AfterQty = s.AfterQty,
|
||||||
FinalQty = s.FinalQty,
|
FinalQty = s.FinalQty,
|
||||||
@@ -206,7 +206,7 @@ namespace WMS.Web.Repositories
|
|||||||
Remark = s.Remark,
|
Remark = s.Remark,
|
||||||
Creator = _singleDataService.GetSingleData(SingleAction.Staffs, _loginRepositories.CompanyId, s.CreatorId),
|
Creator = _singleDataService.GetSingleData(SingleAction.Staffs, _loginRepositories.CompanyId, s.CreatorId),
|
||||||
Date = s.Date.DateToStringSeconds(),
|
Date = s.Date.DateToStringSeconds(),
|
||||||
SuccessSync = s.SuccessSync
|
SuccessSync = s.SuccessSync==true?"成功":"失败",
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
}).Skip((dto.PageNo - 1) * dto.PageSize).Take(dto.PageSize).ToListAsync();
|
}).Skip((dto.PageNo - 1) * dto.PageSize).Take(dto.PageSize).ToListAsync();
|
||||||
|
|||||||
Reference in New Issue
Block a user