MaiXinRong 3 months ago
parent
commit
87520cd487
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/lib/rm/material.js

+ 1 - 1
app/lib/rm/material.js

@@ -313,7 +313,7 @@ class rptMemChange extends RptMemBase {
                 where: { tid: material.tid }
             });
         } else {
-            const sql = 'SELECT me.id, me.tid, me.mid, mb.type, mb.symbol, mb.symbol_desc, mb.code, mb.remark, mb.in_time,' +
+            const sql = 'SELECT me.id, me.tid, me.mid, me.type, me.symbol, me.symbol_desc, me.code, me.remark, me.in_time,' +
                 '    meh.type, meh.weight_num, meh.basic_price, meh.basic_times, meh.m_price, meh.calc_num, meh.is_summary' +
                 '  FROM ' + this.ctx.service.materialExponentHistory.tableName + ' meh ' +
                 '  LEFT JOIN ' + this.ctx.service.materialExponent.tableName + ' me ON meh.me_id = me.id ' +