Bläddra i källkod

修复变更退回金额不回退问题

ellisran 1 år sedan
förälder
incheckning
2ed3bc49ad
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/service/change.js

+ 1 - 1
app/service/change.js

@@ -1168,7 +1168,7 @@ module.exports = app => {
                     updateChangeList.push({
                         id: cl.id,
                         audit_amount: null,
-                        spamount: cl.spamount,
+                        spamount: cl.camount,
                     });
                     total_price = this.ctx.helper.add(total_price, this.ctx.helper.mul(cl.unit_price, cl.camount, tp_decimal));
                 }