MaiXinRong před 4 roky
rodič
revize
6b44f3533a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/public/js/ledger_check.js

+ 1 - 1
app/public/js/ledger_check.js

@@ -158,7 +158,7 @@ const ledgerCheckUtil = {
         };
         const getRatio = function (type, status) {
             const statusConst = type === 'gxby' ? option.status.gxby : option.status.dagl;
-            const sc = statusConst.dagl.find(x => { return x.value === status });
+            const sc = statusConst.find(x => { return x.value === status });
             return sc ? sc.ratio : null;
         };
         const getValid = function (type, status, limit) {