Sfoglia il codice sorgente

删除中间计量附件,提示文案修正

MaiXinRong 3 anni fa
parent
commit
3c8d3b068f
2 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. 1 1
      app/service/stage_detail_att.js
  2. 0 2
      builder_report_index_define.js

+ 1 - 1
app/service/stage_detail_att.js

@@ -123,7 +123,7 @@ module.exports = app => {
             await this._analysisDetailAtt(detailAtt);
 
             const index = detailAtt.attachment.findIndex(x => { return x.file_id === fileId });
-            if (index < 0) throw '不存在文件';
+            if (index < 0) throw '不存在文件';
             const att = detailAtt.attachment[index];
             if (att.uid !== this.ctx.session.sessionUser.accountId) throw '您无权删除该文件';
 

+ 0 - 2
builder_report_index_define.js

@@ -2083,8 +2083,6 @@ const custom_select = {
         { name: '标段汇总-汇总区间(期)', field: 'gather_select.stage_zone', type: dataType.int },
         // stage_select
         { name: '期汇总-选择期', field: 'stage_select.stages', type: dataType.str},
-        // material_select
-        { name: '材料调差-选择期', field: 'material'}
     ]
 };