(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-411f668f"],{"1b51":function(e,t,a){"use strict";a("6ec0")},3826:function(e,t,a){"use strict";a.r(t);var d=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-card",{attrs:{bordered:!1}},[a("a-table",{ref:"table",attrs:{size:"default",bordered:"",rowKey:"id",columns:e.columns,pagination:!1,dataSource:e.dataSource}})],1)},r=[],i={name:"RowspanTable",components:{},data:function(){var e=this;return{description:"存放位置设置表管理页面",levelNum:{},gridNum:0,boxNum:0,cabinetNo:"",columns:[{title:"分组一",align:"center",dataIndex:"cabinetNo",customRender:function(t,a,d){var r={children:t,attrs:{}};return r.attrs.rowSpan=0===d?e.dataSource.length:0,r}},{title:"分组二",align:"center",dataIndex:"levelNo",customRender:function(t,a,d){for(var r={children:t,attrs:{}},i=parseInt(e.levelNum),n=parseInt(e.gridNum)*parseInt(e.boxNum),u=0;u<=i;u++){if(d===u*n){r.attrs.rowSpan=n;break}r.attrs.rowSpan=0}return r}},{title:"分组三",align:"center",dataIndex:"gridNo",customRender:function(t,a,d){for(var r={children:t,attrs:{}},i=parseInt(e.levelNum)*parseInt(e.gridNum),n=parseInt(e.boxNum),u=0;u<=i;u++){if(d===u*n){r.attrs.rowSpan=n;break}r.attrs.rowSpan=0}return r}},{title:"字段一",align:"center",dataIndex:"boxNo"},{title:"字段二",align:"center",dataIndex:"storedNum"},{title:"字段三",align:"center",dataIndex:"maxNum"}],dataSource:[{id:"cb1dfd12cbeca3f8ba121439ee7e2411",attributeId:"e62831f314e1390edbd884e9d9e6aca6",cabinetNo:"1",levelNo:"1",gridNo:"1",boxNo:"1",storedNum:2,maxNum:2,unitNum:2,assignStatus:"1",storageStatus:"1",remark:null,createBy:"admin",createTime:"2019-04-02",updateBy:"admin",updateTime:"2019-04-02"},{id:"f903d50d02904b14175dccf2a7948777",attributeId:"e62831f314e1390edbd884e9d9e6aca6",cabinetNo:"1",levelNo:"1",gridNo:"1",boxNo:"2",storedNum:2,maxNum:2,unitNum:2,assignStatus:"1",storageStatus:"1",remark:null,createBy:"admin",createTime:"2019-04-02",updateBy:"admin",updateTime:"2019-04-02"},{id:"4f04c0ca4202535d678871b07e706cf6",attributeId:"e62831f314e1390edbd884e9d9e6aca6",cabinetNo:"1",levelNo:"1",gridNo:"2",boxNo:"1",storedNum:2,maxNum:2,unitNum:2,assignStatus:"1",storageStatus:"1",remark:null,createBy:"admin",createTime:"2019-04-02",updateBy:"admin",updateTime:"2019-04-02"},{id:"d0c91dabedfc03efad0126e50ea72e80",attributeId:"e62831f314e1390edbd884e9d9e6aca6",cabinetNo:"1",levelNo:"1",gridNo:"2",boxNo:"2",storedNum:2,maxNum:2,unitNum:2,assignStatus:"1",storageStatus:"1",remark:null,createBy:"admin",createTime:"2019-04-02",updateBy:"admin",updateTime:"2019-04-08"},{id:"1e8bfcbe4352afbab8878f9fd368e007",attributeId:"e62831f314e1390edbd884e9d9e6aca6",cabinetNo:"1",levelNo:"2",gridNo:"1",boxNo:"1",storedNum:1,maxNum:2,unitNum:1,assignStatus:"1",storageStatus:"0",remark:null,createBy:"admin",createTime:"2019-04-02",updateBy:"admin",updateTime:"2019-04-08"},{id:"d76087d8d3ebc7a59d43458588f26941",attributeId:"e62831f314e1390edbd884e9d9e6aca6",cabinetNo:"1",levelNo:"2",gridNo:"1",boxNo:"2",storedNum:0,maxNum:2,unitNum:0,assignStatus:"1",storageStatus:"0",remark:null,createBy:"admin",createTime:"2019-04-02",updateBy:"admin",updateTime:"2019-04-02"},{id:"7bf7754f12e1bf95edcd501cc6b85e62",attributeId:"e62831f314e1390edbd884e9d9e6aca6",cabinetNo:"1",levelNo:"2",gridNo:"2",boxNo:"1",storedNum:0,maxNum:2,unitNum:0,assignStatus:"1",storageStatus:"0",remark:null,createBy:"admin",createTime:"2019-04-02",updateBy:"admin",updateTime:"2019-04-02"},{id:"9cd08d733657d5b286bec870f12f6ecf",attributeId:"e62831f314e1390edbd884e9d9e6aca6",cabinetNo:"1",levelNo:"2",gridNo:"2",boxNo:"2",storedNum:0,maxNum:2,unitNum:0,assignStatus:"1",storageStatus:"0",remark:null,createBy:"admin",createTime:"2019-04-02",updateBy:"admin",updateTime:"2019-04-02"}],isorter:{column:"createTime",order:"desc"},url:{}}},created:function(){this.loadData()},methods:{loadData:function(){this.levelNum=4,this.gridNum=2,this.boxNum=2}}},n=i,u=(a("1b51"),a("2877")),o=Object(u["a"])(n,d,r,!1,null,"cb47b3be",null);t["default"]=o.exports},"6ec0":function(e,t,a){}}]);