fix【【轨迹中台】kpi预警新增预警因素销售产品限制不能输入中文】
https://www.tapd.cn/60863849/bugtrace/bugs/view/1160863849001049573
This commit is contained in:
parent
25fc75138a
commit
5a9f9fa667
@ -134,6 +134,11 @@ public class ForewarningHelper
|
|||||||
throw new BusinessException(message: "产品代码只接收字符串");
|
throw new BusinessException(message: "产品代码只接收字符串");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!StringHelper.IsValidEnglishString(value.ToString()))
|
||||||
|
{
|
||||||
|
throw new BusinessException(message: "产品代码只能的英文字符");
|
||||||
|
}
|
||||||
|
|
||||||
rules[row].ProductCode = strValue;
|
rules[row].ProductCode = strValue;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user