فهرست منبع

报表,工程量清单汇总,汇总签约清单数据

MaiXinRong 4 سال پیش
والد
کامیت
7c819150c9
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      app/lib/gcl_gather.js

+ 2 - 2
app/lib/gcl_gather.js

@@ -314,7 +314,7 @@ const gclGatherModel = class {
      * @param {Array<Object>} bills 清单数据 
      * @param {Array<Object>} pos 计量单元数据
      */
-    gather(bills, pos) {
+    gather(bills, pos, deal) {
         const helper = this.ctx.helper;
         this.billsTree.loadDatas(bills);
         this.pos.loadDatas(pos);
@@ -324,7 +324,7 @@ const gclGatherModel = class {
         this.xmjPos = [];
 
         this.recursiveGatherGclData(this.billsTree.children, null);
-        this.gatherDealBillsData();
+        this.gatherDealBillsData(deal);
         this.gclList.sort(function (a, b) {
             return helper.compareCode(a.b_code, b.b_code);
         });