|
@@ -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 '添加审核人失败';
|