提示语修改
This commit is contained in:
@@ -191,7 +191,8 @@ namespace WMS.Web.Domain.Services
|
||||
//判断箱不存在所选的物料
|
||||
var isAnyHave = box.Details.Any(x => x.MaterialNumber == dto.MaterialNumber);
|
||||
if (!isAnyHave)
|
||||
return Result<BoxInStockTaskDto>.ReFailure(box.BoxBillNo + ResultCodes.BoxNoMaterialError.Item2, ResultCodes.BoxNoMaterialError.Item1);
|
||||
return Result<BoxInStockTaskDto>.ReFailure(ResultCodes.BoxMaterialQtyAndPurchase_Error);
|
||||
//return Result<BoxInStockTaskDto>.ReFailure(box.BoxBillNo + ResultCodes.BoxNoMaterialError.Item2, ResultCodes.BoxNoMaterialError.Item1);
|
||||
|
||||
//1.获取物料集合
|
||||
var materials_result = await _erpService.BillQueryForMaterial();
|
||||
|
||||
@@ -58,6 +58,7 @@ namespace WMS.Web.Domain.Values
|
||||
public static ValueTuple<int, string> OrderNoData = (80002, "单据信息不存在,请核对后再试!");
|
||||
public static ValueTuple<int, string> ContrastError = (80003, "箱内产品和数量与来源单不一致");
|
||||
public static ValueTuple<int, string> Contrast_Purchase_Error = (80003, "箱内产品和数量与采购单不一致");
|
||||
public static ValueTuple<int, string> BoxMaterialQtyAndPurchase_Error = (80003, "箱内产品和数量与采购单不一致");
|
||||
public static ValueTuple<int, string> Contrast_Purchase_Count_Error = (80003, "箱内产品和采购单不一致");
|
||||
public static ValueTuple<int, string> Contrast_Count_Error = (80003, "箱内产品和来源单不一致");
|
||||
public static ValueTuple<int, string> Contrast_Qty_Error = (80003, "箱内产品数量超过可入库数量");
|
||||
|
||||
Reference in New Issue
Block a user