增加盘点 erp同步
This commit is contained in:
@@ -10,11 +10,16 @@ namespace WMS.Web.Core.Dto.Erp
|
||||
/// </summary>
|
||||
public class ErpSave<T>
|
||||
{
|
||||
public ErpSave(string formId,T model)
|
||||
{
|
||||
this.FormId = formId;
|
||||
this.Model = model;
|
||||
}
|
||||
/// <summary>
|
||||
/// 校验Json数据包是否重复传入,一旦重复传入,接口调用失败,默认false(非必录)
|
||||
/// 业务对象表单Id(必录)
|
||||
/// </summary>
|
||||
[JsonProperty("ValidateRepeatJson")]
|
||||
public bool ValidateRepeatJson { get; set; } = false;
|
||||
[JsonProperty("FormId")]
|
||||
public string FormId { get; set; }
|
||||
/// <summary>
|
||||
/// 单据体
|
||||
/// </summary>
|
||||
28
src/WMS.Web.Core/Dto/Erp/ErpSubmitDto.cs
Normal file
28
src/WMS.Web.Core/Dto/Erp/ErpSubmitDto.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace WMS.Web.Core.Dto.Erp
|
||||
{
|
||||
/// <summary>
|
||||
/// erp 提交和审核
|
||||
/// </summary>
|
||||
public class ErpSubmitDto
|
||||
{
|
||||
public ErpSubmitDto(string formId, string id)
|
||||
{
|
||||
this.FormId = formId;
|
||||
this.Ids = id;
|
||||
}
|
||||
/// <summary>
|
||||
/// 业务对象表单Id(必录)
|
||||
/// </summary>
|
||||
[JsonProperty("FormId")]
|
||||
public string FormId { get; set; }
|
||||
/// <summary>
|
||||
/// 单据Id
|
||||
/// </summary>
|
||||
public string Ids { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -22,8 +22,8 @@ namespace WMS.Web.Core.Dto.Erp
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// 业务组织(使用组织)编码
|
||||
/// 业务组织(使用组织)
|
||||
/// </summary>
|
||||
public string OrgCode { get; set; }
|
||||
public int OrgId { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user