diff --git a/src/views/project/index.vue b/src/views/project/index.vue index 053c7fd7..7b50f527 100644 --- a/src/views/project/index.vue +++ b/src/views/project/index.vue @@ -5,8 +5,8 @@ - - + + - + @@ -184,9 +184,19 @@ export default { } this.loading = false; }, - getList(){ + getList(type){ + console.log(this.queryDatas) console.log(this.value1) + console.log(this.value3) + if (type == 'search'){ + this.queryDatas.pageNum = 1; + this.infoList=[]; + this.finished = false; + } this.loading = true; + this.queryDatas.deptId = this.activeId; + this.queryDatas.projectNumber = this.value1; + this.queryDatas.projectShowStatus = this.value3; getOutProjectList(this.queryDatas).then(response =>{ // console.log(response) // this.infoList = response.rows @@ -252,7 +262,7 @@ export default { }else{ this.value2=data.text } - this.getList() + this.getList('search') this.$refs.item.toggle(); }, }, diff --git a/src/views/project/projectDetail.vue b/src/views/project/projectDetail.vue index 134ed3af..7f98fd65 100644 --- a/src/views/project/projectDetail.vue +++ b/src/views/project/projectDetail.vue @@ -434,11 +434,12 @@ export default { }else if (response.rows.length>0&&!that.detail.ladderPrice){ if (that.price == 0){return;} that.price = response.rows[0].money - }else{ + } + else{ if (that.detail.biddingDirect == 2 ||that.detail.biddingDirect == '反向竞价') { - that.price = parseFloat(that.detail.price - that.detail.ladderPrice).toFixed(2) + that.price = parseFloat(that.detail.price).toFixed(2) }else{ - that.price = parseFloat(that.detail.price + that.detail.ladderPrice).toFixed(2) + that.price = parseFloat(that.detail.price).toFixed(2) } } }