询价单二开
# Conflicts: # src/main/java/com/yem/wm/im/inquirylist/form/InquirylistEdit.java
This commit is contained in:
parent
e7c5b43607
commit
12a633c0d4
@ -242,7 +242,9 @@ public class InquirylistEdit extends AbstractBillPlugIn implements BeforeF7Selec
|
|||||||
if (yemProductmodel!=null){
|
if (yemProductmodel!=null){
|
||||||
DynamicObject yemProducts = yemProductmodel.getDynamicObject("yem_products");
|
DynamicObject yemProducts = yemProductmodel.getDynamicObject("yem_products");
|
||||||
if (yemProducts!=null){
|
if (yemProducts!=null){
|
||||||
BigDecimal yemCostdifference = yemProducts.getBigDecimal("yem_costdifference");
|
DynamicObject loadSingle = BusinessDataServiceHelper.loadSingle("yem_bd_productstree", "id,number,yem_costdifference"
|
||||||
|
, new QFilter[]{new QFilter("id", QCP.equals, yemProducts.getLong("id"))});
|
||||||
|
BigDecimal yemCostdifference = loadSingle.getBigDecimal("yem_costdifference");
|
||||||
this.getModel().setValue("yem_unitprice",yemQingdaounitprice.subtract(yemCostdifference), rowIndex);
|
this.getModel().setValue("yem_unitprice",yemQingdaounitprice.subtract(yemCostdifference), rowIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user