main
fanfan 11 months ago
parent ea38705a71
commit 274f55b5ef
  1. 2
      src/main.js
  2. 3
      src/views/dataCenter/goods/Index.vue

@ -21,7 +21,7 @@ Vue.prototype.pagination = {
page: 1, // 当前页码
pageSize: 15, // 每页显示条数
showQuickJumper: true, // 显示跳转输入框
},
}
// mount axios Vue.$http and this.$http
Vue.use(VueAxios)
Vue.use(Dialog)

@ -175,6 +175,7 @@
:rowSelection="rowSelection"
:pagination="pagination"
:pageSize="15"
:scroll="{ x: 1300 }"
>
<!-- 商品图片 -->
<span slot="goods_image" slot-scope="text">
@ -284,11 +285,13 @@ const columns = [
},
{
title: '商品池',
width: '80px',
dataIndex: 'is_pool',
scopedSlots: { customRender: 'is_pool' },
},
{
title: '状态',
width: '60px',
dataIndex: 'is_sale',
scopedSlots: { customRender: 'is_sale' },
},

Loading…
Cancel
Save