فهرست منبع

招标预算,造价对比问题

MaiXinRong 1 سال پیش
والد
کامیت
e8c7498876
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/lib/budget_final.js

+ 1 - 1
app/lib/budget_final.js

@@ -135,7 +135,7 @@ class BudgetFinal {
 
     async _loadZb(budget) {
         const helper = this.ctx.helper;
-        const zb = await this.ctx.service.budgetYu.getData(budget.id);
+        const zb = await this.ctx.service.budgetZb.getData(budget.id);
         const zbTree = new BillsTree(this.ctx, { id: 'tree_id', pid: 'tree_pid', order: 'order', level: 'level', rootId: -1, calcFields: ['total_price'] });
         zbTree.loadDatas(zb);
         zbTree.calculateAll();