fix:折扣率计算(价格条款)
This commit is contained in:
parent
13c3d63ac2
commit
e039cda4b4
@ -320,9 +320,9 @@ public class SalesOrderPJEdit extends AbstractBillPlugIn implements Plugin, Befo
|
|||||||
case "yem_disamt"://折扣金额
|
case "yem_disamt"://折扣金额
|
||||||
ClientUtils.countFrontDisAmt(model, rowIndex);//折扣前金额
|
ClientUtils.countFrontDisAmt(model, rowIndex);//折扣前金额
|
||||||
ClientUtils.countAfterFrontAmt(model, rowIndex);//计算折扣后销售金额
|
ClientUtils.countAfterFrontAmt(model, rowIndex);//计算折扣后销售金额
|
||||||
ClientUtils.countPoolAmt(view, model, "yem_es_materialinfo");//汇总折扣金额使用金额
|
|
||||||
ClientUtils.addSaAmountTk(model, rowIndex);//销售金额(价格条款)结算币别
|
|
||||||
ClientUtils.calculateDiscountRate(view, model, rowIndex);//计算折扣率
|
ClientUtils.calculateDiscountRate(view, model, rowIndex);//计算折扣率
|
||||||
|
ClientUtils.addSaAmountTk(model, rowIndex);//销售金额(价格条款)结算币别
|
||||||
|
ClientUtils.countPoolAmt(view, model, "yem_es_materialinfo");//汇总折扣金额使用金额
|
||||||
break;
|
break;
|
||||||
case "yem_fundusetype"://资金使用类型
|
case "yem_fundusetype"://资金使用类型
|
||||||
model.setValue("yem_fundpoolamt", BigDecimal.ZERO);
|
model.setValue("yem_fundpoolamt", BigDecimal.ZERO);
|
||||||
|
@ -1589,6 +1589,7 @@ public class ClientUtils {
|
|||||||
view.updateView("yem_disamt", i);
|
view.updateView("yem_disamt", i);
|
||||||
}
|
}
|
||||||
ClientUtils.countAfterFrontAmt(model, i);//计算折扣后销售金额
|
ClientUtils.countAfterFrontAmt(model, i);//计算折扣后销售金额
|
||||||
|
ClientUtils.addSaAmountTk(model, i);//销售金额(价格条款)结算币别
|
||||||
}
|
}
|
||||||
ClientUtils.calculateDiscountRate(view, model, -1);
|
ClientUtils.calculateDiscountRate(view, model, -1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user