master
fanfan 1 month ago
parent f023e6f447
commit 3b84876e11
  1. 10
      src/views/goods/lineReport/index.vue

@ -9,7 +9,7 @@
<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.goods_name}}</br>
市场价:{{item.cost_price_min}}</br>
推广价:{{item.goods_price_min}}</br>
SKU:{{item.goods_no}}</br>
@ -123,6 +123,7 @@ export default {
if (that.goodsList.length > 0) {
that.goodsList.forEach(function (obj) {
text +=
'★' +
obj.goods_name +
'\n' +
'市场价:' +
@ -135,9 +136,10 @@ export default {
obj.goods_no +
'\n' +
obj.jd_short_url +
';\n'
'\n' +
' \n'
})
let content = '今天' + that.today + ',' + that.fromData.header_content + '\n' + text
let content = '今天' + that.today + ',' + that.fromData.header_content + '\n' + ' \n' + text
that.copyText(content)
// if (content) {
// let el = document.createElement('textarea')
@ -240,7 +242,7 @@ export default {
color: #000;
padding-top: 15px;
margin-top: 15px;
border-top: 1px dashed #999;
// border-top: 1px dashed #999;
}
.report-name {
font-size: 14px;

Loading…
Cancel
Save