|
|
@@ -208,6 +208,9 @@ public abstract class BasicBill {
|
|
|
if (!issale) {
|
|
|
invbalInsert.setValue("cansaleqty", qty.doubleValue());//可销售数量
|
|
|
invbalInsert.setValue("candispatchqty", qty.doubleValue());//可发货数量
|
|
|
+ }else{
|
|
|
+ invbalInsert.setValue("cansaleqty", 0);//可销售数量
|
|
|
+ invbalInsert.setValue("candispatchqty", 0);//可发货数量
|
|
|
}
|
|
|
invbalInsert.setValue("qty", qty.doubleValue());//库存数量
|
|
|
sqlList.add(invbalInsert.getSQL());
|