Commit 4da526f2 LN

新增条形码时不验证批次

1 个父辈 de730ae0
...@@ -185,7 +185,7 @@ public class BarcodeManagerImpl implements IBarcodeManager { ...@@ -185,7 +185,7 @@ public class BarcodeManagerImpl implements IBarcodeManager {
// throw new ValidateException("["+barcode.getBarcode()+"]barcode.error.partNumber.empty"); // throw new ValidateException("["+barcode.getBarcode()+"]barcode.error.partNumber.empty");
} }
if (barcode.getBatch() == null) { if (barcode.getBatch() == null) {
throw new ValidateException("smfcore.valueCanotNull","{0}不能为空",new String[]{"batch"} ); // throw new ValidateException("smfcore.valueCanotNull","{0}不能为空",new String[]{"batch"} );
// throw new ValidateException("批次不能为空"); // throw new ValidateException("批次不能为空");
} }
if (barcode.getAmount() < 0) { if (barcode.getAmount() < 0) {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!