|
@@ -536,7 +536,7 @@ module.exports = app => {
|
|
if (projRela.banOver && ctx.tender.info.ledger_check.over) {
|
|
if (projRela.banOver && ctx.tender.info.ledger_check.over) {
|
|
checkData.checkOverRange(ctx.tender.info.checkOverInfo);
|
|
checkData.checkOverRange(ctx.tender.info.checkOverInfo);
|
|
}
|
|
}
|
|
- if (this.ctx.tender.info.calc_type === 'up' && this.ctx.subProject.page_show.correctCalcContractTp) {
|
|
|
|
|
|
+ if (this.ctx.tender.info.calc_type === 'up' && !this.ctx.subProject.page_show.correctCalcContractTp) {
|
|
checkData.checkBillsTp([
|
|
checkData.checkBillsTp([
|
|
{ qty: 'contract_qty', tp: 'contract_tp' }, { qty: 'qc_qty', tp: 'qc_tp' },
|
|
{ qty: 'contract_qty', tp: 'contract_tp' }, { qty: 'qc_qty', tp: 'qc_tp' },
|
|
], this.ctx.tender.info.decimal, x => { return x.is_tp; });
|
|
], this.ctx.tender.info.decimal, x => { return x.is_tp; });
|