diff --git a/src/views/project/projectDetail.vue b/src/views/project/projectDetail.vue
index 2fa68789..7903fe3e 100644
--- a/src/views/project/projectDetail.vue
+++ b/src/views/project/projectDetail.vue
@@ -70,7 +70,7 @@
竞价方向:{{ detail.biddingDirect }}
-
+
阶梯价(增减幅度):¥{{ detail.ladderPrice }}
@@ -206,9 +206,9 @@
-
+
-
+
@@ -216,7 +216,7 @@
出价
- {{price}}元
+ {{price}}元
@@ -224,7 +224,7 @@
-
+
@@ -400,23 +400,27 @@ export default {
getBiddingList(that.id).then(response =>{
that.biddinglistInformation = response.rows
that.biddinglistInformationLength = response.total
- if (response.rows.length>0&&that.detail.ladderPrice){
- if (that.price == 0){return;}
- if (that.detail.biddingDirect == 2 ||that.detail.biddingDirect == '反向竞价') {
- that.price = response.rows[0].money - that.detail.ladderPrice
- }else{
- that.price = response.rows[0].money + that.detail.ladderPrice
- }
- }else if (response.rows.length>0&&!that.detail.ladderPrice){
- if (that.price == 0){return;}
- that.price = response.rows[0].money
- }else{
- if (that.detail.biddingDirect == 2 ||that.detail.biddingDirect == '反向竞价') {
- that.price = that.detail.price - that.detail.ladderPrice
+ if (that.detail.biddingType != '自由竞价'){
+ if (response.rows.length>0&&that.detail.ladderPrice){
+ if (that.price == 0){return;}
+ if (that.detail.biddingDirect == 2 ||that.detail.biddingDirect == '反向竞价') {
+ that.price = parseFloat(response.rows[0].money - that.detail.ladderPrice).toFixed(2)
+ }else{
+ that.price = parseFloat(response.rows[0].money + that.detail.ladderPrice).toFixed(2)
+ }
+ }else if (response.rows.length>0&&!that.detail.ladderPrice){
+ if (that.price == 0){return;}
+ that.price = response.rows[0].money
}else{
- that.price = that.detail.price + that.detail.ladderPrice
+ if (that.detail.biddingDirect == 2 ||that.detail.biddingDirect == '反向竞价') {
+ that.price = parseFloat(that.detail.price - that.detail.ladderPrice).toFixed(2)
+ }else{
+ that.price = parseFloat(that.detail.price + that.detail.ladderPrice).toFixed(2)
+ }
}
}
+
+
});
let biddingStartTime = Date.parse(this.detail.biddingStartTime)+0
diff --git a/src/views/user/index.vue b/src/views/user/index.vue
index ca595fe9..bf0852ee 100644
--- a/src/views/user/index.vue
+++ b/src/views/user/index.vue
@@ -27,6 +27,8 @@