소스 검색

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

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 };