소스 검색

修复bug

laiguoran 2 년 전
부모
커밋
a8dbe63da5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/controller/payment_controller.js

+ 1 - 1
app/controller/payment_controller.js

@@ -481,7 +481,7 @@ module.exports = app => {
                             throw '该审核人已存在,请勿重复添加';
                         }
                         const shenpiInfo = await ctx.service.paymentShenpiAudit.getDataByCondition({ tr_id: ctx.trInfo.id, sp_status: shenpiConst.sp_status.gdzs });
-                        const is_gdzs = shenpiInfo && ctx.trinfo.sp_status === shenpiConst.sp_status.gdzs ? 1 : 0;
+                        const is_gdzs = shenpiInfo && ctx.trInfo.sp_status === shenpiConst.sp_status.gdzs ? 1 : 0;
                         const result = await ctx.service.paymentDetailAudit.addAuditor(ctx.detail.id, auditorId, ctx.detail.times, is_gdzs);
                         if (!result) {
                             throw '添加审核人失败';