Parcourir la source

附件排序调整

laiguoran il y a 2 ans
Parent
commit
beb4c546a5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/controller/payment_controller.js

+ 1 - 1
app/controller/payment_controller.js

@@ -363,7 +363,7 @@ module.exports = app => {
                 const uidList = ctx.helper._.uniq([...auditIdList, ...rptAuditIdList]);
 
                 // 获取附件列表
-                const attList = await ctx.service.paymentDetailAtt.getPaymentDetailAttachment(ctx.detail.id);
+                const attList = await ctx.service.paymentDetailAtt.getPaymentDetailAttachment(ctx.detail.id, 'desc');
                 const renderData = {
                     trInfo: ctx.trInfo,
                     paymentConst,