main
fanfan 5 months ago
parent 2b9f16b9df
commit ea3f0eb298
  1. 12
      src/views/goods/Index.vue

@ -151,6 +151,11 @@
text
}}</a>
<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 slot="status" slot-scope="text, item">
@ -226,6 +231,13 @@ const columns = [
width: '260px',
scopedSlots: { customRender: 'goods_name' },
},
{
title: '规格类型',
width: '90px',
dataIndex: 'spec_type',
scopedSlots: { customRender: 'spec_type' },
sorter: true,
},
{
title: '商品价格',
width: '90px',

Loading…
Cancel
Save