mt-ck-wms-ui/dist/static/js/chunk-c182234c.06aef4fe.js

1 line
36 KiB
JavaScript
Raw Normal View History

2022-06-07 15:13:51 +08:00
(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(