1.退货补货改变数量
This commit is contained in:
parent
c41673bc18
commit
446c2e9067
|
|
@ -211,14 +211,10 @@ public class PurOrderPushPurRefundConverPlugin extends AbstractConvertPlugIn imp
|
|||
if (StringUtils.equals(inwarebillentryid, id)) {
|
||||
BigDecimal qty2 = dynamicObject1.getBigDecimal("qty");
|
||||
BigDecimal add = qty2.add(qty1);
|
||||
if (add.compareTo(BigDecimal.ZERO) > 0) {
|
||||
dynamicObject1.set("tqq9_inwarebillentryqty", add);
|
||||
dynamicObject1.set("tqq9_maxqty", add);
|
||||
dynamicObject1.set("qty", add);
|
||||
dynamicObject1.set("baseqty", add);
|
||||
} else if (add.compareTo(BigDecimal.ZERO) == 0) {
|
||||
iterator.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue