浏览代码

合同支付,重新审批bug

MaiXinRong 7 月之前
父节点
当前提交
8ecebfc6eb
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      app/service/phase_pay_audit.js

+ 1 - 2
app/service/phase_pay_audit.js

@@ -735,8 +735,7 @@ module.exports = app => {
 
                 // todo 添加短信通知-需要审批提醒功能
                 const shenpiUrl = await this.ctx.helper.urlToShort(this.ctx.protocol + '://' + this.ctx.host + '/wap/tender/' + phasePay.tid + '/phasePay/' + phasePay.phase_order);
-                const users = this._.map(phasePay.auditAssists.filter(x => { return phasePay.finalAuditorIds.indexOf(x.user_id) >= 0; }), 'ass_user_id');
-                users.push(...phasePay.finalAuditorIds);
+                const users = phasePay.finalAuditorIds;
                 // 微信模板通知
                 const wechatData = {
                     wap_url: shenpiUrl,