瀏覽代碼

中间计量,附件相关

MaiXinRong 3 年之前
父節點
當前提交
9dbc4197e8
共有 1 個文件被更改,包括 3 次插入3 次删除
  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
                         });