|
@@ -457,7 +457,7 @@ module.exports = app => {
|
|
|
node.end_gather_qty = helper.add(node.pre_gather_qty, node.gather_qty);
|
|
|
},
|
|
|
});
|
|
|
- const posData = await this.ctx.service.pos.getAllDataByCondition({ where: { tid: tender.id } });
|
|
|
+ const posData = await this.ctx.service.pos.getPosData({ tid: tender.id });
|
|
|
if (stage) {
|
|
|
await this.ctx.service.stage.doCheckStage(stage);
|
|
|
const curStage = stage.readOnly
|
|
@@ -627,6 +627,7 @@ module.exports = app => {
|
|
|
|
|
|
this.resultTree.resortChildrenDefault();
|
|
|
gatherUtils.completeGatherData(this.resultTree.nodes, completeDatas);
|
|
|
+ gatherUtils.completeGatherData(this.resultPos.datas, completeDatas);
|
|
|
}
|
|
|
|
|
|
async getGatherStageBills(memFieldKeys, gsDefine, gsCustom) {
|