领料申请单添加剩余未出库数量赋值逻辑

This commit is contained in:
xuhaihui 2025-06-16 14:22:50 +08:00
parent 21c89b05a5
commit 7f998886a3
1 changed files with 2 additions and 1 deletions

View File

@ -773,7 +773,8 @@ public class MaterialApplyBillPluginExt extends AbstractEcmaBillPlugin implement
}
this.getModel().setValue("price", priceNum, rowIndex);
// this.getModel().setValue("qty", qty, rowIndex);
// this.getModel().setValue("qty", qty, rowIndex);//申请数量//二开注释掉的
this.getModel().setValue("restqty", qty, rowIndex);//剩余未出库数量//二开添加
this.getModel().setValue("matinventory", materialInventory.getPkValue(), rowIndex);
++rowIndex;
}