From 7b565a61fac5f12ba9b068ff02839de0415c88fa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com>
Date: Fri, 16 Jun 2023 14:17:03 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E6=9D=83=E4=BA=A4=E6=98=93?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/project/projectDetail.vue | 91 ++++++++++++++++-------------
1 file changed, 49 insertions(+), 42 deletions(-)
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,