ソースを参照

安装生产,临时占地汇总问题

MaiXinRong 2 年 前
コミット
691c161048
1 ファイル変更2 行追加2 行削除
  1. 2 2
      app/service/rpt_gather_memory.js

+ 2 - 2
app/service/rpt_gather_memory.js

@@ -1461,7 +1461,7 @@ module.exports = app => {
             const helper = this.ctx.helper;
             for (const d of data) {
                 let gd = this.resultStageSafeProd.find(x => {
-                    return x.name === d.name && x.unit === d.unit && helper.checkNumEqual(x.unit_price, d.unit_price);
+                    return x.name === d.name && x.unit === d.unit && helper.numEqual(x.unit_price, d.unit_price);
                 });
                 if (!gd) {
                     gd = { name: d.name, unit: d.unit, unit_price: d.unit_price };
@@ -1541,7 +1541,7 @@ module.exports = app => {
             const helper = this.ctx.helper;
             for (const d of data) {
                 let gd = this.resultStageTempLand.find(x => {
-                    return x.name === d.name && x.unit === d.unit && helper.checkNumEqual(x.unit_price, d.unit_price);
+                    return x.name === d.name && x.unit === d.unit && helper.numEqual(x.unit_price, d.unit_price);
                 });
                 if (!gd) {
                     gd = { name: d.name, unit: d.unit, unit_price: d.unit_price };