|
@ -325,50 +325,50 @@ |
|
|
class="borderLeft" |
|
|
class="borderLeft" |
|
|
> |
|
|
> |
|
|
<div style="margin: 0px auto; width: 200px"> |
|
|
<div style="margin: 0px auto; width: 200px"> |
|
|
<div v-if="item.isEdit"> |
|
|
<!-- <div v-if="item.isEdit"> |
|
|
<div v-if="item.isRival"> |
|
|
<div v-if="item.isRival"> |
|
|
|
|
|
|
|
|
<a-input |
|
|
<a-input |
|
|
style="margin-top: 10px" |
|
|
style="margin-top: 10px" |
|
|
v-model="item.RivalTitle" |
|
|
v-model="item.RivalTitle" |
|
|
disabled="false" |
|
|
disabled="false" |
|
|
placeholder="竞品标题" |
|
|
placeholder="竞品标题" |
|
|
> |
|
|
> |
|
|
</a-input> |
|
|
</a-input> |
|
|
|
|
|
|
|
|
<a-input |
|
|
|
|
|
style="margin-top: 10px" |
|
|
|
|
|
disabled="false" |
|
|
|
|
|
v-model="item.RivalPrice" |
|
|
|
|
|
placeholder="竞品价格" |
|
|
|
|
|
> |
|
|
|
|
|
</a-input> |
|
|
|
|
|
|
|
|
|
|
|
<a-input |
|
|
<a-input |
|
|
style="margin-top: 10px" |
|
|
style="margin-top: 10px" |
|
|
disabled="false" |
|
|
disabled="false" |
|
|
v-model="item.RivalPLCount" |
|
|
v-model="item.RivalPrice" |
|
|
placeholder="竞品评论数" |
|
|
placeholder="竞品价格" |
|
|
> |
|
|
> |
|
|
</a-input> |
|
|
</a-input> |
|
|
|
|
|
|
|
|
<a-row |
|
|
<a-input |
|
|
style="margin-top: 10px"> |
|
|
style="margin-top: 10px" |
|
|
<a-col :span="18"> |
|
|
disabled="false" |
|
|
<a-input |
|
|
v-model="item.RivalPLCount" |
|
|
v-model="item.RivalGoodsId" |
|
|
placeholder="竞品评论数" |
|
|
placeholder="竞品链接" |
|
|
> |
|
|
> |
|
|
</a-input> |
|
|
</a-input> |
|
|
|
|
|
</a-col> |
|
|
<a-row |
|
|
|
|
|
style="margin-top: 10px"> |
|
|
<a-col :span="6"> |
|
|
<a-col :span="18"> |
|
|
<a-button style="margin-left: 2px;background:#8080FF;color: white;" @click="openItemInfoWeb(item)">查询</a-button> |
|
|
<a-input |
|
|
|
|
|
v-model="item.RivalGoodsId" |
|
|
|
|
|
placeholder="竞品链接" |
|
|
|
|
|
> |
|
|
|
|
|
</a-input> |
|
|
</a-col> |
|
|
</a-col> |
|
|
</a-row> |
|
|
|
|
|
</div> |
|
|
<a-col :span="6"> |
|
|
|
|
|
<a-button style="margin-left: 2px;background:#8080FF;color: white;" @click="openItemInfoWeb(item)">查询</a-button> |
|
|
|
|
|
</a-col> |
|
|
|
|
|
</a-row> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<div v-else> |
|
|
<div v-else> |
|
|
|
|
|
|
|
|
<a-input |
|
|
<a-input |
|
|
style="margin-top: 10px" |
|
|
style="margin-top: 10px" |
|
@ -388,11 +388,10 @@ |
|
|
<div style="color:#EC808D;margin-top: 10px;">PS:主观售价不合理。货源团队有权申述</div> |
|
|
<div style="color:#EC808D;margin-top: 10px;">PS:主观售价不合理。货源团队有权申述</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> --> |
|
|
<div v-else> |
|
|
<div> |
|
|
<div |
|
|
<div |
|
|
style=" |
|
|
style=" padding-top: 10px; |
|
|
padding-top: 10px; |
|
|
|
|
|
padding-bottom: 10px; |
|
|
padding-bottom: 10px; |
|
|
width: 200px; |
|
|
width: 200px; |
|
|
margin: 5px auto; |
|
|
margin: 5px auto; |
|
@ -567,12 +566,12 @@ |
|
|
</a-col> |
|
|
</a-col> |
|
|
<a-col :span="4"> |
|
|
<a-col :span="4"> |
|
|
|
|
|
|
|
|
<a v-if="item.RivalTitle&&!item.isEdit" class="borderNoTop itemtitle" :title="item.RivalTitle">{{ |
|
|
<a v-if="item.RivalTitle" class="borderNoTop itemtitle" :title="item.RivalTitle">{{ |
|
|
item.RivalTitle |
|
|
item.RivalTitle |
|
|
}}</a> |
|
|
}}</a> |
|
|
|
|
|
|
|
|
<div v-else-if="item.isEdit"> |
|
|
<!-- <div v-else-if="item.isEdit"> |
|
|
<a-tag |
|
|
<a-tag |
|
|
:color="item.isRival==true ? '' : '#1E98D7'" |
|
|
:color="item.isRival==true ? '' : '#1E98D7'" |
|
|
style="padding: 5px;" |
|
|
style="padding: 5px;" |
|
|
@click=" |
|
|
@click=" |
|
@ -595,7 +594,9 @@ |
|
|
} |
|
|
} |
|
|
" |
|
|
" |
|
|
>自动获取对标信息</a-tag |
|
|
>自动获取对标信息</a-tag |
|
|
></div> |
|
|
> |
|
|
|
|
|
|
|
|
|
|
|
</div>--> |
|
|
</a-col> |
|
|
</a-col> |
|
|
</a-row> |
|
|
</a-row> |
|
|
</a-col> |
|
|
</a-col> |
|
@ -783,6 +784,16 @@ export default { |
|
|
}) |
|
|
}) |
|
|
this.initProfits(item,ext) |
|
|
this.initProfits(item,ext) |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
if(item.CompetingItems&&item.CompetingItems.length>0) |
|
|
|
|
|
{ |
|
|
|
|
|
var competing=item.CompetingItems[0] |
|
|
|
|
|
item.RivalTitle=competing.Title |
|
|
|
|
|
item.RivalPrice=competing.Price |
|
|
|
|
|
item.RivalPLCount=competing.CommentCount |
|
|
|
|
|
item.RivalImg=competing.ImgUrl |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
this.datas = res.Data; |
|
|
this.datas = res.Data; |
|
|
}); |
|
|
}); |
|
|