新增record_type字段区分扫码枪录入还是采购录入明细表,以及注释扫码枪代码,修改出入库移库逻辑
This commit is contained in:
@@ -162,6 +162,10 @@ public class WmsStockIoServiceImpl implements IWmsStockIoService {
|
||||
throw new RuntimeException("单据明细不能为空");
|
||||
}
|
||||
for (WmsStockIoDetail detail : details) {
|
||||
// 新增:扫码枪录入(recordType==1)时不做任何库存操作
|
||||
if (detail.getRecordType() != null && detail.getRecordType() == 1) {
|
||||
continue;
|
||||
}
|
||||
String ioType = stockIo.getIoType();
|
||||
if ("in".equals(ioType)) {
|
||||
// 入库:目标库位库存增加
|
||||
|
||||
Reference in New Issue
Block a user