Browse Source

fix(client): 点击表达式编辑器报错。

chenshilong 3 years ago
parent
commit
1dff8828ae
1 changed files with 2 additions and 4 deletions
  1. 2 4
      web/over_write/js/henan_2022.js

+ 2 - 4
web/over_write/js/henan_2022.js

@@ -1,5 +1,3 @@
-const { max } = require("lodash");
-
 if (typeof feeRateObject !== "undefined") {
   feeRateObject.feeRateSpecialHandle = function (subRate, value) {
     let result = {};
@@ -424,7 +422,7 @@ if (typeof baseFigureTemplate !== "undefined") {
         decimalObj.bills.totalPrice,
         deficiency
       );
-      return max([rst, 2000]);
+      return Math.max(rst, 2000);
     },
     SJWJSCFEJD(tender) {
       const baseFee = this["DEJZAZGCF"](tender);
@@ -438,7 +436,7 @@ if (typeof baseFigureTemplate !== "undefined") {
         decimalObj.bills.totalPrice,
         deficiency
       );
-      return max([rst, 2000]);
+      return Math.max(rst, 2000);
     },
     GCSJFYJD(tender) {
       const baseFee = this["DEJZAZGCF"](tender);