|
|
@ -151,6 +151,11 @@ |
|
|
|
text |
|
|
|
text |
|
|
|
}}</a> |
|
|
|
}}</a> |
|
|
|
<p style="white-space: pre-wrap" v-else>{{ text }}</p> |
|
|
|
<p style="white-space: pre-wrap" v-else>{{ text }}</p> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
<span slot="spec_type" slot-scope="text"> |
|
|
|
|
|
|
|
<p class="twoline-hide" style="width: 40px"> |
|
|
|
|
|
|
|
{{ text == 10 ? '单规格' : '多规格' }} |
|
|
|
|
|
|
|
</p> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
<!-- 商品状态 --> |
|
|
|
<!-- 商品状态 --> |
|
|
|
<span slot="status" slot-scope="text, item"> |
|
|
|
<span slot="status" slot-scope="text, item"> |
|
|
@ -226,6 +231,13 @@ const columns = [ |
|
|
|
width: '260px', |
|
|
|
width: '260px', |
|
|
|
scopedSlots: { customRender: 'goods_name' }, |
|
|
|
scopedSlots: { customRender: 'goods_name' }, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
title: '规格类型', |
|
|
|
|
|
|
|
width: '90px', |
|
|
|
|
|
|
|
dataIndex: 'spec_type', |
|
|
|
|
|
|
|
scopedSlots: { customRender: 'spec_type' }, |
|
|
|
|
|
|
|
sorter: true, |
|
|
|
|
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: '商品价格', |
|
|
|
title: '商品价格', |
|
|
|
width: '90px', |
|
|
|
width: '90px', |
|
|
|