YM-WMS-WCS/dist/js/chunk-29123a65.76c27926.js

1 line
5.6 KiB
JavaScript
Raw Permalink Normal View History

2023-04-14 15:56:50 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-29123a65"],{"0cb1":function(t,s,r){"use strict";var e=r("b707"),a=r.n(e);a.a},"87dc":function(t,s,r){"use strict";r.r(s);var e=function(){var t=this,s=t.$createElement,r=t._self._c||s;return r("div",{staticClass:"dashboard-container"},[r("el-card",{staticClass:"dashboard-main"},[r("el-row",{staticClass:"dashboard-title"},[r("div",{staticClass:"dashboard-header-line"}),r("div",{staticClass:"dashboard-header-title"},[t._v("WMS库存信息")])]),r("el-row",{staticClass:"dashboard-legend"},[t._l(t.cassetteStatusList,(function(s){return r("div",{key:"cassette"+s.id,staticClass:"dashboard-legend-cassette"},[r("div",{staticClass:"dashboard-legend-cassette-cricle",style:{background:s.color}}),t._v(" "+t._s(s.name)+" ")])})),t._v(" | "),t._l(t.portAttributeList,(function(s){return r("div",{key:"port"+s.id,staticClass:"dashboard-legend-port",style:{background:s.color}},[t._v(" "+t._s(s.name)+" ")])})),r("div",{staticClass:"dashboard-legend-search"},[r("el-select",{attrs:{size:"mini",placeholder:"请选择库存范围"},on:{change:t.handleChange},model:{value:t.current,callback:function(s){t.current=s},expression:"current"}},t._l(t.totalPage,(function(t){return r("el-option",{key:"select"+t,attrs:{label:"第"+t+"页",value:t}})})),1)],1)],2),80*t.current<t.shelfList[0].rowList[0].portList.length?r("el-row",{staticClass:"dashboard-layout",attrs:{gutter:12}},t._l(4,(function(s){return r("el-col",{key:"shelfbox"+s,staticClass:"dashboard-layout-shelf-box",attrs:{span:6}},[r("el-row",t._l(t.shelfList,(function(e,a){return r("el-col",{key:s+"shelf"+e.id,staticClass:"dashboard-layout-shelf",attrs:{span:12}},[r("el-row",t._l(e.rowList,(function(a){return r("el-col",{key:s+"shelf"+e+"row"+a.id,staticClass:"dashboard-layout-row",attrs:{span:12}},t._l(20,(function(o){return r("div",{key:s+"shelf"+e+"row"+a+"item"+o,staticClass:"dashboard-layout-item",style:{background:t.portAttributeObj[a.portList[80*(t.current-1)+20*(s-1)+(o-1)].attribute],cursor:3===a.portList[80*(t.current-1)+20*(s-1)+(o-1)].attribute?"not-allowed":"pointer",color:3===a.portList[80*(t.current-1)+20*(s-1)+(o-1)].attribute?"#A2A8B5":""}},[3!==a.portList[80*(t.current-1)+20*(s-1)+(o-1)].attribute?r("div",{staticClass:"dashboard-layout-item-cricle",style:{background:a.portList[80*(t.current-1)+20*(s-1)+(o-1)].cassetteList[0]?t.cassetteStatusObj[a.portList[80*(t.current-1)+20*(s-1)+(o-1)].cassetteList[0].status]:""}}):t._e(),t._v(" "+t._s(3!==a.portList[80*(t.current-1)+20*(s-1)+(o-1)].attribute?a.portList[80*(t.current-1)+20*(s-1)+(o-1)].name:"XXXX")+" ")])})),0)})),1),r("div",{staticClass:"dashboard-layout-footer"},[t._v(" "+t._s("第"+t.rowIndex[a]+"排("+(4*(t.current-1)+s)+")")+" ")])],1)})),1)],1)})),1):r("el-row",{staticClass:"dashboard-layout",attrs:{gutter:12}},t._l(Math.ceil((t.shelfList[0].rowList[0].portList.length-80*(t.current-1))/20),(function(s){return r("el-col",{key:"shelfbox"+s,staticClass:"dashboard-layout-shelf-box",attrs:{span:6}},[r("el-row",t._l(t.shelfList,(function(e,a){return r("el-col",{key:s+"shelf"+e.id,staticClass:"dashboard-layout-shelf",attrs:{span:12}},[s<Math.ceil((t.shelfList[0].rowList[0].portList.length-80*(t.current-1))/20)?r("el-row",t._l(e.rowList,(function(a){return r("el-col",{key:s+"shelf"+e+"row"+a.id,staticClass:"dashboard-layout-row",attrs:{span:12}},t._l(20,(function(o){return r("div",{key:s+"shelf"+e+"row"+a+"item"+o,staticClass:"dashboard-layout-item",style:{background:t.portAttributeObj[a.portList[80*(t.current-1)+20*(s-1)+(o-1)].attribute],cursor:3===a.portList[80*(t.current-1)+20*(s-1)+(o-1)].attribute?"not-allowed":"pointer",color:3===a.portList[80*(t.current-1)+20*(s-1)+(o-1)].attribute?"#A2A8B5":""}},[3!==a.portList[80*(t.current-1)+20*(s-1)+(o-1)].attribute?r("div",{staticClass:"dashboard-layout-item-cricle",style:{background:a.portList[80*(t.current-1)+20*(s-1)+(o-1)].cassetteList[0]?t.cassetteStatusObj[a.portList[80*(t.current-1)+20*(s-1)+(o-1)].cassetteList[0].status]:""}}):t._e(),t._v(" "+t._s(3!==a.portList[80*(t.current-1)+20*(s-1)+(o-1)].attribute?a