添加物品单位和基础单位副单位不一致的判断

This commit is contained in:
qiankunpingtai
2019-06-14 14:25:06 +08:00
parent 5a93cd472f
commit 0d6c24d522
2 changed files with 54 additions and 49 deletions

View File

@@ -278,6 +278,9 @@ public class ExceptionConstants {
//商品库存不足
public static final int MATERIAL_STOCK_NOT_ENOUGH_CODE = 8000004;
public static final String MATERIAL_STOCK_NOT_ENOUGH_MSG = "商品:%s库存不足";
//商品单位不正确
public static final int MATERIAL_UNIT_NOT_RIGHT_CODE = 8000005;
public static final String MATERIAL_UNIT_NOT_RIGHT_MSG = "商品:%s单位不正确使用单位:%s基础单位%s副单位%s";
/**
* 单据信息
* type = 85