|
@@ -165,7 +165,7 @@ module.exports = app => {
|
|
|
where: { tender_id: tender.id },
|
|
|
});
|
|
|
const pos = await this.ctx.service.pos.getAllDataByCondition({
|
|
|
- columns: ['id', 'lid', 'name', 'quantity'],
|
|
|
+ columns: ['id', 'lid', 'name', 'quantity', 'porder'],
|
|
|
where: { tid: tender.id },
|
|
|
});
|
|
|
return [bills, pos];
|
|
@@ -265,7 +265,7 @@ module.exports = app => {
|
|
|
where: { tender_id: tender.id },
|
|
|
});
|
|
|
const pos = await this.ctx.service.pos.getAllDataByCondition({
|
|
|
- columns: ['id', 'lid', 'name', 'quantity'],
|
|
|
+ columns: ['id', 'lid', 'name', 'quantity', 'porder'],
|
|
|
where: { tid: tender.id },
|
|
|
});
|
|
|
if (!stage) return [bills, pos];
|
|
@@ -316,7 +316,7 @@ module.exports = app => {
|
|
|
where: { tender_id: tender.id },
|
|
|
});
|
|
|
const pos = await this.ctx.service.pos.getAllDataByCondition({
|
|
|
- columns: ['id', 'lid', 'name', 'quantity'],
|
|
|
+ columns: ['id', 'lid', 'name', 'quantity', 'porder'],
|
|
|
where: { tid: tender.id },
|
|
|
});
|
|
|
|