|
|
@@ -665,7 +665,7 @@ export default { |
|
|
|
userId:this.userId, |
|
|
|
userAccount:this.userAccount, |
|
|
|
userName:this.userName, |
|
|
|
money:parseInt(this.price).toFixed(2), |
|
|
|
money:parseFloat(this.price), |
|
|
|
}; |
|
|
|
console.log(data) |
|
|
|
biddingSubmit(data).then(response =>{ |
|
|
@@ -737,7 +737,7 @@ export default { |
|
|
|
} |
|
|
|
console.log(this.price == null) |
|
|
|
this.price == null?this.price = 0:this.price = this.price; |
|
|
|
this.detail.ladderPrice?this.price=parseInt(this.price)+parseInt(this.detail.ladderPrice):this.price += 1 |
|
|
|
this.detail.ladderPrice?this.price=parseFloat(this.price)+parseFloat(this.detail.ladderPrice):this.price += 1 |
|
|
|
}, |
|
|
|
sub(){ |
|
|
|
if (this.detail.biddingDirect == '反向竞价'){ |
|
|
@@ -792,7 +792,7 @@ export default { |
|
|
|
|
|
|
|
this.price == null?this.price = 0:this.price = this.price; |
|
|
|
if (this.price == 0)return; |
|
|
|
this.detail.ladderPrice?this.price=parseInt(this.price)-parseInt(this.detail.ladderPrice):this.price -= 1 |
|
|
|
this.detail.ladderPrice?this.price=parseFloat(this.price)-parseFloat(this.detail.ladderPrice):this.price -= 1 |
|
|
|
// if(this.detail.ladderPrice){ |
|
|
|
// if((this.price-this.detail.ladderPrice)>this.biddinglistInformation[0].money){ |
|
|
|
// this.price-=this.detail.ladderPrice |
|
|
|