Selaa lähdekoodia

产权交易出价小数

rongxin_prod
庞东旭 1 vuosi sitten
vanhempi
commit
87e77c3a49
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. +3
    -3
      src/views/project/projectDetail.vue

+ 3
- 3
src/views/project/projectDetail.vue Näytä tiedosto

@@ -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


Ladataan…
Peruuta
Tallenna