销售出库保存校验中去掉应发数量的判断

This commit is contained in:
mzr 2025-05-26 17:04:52 +08:00
parent 4f1701c12d
commit ceb154b03e
1 changed files with 2 additions and 2 deletions

View File

@ -91,10 +91,10 @@ public class saveBeforeCheck implements IBusinessListener {
String ntotaloutnums = (ntotaloutnumsObj != null) ? ntotaloutnumsObj.toString() : ""; String ntotaloutnums = (ntotaloutnumsObj != null) ? ntotaloutnumsObj.toString() : "";
double ntotaloutnum = (ntotaloutnums.isEmpty()) ? 0 : Double.parseDouble(ntotaloutnums);// 累计出库主数量 double ntotaloutnum = (ntotaloutnums.isEmpty()) ? 0 : Double.parseDouble(ntotaloutnums);// 累计出库主数量
if (sQty < (ntotaloutnum + bdnum)) { /*if (sQty < (ntotaloutnum + bdnum)) {
throw new BusinessException("销售出库单明细" + (i + 1) + ",累计出库应发数量'" + (ntotaloutnum + bdnum) throw new BusinessException("销售出库单明细" + (i + 1) + ",累计出库应发数量'" + (ntotaloutnum + bdnum)
+ "'大于销售订单累计发货申请数量'" + sQty + "',无法保存!"); + "'大于销售订单累计发货申请数量'" + sQty + "',无法保存!");
} }*/
// 实发数量判断 // 实发数量判断
UFDouble bdsfnumUF = vo.getNassistnum();// 本单实发数量 UFDouble bdsfnumUF = vo.getNassistnum();// 本单实发数量
double bdsfnum = 0; double bdsfnum = 0;