Commit cd8fd706 authored by linxin's avatar linxin

add

parent ff47f317
......@@ -53,13 +53,9 @@
<div slot="content" class="item-content">
<div class="top">{{ list.product_name }}</div>
<img src="@/assets/homePage/hot.png" class="hot">
<!-- <div class="center"><span class="firsts">{{ !list.office_id&&!list.agent_id?"-":(list.agent_id?'经销商':'办事处') }}</span> <span class="seconds">{{ !list.office_id&&!list.agent_id?"-":(list.agent_id?list.agent_name:list.office_name) }}</span></div>
<div class="center"><span class="firsts">{{ !list.office_id&&!list.agent_id?"-":(list.office_id?'办事处':'经销商') }}</span> <span class="seconds">{{ !list.office_id&&!list.agent_id?"-":(list.office_id?list.office_name:list.agent_name) }}</span></div>
<div class="center"><span class="firsts">产品型号</span> <span class="seconds">{{ list.product_code }}</span></div>
<div class="center"><span class="firsts">地址</span> <span class="seconds">{{ !list.office_id&&!list.agent_id?( list.province_id_n === list.city_id_n?list.city_id_n + list.district_id_n:list.province_id_n + list.city_id_n + list.district_id_n):(list.agent_id? (list.agent_province === list.agent_city?list.agent_city + list.agent_district:list.agent_province + list.agent_city + list.agent_district):(list.office_province === list.office_city?list.office_city + list.office_district:list.office_province + list.office_city + list.office_district)) }}</span></div>
-->
<div class="center"><span class="firsts">经销商</span> <span class="seconds">{{ list.bp_name }}</span></div>
<div class="center"><span class="firsts">产品型号</span> <span class="seconds">{{ list.product_code }}</span></div>
<div class="center"><span class="firsts">地址</span> <span class="seconds">{{ list.province_id_n === list.city_id_n?list.city_id_n + list.district_id_n:list.province_id_n + list.city_id_n + list.district_id_n }}</span></div>
<div class="center"><span class="firsts">地址</span> <span class="seconds">{{ !list.office_id&&!list.agent_id?( list.province_id_n === list.city_id_n?list.city_id_n + list.district_id_n:list.province_id_n + list.city_id_n + list.district_id_n):(list.office_id? (list.office_province === list.office_city?list.office_city + list.office_district:list.office_province + list.office_city + list.office_district):(list.agent_province === list.agent_city?list.agent_city + list.agent_district:list.agent_province + list.agent_city + list.agent_district)) }}</span></div>
</div>
</item>
</list-item>
......@@ -202,17 +198,7 @@ export default {
}
})
},
// // 进入产品明细
// goProductDetail (list) {
// let bpId = !list.office_id && !list.agent_id ? list.bp_id : (list.agent_id ? list.agent_id : list.office_id)
// this.$router.push({
// name: 'ProDetailed',
// params: {
// product_id: list.product_id,
// bp_id: bpId,
// },
// })
// },
// 进入产品明细
goProductDetail (list) {
this.$router.push({
name: 'ProDetailed',
......@@ -222,7 +208,6 @@ export default {
},
})
},
},
}
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment