给excel导入增加条码重复的校验

This commit is contained in:
季圣华
2022-09-27 22:09:40 +08:00
parent 4421bfafcb
commit 11834d714f
2 changed files with 71 additions and 1 deletions

View File

@@ -335,6 +335,12 @@ public class ExceptionConstants {
//盘点业务不能选择批号或序列号商品
public static final int MATERIAL_STOCK_CHECK_ERROR_CODE = 80000019;
public static final String MATERIAL_STOCK_CHECK_ERROR_MSG = "抱歉,盘点业务不能选择批号或序列号商品:%s建议走其它入库和出库单";
//EXCEL中存在重复的商品
public static final int MATERIAL_EXCEL_IMPORT_EXIST_CODE = 80000020;
public static final String MATERIAL_EXCEL_IMPORT_EXIST_MSG = "抱歉EXCEL中存在重复的商品具体信息为%s";
//EXCEL中存在重复的条码
public static final int MATERIAL_EXCEL_IMPORT_BARCODE_EXIST_CODE = 80000021;
public static final String MATERIAL_EXCEL_IMPORT_BARCODE_EXIST_MSG = "抱歉EXCEL中存在重复的条码具体条码为%s";
/**
* 单据信息