mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-31 06:50:51 +00:00
修改直播间商品展示
This commit is contained in:
parent
90c820df36
commit
c9295aa4ec
@ -106,23 +106,24 @@ export default {
|
||||
columns1: [
|
||||
{ key: 'id', title: '商品ID' },
|
||||
{ slot: 'img', title: '商品信息' },
|
||||
{
|
||||
key: 'price',
|
||||
title: '直播售价',
|
||||
render: (h, params) => {
|
||||
return h('Input', {
|
||||
props: {
|
||||
type: 'number',
|
||||
value: params.row.price,
|
||||
},
|
||||
on: {
|
||||
input: (val) => {
|
||||
this.tabList[params.index].price = val;
|
||||
},
|
||||
},
|
||||
});
|
||||
},
|
||||
},
|
||||
{ slot: 'price', title: '直播售价' },
|
||||
// {
|
||||
// key: 'price',
|
||||
// title: '直播售价',
|
||||
// render: (h, params) => {
|
||||
// return h('Input', {
|
||||
// props: {
|
||||
// type: 'number',
|
||||
// value: params.row.price,
|
||||
// },
|
||||
// on: {
|
||||
// input: (val) => {
|
||||
// this.tabList[params.index].price = val;
|
||||
// },
|
||||
// },
|
||||
// });
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// key: 'cost_price',
|
||||
// title: '直播原价',
|
||||
|
||||
@ -38,14 +38,14 @@
|
||||
<Button v-auth="['setting-system_menus-add']" type="primary" @click="menusAdd('添加直播间')" icon="md-add"
|
||||
>添加商品
|
||||
</Button>
|
||||
<Button
|
||||
<!-- <Button
|
||||
v-auth="['setting-system_menus-add']"
|
||||
icon="md-list"
|
||||
type="success"
|
||||
@click="syncGoods"
|
||||
style="margin-left: 20px"
|
||||
>同步商品
|
||||
</Button>
|
||||
</Button> -->
|
||||
</Col>
|
||||
</Row>
|
||||
</Form>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user