Explorar o código

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

MaiXinRong %!s(int64=6) %!d(string=hai) anos
pai
achega
9f70ff7536
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
             }