57 lines
3.7 KiB
C#
57 lines
3.7 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.Text;
|
||
|
||
namespace WMS.Web.Domain.Values
|
||
{
|
||
/// <summary>
|
||
/// 错误提示信息
|
||
/// </summary>
|
||
public partial class ResultCodes
|
||
{
|
||
public static ValueTuple<int, string> Erp_Login_Error = (1001, "同步金蝶登录错误,请稍候再试");
|
||
|
||
public static ValueTuple<int, string> Erp_BillQuery_Error = (1002, "同步金蝶数据出错,请稍等再试");
|
||
/// <summary>
|
||
/// 无效
|
||
/// </summary>
|
||
public static ValueTuple<int, string> Token_Invalid_Error = (401, "验证Token无效,请重新登录");
|
||
/// <summary>
|
||
/// 数据操作失败
|
||
/// </summary>
|
||
public static ValueTuple<int, string> DateWriteError = (40004, "数据操作失败");
|
||
public static ValueTuple<int, string> NoDateError = (40005, "数据不存在");
|
||
|
||
//出库任务单
|
||
public static ValueTuple<int, string> MergeStatusError = (70000, "所选单据数据不一致,不能合并");
|
||
public static ValueTuple<int, string> OutStockQtyError = (70001, "可出库数量不足");
|
||
public static ValueTuple<int, string> OutStockTaskNoData = (70002, "出库任务数据不存在");
|
||
public static ValueTuple<int, string> OutStockMaterialError = (70003, "出库物料在任务单中不存在");
|
||
public static ValueTuple<int, string> OutStockTaskAlready = (70004, "任务单已全部出库");
|
||
public static ValueTuple<int, string> OutStockTaskRepeal = (70005, "任务单已作废");
|
||
public static ValueTuple<int, string> MergeNumberError = (70006, "必须选择两个及以上的单合并");
|
||
|
||
public static ValueTuple<int, string> BoxNoData = (80000, "箱信息不存在");
|
||
public static ValueTuple<int, string> BoxMateriaNoData = (800010, "箱对应物料信息不存在");
|
||
public static ValueTuple<int, string> MateriaNoData = (800011, "物料信息不存在");
|
||
|
||
public static ValueTuple<int, string> ErpStockNoData = (900000, "Erp仓库信息不完整");
|
||
public static ValueTuple<int, string> Box_NoBind_Task_Data = (80001, "该箱号不在收货信息中,请核对再试!");
|
||
public static ValueTuple<int, string> OrderNoData = (80002, "单据信息不存在,请核对后再试!");
|
||
public static ValueTuple<int, string> ContrastError = (80003, "箱物料对应的采购订单匹配失败,请核对后再试!");
|
||
|
||
public static ValueTuple<int, string> ErpOrgError = (80004, "获取Erp相关组织数据失败,请稍候再试!");
|
||
public static ValueTuple<int, string> ErpSupplierError = (80005, "获取Erp相关供应商数据失败,请稍候再试!");
|
||
public static ValueTuple<int, string> ErpStockError = (80006, "获取Erp相关仓库数据失败,请稍候再试!");
|
||
public static ValueTuple<int, string> ErpMaterialError = (80007, "获取Erp相关物料数据失败,请稍候再试!");
|
||
public static ValueTuple<int, string> BoxHaveError = (80008, "该箱信息已被记录,请重新选择箱号!");
|
||
public static ValueTuple<int, string> AdjustError = (80009, "与金蝶校准发生错误,请稍候再试!");
|
||
public static ValueTuple<int, string> InventoryNoSourceError = (800010, "来源数据不存在,请稍候再试!");
|
||
public static ValueTuple<int, string> BoxInventoryNoDataError = (800011, "箱库存数据不存在,请稍候再试!");
|
||
public static ValueTuple<int, string> BoxInventoryNoInventoryError = (800012, "箱库存物料数量不足,请核对后再试!");
|
||
public static ValueTuple<int, string> BoxInventoryHaveInventoryError = (800013, "该箱库存已经存在,请核对后再试!");
|
||
|
||
|
||
}
|
||
}
|