Browse Source

合同支付,签约合同价、100章本期完成计量问题

MaiXinRong 6 years atrás
parent
commit
9f70ff7536
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/lib/pay_calc.js

+ 1 - 1
app/lib/pay_calc.js

@@ -29,7 +29,7 @@ class PayCalculate {
         const bases = await this.ctx.service.stage.getStagePayCalcBase();
         this.bases = bases.sort(function (a, b) {
             if (a && b) {
-                return b.code.indexOf(a.code) === -1 ? 1 : -1;
+                return b.code.indexOf(a.code) === -1 ? -1 : 1;
             } else {
                 return 0;
             }