张泽亮 před 2 roky
rodič
revize
81e229489b
1 změnil soubory, kde provedl 3 přidání a 4 odebrání
  1. +3
    -4
      src/views/project/projectDetail.vue

+ 3
- 4
src/views/project/projectDetail.vue Zobrazit soubor

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


Načítá se…
Zrušit
Uložit