diff --git a/src/views/project/projectDetail.vue b/src/views/project/projectDetail.vue index 16349251..5008b1a1 100644 --- a/src/views/project/projectDetail.vue +++ b/src/views/project/projectDetail.vue @@ -520,8 +520,13 @@ export default { setInterval(function () { getBiddingList(that.id).then(response =>{ that.biddinglistInformation = response.rows - if(response.rows.length != that.biddinglistInformationLength){ - that.price = parseInt(response.rows[0].money) - parseInt(that.detail.ladderPrice) + if((response.rows.length != that.biddinglistInformationLength) && that.detail.ladderPrice){ + + if (that.detail.biddingDirect == 2 ||that.detail.biddingDirect == '反向竞价') { + that.price = parseInt(response.rows[0].money) - parseInt(that.detail.ladderPrice) + }else{ + that.price = parseInt(response.rows[0].money) + parseInt(that.detail.ladderPrice) + } } that.biddinglistInformationLength = response.total });