|
@@ -581,6 +581,11 @@ module.exports = app => {
|
|
|
c.class = this._getChangeConstName(changeConst.class, c.class);
|
|
|
c.quality = this._getChangeConstName(changeConst.quality, c.quality);
|
|
|
c.charge = this._getChangeConstName(changeConst.type, c.charge);
|
|
|
+ c.attachments = await ctx.service.changeAtt.getChangeAttachment(c.cid);
|
|
|
+ const names = ctx.helper._.map(c.attachments, function (x) {
|
|
|
+ return x.filename + x.fileext;
|
|
|
+ });
|
|
|
+ c.attNames = names.join('\n');
|
|
|
}
|
|
|
const changeBills = await this.ctx.service.changeAuditList.getChangeAuditBills(tid);
|
|
|
for (const d of changeBills) {
|