|
@@ -622,7 +622,8 @@ module.exports = app => {
|
|
|
break;
|
|
|
case 'ybbqwc':
|
|
|
const sumGcl = await this.ctx.service.stageBills.getSumTotalPriceGcl(stage, '^[^0-9]*1[0-9]{2}(-|$)');
|
|
|
- cb.value = this.ctx.helper.add(sumGcl.contract_tp, sumGcl.qc_tp);
|
|
|
+ const sumPc = await this.ctx.service.stageBillsPc.getSumTotalPriceGcl(stage, '^[^0-9]*1[0-9]{2}(-|$)');
|
|
|
+ cb.value = this.ctx.helper.sum([sumGcl.contract_tp, sumGcl.qc_tp, sumPc.pc_tp]);
|
|
|
break;
|
|
|
case 'ybbqbg':
|
|
|
cb.value = bg.common;
|