| @@ -542,8 +542,8 @@ export default { | |||||
| offer(){ | offer(){ | ||||
| let newMoney; | let newMoney; | ||||
| projectNewBidMoney(this.id).then(response =>{ | projectNewBidMoney(this.id).then(response =>{ | ||||
| if (response.msg&&response.code==200){ | |||||
| newMoney = response.msg; | |||||
| if (response.data&&response.code==200){ | |||||
| newMoney = response.data; | |||||
| }else{ | }else{ | ||||
| newMoney = this.detail.price; | newMoney = this.detail.price; | ||||
| } | } | ||||
| @@ -559,7 +559,6 @@ export default { | |||||
| }) | }) | ||||
| return; | return; | ||||
| } | } | ||||
| this.price = this.price.toFixed(2) | |||||
| if (this.detail.biddingDirect == '反向竞价'){ | if (this.detail.biddingDirect == '反向竞价'){ | ||||
| // if (this.biddinglistInformation.length<1){ | // if (this.biddinglistInformation.length<1){ | ||||
| if(this.detail.price<this.price){ | if(this.detail.price<this.price){ | ||||
| @@ -623,7 +622,7 @@ export default { | |||||
| userId:this.userId, | userId:this.userId, | ||||
| userAccount:this.userAccount, | userAccount:this.userAccount, | ||||
| userName:this.userName, | userName:this.userName, | ||||
| money:this.price, | |||||
| money:parseInt(this.price).toFixed(2), | |||||
| }; | }; | ||||
| console.log(data) | console.log(data) | ||||
| biddingSubmit(data).then(response =>{ | biddingSubmit(data).then(response =>{ | ||||