diff --git a/Vue.Net/VOL.WMS/Services/WMS/Partial/VW_OP_WMS_IMPORTService.cs b/Vue.Net/VOL.WMS/Services/WMS/Partial/VW_OP_WMS_IMPORTService.cs index 394f687c..9dd49828 100644 --- a/Vue.Net/VOL.WMS/Services/WMS/Partial/VW_OP_WMS_IMPORTService.cs +++ b/Vue.Net/VOL.WMS/Services/WMS/Partial/VW_OP_WMS_IMPORTService.cs @@ -44,6 +44,13 @@ namespace VOL.WMS.Services return _webResponseContent.SaveAndError(errmsg); } + if (string.IsNullOrWhiteSpace(item.CORPNAME)) + { + var errmsg = $"第{infoList.IndexOf(item) + 1}行[{item.MBLNO}]的公司简称未填写"; + return _webResponseContent.SaveAndError(errmsg); + } + + item.STORAGENAME = item.STORAGENAME.Trim(); item.AREANAME = item.AREANAME.Trim(); }