Browse Source

订单选择店铺

ymy 1 year ago
parent
commit
17ddb5fc62

+ 3 - 0
src/components/supplierModal/supplierModal.vue

@@ -42,6 +42,9 @@ export default class SupplierModal extends Vue {
 	zIndex?:number
 
   config:any={
+    attr:{
+      calculateH:true
+    },
     search:{
       attr:{
         size:'mini',

+ 31 - 9
src/views/oms/order/components/addOrder.vue

@@ -21,6 +21,11 @@
             <template v-slot:sourceFrom_desc='{ value }'>
               {{ getFromText(value.sourceFrom) }}
             </template>
+            <template v-slot:shopName="{value}">
+              <el-input :placeholder="!orderValue.id?'请选择标签':''" :value="value.shopName" :disabled="orderValue.id?true:false" size="small" class="myinpuy-with-select" clearable>
+                <el-button slot="append" v-if="!orderValue.id" icon="el-icon-more" @click="showShop"></el-button>
+              </el-input>
+            </template>
             <template v-slot:labels="{value}">
               <el-input :placeholder="!orderValue.id?'请选择标签':''" :value="value.labels" :disabled="orderValue.id?true:false" size="small" class="myinpuy-with-select" clearable>
                 <el-button slot="append" v-if="!orderValue.id" icon="el-icon-more" @click="showLabels"></el-button>
@@ -150,10 +155,16 @@
           <by-form :propConfig="newInvoicesConfig" ref="invoicesform"></by-form>
         </el-collapse-item>
       </el-collapse>
+      <!-- 商品 -->
       <product-sku-modal ref="product" :mulit="true" @confirm="confirmProduct" />
+      <!-- 赠品 -->
       <product-sku-modal ref="productGift" :mulit="true" @confirm="confirmProductGift" />
+
       <add-product-modal ref="addProductModal" @handleSuccess="handleSuccess" :mask="false" />
       <edit-product-modal ref="editProductModal" @handleSuccess="handleSuccess" />
+      <!-- 店铺 -->
+      <shop-modal ref="shopModal" @shopSelect="shopSelect" />
+      <!-- 标签 -->
       <labels-modal ref="labelsModal" @onChange="onChangeLabel" />
     </template>
     <template #footer v-if="!orderValue.id">
@@ -173,7 +184,8 @@ import { add,multiply,subtract,divide } from '@/benyun/utils/accuracy'
 import AddProductModal from "./addProductModal.vue";
 import EditProductModal from "./editProductModal.vue";
 import LabelsModal from "./labelsModal.vue";
-@Component({components:{AddProductModal,EditProductModal,LabelsModal}})
+import ShopModal from "./shopModal.vue";
+@Component({components:{AddProductModal,EditProductModal,LabelsModal,ShopModal}})
 export default class AddOrder extends Vue {
   value=false;
   num:any=0;
@@ -221,14 +233,15 @@ export default class AddOrder extends Vue {
         span:6,
         label:'店铺名称',
         prop:'shopName',
-        component:'by-input',
-        compConfig:{
-          attr:{
-            type:'integer',
-            placeholder:'请输入店铺名称',
-            clearable:true
-          }
-        }
+        slot:true,
+        // component:'by-input',
+        // compConfig:{
+        //   attr:{
+        //     type:'integer',
+        //     placeholder:'请输入店铺名称',
+        //     clearable:true
+        //   }
+        // }
       },{
         span:6,
         label:'线上订单',
@@ -874,6 +887,15 @@ export default class AddOrder extends Vue {
   setShow(v:boolean){
     this.value = v;
   }
+  showShop(){
+    (this.$refs.shopModal as any).setShow(true);
+  }
+  shopSelect(data:any){
+    let value:any = (this.$refs.baseform as any).getValue();
+    value.shopId = data.id;
+    value.shopName = data.shopName;
+    (this.$refs.baseform as any).setValue(value);
+  }
   setDetail(data:any){
     this.orderValue = data;
     if(this.orderValue.isPay == 0 || this.orderValue.isPay == 1){

+ 143 - 0
src/views/oms/order/components/shopModal.vue

@@ -0,0 +1,143 @@
+<template>
+  <vxe-modal v-model="value" id="shopModel" title="选择店铺" width="70%" height="80%" show-zoom resize transfer show-footer v-loading="load">
+    <module-view :propConfig="config" ref="view" v-loading="load" @pagination="pagination" @onRefresh="getList" 
+    @resert="queryList" @search="queryList" />
+    <template #footer>
+      <div class="btn">
+        <el-button plain size="small" @click="value = false">取消</el-button>
+        <el-button type="primary" size="small" @click="btn">确定</el-button>
+      </div>
+    </template>
+  </vxe-modal>
+</template>
+
+<script lang="ts">
+import { Component, Prop, Vue, Watch } from "vue-property-decorator";
+import { query } from '@/api/shop'
+@Component({components:{}})
+export default class ShopModal extends Vue {
+  value=false;
+  load=false;
+  timeNum = 0;
+  isSearch=false;
+  config:any={
+    attr:{
+      calculateH:true
+    },
+    search:{
+      attr:{
+        size:'small'
+      },
+      columns:[
+        [{
+          label:'店铺名称',
+          prop:'shopName',
+          component:'by-input',
+          compConfig:{}
+        },{
+          label:'店铺简称',
+          prop:'shortName',
+          component:'by-input',
+          compConfig:{}
+        },{
+          label:'所属平台',
+          prop:'channelName',
+          component:'by-input',
+          compConfig:{}
+        }]
+      ]
+    },
+    tool:{
+      tools:{
+        search:true,
+        refresh:true
+      }
+    },
+    table:{
+      attr:{
+        triggerRowCheck:'row',
+        size:'mini',
+        seq:true,
+        radio:true,
+        align:'center',
+      },
+      columns:[{
+        title:'店铺名称',
+        field:'shopName'
+      },{
+        title:'店铺简称',
+        field:'shortName',
+
+      },{
+        title:'所属平台',
+        field:'channelName',
+      }]
+    }
+  }
+  mounted(){
+    this.getList();
+  }
+  //分页
+  pagination(){
+    if(this.isSearch){
+      this.queryList();
+    }else{
+      this.getList()
+    }
+  }
+  //列表请求(只有分页,不包含搜素条件)
+  getList(){
+    if(!this.$refs.view){
+      if(this.timeNum > 5){
+        return
+      }
+      setTimeout(()=>{
+        this.getList()
+      },500) 
+      this.timeNum ++;
+      return
+    }
+    this.isSearch = false;
+    let data = (this.$refs.view as any).getPage();
+    this.requestList(data);
+  }
+  //列表请求(包含分页和搜素条件)
+  queryList(){
+    this.isSearch = true;
+    let data = (this.$refs.view as any).getQuery();
+    this.requestList(data);
+  }
+  requestList(data:any){
+    this.load = true;
+    query(data).then((res:any) => {
+      this.load = false;
+      (this.$refs.view as any).setTableValue(res.data.records);
+      let page = {
+        pageNo: res.data.current, //当前页
+        pageSize: res.data.size, //每页条数
+        total: res.data.total //总条数
+      };
+      (this.$refs.view as any).setPage(page)
+
+    }).catch(()=>{
+      this.load = false;
+    })
+  }
+  setShow(v:boolean){
+    this.value = v
+  }
+  btn(){
+    let data = (this.$refs.view as any).getSelectData();
+    if(data.length == 0){
+      this.$message('请选择店铺!');
+      return
+    }
+    this.$emit('shopSelect',data[0]);
+    this.value = false;
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+
+</style>

+ 478 - 468
src/views/oms/shop/index.vue

@@ -34,12 +34,14 @@ export default class Shop extends Vue {
           prop:'shortName',
           component:'by-input',
           compConfig:{}
-        },{
-          label:'店铺状态',
-          prop:'shopStatus',
-          component:'by-input',
-          compConfig:{}
-        },{
+        },
+        // {
+        //   label:'店铺状态',
+        //   prop:'shopStatus',
+        //   component:'by-input',
+        //   compConfig:{}
+        // },
+        {
           label:'授权状态',
           prop:'authStatus',
           component:'by-select',
@@ -69,12 +71,14 @@ export default class Shop extends Vue {
           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',
@@ -107,24 +111,26 @@ export default class Shop extends Vue {
         title:'店铺名称',
         field:'shopName',
         isDetail:true,
-        width:150
+        // width:150
       },{
         title:'店铺简称',
         field:'shortName',
         width:150
-      },{
-        title:'店铺分组',
-        field:'shopGroup',
-        width:150
-      },{
-        title:'店铺网址',
-        field:'shopUrl',
-        width:150
-      },{
-        title:'店铺站点',
-        field:'shopSite',
-        width:150
-      },{
+      },
+      // {
+      //   title:'店铺分组',
+      //   field:'shopGroup',
+      //   width:150
+      // },{
+      //   title:'店铺网址',
+      //   field:'shopUrl',
+      //   width:150
+      // },{
+      //   title:'店铺站点',
+      //   field:'shopSite',
+      //   width:150
+      // },
+      {
         title:'公司编号',
         field:'companyCode',
         width:150
@@ -145,171 +151,175 @@ export default class Shop extends Vue {
         field:'authStatus',
         width:150,
         component:shopTag
-      },{
-        title:'授权开始时间',
-        field:'authBegin',
-        width:150
-      },{
-        title:'授权过期时间',
-        field:'authExpired',
-        width:150
-      },{
-        title:'授权修改时间',
-        field:'authModified',
-        width:150
-      },{
-        title:'店铺状态',
-        field:'shopStatus',
-        width:150
-      },{
-        title:'退款状态',
-        field:'refundStatus',
-        width:150
-      },{
-        title:'身份证',
-        field:'sendIdCard',
-        width:150
-      },{
-        title:'联系电话',
-        field:'sendPhone',
-        width:150
-      },{
-        title:'发货店址',
-        field:'sendAddress',
-        width:150
-      },{
-        title:'发货时效',
-        field:'sendTimeEffect',
-        width:150
-      },{
-        title:'退货手机号',
-        field:'returnPhone',
-        width:150
-      },{
-        title:'退货人',
-        field:'returnName',
-        width:150
-      },{
-        title:'退货地址',
-        field:'returnAdress',
-        width:150
-      },{
-        title:'同步发货',
-        field:'enableSyncSend',
-        width:150
-      },{
-        title:'揽收轨迹同步发货',
-        field:'enableTrackSyncSend',
-        width:150
-      },{
-        title:'拆分订单整单发货',
-        field:'enableSplitOrderFullSend',
-        width:150
-      },{
-        title:'同步库存',
-        field:'enableSynvStore',
-        width:150
-      },{
-        title:'订单下载',
-        field:'enableSyncOrder',
-        width:150
-      },{
-        title:'天猫物流升级',
-        field:'enableTmallLogistics',
-        width:150
-      },{
-        title:'下载截止时间',
-        field:'endPullTime',
-        width:150
-      },{
-        title:'最晚截单时间',
-        field:'endInterceptTime',
-        width:150
-      },{
-        title:'最晚出库时间',
-        field:'endDeliveryTime',
-        width:150
-      },{
-        title:'淘宝消息通知',
-        field:'enableTaobaoMessageNotice',
-        width:150
-      },{
-        title:'商品下载',
-        field:'enableSkuDownload',
-        width:150
-      },{
-        title:'开启链接库存同步',
-        field:'enableLinkSync',
-        width:150
-      },{
-        title:'是否虾皮SIP',
-        field:'shopeeSip',
-        width:150
-      },{
-        title:'支付宝授权状态',
-        field:'alipayAuthStatus',
-        width:150
-      },{
-        title:'京东授权状态',
-        field:'jdAuthStatus',
-        width:150
-      },{
-        title:'东账号拒绝申请原因',
-        field:'jdRejectReason',
-        width:150
-      },{
-        title:'启用分销',
-        field:'enableDistribution',
-        width:150
-      },{
-        title:'菜鸟(青龙)电子面单',
-        field:'enableCainiaoElectronicBill',
-        width:150
-      },{
-        title:'售后单下载',
-        field:'enableSyncAfterSale',
-        width:150
-      },{
-        title:'开通AG',
-        field:'enableAg',
-        width:150
-      },{
-        title:'确认收货自动退款',
-        field:'enableAutoRefund',
-        width:150
-      },{
-        title:'开启跨境操作',
-        field:'enableCbec',
-        width:150
-      },{
-        title:'创建来源',
-        field:'createSource',
-        width:150
-      },{
-        title:'标签',
-        field:'labels',
-        width:150
-      },{
-        title:'服务市场订购版本',
-        field:'subscriptionVersion',
-        width:150
-      },{
-        title:'创建时间',
-        field:'createTime',
-        width:150
-      },{
-        title:'操作',
-        action:true,
-        width:100,
-        plugins:[{
-          name:'删除',
-          event:{
-            click:(item:any) => {
-              this.del(item);
-            }
-          }
-        }]
-      }]
+      },
+      // {
+      //   title:'授权开始时间',
+      //   field:'authBegin',
+      //   width:150
+      // },{
+      //   title:'授权过期时间',
+      //   field:'authExpired',
+      //   width:150
+      // },{
+      //   title:'授权修改时间',
+      //   field:'authModified',
+      //   width:150
+      // },
+      // {
+      //   title:'店铺状态',
+      //   field:'shopStatus',
+      //   width:150
+      // }
+      // ,{
+      //   title:'退款状态',
+      //   field:'refundStatus',
+      //   width:150
+      // },{
+      //   title:'身份证',
+      //   field:'sendIdCard',
+      //   width:150
+      // },{
+      //   title:'联系电话',
+      //   field:'sendPhone',
+      //   width:150
+      // },{
+      //   title:'发货店址',
+      //   field:'sendAddress',
+      //   width:150
+      // },{
+      //   title:'发货时效',
+      //   field:'sendTimeEffect',
+      //   width:150
+      // },{
+      //   title:'退货手机号',
+      //   field:'returnPhone',
+      //   width:150
+      // },{
+      //   title:'退货人',
+      //   field:'returnName',
+      //   width:150
+      // },{
+      //   title:'退货地址',
+      //   field:'returnAdress',
+      //   width:150
+      // },{
+      //   title:'同步发货',
+      //   field:'enableSyncSend',
+      //   width:150
+      // },{
+      //   title:'揽收轨迹同步发货',
+      //   field:'enableTrackSyncSend',
+      //   width:150
+      // },{
+      //   title:'拆分订单整单发货',
+      //   field:'enableSplitOrderFullSend',
+      //   width:150
+      // },{
+      //   title:'同步库存',
+      //   field:'enableSynvStore',
+      //   width:150
+      // },{
+      //   title:'订单下载',
+      //   field:'enableSyncOrder',
+      //   width:150
+      // },{
+      //   title:'天猫物流升级',
+      //   field:'enableTmallLogistics',
+      //   width:150
+      // },{
+      //   title:'下载截止时间',
+      //   field:'endPullTime',
+      //   width:150
+      // },{
+      //   title:'最晚截单时间',
+      //   field:'endInterceptTime',
+      //   width:150
+      // },{
+      //   title:'最晚出库时间',
+      //   field:'endDeliveryTime',
+      //   width:150
+      // },{
+      //   title:'淘宝消息通知',
+      //   field:'enableTaobaoMessageNotice',
+      //   width:150
+      // },{
+      //   title:'商品下载',
+      //   field:'enableSkuDownload',
+      //   width:150
+      // },{
+      //   title:'开启链接库存同步',
+      //   field:'enableLinkSync',
+      //   width:150
+      // },{
+      //   title:'是否虾皮SIP',
+      //   field:'shopeeSip',
+      //   width:150
+      // },{
+      //   title:'支付宝授权状态',
+      //   field:'alipayAuthStatus',
+      //   width:150
+      // },{
+      //   title:'京东授权状态',
+      //   field:'jdAuthStatus',
+      //   width:150
+      // },{
+      //   title:'东账号拒绝申请原因',
+      //   field:'jdRejectReason',
+      //   width:150
+      // },{
+      //   title:'启用分销',
+      //   field:'enableDistribution',
+      //   width:150
+      // },{
+      //   title:'菜鸟(青龙)电子面单',
+      //   field:'enableCainiaoElectronicBill',
+      //   width:150
+      // },{
+      //   title:'售后单下载',
+      //   field:'enableSyncAfterSale',
+      //   width:150
+      // },{
+      //   title:'开通AG',
+      //   field:'enableAg',
+      //   width:150
+      // },{
+      //   title:'确认收货自动退款',
+      //   field:'enableAutoRefund',
+      //   width:150
+      // },{
+      //   title:'开启跨境操作',
+      //   field:'enableCbec',
+      //   width:150
+      // },{
+      //   title:'创建来源',
+      //   field:'createSource',
+      //   width:150
+      // },{
+      //   title:'标签',
+      //   field:'labels',
+      //   width:150
+      // },{
+      //   title:'服务市场订购版本',
+      //   field:'subscriptionVersion',
+      //   width:150
+      // },{
+      //   title:'创建时间',
+      //   field:'createTime',
+      //   width:150
+      // },{
+      //   title:'操作',
+      //   action:true,
+      //   width:100,
+      //   plugins:[{
+      //     name:'删除',
+      //     event:{
+      //       click:(item:any) => {
+      //         this.del(item);
+      //       }
+      //     }
+      //   }]
+      // }
+    ]
     },
     modal:{
       tool:{
@@ -407,283 +417,283 @@ export default class Shop extends Vue {
               }
             }
           }],
-          [{
-            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:'jdAuthStatus',
-            component:'by-input'
-          },{
-            label:'京东拒绝申请原因',
-            prop:'jdRejectReason',
-            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:'alipayAuthStatus',
-            component:'by-input'
-          },{
-            label:'菜鸟电子面单',
-            prop:'enableCainiaoElectronicBill',
-            component:'by-input'
-          },{
-            span:12,
-            label:'退货地址',
-            prop:'returnAdress',
-            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:'enableSplitOrderFullSend',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:1,
-                inactiveValue:0
-              }
-            }
-          },{
-            label:'同步库存',
-            prop:'enableSynvStore',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:1,
-                inactiveValue:0
-              }
-            }
-          },{
-            label:'订单下载',
-            prop:'enableSyncOrder',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:1,
-                inactiveValue:0
-              }
-            }
-          },{
-            label:'天猫物流升级',
-            prop:'enableTmallLogistics',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:1,
-                inactiveValue:0
-              }
-            }
-          }],
-          [{
-            label:'商品下载',
-            prop:'enableSkuDownload',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:1,
-                inactiveValue:0
-              }
-            }
-          },{
-            label:'开启链接库存同步',
-            prop:'enableLinkSync',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:1,
-                inactiveValue:0
-              }
-            }
-          },{
-            label:'是否虾皮SIP',
-            prop:'shopeeSip',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:1,
-                inactiveValue:0
-              }
-            }
-          },{
-            label:'同步发货',
-            prop:'enableSyncSend',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:1,
-                inactiveValue:0
-              }
-            }
-          }],
-          [{
-            label:'店铺状态',
-            prop:'shopStatus',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:1,
-                inactiveValue:0
-              }
-            }
-          },{
-            label:'退款状态',
-            prop:'refundStatus',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:'1',
-                inactiveValue:'0'
-              }
-            }
-          },{
-            label:'启用分销',
-            prop:'enableDistribution',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:1,
-                inactiveValue:0
-              }
-            }
-          },{
-            label:'揽收轨迹同步发货',
-            prop:'enableTrackSyncSend',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:1,
-                inactiveValue:0
-              }
-            }
-          }],
-          [{
-            label:'售后单下载',
-            prop:'enableSyncAfterSale',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:1,
-                inactiveValue:0
-              }
-            }
-          },{
-            label:'开通AG',
-            prop:'enableAg',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:1,
-                inactiveValue:0
-              }
-            }
-          },{
-            label:'确认收货自动退款',
-            prop:'enableAutoRefund',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:1,
-                inactiveValue:0
-              }
-            }
-          },{
-            label:'开启跨境操作',
-            prop:'enableCbec',
-            component:'by-switch',
-            compConfig:{
-              attr:{
-                activeValue:1,
-                inactiveValue:0
-              }
-            }
-          }]
+          // [{
+          //   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:'jdAuthStatus',
+          //   component:'by-input'
+          // },{
+          //   label:'京东拒绝申请原因',
+          //   prop:'jdRejectReason',
+          //   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:'alipayAuthStatus',
+          //   component:'by-input'
+          // },{
+          //   label:'菜鸟电子面单',
+          //   prop:'enableCainiaoElectronicBill',
+          //   component:'by-input'
+          // },{
+          //   span:12,
+          //   label:'退货地址',
+          //   prop:'returnAdress',
+          //   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:'enableSplitOrderFullSend',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:1,
+          //       inactiveValue:0
+          //     }
+          //   }
+          // },{
+          //   label:'同步库存',
+          //   prop:'enableSynvStore',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:1,
+          //       inactiveValue:0
+          //     }
+          //   }
+          // },{
+          //   label:'订单下载',
+          //   prop:'enableSyncOrder',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:1,
+          //       inactiveValue:0
+          //     }
+          //   }
+          // },{
+          //   label:'天猫物流升级',
+          //   prop:'enableTmallLogistics',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:1,
+          //       inactiveValue:0
+          //     }
+          //   }
+          // }],
+          // [{
+          //   label:'商品下载',
+          //   prop:'enableSkuDownload',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:1,
+          //       inactiveValue:0
+          //     }
+          //   }
+          // },{
+          //   label:'开启链接库存同步',
+          //   prop:'enableLinkSync',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:1,
+          //       inactiveValue:0
+          //     }
+          //   }
+          // },{
+          //   label:'是否虾皮SIP',
+          //   prop:'shopeeSip',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:1,
+          //       inactiveValue:0
+          //     }
+          //   }
+          // },{
+          //   label:'同步发货',
+          //   prop:'enableSyncSend',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:1,
+          //       inactiveValue:0
+          //     }
+          //   }
+          // }],
+          // [{
+          //   label:'店铺状态',
+          //   prop:'shopStatus',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:1,
+          //       inactiveValue:0
+          //     }
+          //   }
+          // },{
+          //   label:'退款状态',
+          //   prop:'refundStatus',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:'1',
+          //       inactiveValue:'0'
+          //     }
+          //   }
+          // },{
+          //   label:'启用分销',
+          //   prop:'enableDistribution',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:1,
+          //       inactiveValue:0
+          //     }
+          //   }
+          // },{
+          //   label:'揽收轨迹同步发货',
+          //   prop:'enableTrackSyncSend',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:1,
+          //       inactiveValue:0
+          //     }
+          //   }
+          // }],
+          // [{
+          //   label:'售后单下载',
+          //   prop:'enableSyncAfterSale',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:1,
+          //       inactiveValue:0
+          //     }
+          //   }
+          // },{
+          //   label:'开通AG',
+          //   prop:'enableAg',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:1,
+          //       inactiveValue:0
+          //     }
+          //   }
+          // },{
+          //   label:'确认收货自动退款',
+          //   prop:'enableAutoRefund',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:1,
+          //       inactiveValue:0
+          //     }
+          //   }
+          // },{
+          //   label:'开启跨境操作',
+          //   prop:'enableCbec',
+          //   component:'by-switch',
+          //   compConfig:{
+          //     attr:{
+          //       activeValue:1,
+          //       inactiveValue:0
+          //     }
+          //   }
+          // }]
         ]
       }
     }