diff --git a/src/views/project/projectDetail.vue b/src/views/project/projectDetail.vue
index a93655a5..d633dc02 100644
--- a/src/views/project/projectDetail.vue
+++ b/src/views/project/projectDetail.vue
@@ -40,7 +40,7 @@
{{ detail.deposit }} 元
-
+
@@ -170,7 +170,7 @@
竞价记录
-
友情提示:非拍卖竞价方式下,竞价过程中不显示竞价记录!
+
友情提示:自由竞价方式下,竞价过程中不显示竞价记录!
出价人账号 |
@@ -198,11 +198,11 @@
-
-
- 提醒
-
-
+
+
+
+
+
{{ btnMsg }}
保证金¥{{detail.deposit}}
@@ -497,9 +497,10 @@ export default {
})
return;
}
+
if (this.detail.biddingDirect == '反向竞价'){
// if (this.biddinglistInformation.length<1){
- if(this.detail.price<=this.price){
+ if(this.detail.price=this.price){
- this.$toast({
- icon: 'fail', // 找到自己需要的图标
- message: '出价不能低于挂牌价格',
- duration:"1000",
- onClose:function(){
+ }else{
+ if (this.detail.biddingType=='阶梯竞价'||this.detail.biddingType=='公开竞价'){
+ if (this.biddinglistInformation.length>1){
+ //判断用户出价不能高于当前出价最低价格
+ if(this.biddinglistInformation[0].money < this.price){
+ this.$toast({
+ icon: 'fail', // 找到自己需要的图标
+ message: '出价不能高于当前出价最低价格',
+ duration:"1000",
+ onClose:function(){
+ }
+ })
+ return;
+ }
}
- })
- return;
+ }
}
- // }else{
- if (this.detail.biddingType=='拍卖'||this.detail.biddingType=='阶梯竞价') {
- if (this.biddinglistInformation[0].money >= this.price) {
- this.$toast({
- icon: 'fail', // 找到自己需要的图标
- message: '出价不能低于当前出价最高价格',
- duration: "1000",
- onClose: function () {
+
+ }else{
+ if(this.detail.price>this.price){
+ this.$toast({
+ icon: 'fail', // 找到自己需要的图标
+ message: '出价不能低于挂牌价格',
+ duration:"1000",
+ onClose:function(){
+ }
+ })
+ return;
+ }else{
+ if (this.detail.biddingType=='阶梯竞价'||this.detail.biddingType=='公开竞价'){
+ if (this.biddinglistInformation.length>1){
+ //判断用户出价不能高于当前出价最低价格
+ if(this.biddinglistInformation[0].money > this.price){
+ this.$toast({
+ icon: 'fail', // 找到自己需要的图标
+ message: '出价不能低于当前出价最高价格',
+ duration:"1000",
+ onClose:function(){
+ }
+ })
+ return;
}
- })
- return;
+ }
}
}
- // }
}
let data= {
projectId:this.id,