|
@@ -455,6 +455,7 @@ module.exports = app => {
|
|
|
}
|
|
|
async _addDeal(revise, data) {
|
|
|
if (!data.type || !data.dealBills) throw '数据错误';
|
|
|
+ data.dealBills.unit_price = this.ctx.helper.round(data.dealBills.unit_price, this.ctx.tender.info.decimal.up);
|
|
|
if (data.type === 'child') {
|
|
|
return await this.ctx.service.reviseBills.addChild(revise.tid, data.id, data.dealBills, revise.id);
|
|
|
} else if (data.type === 'next') {
|