Browse Source

中间计量,附件相关

MaiXinRong 3 years ago
parent
commit
9dbc4197e8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/service/stage_detail_att.js

+ 3 - 3
app/service/stage_detail_att.js

@@ -33,19 +33,19 @@ module.exports = app => {
                     case ImTypeConst.zl.value:
                     case ImTypeConst.bw.value:
                         return this.getDataByCondition({
-                            im_type: field.im_type,
+                            im_type: field.im_type, sid: this.ctx.stage.id,
                             lid: field.lid, code: field.code, name: field.name, unit: field.unit, unit_price: field.unit_price,
                             pid: field.pid, pos_name: field.pos_name
                         });
                     case ImTypeConst.tz.value:
                         return this.getDataByCondition({
-                            im_type: field.im_type,
+                            im_type: field.im_type, sid: this.ctx.stage.id,
                             lid: field.lid, code: field.code, name: field.name, unit: field.unit,
                             pid: field.pid, pos_name: field.pos_name
                         });
                     case ImTypeConst.bb.value:
                         return this.getDataByCondition({
-                            im_type: field.im_type,
+                            im_type: field.im_type, sid: this.ctx.stage.id,
                             lid: field.lid, name: field.name, unit: field.unit,
                             pid: field.pid, pos_name: field.pos_name
                         });