|
|
|
@ -9,13 +9,14 @@ |
|
|
|
|
<div style="padding-bottom:50px" class="maxHeight"> |
|
|
|
|
<div class="report-name">今天 {{today}},{{fromData.header_content}}</div> |
|
|
|
|
<ul class="reportBox"><li v-for="(item, index) in goodsList" :key="index" class="report"> |
|
|
|
|
{{'★'+item.goods_name}}</br> |
|
|
|
|
市场价:{{item.cost_price_min}}</br> |
|
|
|
|
推广价:{{item.goods_price_min}}</br> |
|
|
|
|
SKU:{{item.goods_no}}</br> |
|
|
|
|
{{item.jd_short_url}}</br> |
|
|
|
|
抢购链接: <span style="color:blue">{{item.applet_short_url }}</span></br> |
|
|
|
|
<span v-if="item.tail"> 尾端内容:{{item.tail}} </br></span> |
|
|
|
|
<div v-if="item.goods_name"> {{'★'+item.goods_name}}</br></div> |
|
|
|
|
<div v-if="item.cost_price_min">市场价: {{item.cost_price_min}}</br></div> |
|
|
|
|
<div v-if="item.goods_price_min"> 推广价:{{item.goods_price_min}}</br></div> |
|
|
|
|
<div v-if="item.goods_no">SKU:{{item.goods_no}}</br></div> |
|
|
|
|
<div v-if="item.jd_short_url"> {{item.jd_short_url}}</br></div> |
|
|
|
|
<div v-if="item.jd_short_url"> 抢购链接: <span style="color:blue">{{item.applet_short_url }}</span></br></div> |
|
|
|
|
|
|
|
|
|
<div v-if="item.tail"> 尾端内容:{{item.tail}} </br></div> |
|
|
|
|
</li></ul></div> |
|
|
|
|
|
|
|
|
|
</a-modal> |
|
|
|
@ -66,7 +67,7 @@ export default { |
|
|
|
|
title: '首端内容', |
|
|
|
|
dataIndex: 'header_content', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
{ |
|
|
|
|
title: '尾端内容', |
|
|
|
|
dataIndex: 'tail', |
|
|
|
|
}, |
|
|
|
@ -139,17 +140,10 @@ export default { |
|
|
|
|
'推广价:' + |
|
|
|
|
obj.cost_price_min + |
|
|
|
|
'\n' + |
|
|
|
|
'SKU:' + |
|
|
|
|
obj.goods_no + |
|
|
|
|
'\n' + |
|
|
|
|
obj.jd_short_url + |
|
|
|
|
'\n' + |
|
|
|
|
'抢购链接:' + |
|
|
|
|
obj.applet_short_url + |
|
|
|
|
'\n' + |
|
|
|
|
'尾端内容:' + |
|
|
|
|
obj.tail + |
|
|
|
|
'\n' + |
|
|
|
|
(obj.goods_no ? 'SKU:' + obj.goods_no + '\n' : '') + |
|
|
|
|
(obj.jd_short_url ? obj.jd_short_url + '\n' : '') + |
|
|
|
|
(obj.applet_short_url ? '抢购链接:' + obj.applet_short_url + '\n' : '') + |
|
|
|
|
(obj.tail ? '尾端内容' + obj.tail + '\n' : '') + |
|
|
|
|
' \n' |
|
|
|
|
}) |
|
|
|
|
let content = '今天' + that.today + ',' + that.fromData.header_content + '\n' + ' \n' + text |
|
|
|
|