|
@@ -1,13 +1,14 @@
|
|
|
<template>
|
|
|
<div class="shop">
|
|
|
<module-view :propConfig="config" ref="view" v-loading="load" style="height:100%" @pagination="pagination" />
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
import { Component, Prop, Vue, Watch } from "vue-property-decorator";
|
|
|
import { query,save,update,del } from '@/api/shop'
|
|
|
+import shopTag from './components/tag.vue'
|
|
|
@Component({components:{}})
|
|
|
export default class Shop extends Vue {
|
|
|
load=false;
|
|
@@ -275,6 +276,254 @@ export default class Shop extends Vue {
|
|
|
width:150
|
|
|
}]
|
|
|
},
|
|
|
+ modal:{
|
|
|
+ tool:{
|
|
|
+ tools:{
|
|
|
+ return:true,
|
|
|
+ save:true
|
|
|
+ }
|
|
|
+ },
|
|
|
+ form:{
|
|
|
+ attr:{
|
|
|
+ size:'small',
|
|
|
+ labelWidth:'130px'
|
|
|
+ },
|
|
|
+ columns:[
|
|
|
+ [{
|
|
|
+ label:'店铺编号',
|
|
|
+ prop:'shopId',
|
|
|
+ component:'by-input',
|
|
|
+ },{
|
|
|
+ label:'店铺名称',
|
|
|
+ prop:'shopName',
|
|
|
+ component:'by-input',
|
|
|
+ },{
|
|
|
+ label:'店铺简称',
|
|
|
+ prop:'shortName',
|
|
|
+ component:'by-input',
|
|
|
+ },{
|
|
|
+ label:'店铺分组',
|
|
|
+ prop:'shopGroup',
|
|
|
+ component:'by-input',
|
|
|
+ }],
|
|
|
+ [{
|
|
|
+ label:'店铺网址',
|
|
|
+ prop:'shopUrl',
|
|
|
+ component:'by-input',
|
|
|
+ },{
|
|
|
+ label:'店铺站点',
|
|
|
+ prop:'shopSite',
|
|
|
+ component:'by-input',
|
|
|
+ },{
|
|
|
+ label:'公司编号',
|
|
|
+ prop:'companyCode',
|
|
|
+ component:'by-input',
|
|
|
+ },{
|
|
|
+ label:'所属平台',
|
|
|
+ prop:'channelName',
|
|
|
+ component:'by-input',
|
|
|
+ }],
|
|
|
+ [{
|
|
|
+ label:'平台类型',
|
|
|
+ prop:'channel',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'平台店铺名称',
|
|
|
+ prop:'channelShopName',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'授权账号',
|
|
|
+ prop:'authAccount',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'授权状态',
|
|
|
+ prop:'authStatus',
|
|
|
+ component:shopTag
|
|
|
+ }],
|
|
|
+ [{
|
|
|
+ label:'APP KEY',
|
|
|
+ prop:'appKey',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'APP SECRET',
|
|
|
+ prop:'appSecret',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'ACCESSTOKEN',
|
|
|
+ prop:'accessToken',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'REFRESHTOKEN',
|
|
|
+ prop:'refreshToken',
|
|
|
+ component:'by-input'
|
|
|
+ }],
|
|
|
+ [{
|
|
|
+ label:'会话用户编号',
|
|
|
+ prop:'sessionUid',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'授权开始时间',
|
|
|
+ prop:'authBegin',
|
|
|
+ component:'by-date-picker'
|
|
|
+ },{
|
|
|
+ label:'授权过期时间',
|
|
|
+ prop:'authExpired',
|
|
|
+ component:'by-date-picker'
|
|
|
+ },{
|
|
|
+ label:'授权修改时间',
|
|
|
+ prop:'authModified',
|
|
|
+ component:'by-date-picker'
|
|
|
+ }],
|
|
|
+ [{
|
|
|
+ label:'店铺状态',
|
|
|
+ prop:'shopStatus',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'退款状态',
|
|
|
+ prop:'refundStatus',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'身份证号',
|
|
|
+ prop:'sendIdCard',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'联系电话',
|
|
|
+ prop:'sendPhone',
|
|
|
+ component:'by-input'
|
|
|
+ }],
|
|
|
+ [{
|
|
|
+ label:'发货地址',
|
|
|
+ prop:'sendTimeEffect',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'标签',
|
|
|
+ prop:'labels',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ span:12,
|
|
|
+ label:'发货地址',
|
|
|
+ prop:'sendAddress',
|
|
|
+ component:'by-input'
|
|
|
+ }],
|
|
|
+ [{
|
|
|
+ label:'服务市场订购版本',
|
|
|
+ prop:'subscriptionVersion',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'退货手机',
|
|
|
+ prop:'returnPhone',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'退货人',
|
|
|
+ prop:'returnName',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'退货邮编',
|
|
|
+ prop:'returnZip',
|
|
|
+ component:'by-input'
|
|
|
+ }],
|
|
|
+ [{
|
|
|
+ label:'同步发货',
|
|
|
+ prop:'enableSyncSend',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'揽收轨迹同步发货',
|
|
|
+ prop:'enableTrackSyncSend',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ span:12,
|
|
|
+ label:'退货地址',
|
|
|
+ prop:'returnAdress',
|
|
|
+ component:'by-input'
|
|
|
+ }],
|
|
|
+ [{
|
|
|
+ label:'拆分订单整单发货',
|
|
|
+ prop:'enableSplitOrderFullSend',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'同步库存',
|
|
|
+ prop:'enableSynvStore',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'订单下载',
|
|
|
+ prop:'enableSyncOrder',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'天猫物流升级',
|
|
|
+ prop:'enableTmallLogistics',
|
|
|
+ component:'by-input'
|
|
|
+ }],
|
|
|
+ [{
|
|
|
+ label:'下载截止时间',
|
|
|
+ prop:'endPullTime',
|
|
|
+ component:'by-date-picker'
|
|
|
+ },{
|
|
|
+ label:'最晚截单时间',
|
|
|
+ prop:'endInterceptTime',
|
|
|
+ component:'by-date-picker'
|
|
|
+ },{
|
|
|
+ label:'最晚出库时间',
|
|
|
+ prop:'endDeliveryTime',
|
|
|
+ component:'by-date-picker'
|
|
|
+ },{
|
|
|
+ label:'淘宝消息通知',
|
|
|
+ prop:'enableTaobaoMessageNotice',
|
|
|
+ component:'by-input'
|
|
|
+ }],
|
|
|
+ [{
|
|
|
+ label:'商品下载',
|
|
|
+ prop:'enableSkuDownload',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'开启链接库存同步',
|
|
|
+ prop:'enableLinkSync',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'是否虾皮SIP',
|
|
|
+ prop:'shopeeSip',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'支付宝授权状态',
|
|
|
+ prop:'alipayAuthStatus',
|
|
|
+ component:'by-input'
|
|
|
+ }],
|
|
|
+ [{
|
|
|
+ label:'京东授权状态',
|
|
|
+ prop:'jdAuthStatus',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'京东拒绝申请原因',
|
|
|
+ prop:'jdRejectReason',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'启用分销',
|
|
|
+ prop:'enableDistribution',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'菜鸟电子面单',
|
|
|
+ prop:'enableCainiaoElectronicBill',
|
|
|
+ component:'by-input'
|
|
|
+ }],
|
|
|
+ [{
|
|
|
+ label:'售后单下载',
|
|
|
+ prop:'enableSyncAfterSale',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'开通AG',
|
|
|
+ prop:'enableAg',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'确认收货自动退款',
|
|
|
+ prop:'enableAutoRefund',
|
|
|
+ component:'by-input'
|
|
|
+ },{
|
|
|
+ label:'开启跨境操作',
|
|
|
+ prop:'enableCbec',
|
|
|
+ component:'by-input'
|
|
|
+ }]
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
request:{
|
|
|
url:'/omsOrder/omsShop/save'
|
|
|
}
|