master
fanfan 3 weeks ago
parent 1d805fb55a
commit 8656370f5c
  1. 30
      src/views/goods/lineReport/index.vue

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

Loading…
Cancel
Save