Explorar o código

调用变更令bug

MaiXinRong hai 1 ano
pai
achega
f36652af58
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/public/js/stage.js

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

@@ -495,7 +495,7 @@ $(document).ready(() => {
                             }
                         } else if (c.bamount < 0) {
                             const usedAmount = ZhCalc.add(c.uamount, c.pre_amount);
-                            if (usedAmount > 0 || usedAmount < c.limiAmount) {
+                            if (usedAmount > 0 || usedAmount < c.limitAmount) {
                                 toastr.error('变更令:' + c.code + ' 超计,请修改本期计量后,再提交');
                                 return;
                             }