|
@@ -90,7 +90,7 @@ module.exports = app => {
|
|
auditStatus = checkingAudit.uid === ctx.session.sessionUser.accountId ? 1 : 0;
|
|
auditStatus = checkingAudit.uid === ctx.session.sessionUser.accountId ? 1 : 0;
|
|
break;
|
|
break;
|
|
case 9:
|
|
case 9:
|
|
- auditStatus = 9;
|
|
|
|
|
|
+ auditStatus = c.uid === ctx.session.sessionUser.accountId ? 9 : 0;
|
|
const changeUsedData = await ctx.service.stageChange.getFinalUsedData(ctx.tender.id, c.cid);
|
|
const changeUsedData = await ctx.service.stageChange.getFinalUsedData(ctx.tender.id, c.cid);
|
|
c.stageChangeNum = this.ctx.helper.sum(changeUsedData.map(x => { return Math.abs(x.qty); }));
|
|
c.stageChangeNum = this.ctx.helper.sum(changeUsedData.map(x => { return Math.abs(x.qty); }));
|
|
break;
|
|
break;
|