采购上架入库加了为空限制
This commit is contained in:
Binary file not shown.
@@ -195,10 +195,14 @@ namespace WMS.Web.Domain.Services
|
||||
{
|
||||
t = InstockType.ProduceSotck;
|
||||
}
|
||||
else if(instock.instockType=="")
|
||||
{
|
||||
return Result.ReFailure(ResultCodes.ShelfNoPurchaseSave_InstokType_Error);
|
||||
}
|
||||
else
|
||||
{
|
||||
t = InstockType.Purchase;
|
||||
}
|
||||
t = InstockType.Purchase;
|
||||
}
|
||||
|
||||
|
||||
var save_result = await this.ShelfSave(instock, t, loginInfo, isTransaction);
|
||||
|
||||
@@ -25,6 +25,7 @@ namespace WMS.Web.Domain.Values
|
||||
public static ValueTuple<int, string> SourceBillNoDateError = (40005, "来源单不存在,请核对后再试");
|
||||
|
||||
public static ValueTuple<int, string> Concurrent_Instock = (80005, "该来源单正在处理中");
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 没有菜单权限,无法登录
|
||||
@@ -83,7 +84,7 @@ namespace WMS.Web.Domain.Values
|
||||
public static ValueTuple<int, string> InventoryDetailsWriteError = (800014, "写入即时库存明细失败!");
|
||||
public static ValueTuple<int, string> MoveInventoryError = (800015, "箱已经上架,不能重复上架");
|
||||
public static ValueTuple<int, string> BoxInventoryChangeBoxError = (800016, "箱已上架不支持再次装箱");
|
||||
|
||||
public static ValueTuple<int, string> ShelfNoPurchaseSave_InstokType_Error = (80017, "类型不能为空值");
|
||||
|
||||
public static ValueTuple<int, string> SerialNumbersNoData = (610000, "序列号不存在");
|
||||
public static ValueTuple<int, string> SerialNumbersBoxError = (610002, "序列号已经绑定箱");
|
||||
|
||||
Reference in New Issue
Block a user