|
@@ -85,7 +85,10 @@ module.exports = app => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- const dealBills = await this.ctx.service.dealBills.getAllDataByCondition({ where: { tender_id: ctx.tender.id } });
|
|
|
+ const dealBills = await this.ctx.service.dealBills.getAllDataByCondition({
|
|
|
+ where: { tender_id: ctx.tender.id },
|
|
|
+ orders: [['order', 'asc']],
|
|
|
+ });
|
|
|
ctx.body = {err: 0, msg: '', data: dealBills};
|
|
|
} catch (err) {
|
|
|
this.log(err);
|