/*
 * @Author: wenjie 1454560336@qq.com
 * @Date: 2024-12-18 10:02:57
 * @LastEditors: wenjie 1454560336@qq.com
 * @LastEditTime: 2024-12-20 11:03:31
 * @FilePath: \mall4vs-bbc\src\crud\shop\shopList.js
 * @Description: 
 * 
 * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved. 
 */
export const tableOption = {



  border: true,
  index: true,
  selection: false,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  column: [{
      label: '门店编码',
      prop: 'shopId',
    },
    {
      label: '牵牛花门店编码',
      prop: 'shopCode',
    },
    {
      label: '门店名称',
      prop: 'shopName',
      search:true
    },
    {
      label: '门店状态',
      prop: 'shopStatus',
      type: 'select',
      search:true,
      dicData: [
        {
          label: '正常',
          value: 0
        }, {
          label: '关闭',
          value: 1
        }
      ]
    },
    {
      label: '门店地址',
      formatter: (val, value, label) => {
        return val.province+val.city+val.area+val.shopAddress;
      }
    },
    {
      label: '最后修改时间',
      prop: 'updateTime',
    },
  ]
}
