소스 검색

产权交易出价优化

rongxin_prod
庞东旭 2 년 전
부모
커밋
171d287cad
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. +7
    -2
      src/views/project/projectDetail.vue

+ 7
- 2
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
});


불러오는 중...
취소
저장