فهرست منبع

修复支付审批附件上传bug

ellisran 1 سال پیش
والد
کامیت
a12e15070e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/controller/payment_controller.js

+ 1 - 1
app/controller/payment_controller.js

@@ -417,7 +417,7 @@ module.exports = app => {
                 }
                 const auditIdList = ctx.helper._.map(ctx.detail.auditors, 'aid');
                 const rptAuditIdList = ctx.helper._.map(ctx.detail.rptAudits, 'uid');
-                const uidList = ctx.helper._.uniq([...auditIdList, ...rptAuditIdList]);
+                const uidList = ctx.helper._.uniq([ctx.detail.uid, ...auditIdList, ...rptAuditIdList]);
 
                 // 获取附件列表
                 const attList = await ctx.service.paymentDetailAtt.getPaymentDetailAttachment(ctx.detail.id, 'desc');