Преглед на файлове

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

ellisran преди 1 година
родител
ревизия
2ed3bc49ad
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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));
                 }