增加盘点 erp同步

This commit is contained in:
18942506660
2023-11-02 11:42:47 +08:00
parent 53da585693
commit 69cc15d9e4
9 changed files with 197 additions and 16 deletions

View File

@@ -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>

View 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; }
}
}

View File

@@ -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; }
}
}