Commit f07b5264 by liuyang

修复销售开票明细金额修改功能

parent 01b76759
...@@ -100,6 +100,7 @@ public class ServiceHGCW011 extends ServiceBase { ...@@ -100,6 +100,7 @@ public class ServiceHGCW011 extends ServiceBase {
BigDecimal thisSettlementTax = totalContractPriceIncluding.subtract(thisSettlementAmount); // 计算税额 BigDecimal thisSettlementTax = totalContractPriceIncluding.subtract(thisSettlementAmount); // 计算税额
hgcw010.setThisSettlementTax(thisSettlementTax.toString()); hgcw010.setThisSettlementTax(thisSettlementTax.toString());
hgcw010.setThisSettlementAmount(thisSettlementAmount.toString()); hgcw010.setThisSettlementAmount(thisSettlementAmount.toString());
hgcw010.setTotalContractPriceIncluding(totalContractPriceIncluding);
DaoUtils.update(HGCW010.UPDATE, hgcw010); DaoUtils.update(HGCW010.UPDATE, hgcw010);
inInfo.setStatus(EiConstant.STATUS_DEFAULT); inInfo.setStatus(EiConstant.STATUS_DEFAULT);
inInfo.setMsg("操作成功!本次对[" + hgcw011s.size() + "]条数据保存成功!"); inInfo.setMsg("操作成功!本次对[" + hgcw011s.size() + "]条数据保存成功!");
......
...@@ -58,7 +58,7 @@ function saveFunc() { ...@@ -58,7 +58,7 @@ function saveFunc() {
ok: function () { ok: function () {
var info = new EiInfo(); var info = new EiInfo();
info.addBlock(JSUtils.checkedRows2Block("result")); info.addBlock(JSUtils.checkedRows2Block("result"));
EiCommunicator.send("HGCW010", "save", info, { EiCommunicator.send("HGCW011", "update", info, {
onSuccess: function (ei) { onSuccess: function (ei) {
if (ei.getStatus() >= 0) { if (ei.getStatus() >= 0) {
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment