Browse Source

修复工料机汇总获取项目id的bug

olym 7 years ago
parent
commit
6322706455
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/building_saas/glj/js/composition_spread.js

+ 1 - 1
web/building_saas/glj/js/composition_spread.js

@@ -115,7 +115,7 @@ CompositionSpread.prototype.getRatioData = function(projectGLJid) {
     $.ajax({
     $.ajax({
         url: '/glj/get-ratio',
         url: '/glj/get-ratio',
         type: 'post',
         type: 'post',
-        data: {id: projectGLJid, project_id: 1},
+        data: {id: projectGLJid, project_id: scUrlUtil.GetQueryString('project')},
         error: function() {
         error: function() {
             self.sheetObj.setData(null);
             self.sheetObj.setData(null);
         },
         },