mt-ck-wms-ui/dist/static/js/chunk-c182234c.d6441655.js
2022-06-07 10:43:58 +08:00

1 line
36 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c182234c"],{"0cc4":function(t,e,s){"use strict";s("d563")},"5a6c":function(t,e,s){"use strict";s.d(e,"c",(function(){return i})),s.d(e,"b",(function(){return n})),s.d(e,"d",(function(){return r})),s.d(e,"a",(function(){return o})),s.d(e,"e",(function(){return u}));var a=s("b775");function i(t){return Object(a["a"])({url:"/api/report/report-storage-box/list",method:"post",data:t})}function n(t){return Object(a["a"])({url:"/api/report/report-storage-box/excel-download",method:"post",data:t,responseType:"blob",timeout:6e4})}function r(t){return Object(a["a"])({url:"/api/report/report-substrate/list",method:"post",data:t})}function o(t){return Object(a["a"])({url:"/api/report/report-substrate/delete",method:"post",data:t})}function u(t){return Object(a["a"])({url:"/api/report/report-substrate/update",method:"post",data:t})}},"5fd4":function(t,e,s){"use strict";s.d(e,"b",(function(){return i})),s.d(e,"a",(function(){return n}));var a=s("b775");function i(t){return Object(a["a"])({url:"/api/wms/location/shelfList",method:"post",data:t})}function n(t){return Object(a["a"])({url:"/api/wms/storage/box/circ/info/getByLocationId",method:"post",data:{id:t}})}},9406:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"dashboard-container"},[s("el-card",{staticClass:"dashboard-main"},[s("el-row",{staticClass:"dashboard-title"},[s("div",{staticClass:"dashboard-header-line"}),t._v(" "),s("div",{staticClass:"dashboard-header-title"},[t._v(t._s(t.$t("module.dashboard.title")))])]),t._v(" "),s("el-row",{staticClass:"dashboard-legend"},[t._l(t.cassetteStatusList,(function(e){return s("div",{key:"cassette"+e.id,staticClass:"dashboard-legend-cassette"},[s("div",{staticClass:"dashboard-legend-cassette-cricle",style:{background:e.color}}),t._v("\n "+t._s(e.name)+"\n ")])})),t._v("\n |\n "),t._l(t.portAttributeList,(function(e){return s("div",{key:"port"+e.id,staticClass:"dashboard-legend-port",style:{background:e.color}},[t._v("\n "+t._s(e.name)+"\n ")])})),t._v(" "),s("div",{staticClass:"dashboard-legend-search"},[s("el-select",{attrs:{size:"mini"},on:{change:t.handleChange},model:{value:t.current,callback:function(e){t.current=e},expression:"current"}},t._l(t.totalPage,(function(e){return s("el-option",{key:"select"+e,attrs:{label:t.$t("module.dashboard.pageHeader")+e+t.$t("module.dashboard.pageFooter"),value:e}})})),1),t._v(" "),s("el-button",{attrs:{type:"primary"},on:{click:t.refresh}},[t._v(t._s(t._f("i18nFilter")("btn.refresh")))])],1)],2),t._v(" "),80*t.current<t.shelfVoList[0].rowVoList[0].portVoList.length?s("el-row",{staticClass:"dashboard-layout",attrs:{gutter:12}},t._l(4,(function(e){return s("el-col",{key:"shelfbox"+e,staticClass:"dashboard-layout-shelf-box",attrs:{span:6}},[s("el-row",t._l(t.shelfVoList,(function(a,i){return s("el-col",{key:e+"shelf"+a.id,staticClass:"dashboard-layout-shelf",attrs:{span:12}},[s("el-row",t._l(a.rowVoList,(function(i){return s("el-col",{key:e+"shelf"+a+"row"+i.id,staticClass:"dashboard-layout-row",attrs:{span:12}},t._l(20,(function(n){return s("div",{key:e+"shelf"+a+"row"+i+"item"+n,staticClass:"dashboard-layout-item",style:{background:t.portAttributeObj[i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].attribute],cursor:"3"===i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].attribute?"not-allowed":"pointer",color:"3"===i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].attribute?"#A2A8B5":""},on:{click:function(e){return t.handlePort(i,n)}}},["3"!==i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].attribute?s("div",{staticClass:"dashboard-layout-item-cricle",style:{background:i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].cassetteVoList[0]?t.cassetteStatusObj[i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].cassetteVoList[0].status]:""}}):t._e(),t._v("\n "+t._s("3"!==i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].attribute?i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].name:"XXXX")+"\n ")])})),0)})),1),t._v(" "),s("div",{staticClass:"dashboard-layout-footer"},[t._v("\n "+t._s(t.$t(t.rowIndex[i])+"("+(4*(t.current-1)+e)+")")+"\n ")])],1)})),1)],1)})),1):s("el-row",{staticClass:"dashboard-layout",attrs:{gutter:12}},t._l(Math.ceil((t.shelfVoList[0].rowVoList[0].portVoList.length-80*(t.current-1))/20),(function(e){return s("el-col",{key:"shelfbox"+e,staticClass:"dashboard-layout-shelf-box",attrs:{span:6}},[s("el-row",t._l(t.shelfVoList,(function(a,i){return s("el-col",{key:e+"shelf"+a.id,staticClass:"dashboard-layout-shelf",attrs:{span:12}},[e<Math.ceil((t.shelfVoList[0].rowVoList[0].portVoList.length-80*(t.current-1))/20)?s("el-row",t._l(a.rowVoList,(function(i){return s("el-col",{key:e+"shelf"+a+"row"+i.id,staticClass:"dashboard-layout-row",attrs:{span:12}},t._l(20,(function(n){return s("div",{key:e+"shelf"+a+"row"+i+"item"+n,staticClass:"dashboard-layout-item",style:{background:t.portAttributeObj[i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].attribute],cursor:"3"===i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].attribute?"not-allowed":"pointer",color:"3"===i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].attribute?"#A2A8B5":""},on:{click:function(e){return t.handlePort(i,n)}}},["3"!==i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].attribute?s("div",{staticClass:"dashboard-layout-item-cricle",style:{background:i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].cassetteVoList[0]?t.cassetteStatusObj[i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].cassetteVoList[0].status]:""}}):t._e(),t._v("\n "+t._s("3"!==i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].attribute?i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].name:"XXXX")+"\n ")])})),0)})),1):s("el-row",t._l(a.rowVoList,(function(i){return s("el-col",{key:e+"shelf"+a+"row"+i.id,staticClass:"dashboard-layout-row",attrs:{span:12}},t._l(t.shelfVoList[0].rowVoList[0].portVoList.length-20*(e-1)-80*(t.current-1),(function(n){return s("div",{key:e+"shelf"+a+"row"+i+"item"+n,staticClass:"dashboard-layout-item",style:{background:t.portAttributeObj[i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].attribute],cursor:"3"===i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].attribute?"not-allowed":"pointer",color:"3"===i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].attribute?"#A2A8B5":""},on:{click:function(e){return t.handlePort(i,n)}}},["3"!==i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].attribute?s("div",{staticClass:"dashboard-layout-item-cricle",style:{background:i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].cassetteVoList[0]?t.cassetteStatusObj[i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].cassetteVoList[0].status]:""}}):t._e(),t._v("\n "+t._s("3"!==i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].attribute?i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].name:"XXXX")+"\n ")])})),0)})),1),t._v(" "),s("div",{staticClass:"dashboard-layout-footer"},[t._v("\n "+t._s(t.$t(t.rowIndex[i])+"("+(4*(t.current-1)+e)+")")+"\n ")])],1)})),1)],1)})),1)],1),t._v(" "),s("port-detail",{ref:"addOrUpdate"})],1)},i=[],n=s("5530"),r={shelfVoList:[{id:1,name:"shelf1",rowVoList:[{id:1,name:"row1",portVoList:[{id:1,name:"12001",attribute:2,cassetteVoList:[{id:1,name:"cassette",status:1}]},{id:2,name:"12002",attribute:1,cassetteVoList:[]},{id:3,name:"12003",attribute:2,cassetteVoList:[{id:3,name:"cassette",status:4}]},{id:4,name:"12004",attribute:3,cassetteVoList:[]},{id:5,name:"12005",attribute:1,cassetteVoList:[{id:5,name:"cassette",status:3}]},{id:6,name:"12006",attribute:2,cassetteVoList:[{id:1,name:"cassette",status:1}]},{id:7,name:"12007",attribute:1,cassetteVoList:[]},{id:8,name:"12008",attribute:2,cassetteVoList:[{id:3,name:"cassette",status:4}]},{id:9,name:"12009",attribute:3,cassetteVoList:[]},{id:10,name:"12010",attribute:1,cassetteVoList:[{id:5,name:"cassette",status:3}]},{id:11,name:"12011",attribute:2,cassetteVoList:[{id:1,name:"cassette",status:1}]},{id:12,name:"12012",attribute:1,cassetteVoList:[]},{id:13,name:"12013",attribute:2,cassetteVoList:[{id:3,name:"cassette",status:4}]},{id:14,name:"12014",attribute:3,cassetteVoList:[]},{id:15,name:"12015",attribute:1,cassetteVoList:[{id:5,name:"cassette",status:3}]},{id:16,name:"12016",attribute:2,cassetteVoList:[{id:1,name:"cassette",status:1}]},{id:17,name:"12017",attribute:1,cassetteVoList:[]},{id:18,name:"12018",attribute:2,cassetteVoList:[{id:3,name:"cassette",status:4}]},{id:19,name:"12019",attribute:3,cassetteVoList:[]},{id:20,name:"12020",attribute:1,cassetteVoList:[{id:5,name:"cassette",status:3}]},{id:21,name:"12021",attribute:2,cassetteVoList:[]},{id:22,name:"12022",attribute:1,cassetteVoList:[{id:2,name:"cassette",status:4}]},{id:23,name:"12023",attribute:2,cassetteVoList:[{id:3,name:"cassette",status:4}]},{id:24,name:"12024",attribute:3,cassetteVoList:[]},{id:25,name:"12025",attribute:1,cassetteVoList:[]},{id:26,name:"12026",attribute:2,cassetteVoList:[{id:1,name:"cassette",status:1}]},{id:27,name:"12027",attribute:1,cassetteVoList:[{id:2,name:"cassette",status:4}]},{id:28,name:"12028",attribute:2,cassetteVoList:[]},{id:29,name:"12029",attribute:3,cassetteVoList:[]},{id:30,name:"12030",attribute:1,cassetteVoList:[{id:5,name:"cassette",status:3}]},{id:31,name:"12031",attribute:2,cassetteVoList:[{id:1,name:"cassette",status:1}]},{id:32,name:"12032",attribute:1,cassetteVoList:[]},{id:33,name:"12033",attribute:2,cassetteVoList:[{id:3,name:"cassette",status:4}]},{id:34,name:"12034",attribute:3,cassetteVoList:[]},{id:35,name:"12035",attribute:1,cassetteVoList:[{id:5,name:"cassette",status:3}]},{id:36,name:"12036",attribute:2,cassetteVoList:[{id:1,name:"cassette",status:1}]},{id:37,name:"12037",attribute:1,cassetteVoList:[{id:2,name:"cassette",status:4}]},{id:38,name:"12038",attribute:2,cassetteVoList:[]},{id:39,name:"12039",attribute:3,cassetteVoList:[]},{id:40,name:"12040",attribute:1,cassetteVoList:[]},{id:41,name:"12041",attribute:2,cassetteVoList:[{id:1,name:"cassette",status:1}]},{id:42,name:"12042",attribute:1,cassetteVoList:[{id:2,name:"cassette",status:4}]},{id:43,name:"12043",attribute:2,cassetteVoList:[]},{id:44,name:"12044",attribute:3,cassetteVoList:[]},{id:45,name:"12045",attribute:1,cassetteVoList:[{id:5,name:"cassette",status:3}]},{id:46,name:"12046",attribute:2,cassetteVoList:[]},{id:47,name:"12047",attribute:1,cassetteVoList:[]},{id:48,name:"12048",attribute:2,cassetteVoList:[{id:3,name:"cassette",status:4}]},{id:49,name:"12049",attribute:3,cassetteVoList:[]},{id:50,name:"12050",attribute:1,cassetteVoList:[]},{id:51,name:"12051",attribute:2,cassetteVoList:[{id:1,name:"cassette",status:1}]},{id:52,name:"12052",attribute:1,cassetteVoList:[{id:2,name:"cassette",status:4}]},{id:53,name:"12053",attribute:2,cassetteVoList:[]},{id:54,name:"12054",attribute:3,cassetteVoList:[]},{id:55,name:"12055",attribute:1,cassetteVoList:[{id:5,name:"cassette",status:3}]},{id:56,name:"12056",attribute:2,cassetteVoList:[]},{id:57,name:"12057",attribute:1,cassetteVoList:[{id:2,name:"cassette",status:4}]},{id:58,name:"12058",attribute:2,cassetteVoList:[{id:3,name:"cassette",status:4}]},{id:59,name:"12059",attribute:3,cassetteVoList:[]},{id:60,name:"12060",attribute:1,cassetteVoList:[{id:5,name:"cassette",status:3}]},{id:61,name:"12061",attribute:2,cassetteVoList:[]},{id:62,name:"12062",attribute:1,cassetteVoList:[{id:2,name:"cassette",status:4}]},{id:63,name:"12063",attribute:2,cassetteVoList:[]},{id:64,name:"12064",attribute:3,cassetteVoList:[]},{id:65,name:"12065",attribute:1,cassetteVoList:[{id:5,name:"cassette",status:3}]},{id:66,name:"12066",attribute:2,cassetteVoList:[{id:1,name:"cassette",status:1}]},{id:67,name:"12067",attribute:1,cassetteVoList:[]},{id:68,name:"12068",attribute:2,cassetteVoList:[]},{id:69,name:"12069",attribute:3,cassetteVoList:[]},{id:70,name:"12070",attribute:1,cassetteVoList:[]},{id:71,name:"12071",attribute:2,cassetteVoList:[{id:1,name:"cassette",status:1}]},{id:72,name:"12072",attribute:1,cassetteVoList:[{id:2,name:"cassette",status:4}]},{id:73,name:"12073",attribute:2,cassetteVoList:[{id:3,name:"cassette",status:4}]},{id:74,name:"12074",attribute:3,cassetteVoList:[]},{id:75,name:"12075",attribute:1,cassetteVoList:[{id:5,name:"cassette",status:3}]},{id:76,name:"12076",attribute:2,cassetteVoList:[{id:1,name:"cassette",status:1}]},{id:77,name:"12077",attribute:1,cassetteVoList:[{id:2,name:"cassette",status:4}]},{id:78,name:"12078",attribute:2,cassetteVoList:[{id:3,name:"cassette",status:4}]},{id:79,name:"12079",attribute:3,cassetteVoList:[]},{id:80,name:"12080",attribute:1,cassetteVoList:[{id:5,name:"cassette",status:3}]},{id:81,name:"12081",attribute:2,cassetteVoList:[{id:1,name:"cassette",status:1}]},{id:82,name:"12082",attribute:1,cassetteVoList:[]},{id:83,name:"12083",attribute:2,cassetteVoList:[]},{id:84,name:"12084",attribute:3,cassetteVoList:[]},{id:85,name:"12085",attribute:1,cassetteVoList:[]},{id:86,name:"12086",attribute:2,cassetteVoList:[{id:1,name:"cassette",status:1}]},{id:87,name:"12087",attribute:1,cassetteVoList:[]},{id:88,name:"12088",attribute:2,cassetteVoList:[{id:3,name:"cassette",status:4}]},{id:89,name:"12089",attribute:3,cassetteVoList:[]},{id:90,name:"12090",attribute:1,cassetteVoList:[{id:5,name:"cassette",status:3}]}]},{id:2,name:"row2",portVoList:[{id:101,name:"11001",attribute:2,cassetteVoList:[{id:101,name:"cassette",status:1}]},{id:102,name:"11002",attribute:1,cassetteVoList:[]},{id:103,name:"11003",attribute:2,cassetteVoList:[{id:103,name:"cassette",status:4}]},{id:104,name:"11004",attribute:3,cassetteVoList:[]},{id:105,name:"11005",attribute:2,cassetteVoList:[]},{id:106,name:"11006",attribute:2,cassetteVoList:[]},{id:107,name:"11007",attribute:1,cassetteVoList:[{id:102,name:"cassette",status:3}]},{id:108,name:"11008",attribute:2,cassetteVoList:[{id:103,name:"cassette",status:4}]},{id:109,name:"11009",attribute:3,cassetteVoList:[]},{id:110,name:"11010",attribute:2,cassetteVoList:[]},{id:111,name:"11011",attribute:2,cassetteVoList:[{id:101,name:"cassette",status:1}]},{id:112,name:"11012",attribute:1,cassetteVoList:[]},{id:113,name:"11013",attribute:2,cassetteVoList:[{id:103,name:"cassette",status:4}]},{id:114,name:"11014",attribute:3,cassetteVoList:[]},{id:115,name:"11015",attribute:2,cassetteVoList:[]},{id:116,name:"11016",attribute:2,cassetteVoList:[{id:101,name:"cassette",status:1}]},{id:117,name:"11017",attribute:1,cassetteVoList:[{id:102,name:"cassette",status:3}]},{id:118,name:"11018",attribute:2,cassetteVoList:[]},{id:119,name:"11019",attribute:3,cassetteVoList:[]},{id:120,name:"11020",attribute:2,cassetteVoList:[]},{id:121,name:"11021",attribute:2,cassetteVoList:[]},{id:122,name:"11022",attribute:1,cassetteVoList:[{id:102,name:"cassette",status:3}]},{id:123,name:"11023",attribute:2,cassetteVoList:[{id:103,name:"cassette",status:4}]},{id:124,name:"11024",attribute:3,cassetteVoList:[]},{id:125,name:"11025",attribute:2,cassetteVoList:[{id:105,name:"cassette",status:4}]},{id:126,name:"11026",attribute:2,cassetteVoList:[{id:101,name:"cassette",status:1}]},{id:127,name:"11027",attribute:1,cassetteVoList:[]},{id:128,name:"11028",attribute:2,cassetteVoList:[{id:103,name:"cassette",status:4}]},{id:129,name:"11029",attribute:3,cassetteVoList:[]},{id:130,name:"11030",attribute:2,cassetteVoList:[{id:105,name:"cassette",status:4}]},{id:131,name:"11031",attribute:2,cassetteVoList:[]},{id:132,name:"11032",attribute:1,cassetteVoList:[{id:102,name:"cassette",status:3}]},{id:133,name:"11033",attribute:2,cassetteVoList:[{id:103,name:"cassette",status:4}]},{id:134,name:"11034",attribute:3,cassetteVoList:[]},{id:135,name:"11035",attribute:2,cassetteVoList:[{id:105,name:"cassette",status:4}]},{id:136,name:"11036",attribute:2,cassetteVoList:[]},{id:137,name:"11037",attribute:1,cassetteVoList:[]},{id:138,name:"11038",attribute:2,cassetteVoList:[]},{id:139,name:"11039",attribute:3,cassetteVoList:[]},{id:140,name:"11040",attribute:2,cassetteVoList:[]},{id:141,name:"11041",attribute:2,cassetteVoList:[{id:101,name:"cassette",status:1}]},{id:142,name:"11042",attribute:1,cassetteVoList:[]},{id:143,name:"11043",attribute:2,cassetteVoList:[{id:103,name:"cassette",status:4}]},{id:144,name:"11044",attribute:3,cassetteVoList:[]},{id:145,name:"11045",attribute:2,cassetteVoList:[{id:105,name:"cassette",status:4}]},{id:146,name:"11046",attribute:2,cassetteVoList:[{id:101,name:"cassette",status:1}]},{id:147,name:"11047",attribute:1,cassetteVoList:[{id:102,name:"cassette",status:3}]},{id:148,name:"11048",attribute:2,cassetteVoList:[{id:103,name:"cassette",status:4}]},{id:149,name:"11049",attribute:3,cassetteVoList:[]},{id:150,name:"11050",attribute:2,cassetteVoList:[{id:105,name:"cassette",status:4}]},{id:151,name:"11051",attribute:2,cassetteVoList:[{id:101,name:"cassette",status:1}]},{id:152,name:"11052",attribute:1,cassetteVoList:[{id:102,name:"cassette",status:3}]},{id:153,name:"11053",attribute:2,cassetteVoList:[{id:103,name:"cassette",status:4}]},{id:154,name:"11054",attribute:3,cassetteVoList:[]},{id:155,name:"11055",attribute:2,cassetteVoList:[]},{id:156,name:"11056",attribute:2,cassetteVoList:[{id:101,name:"cassette",status:1}]},{id:157,name:"11057",attribute:1,cassetteVoList:[]},{id:158,name:"11058",attribute:2,cassetteVoList:[{id:103,name:"cassette",status:4}]},{id:159,name:"11059",attribute:3,cassetteVoList:[]},{id:160,name:"11060",attribute:2,cassetteVoList:[]},{id:161,name:"11061",attribute:2,cassetteVoList:[{id:101,name:"cassette",status:1}]},{id:162,name:"11062",attribute:1,cassetteVoList:[]},{id:163,name:"11063",attribute:2,cassetteVoList:[{id:103,name:"cassette",status:4}]},{id:164,name:"11064",attribute:3,cassetteVoList:[]},{id:165,name:"11065",attribute:2,cassetteVoList:[{id:105,name:"cassette",status:4}]},{id:166,name:"11066",attribute:2,cassetteVoList:[{id:101,name:"cassette",status:1}]},{id:167,name:"11067",attribute:1,cassetteVoList:[]},{id:168,name:"11068",attribute:2,cassetteVoList:[]},{id:169,name:"11069",attribute:3,cassetteVoList:[]},{id:170,name:"11070",attribute:2,cassetteVoList:[]},{id:171,name:"11071",attribute:2,cassetteVoList:[{id:101,name:"cassette",status:1}]},{id:172,name:"11072",attribute:1,cassetteVoList:[]},{id:173,name:"11073",attribute:2,cassetteVoList:[{id:103,name:"cassette",status:4}]},{id:174,name:"11074",attribute:3,cassetteVoList:[]},{id:175,name:"11075",attribute:2,cassetteVoList:[]},{id:176,name:"11076",attribute:2,cassetteVoList:[{id:101,name:"cassette",status:1}]},{id:177,name:"11077",attribute:1,cassetteVoList:[]},{id:178,name:"11078",attribute:2,cassetteVoList:[{id:103,name:"cassette",status:4}]},{id:179,name:"11079",attribute:3,cassetteVoList:[]},{id:180,name:"11080",attribute:2,cassetteVoList:[{id:105,name:"cassette",status:4}]},{id:181,name:"11081",attribute:2,cassetteVoList:[]},{id:182,name:"11082",attribute:1,cassetteVoList:[{id:102,name:"cassette",status:3}]},{id:183,name:"11083",attribute:2,cassetteVoList:[]},{id:184,name:"11084",attribute:3,cassetteVoList:[]},{id:185,name:"11085",attribute:2,cassetteVoList:[{id:105,name:"cassette",status:4}]},{id:186,name:"11086",attribute:2,cassetteVoList:[]},{id:187,name:"11087",attribute:1,cassetteVoList:[]},{id:188,name:"11088",attribute:2,cassetteVoList:[{id:103,name:"cassette",status:4}]},{id:189,name:"11089",attribute:3,cassetteVoList:[]},{id:190,name:"11090",attribute:2,cassetteVoList:[{id:105,name:"cassette",status:4}]}]}]},{id:2,name:"shelf2",rowVoList:[{id:3,name:"row1",portVoList:[{id:201,name:"21001",attribute:2,cassetteVoList:[{id:201,name:"cassette",status:3}]},{id:202,name:"21002",attribute:1,cassetteVoList:[]},{id:203,name:"21003",attribute:2,cassetteVoList:[{id:203,name:"cassette",status:2}]},{id:204,name:"21004",attribute:1,cassetteVoList:[]},{id:205,name:"21005",attribute:3,cassetteVoList:[]},{id:206,name:"21006",attribute:2,cassetteVoList:[]},{id:207,name:"21007",attribute:1,cassetteVoList:[{id:202,name:"cassette",status:4}]},{id:208,name:"21008",attribute:2,cassetteVoList:[]},{id:209,name:"21009",attribute:1,cassetteVoList:[{id:204,name:"cassette",status:4}]},{id:210,name:"21010",attribute:3,cassetteVoList:[]},{id:211,name:"21011",attribute:2,cassetteVoList:[{id:201,name:"cassette",status:1}]},{id:212,name:"21012",attribute:1,cassetteVoList:[{id:202,name:"cassette",status:4}]},{id:213,name:"21013",attribute:2,cassetteVoList:[{id:203,name:"cassette",status:1}]},{id:214,name:"21014",attribute:1,cassetteVoList:[{id:204,name:"cassette",status:1}]},{id:215,name:"21015",attribute:3,cassetteVoList:[]},{id:216,name:"21016",attribute:2,cassetteVoList:[{id:201,name:"cassette",status:3}]},{id:217,name:"21017",attribute:1,cassetteVoList:[{id:202,name:"cassette",status:2}]},{id:218,name:"21018",attribute:2,cassetteVoList:[]},{id:219,name:"21019",attribute:1,cassetteVoList:[{id:204,name:"cassette",status:4}]},{id:220,name:"21020",attribute:3,cassetteVoList:[]},{id:221,name:"21021",attribute:2,cassetteVoList:[{id:201,name:"cassette",status:4}]},{id:222,name:"21022",attribute:1,cassetteVoList:[{id:202,name:"cassette",status:1}]},{id:223,name:"21023",attribute:2,cassetteVoList:[]},{id:224,name:"21024",attribute:1,cassetteVoList:[]},{id:225,name:"21025",attribute:3,cassetteVoList:[]},{id:226,name:"21026",attribute:2,cassetteVoList:[{id:201,name:"cassette",status:2}]},{id:227,name:"21027",attribute:1,cassetteVoList:[{id:202,name:"cassette",status:1}]},{id:228,name:"21028",attribute:2,cassetteVoList:[]},{id:229,name:"21029",attribute:1,cassetteVoList:[{id:204,name:"cassette",status:1}]},{id:230,name:"21030",attribute:3,cassetteVoList:[]},{id:231,name:"21031",attribute:2,cassetteVoList:[{id:201,name:"cassette",status:1}]},{id:232,name:"21032",attribute:1,cassetteVoList:[{id:202,name:"cassette",status:1}]},{id:233,name:"21033",attribute:2,cassetteVoList:[]},{id:234,name:"21034",attribute:1,cassetteVoList:[{id:204,name:"cassette",status:3}]},{id:235,name:"21035",attribute:3,cassetteVoList:[]},{id:236,name:"21036",attribute:2,cassetteVoList:[{id:201,name:"cassette",status:3}]},{id:237,name:"21037",attribute:1,cassetteVoList:[]},{id:238,name:"21038",attribute:2,cassetteVoList:[{id:203,name:"cassette",status:3}]},{id:239,name:"21039",attribute:1,cassetteVoList:[{id:204,name:"cassette",status:3}]},{id:240,name:"21040",attribute:3,cassetteVoList:[]},{id:241,name:"21041",attribute:2,cassetteVoList:[{id:201,name:"cassette",status:2}]},{id:242,name:"21042",attribute:1,cassetteVoList:[]},{id:243,name:"21043",attribute:2,cassetteVoList:[{id:203,name:"cassette",status:4}]},{id:244,name:"21044",attribute:1,cassetteVoList:[{id:204,name:"cassette",status:4}]},{id:245,name:"21045",attribute:3,cassetteVoList:[]},{id:246,name:"21046",attribute:2,cassetteVoList:[{id:201,name:"cassette",status:2}]},{id:247,name:"21047",attribute:1,cassetteVoList:[]},{id:248,name:"21048",attribute:2,cassetteVoList:[{id:203,name:"cassette",status:2}]},{id:249,name:"21049",attribute:1,cassetteVoList:[{id:204,name:"cassette",status:2}]},{id:250,name:"21050",attribute:3,cassetteVoList:[]},{id:251,name:"21051",attribute:2,cassetteVoList:[{id:201,name:"cassette",status:2}]},{id:252,name:"21052",attribute:1,cassetteVoList:[{id:202,name:"cassette",status:3}]},{id:253,name:"21053",attribute:2,cassetteVoList:[]},{id:254,name:"21054",attribute:1,cassetteVoList:[{id:204,name:"cassette",status:3}]},{id:255,name:"21055",attribute:3,cassetteVoList:[]},{id:256,name:"21056",attribute:2,cassetteVoList:[]},{id:257,name:"21057",attribute:1,cassetteVoList:[{id:202,name:"cassette",status:1}]},{id:258,name:"21058",attribute:2,cassetteVoList:[]},{id:259,name:"21059",attribute:1,cassetteVoList:[{id:204,name:"cassette",status:1}]},{id:260,name:"21060",attribute:3,cassetteVoList:[]},{id:261,name:"21061",attribute:2,cassetteVoList:[{id:201,name:"cassette",status:2}]},{id:262,name:"21062",attribute:1,cassetteVoList:[{id:202,name:"cassette",status:1}]},{id:263,name:"21063",attribute:2,cassetteVoList:[]},{id:264,name:"21064",attribute:1,cassetteVoList:[{id:204,name:"cassette",status:2}]},{id:265,name:"21065",attribute:3,cassetteVoList:[]},{id:266,name:"21066",attribute:2,cassetteVoList:[]},{id:267,name:"21067",attribute:1,cassetteVoList:[{id:202,name:"cassette",status:3}]},{id:268,name:"21068",attribute:2,cassetteVoList:[{id:203,name:"cassette",status:2}]},{id:269,name:"21069",attribute:1,cassetteVoList:[]},{id:270,name:"21070",attribute:3,cassetteVoList:[]},{id:271,name:"21071",attribute:2,cassetteVoList:[{id:201,name:"cassette",status:1}]},{id:272,name:"21072",attribute:1,cassetteVoList:[]},{id:273,name:"21073",attribute:2,cassetteVoList:[{id:203,name:"cassette",status:1}]},{id:274,name:"21074",attribute:1,cassetteVoList:[]},{id:275,name:"21075",attribute:3,cassetteVoList:[]},{id:276,name:"21076",attribute:2,cassetteVoList:[{id:201,name:"cassette",status:4}]},{id:277,name:"21077",attribute:1,cassetteVoList:[]},{id:278,name:"21078",attribute:2,cassetteVoList:[]},{id:279,name:"21079",attribute:1,cassetteVoList:[{id:204,name:"cassette",status:1}]},{id:280,name:"21080",attribute:3,cassetteVoList:[]},{id:281,name:"21081",attribute:2,cassetteVoList:[{id:201,name:"cassette",status:1}]},{id:282,name:"21082",attribute:1,cassetteVoList:[{id:202,name:"cassette",status:4}]},{id:283,name:"21083",attribute:2,cassetteVoList:[{id:203,name:"cassette",status:3}]},{id:284,name:"21084",attribute:1,cassetteVoList:[{id:204,name:"cassette",status:2}]},{id:285,name:"21085",attribute:3,cassetteVoList:[]},{id:286,name:"21086",attribute:2,cassetteVoList:[]},{id:287,name:"21087",attribute:1,cassetteVoList:[{id:202,name:"cassette",status:2}]},{id:288,name:"21088",attribute:2,cassetteVoList:[{id:203,name:"cassette",status:1}]},{id:289,name:"21089",attribute:1,cassetteVoList:[]},{id:290,name:"21090",attribute:3,cassetteVoList:[]}]},{id:4,name:"row2",portVoList:[{id:301,name:"22001",attribute:2,cassetteVoList:[{id:301,name:"cassette",status:1}]},{id:302,name:"22002",attribute:1,cassetteVoList:[]},{id:303,name:"22003",attribute:2,cassetteVoList:[]},{id:304,name:"22004",attribute:2,cassetteVoList:[{id:304,name:"cassette",status:1}]},{id:305,name:"22005",attribute:3,cassetteVoList:[]},{id:306,name:"22006",attribute:2,cassetteVoList:[{id:301,name:"cassette",status:3}]},{id:307,name:"22007",attribute:1,cassetteVoList:[{id:302,name:"cassette",status:3}]},{id:308,name:"22008",attribute:2,cassetteVoList:[{id:303,name:"cassette",status:2}]},{id:309,name:"22009",attribute:2,cassetteVoList:[{id:304,name:"cassette",status:4}]},{id:310,name:"22010",attribute:3,cassetteVoList:[]},{id:311,name:"22011",attribute:2,cassetteVoList:[{id:301,name:"cassette",status:2}]},{id:312,name:"22012",attribute:1,cassetteVoList:[{id:302,name:"cassette",status:4}]},{id:313,name:"22013",attribute:2,cassetteVoList:[{id:303,name:"cassette",status:1}]},{id:314,name:"22014",attribute:2,cassetteVoList:[{id:304,name:"cassette",status:4}]},{id:315,name:"22015",attribute:3,cassetteVoList:[]},{id:316,name:"22016",attribute:2,cassetteVoList:[]},{id:317,name:"22017",attribute:1,cassetteVoList:[]},{id:318,name:"22018",attribute:2,cassetteVoList:[{id:303,name:"cassette",status:4}]},{id:319,name:"22019",attribute:2,cassetteVoList:[]},{id:320,name:"22020",attribute:3,cassetteVoList:[]},{id:321,name:"22021",attribute:2,cassetteVoList:[]},{id:322,name:"22022",attribute:1,cassetteVoList:[{id:302,name:"cassette",status:2}]},{id:323,name:"22023",attribute:2,cassetteVoList:[]},{id:324,name:"22024",attribute:2,cassetteVoList:[{id:304,name:"cassette",status:1}]},{id:325,name:"22025",attribute:3,cassetteVoList:[]},{id:326,name:"22026",attribute:2,cassetteVoList:[]},{id:327,name:"22027",attribute:1,cassetteVoList:[{id:302,name:"cassette",status:3}]},{id:328,name:"22028",attribute:2,cassetteVoList:[]},{id:329,name:"22029",attribute:2,cassetteVoList:[{id:304,name:"cassette",status:1}]},{id:330,name:"22030",attribute:3,cassetteVoList:[]},{id:331,name:"22031",attribute:2,cassetteVoList:[{id:301,name:"cassette",status:3}]},{id:332,name:"22032",attribute:1,cassetteVoList:[]},{id:333,name:"22033",attribute:2,cassetteVoList:[{id:303,name:"cassette",status:1}]},{id:334,name:"22034",attribute:2,cassetteVoList:[]},{id:335,name:"22035",attribute:3,cassetteVoList:[]},{id:336,name:"22036",attribute:2,cassetteVoList:[{id:301,name:"cassette",status:1}]},{id:337,name:"22037",attribute:1,cassetteVoList:[{id:302,name:"cassette",status:1}]},{id:338,name:"22038",attribute:2,cassetteVoList:[]},{id:339,name:"22039",attribute:2,cassetteVoList:[{id:304,name:"cassette",status:4}]},{id:340,name:"22040",attribute:3,cassetteVoList:[]},{id:341,name:"22041",attribute:2,cassetteVoList:[{id:301,name:"cassette",status:3}]},{id:342,name:"22042",attribute:1,cassetteVoList:[{id:302,name:"cassette",status:4}]},{id:343,name:"22043",attribute:2,cassetteVoList:[{id:303,name:"cassette",status:2}]},{id:344,name:"22044",attribute:2,cassetteVoList:[]},{id:345,name:"22045",attribute:3,cassetteVoList:[]},{id:346,name:"22046",attribute:2,cassetteVoList:[{id:301,name:"cassette",status:1}]},{id:347,name:"22047",attribute:1,cassetteVoList:[]},{id:348,name:"22048",attribute:2,cassetteVoList:[{id:303,name:"cassette",status:3}]},{id:349,name:"22049",attribute:2,cassetteVoList:[{id:304,name:"cassette",status:4}]},{id:350,name:"22050",attribute:3,cassetteVoList:[]},{id:351,name:"22051",attribute:2,cassetteVoList:[{id:301,name:"cassette",status:4}]},{id:352,name:"22052",attribute:1,cassetteVoList:[]},{id:353,name:"22053",attribute:2,cassetteVoList:[{id:303,name:"cassette",status:2}]},{id:354,name:"22054",attribute:2,cassetteVoList:[{id:304,name:"cassette",status:1}]},{id:355,name:"22055",attribute:3,cassetteVoList:[]},{id:356,name:"22056",attribute:2,cassetteVoList:[{id:301,name:"cassette",status:2}]},{id:357,name:"22057",attribute:1,cassetteVoList:[]},{id:358,name:"22058",attribute:2,cassetteVoList:[{id:303,name:"cassette",status:2}]},{id:359,name:"22059",attribute:2,cassetteVoList:[{id:304,name:"cassette",status:2}]},{id:360,name:"22060",attribute:3,cassetteVoList:[]},{id:361,name:"22061",attribute:2,cassetteVoList:[{id:301,name:"cassette",status:3}]},{id:362,name:"22062",attribute:1,cassetteVoList:[]},{id:363,name:"22063",attribute:2,cassetteVoList:[{id:303,name:"cassette",status:3}]},{id:364,name:"22064",attribute:2,cassetteVoList:[{id:304,name:"cassette",status:3}]},{id:365,name:"22065",attribute:3,cassetteVoList:[]},{id:366,name:"22066",attribute:2,cassetteVoList:[{id:301,name:"cassette",status:3}]},{id:367,name:"22067",attribute:1,cassetteVoList:[]},{id:368,name:"22068",attribute:2,cassetteVoList:[{id:303,name:"cassette",status:1}]},{id:369,name:"22069",attribute:2,cassetteVoList:[{id:304,name:"cassette",status:4}]},{id:370,name:"22070",attribute:3,cassetteVoList:[]},{id:371,name:"22071",attribute:2,cassetteVoList:[{id:301,name:"cassette",status:1}]},{id:372,name:"22072",attribute:1,cassetteVoList:[]},{id:373,name:"22073",attribute:2,cassetteVoList:[{id:303,name:"cassette",status:4}]},{id:374,name:"22074",attribute:2,cassetteVoList:[{id:304,name:"cassette",status:4}]},{id:375,name:"22075",attribute:3,cassetteVoList:[]},{id:376,name:"22076",attribute:2,cassetteVoList:[{id:301,name:"cassette",status:2}]},{id:377,name:"22077",attribute:1,cassetteVoList:[]},{id:378,name:"22078",attribute:2,cassetteVoList:[{id:303,name:"cassette",status:2}]},{id:379,name:"22079",attribute:2,cassetteVoList:[{id:304,name:"cassette",status:1}]},{id:380,name:"22080",attribute:3,cassetteVoList:[]},{id:381,name:"22081",attribute:2,cassetteVoList:[{id:301,name:"cassette",status:3}]},{id:382,name:"22082",attribute:1,cassetteVoList:[]},{id:383,name:"22083",attribute:2,cassetteVoList:[{id:303,name:"cassette",status:1}]},{id:384,name:"22084",attribute:2,cassetteVoList:[{id:304,name:"cassette",status:1}]},{id:385,name:"22085",attribute:3,cassetteVoList:[]},{id:386,name:"22086",attribute:2,cassetteVoList:[{id:301,name:"cassette",status:3}]},{id:387,name:"22087",attribute:1,cassetteVoList:[{id:302,name:"cassette",status:3}]},{id:388,name:"22088",attribute:2,cassetteVoList:[]},{id:389,name:"22089",attribute:2,cassetteVoList:[{id:304,name:"cassette",status:2}]},{id:390,name:"22090",attribute:3,cassetteVoList:[]}]}]}],portAttributeList:[{id:"1",name:"Working Port",color:"#E1EBFF"},{id:"2",name:"Buffer Port",color:"#FFF8E8"},{id:"3",name:"Exception Port",color:"#F6F6F6"}],portAttributeObj:{1:"#E1EBFF",2:"#FFF8E8",3:"#F6F6F6"},cassetteStatusList:[{id:"1",name:"Empty Cassette",color:"#7362F3"},{id:"2",name:"Dummy Cassette",color:"#FFD781"},{id:"3",name:"OK Cassette",color:"#16DC09"},{id:"4",name:"NOK Cassette",color:"#FFA08F"}],cassetteStatusObj:{1:"#7362F3",2:"#FFD781",3:"#16DC09",4:"#FFA08F"},current:1,totalPage:1,rowIndex:["module.dashboard.first","module.dashboard.second"],addOrUpdateVisible:!1},o=s("5fd4"),u=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("el-dialog",{attrs:{title:t._f("i18nFilter")("btn.detail"),visible:t.visible,width:"70%"},on:{"update:visible":function(e){t.visible=e}}},[s("el-row",{attrs:{gutter:10}},[s("el-form",{ref:"dataForm",attrs:{model:t.dataForm,"label-width":"150px"}},[s("el-col",{attrs:{span:8}},[s("el-form-item",{attrs:{label:t.$t("module.dashboard.name"),prop:"name"}},[t._v("\n "+t._s(t.dataForm.name)+"\n ")])],1),t._v(" "),s("el-col",{attrs:{span:8}},[s("el-form-item",{attrs:{label:t.$t("module.dashboard.attribute"),prop:"attribute"}},[t._v("\n "+t._s(t.dataForm.attribute?t.portAttributeObj[t.dataForm.attribute]:"")+"\n ")])],1),t._v(" "),s("el-col",{attrs:{span:8}},[s("el-form-item",{attrs:{label:t.$t("module.dashboard.cassetteStatus"),prop:"cassetteVoList"}},[t._v("\n "+t._s(t.dataForm.cassetteVoList&&t.dataForm.cassetteVoList.length&&t.dataForm.cassetteVoList[0].status?t.cassetteStatusObj[t.dataForm.cassetteVoList[0].status]:"")+"\n ")])],1),t._v(" "),s("el-col",{attrs:{span:8}},[s("el-form-item",{attrs:{label:t.$t("module.dashboard.workOrderNo"),prop:"workOrderNo"}},[t._v("\n "+t._s(t.dataForm.workOrderNo)+"\n ")])],1),t._v(" "),s("el-col",{attrs:{span:8}},[s("el-form-item",{attrs:{label:t.$t("module.dashboard.storageBoxCode"),prop:"storageBoxCode"}},[t._v("\n "+t._s(t.dataForm.storageBoxCode)+"\n ")])],1)],1)],1),t._v(" "),s("base-table",{attrs:{page:t.listQuery.current,limit:t.listQuery.size,"table-config":t.tableProps,"table-data":t.list,"is-loading":t.listLoading}}),t._v(" "),s("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[s("el-button",{on:{click:function(e){t.visible=!1}}},[t._v(t._s(t._f("i18nFilter")("btn.cancel")))])],1)],1)},c=[],d=s("3393"),m=s.n(d),b=s("9923"),L=s("5a6c"),V=s("c0ee"),l=[{prop:"substrateCode",label:b["a"].t("module.report.substrate.substrateCode"),align:"center"},{prop:"subPosition",label:b["a"].t("module.report.substrate.location"),align:"center"},{prop:"storeTime",label:b["a"].t("module.report.substrate.storeTime"),align:"center"},{prop:"status",label:b["a"].t("module.report.substrate.substrateStatus"),align:"center"},{prop:"subStorageStatusName",label:b["a"].t("module.report.substrate.subStorageStatus"),align:"center"},{prop:"machineHandID",label:b["a"].t("module.report.substrate.machineHandID"),align:"center"}],p={components:{BaseTable:V["a"]},data:function(){return{visible:!1,tableProps:l,list:[],listLoading:!0,listQuery:{current:1,size:500,locationStorageSubID:""},dataForm:{code:null,createTime:null,currLocation:null,currLocationId:null,id:null,isEmpty:null,status:null,storageBoxCode:null,storageBoxId:null,updateTime:null},cassetteStatusObj:{1:"Empty Cassette",2:"Dummy Cassette",3:"OK Cassette",4:"NOK Cassette"},portAttributeObj:{1:"Working Port",2:"Buffer Port",3:"Exception Port"}}},methods:{init:function(t){var e=this;console.log(t),this.visible=!0,this.dataForm=t,this.listQuery.locationStorageSubID=t.locationStorageSubId,this.listLoading=!0,Object(L["d"])(this.listQuery).then((function(t){if(t.data){e.list=t.data;for(var s=0;s<e.list.length;s++)1===e.list[s].subStorageStatus?e.list[s].subStorageStatusName=e.$t("module.report.substrate.load"):2===e.list[s].subStorageStatus&&(e.list[s].subStorageStatusName=e.$t("module.report.substrate.unload"))}else{var a;m()(a=e.list).call(a,0,e.list.length)}e.listLoading=!1}))}}},h=p,f=s("2877"),g=Object(f["a"])(h,u,c,!1,null,null,null),_=g.exports,v={name:"Dashboard",components:{portDetail:_},data:function(){return r},created:function(){this.totalPage=Math.ceil(this.shelfVoList[0].rowVoList[0].portVoList.length/80),this.init()},methods:{init:function(){var t=this;Object(o["b"])().then((function(e){t.shelfVoList=e.data[0].shelfVoList,t.totalPage=Math.ceil(t.shelfVoList[0].rowVoList[0].portVoList.length/80)}))},handleChange:function(t){console.log(t)},handlePort:function(t,e){var s=this;Object(o["a"])(t.portVoList[e-1].id).then((function(a){s.addOrUpdateVisible=!0,s.$nextTick((function(){s.$refs.addOrUpdate.init(Object(n["a"])(Object(n["a"])({},a.data),t.portVoList[e-1]))}))}))},refresh:function(){this.init()}}},w=v,y=(s("0cc4"),Object(f["a"])(w,a,i,!1,null,"54d82d52",null));e["default"]=y.exports},d563:function(t,e,s){}}]);