mt-ck-wms-ui/dist/static/js/chunk-0220d172.6dcecc4a.js

1 line
40 KiB
JavaScript
Raw Normal View History

2022-06-07 15:13:51 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0220d172"],{"1ae3":function(t,e,s){},"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}})}},"6e59":function(t,e,s){"use strict";s("1ae3")},7813: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("\n "+t._s(t.$t("module.dashboard.title"))+"\n ")])]),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-btn"},[s("el-button",{attrs:{type:"primary",size:"mini"},on:{click:t.submitLinkList}},[t._v(t._s(t._f("i18nFilter")("btn.submit")))]),t._v(" "),s("el-button",{attrs:{type:"warning",size:"mini"},on:{click:function(e){return t.init()}}},[t._v(t._s(t._f("i18nFilter")("btn.reset")))]),t._v(" "),s("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(e){return t.goback()}}},[t._v(t._s(t._f("i18nFilter")("btn.back")))])],1),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)],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":"",border:t.selectStorageList.some((function(s){return s.locationId===i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].id}))?"2px dashed red":""},on:{click:function(s){t.setType(i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)])}}},["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(" "),t.StorageList.some((function(s){return s.id===i.portVoList[80*(t.current-1)+20*(e-1)+(n-1)].id}))?s("div",{staticClass:"dashboard-layout-item-horn"}):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:"da