|
@@ -364,7 +364,7 @@ module.exports = app => {
|
|
|
if (change.userGroups[au][0].audit_order !== 0) {
|
|
|
cl['audit_amount_' + change.userGroups[au][0].audit_order] =
|
|
|
(change.userGroups[au][0].audit_type === auditType.key.and &&
|
|
|
- ctx.helper._.findIndex(change.userGroups[0], { status: audit.change.status.checked }) !== -1) ||
|
|
|
+ ctx.helper._.findIndex(change.userGroups[au], { status: audit.change.status.checked }) !== -1) ||
|
|
|
(change.shenpiPower && ctx.helper._.findIndex(change.userGroups[au], { uid: ctx.session.sessionUser.accountId }) !== -1) ?
|
|
|
cl.spamount : (audit_amount[au - 1] !== undefined ? parseFloat(audit_amount[au - 1]) : null);
|
|
|
}
|