Commit b4b3ffb9 zshaohui

料盒中放入料盘数量

1 个父辈 5e8b68f6
......@@ -400,7 +400,6 @@ public class MaterialBoxController {
if(barcode==null){
throw new ValidateException("smfcore.materialBox.invalid", "未找到料盒信息{0}", new String[]{code});
}
//用+或-分割,如果最后几位是数量,按手动输入处理
String[] codeArray = operageStr.split(" -");
String pnStr = operageStr;
......@@ -415,6 +414,9 @@ public class MaterialBoxController {
throw new ValidateException("smfcore.materialBox.qtyError", "请输入正确的数量" );
}
//料盒中放入料盘数量
int amount = barcode.getAmount();
barcode.setAmount(amount + opQty);
// if(opType != OP.NON_OP){
//手动输入,按PN来处理
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!