export const tableOption = {
  "selection": true,
  "border": true,
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 8,
  "emptyBtn":false,
  "addBtn": false,
  "delBtn": false,
  "editBtn": false,
  searchBtnText:"查询",
  searchSpan:4,
  "column": [
    {
      "type": "date",
      "label": "创建时间",
      "prop": "createTime",
      "span": 12,
      "searchRange": true,
      "valueFormat": 'yyyy-MM-dd',
      "format": 'yyyy-MM-dd',
    },
	  // {
    //   "type": "input",
    //   "label": "商品ID",
    //   "prop": "id",
    //   span: 12,
    //   "search": true,
    //   showColumn: false
    // },
    {
      "type": "input",
      "label": "商品ID",
      "prop": "goodsId",
      span: 12,
      "search": true,
      "searchSpan":9,
    },
    {
      "type": "input",
      "label": "商品名称",
      "prop": "goodsName",
      "search": true,
      "searchSpan":7,
    },
    {
      "listType": 'picture-img',
      "type":"upload",
      "label": "商品列表图",
      "prop": "goodsImage",
    },
    // {
    //   "type": "select",
    //   "label": "商品分类",
    //   "prop": "classifyId",
    //   "span": 12,
    //   "showColumn": false,
    //   "dicUrl": "/general/mallClassify/dropDownBox",
    // },
    {
      "type": "input",
      "label": "商品分类",
      "prop": "classifyName",
      "span": 12,
      "dicUrl": "/general/mallClassify/dropDownBox",
    },

    {
      "type": "input",
      "label": "累计剩余库存",
      "prop": "stock",
    },
    {
      "type": "input",
      "label": "销量",
      "prop": "sales",
    },
    {
      "type": "select",
      "label": "状态",
      "prop": "state",
      "showColumn": false,
      "search": true,
      "searchSpan":9,
      "dicUrl": "/admin/merchantMallGoods/getMerchantStateOptions",
    },
    {
      "type": "input",
      "label": "状态",
      "prop": "stateName",
    },
    {
      "type": "select",
      "label": "审核状态",
      "prop": "auditState",
      "showColumn": false,
      "search": true,
      "searchSpan":7,
      "dicUrl": "/admin/merchantMallGoods/getMerchantAuditStateOptions",
    },
    {
      "type": "input",
      "label": "审核状态",
      "prop": "auditStateName",
    },
  ]
}
