diff --git a/ds-wms-service/DS.WMS.Core/Op/EDI/VOLTAEdiHelper.cs b/ds-wms-service/DS.WMS.Core/Op/EDI/VOLTAEdiHelper.cs index fbf45830..4dbdc15a 100644 --- a/ds-wms-service/DS.WMS.Core/Op/EDI/VOLTAEdiHelper.cs +++ b/ds-wms-service/DS.WMS.Core/Op/EDI/VOLTAEdiHelper.cs @@ -444,6 +444,21 @@ namespace DS.WMS.Core.Op.EDI } } + if (InttrEdi.filetype == "B" && !string.IsNullOrWhiteSpace(headData.EDIREMARK)) + { + if (StringIsChinese(headData.EDIREMARK)) + { + error = error + "
提单号:" + headData.MBLNO + " 订舱备注含有中文或双字节字符"; + } + } + else if (InttrEdi.filetype == "E" && !string.IsNullOrWhiteSpace(headData.SIREMARK)) + { + if (StringIsChinese(headData.SIREMARK)) + { + error = error + "
提单号:" + headData.MBLNO + " 截单备注含有中文或双字节字符"; + } + } + if (!new string[] { "ORI", "TER", "EXP" }.Contains(headData.ISSUETYPE)) { error = error + "
提单号:" + headData.MBLNO + "签单方式未识别";