出库单计算金额填平逻辑优化,添加规格型号筛选条件
This commit is contained in:
parent
5bd8683140
commit
3b2f145c47
|
|
@ -161,6 +161,7 @@ public class MaterialOutBillPlugin extends AbstractBillPlugIn implements BeforeF
|
||||||
}
|
}
|
||||||
qFilters.and(new QFilter("org", QCP.equals, org.getPkValue()));//即时库存-所属组织
|
qFilters.and(new QFilter("org", QCP.equals, org.getPkValue()));//即时库存-所属组织
|
||||||
qFilters.and(new QFilter("material", QCP.equals, material.getPkValue()));//即时库存-资源名称
|
qFilters.and(new QFilter("material", QCP.equals, material.getPkValue()));//即时库存-资源名称
|
||||||
|
qFilters.and(new QFilter("modelnum", QCP.equals, dataEntity.getString("modelnum")));//即时库存-规格型号
|
||||||
DynamicObject ecma_matinventory = BusinessDataServiceHelper.loadSingle("ecma_matinventory", new QFilter[]{qFilters});//即时库存
|
DynamicObject ecma_matinventory = BusinessDataServiceHelper.loadSingle("ecma_matinventory", new QFilter[]{qFilters});//即时库存
|
||||||
if (ecma_matinventory != null) {
|
if (ecma_matinventory != null) {
|
||||||
BigDecimal qty = ecma_matinventory.getBigDecimal("qty");//即时库存-可用数量
|
BigDecimal qty = ecma_matinventory.getBigDecimal("qty");//即时库存-可用数量
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue