|
@@ -19,79 +19,99 @@ export default class Shop extends Vue {
|
|
|
attr:{
|
|
|
calculateH:true
|
|
|
},
|
|
|
- search:{
|
|
|
- attr:{
|
|
|
- size:'small'
|
|
|
- },
|
|
|
- columns:[
|
|
|
- [{
|
|
|
- label:'店铺名称',
|
|
|
- prop:'shopName',
|
|
|
- component:'by-input',
|
|
|
- compConfig:{}
|
|
|
- },{
|
|
|
- label:'店铺简称',
|
|
|
- prop:'shortName',
|
|
|
- component:'by-input',
|
|
|
- compConfig:{}
|
|
|
- },
|
|
|
- // {
|
|
|
- // label:'店铺状态',
|
|
|
- // prop:'shopStatus',
|
|
|
- // component:'by-input',
|
|
|
- // compConfig:{}
|
|
|
- // },
|
|
|
- {
|
|
|
- label:'授权状态',
|
|
|
- prop:'authStatus',
|
|
|
- component:'by-select',
|
|
|
- compConfig:{
|
|
|
- attr:{
|
|
|
- clearable:true,
|
|
|
- data:[{
|
|
|
- value:'Authorized',
|
|
|
- label:'已授权'
|
|
|
- },{
|
|
|
- value:'Unauthorized',
|
|
|
- label:'未授权'
|
|
|
- },{
|
|
|
- value:'Expired',
|
|
|
- label:'已过期'
|
|
|
- }]
|
|
|
- }
|
|
|
- }
|
|
|
- }],
|
|
|
- [{
|
|
|
- label:'授权账号',
|
|
|
- prop:'authAccount',
|
|
|
- component:'by-input',
|
|
|
- compConfig:{}
|
|
|
- },{
|
|
|
- label:'所属平台',
|
|
|
- prop:'channelName',
|
|
|
- component:'by-input',
|
|
|
- compConfig:{}
|
|
|
- },
|
|
|
- // {
|
|
|
- // label:'同步发货',
|
|
|
- // prop:'enableSyncSend',
|
|
|
- // component:'by-input',
|
|
|
- // compConfig:{}
|
|
|
- // },
|
|
|
- {
|
|
|
- label:'创建时间',
|
|
|
- prop:'createTime',
|
|
|
- component:'by-date-picker',
|
|
|
- compConfig:{
|
|
|
- attr:{
|
|
|
- editable:false,
|
|
|
- type:'datetimerange',
|
|
|
- format:'yyyy-MM-dd HH:mm:ss'
|
|
|
- }
|
|
|
- }
|
|
|
- }]
|
|
|
- ]
|
|
|
- },
|
|
|
+ // search:{
|
|
|
+ // attr:{
|
|
|
+ // size:'small'
|
|
|
+ // },
|
|
|
+ // columns:[
|
|
|
+ // [{
|
|
|
+ // label:'店铺名称',
|
|
|
+ // prop:'shopName',
|
|
|
+ // component:'by-input',
|
|
|
+ // compConfig:{}
|
|
|
+ // },{
|
|
|
+ // label:'店铺类型',
|
|
|
+ // prop:'shortName',
|
|
|
+ // component:'by-input',
|
|
|
+ // compConfig:{}
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label:'店铺编码',
|
|
|
+ // prop:'shopStatus',
|
|
|
+ // component:'by-input',
|
|
|
+ // compConfig:{}
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label:'类型',
|
|
|
+ // prop:'authStatus',
|
|
|
+ // component:'by-select',
|
|
|
+ // compConfig:{
|
|
|
+ // attr:{
|
|
|
+ // clearable:true,
|
|
|
+ // data:[{
|
|
|
+ // value:'Authorized',
|
|
|
+ // label:'已授权'
|
|
|
+ // },{
|
|
|
+ // value:'Unauthorized',
|
|
|
+ // label:'未授权'
|
|
|
+ // },{
|
|
|
+ // value:'Expired',
|
|
|
+ // label:'已过期'
|
|
|
+ // }]
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }],
|
|
|
+ // [{
|
|
|
+ // label:'授权状态',
|
|
|
+ // prop:'authStatus',
|
|
|
+ // component:'by-select',
|
|
|
+ // compConfig:{
|
|
|
+ // attr:{
|
|
|
+ // clearable:true,
|
|
|
+ // data:[{
|
|
|
+ // value:'Authorized',
|
|
|
+ // label:'已授权'
|
|
|
+ // },{
|
|
|
+ // value:'Unauthorized',
|
|
|
+ // label:'未授权'
|
|
|
+ // },{
|
|
|
+ // value:'Expired',
|
|
|
+ // label:'已过期'
|
|
|
+ // }]
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // },{
|
|
|
+ // label:'子平台名称',
|
|
|
+ // prop:'channelName',
|
|
|
+ // component:'by-input',
|
|
|
+ // compConfig:{}
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label:'联系人',
|
|
|
+ // prop:'enableSyncSend',
|
|
|
+ // component:'by-input',
|
|
|
+ // compConfig:{}
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label:'联系人电话',
|
|
|
+ // prop:'enableSyncSend',
|
|
|
+ // component:'by-input',
|
|
|
+ // compConfig:{}
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label:'创建时间',
|
|
|
+ // prop:'createTime',
|
|
|
+ // component:'by-date-picker',
|
|
|
+ // compConfig:{
|
|
|
+ // attr:{
|
|
|
+ // editable:false,
|
|
|
+ // type:'datetimerange',
|
|
|
+ // format:'yyyy-MM-dd HH:mm:ss'
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }]
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
tool:{
|
|
|
tools:{
|
|
|
add:true,
|
|
@@ -111,9 +131,9 @@ export default class Shop extends Vue {
|
|
|
title:'店铺名称',
|
|
|
field:'shopName',
|
|
|
isDetail:true,
|
|
|
- // width:150
|
|
|
+ width:150
|
|
|
},{
|
|
|
- title:'店铺简称',
|
|
|
+ title:'店铺类型',
|
|
|
field:'shortName',
|
|
|
width:150
|
|
|
},
|
|
@@ -131,36 +151,39 @@ export default class Shop extends Vue {
|
|
|
// width:150
|
|
|
// },
|
|
|
{
|
|
|
- title:'公司编号',
|
|
|
+ title:'类型',
|
|
|
field:'companyCode',
|
|
|
width:150
|
|
|
},{
|
|
|
- title:'所属平台',
|
|
|
+ title:'平台名称',
|
|
|
field:'channelName',
|
|
|
width:150
|
|
|
},{
|
|
|
- title:'平台店铺名称',
|
|
|
+ title:'子平台名称',
|
|
|
field:'channelShopName',
|
|
|
width:150
|
|
|
- },{
|
|
|
- title:'授权账户',
|
|
|
- field:'authAccount',
|
|
|
- width:150
|
|
|
- },{
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // title:'授权账户',
|
|
|
+ // field:'authAccount',
|
|
|
+ // width:150
|
|
|
+ // },
|
|
|
+ {
|
|
|
title:'授权状态',
|
|
|
field:'authStatus',
|
|
|
width:150,
|
|
|
component:shopTag
|
|
|
},
|
|
|
- // {
|
|
|
- // title:'授权开始时间',
|
|
|
- // field:'authBegin',
|
|
|
- // width:150
|
|
|
- // },{
|
|
|
- // title:'授权过期时间',
|
|
|
- // field:'authExpired',
|
|
|
- // width:150
|
|
|
- // },{
|
|
|
+ {
|
|
|
+ title:'联系人',
|
|
|
+ field:'authBegin',
|
|
|
+ width:150
|
|
|
+ },{
|
|
|
+ title:'联系电话',
|
|
|
+ field:'authExpired',
|
|
|
+ width:150
|
|
|
+ },
|
|
|
+ //{
|
|
|
// title:'授权修改时间',
|
|
|
// field:'authModified',
|
|
|
// width:150
|