浏览代码

产权交易问题修改

rongxin_prod
庞东旭 1年前
父节点
当前提交
503bf56c37
共有 1 个文件被更改,包括 8 次插入4 次删除
  1. +8
    -4
      src/views/project/projectDetail.vue

+ 8
- 4
src/views/project/projectDetail.vue 查看文件

@@ -286,7 +286,7 @@ export default {
isFirst:'',
timer:null,
getSignupData:'',
bottomBtn:true,
bottomBtn:false,
nowDate:0
};
},
@@ -455,7 +455,7 @@ export default {

this.getBidding();
this.getTime();
this.bottomBtn = true;
})
})
})
@@ -874,7 +874,6 @@ export default {
let h = value.hours;
let m = value.minutes;
let s = value.seconds;
console.log('aaa')
let biddingStopTime = Date.parse(this.detail.biddingStopTime)+0
let nowDate = Date.parse(this.format($.ajax({async:false}).getResponseHeader("Date"), "yyyy-MM-dd HH:mm:ss"));
let time = this.detail.delayPeriod * 1000;
@@ -901,13 +900,18 @@ export default {
});
}else if (s%2 == 0&&time!=0){

console.log('aaa')
// console.log((biddingStopTime-nowDate))
// console.log(time)
// this.getTime();
if ((biddingStopTime-nowDate)<=time){
// console.log("竞价剩余两分钟"+"m:"+m+"s:"+s)
getBiddingStopTime(this.id).then(response =>{
// this.detail.biddingStopTime = response.data
if(this.detail.biddingStopTime!=response.data){
console.log('有人出价')
this.time = null;
}
this.detail.biddingStopTime = response.data
this.$set(this.detail,'biddingStopTime',response.data)
// this.time = Date.parse(response.data)+0-nowDate;
});


正在加载...
取消
保存