function getcolumns(setdrawer) {
      return {
 "columns": [
  {
   "title": "线边库名称",
   "dataIndex": "stockName",
   "key": "stockName"
  },
  {
   "title": "备件料号",
   "dataIndex": "sparePartNo",
   "key": "sparePartNo"
  },
  {
   "title": "备件名称",
   "dataIndex": "sparePartName",
   "key": "sparePartName"
  },
  {
   "title": "供应商编号",
   "dataIndex": "supplierNo",
   "key": "supplierNo"
  },
  {
   "title": "供应商名称",
   "dataIndex": "supplierName",
   "key": "supplierName"
  },
  {
   "title": "持有数量",
   "dataIndex": "actualStock",
   "key": "actualStock",
   "hideInSearch": true
  },
  {
   "title": "可用数量",
   "dataIndex": "usedStock",
   "key": "usedStock",
   "hideInSearch": true
  },
  {
   "title": "库存单位",
   "dataIndex": "unit",
   "key": "unit",
   "hideInSearch": true
  }
 ],
 "pathconfig": {
  "enableadd": false,
  "enableedit": false,
  "enabledelete": false,
  "enabledetail": false,
  "add": "",
  "edit": "",
  "list": "/sparepart/lineStock/queryList",
  "delete": "",
  "detail": ""
 }
};
    }
    export default getcolumns;
    