|
@@ -365,14 +365,14 @@ export default {
|
|
|
calcBudget() {
|
|
|
// 先展示中标金额
|
|
|
if (this.article.bidAmount) {
|
|
|
- if(isNaN(this.article.bidAmount) && this.article.bidAmount.indexOf('免费注册') > -1) {
|
|
|
+ if(isNaN(this.article.bidAmount) && this.article.bidAmount.indexOf('登录') > -1) {
|
|
|
return this.article.bidAmount
|
|
|
} else {
|
|
|
return moneyUnit(this.article.bidAmount)
|
|
|
}
|
|
|
} else if (this.article.budget) {
|
|
|
// 无中标金额展示预算金额
|
|
|
- if(isNaN(this.article.budget) && this.article.budget.indexOf('免费注册') > -1) {
|
|
|
+ if(isNaN(this.article.budget) && this.article.budget.indexOf('登录') > -1) {
|
|
|
return this.article.budget
|
|
|
} else {
|
|
|
return moneyUnit(this.article.budget)
|