(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ddcf4402"],{"1b63":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"check-page"},[a("a-button",{staticClass:"export-all",attrs:{type:"primary"},on:{click:t.exportStock}},[t._v(" 导出全部巷道 ")]),a("div",{staticClass:"title-info"},[a("span",{staticClass:"explain"},[t._v("颜色说明:")]),a("span",{staticClass:"info-text"},[a("a-tag",{staticStyle:{width:"30px",height:"20px","margin-right":"6px"},attrs:{color:"#d81e06"}}),t._v(" 盘点错误 ")],1),a("span",{staticClass:"info-text"},[a("a-tag",{staticStyle:{width:"30px",height:"20px","margin-right":"6px"},attrs:{color:"#1afa29"}}),t._v(" 盘点正确 ")],1),a("span",{staticClass:"info-text"},[a("a-tag",{staticStyle:{width:"30px",height:"20px","margin-right":"6px"},attrs:{color:"#bfbfbf"}}),t._v(" 未盘点 ")],1)]),a("div",{staticStyle:{"margin-top":"10px"}},[a("a-select",{staticClass:"select-roadway",attrs:{"default-value":t.data[0].name},on:{change:t.handleChange}},t._l(t.data,(function(e){return a("a-select-option",{key:e.name,attrs:{value:e.id}},[t._v(" "+t._s(e.name)+" ")])})),1)],1),a("div",{staticClass:"center-box"},[a("span",{staticClass:"shelf-number"},[t._v(" 左货架号: "+t._s(t.leftShelveId.shelveId)+" ")]),t.streetDetail.leftInsideShelveId&&t.streetDetail.leftOutsideShelveId?a("a-radio-group",{staticStyle:{margin:"10px 0"},on:{change:t.getStockRowColumn},model:{value:t.size,callback:function(e){t.size=e},expression:"size"}},[a("a-radio-button",{attrs:{value:"leftOutsideShelveId"}},[t._v(" 外 ")]),a("a-radio-button",{attrs:{value:"leftInsideShelveId"}},[t._v(" 内 ")])],1):t._e()],1),t._l(t.data,(function(e){return a("div",{key:e.id,staticClass:"check-content"},[e.id==t.select?a("subsection",{attrs:{total:{row:e.leftColumn,column:e.leftRow},shelveId:t.leftShelveId.shelveId,streetId:e.id,streetName:e.name,type:"left",inOut:t.leftShelveId.shelveType}}):t._e()],1)})),a("div",{staticClass:"center-box"},[a("span",{staticClass:"shelf-number"},[t._v(" 右货架号: "+t._s(t.rightShelveId.shelveId)+" ")]),t.streetDetail.rightInsideShelveId&&t.streetDetail.rightOutsideShelveId?a("a-radio-group",{staticStyle:{margin:"10px 0"},on:{change:t.getStockRowColumn},model:{value:t.size2,callback:function(e){t.size2=e},expression:"size2"}},[a("a-radio-button",{attrs:{value:"rightOutsideShelveId"}},[t._v(" 外 ")]),a("a-radio-button",{attrs:{value:"rightInsideShelveId"}},[t._v(" 内 ")])],1):t._e()],1),t._l(t.data,(function(e){return a("div",{key:e.name,staticClass:"check-content"},[e.id==t.select?a("subsection",{attrs:{total:{row:e.rightColumn,column:e.rightRow},shelveId:t.rightShelveId.shelveId,streetId:e.id,streetName:e.name,type:"right",inOut:t.rightShelveId.shelveType}}):t._e()],1)}))],2)},o=[],i=(a("96cf"),a("1da1")),r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"subsection"},[a("a-layout",{staticStyle:{width:"900px"}},[a("a-layout",{staticStyle:{width:"100%",height:"310px"}},[a("a-layout-sider",{attrs:{width:"110px"}},[t.total.column>t.nums.column?a("a-tabs",{attrs:{"default-active-key":"1","tab-position":"left"},on:{change:t.changeTabLeft}},t._l(t.latticeColumn,(function(e){return a("a-tab-pane",{key:e},[a("span",{attrs:{slot:"tab"},slot:"tab"},[t._v(" "+t._s(t.getRandom(e,t.latticeColumn,t.nums.column,t.total.column))+" "),1===t.status.column[e]?a("a-icon",{staticStyle:{color:"#d81e06"},attrs:{type:"close-circle"}}):2===t.status.column[e]?a("a-icon",{staticStyle:{color:"#1afa29"},attrs:{type:"check-circle"}}):a("a-icon",{staticStyle:{color:"#909399"},attrs:{type:"exclamation-circle"}})],1)])})),1):t._e()],1),a("a-layout-content",[a("div",{staticClass:"roadway-buttom"},[a("div",{staticClass:"roadway-box"},t._l(t.total.column,(function(e,n){return e>=t.random.column[0]&&e<=t.random.column[1]?a("div",{key:n,staticClass:"line"},t._l(t.total.row,(function(n,o){return n>=t.random.row[0]&&n<=t.random.row[1]?a("div",{key:o,staticClass:"el"},[a("span",{staticClass:"default",attrs:{id:t.shelveId+"-"+n+"-"+e},on:{click:function(a){return t.tocheckPage(n,e)}}},[t._v(" "+t._s(n)+"-"+t._s(e)+" ")])]):t._e()})),0):t._e()})),0)])])],1),a("a-layout-footer",[t.total.row>t.nums.row?a("a-tabs",{attrs:{"default-active-key":"1","tab-position":"bottom"},on:{change:t.changeTab}},t._l(t.latticeRow,(function(e){return a("a-tab-pane",{key:e},[a("span",{attrs:{slot:"tab"},slot:"tab"},[t._v(" "+t._s(t.getRandom(e,t.latticeRow,t.nums.row,t.total.row))+" "),1===t.status.row[e]?a("a-icon",{staticStyle:{color:"#d81e06"},attrs:{type:"close-circle"}}):2===t.status.row[e]?a("a-icon",{staticStyle:{color:"#1afa29"},attrs:{type:"check-circle"}}):a("a-icon",{staticStyle:{color:"#909399"},attrs:{type:"exclamation-circle"}})],1)])})),1):t._e()],1)],1)],1)},s=[],c=(a("99af"),a("d81d"),a("a9e3"),a("ac1f"),a("1276"),a("b85c")),l={name:"Subsection",components:{},props:{select:{type:Object,default:function(){return{row:1,column:1}}},total:{type:Object,default:function(){return{}}},nums:{type:Object,default:function(){return{row:15,column:10}}},shelveId:{type:String,default:function(){return{}}},streetId:{type:Number,default:function(){return{}}},streetName:{type:String,default:function(){return{}}},type:{type:String,default:function(){return{}}},inOut:{type:String,default:function(){return{}}}},computed:{latticeRow:function(){return parseInt(this.total.row/this.nums.row)+(this.total.row%this.nums.row>0?1:0)},latticeColumn:function(){return parseInt(this.total.column/this.nums.column)+(this.total.column%this.nums.column>0?1:0)},random:function(){return{row:this.getRandomRow(this.select.row),column:this.getRandomColumn(this.select.column)}},watchShelveIdInfo:function(){return this.shelveId}},watch:{watchShelveIdInfo:function(){this.getStatus()},immediate:!0},data:function(){return{status:{row:{},column:{}},timer:null}},mounted:function(){var t=this;this.$nextTick((function(){t.getStatus()})),this.timer=window.setInterval(this.getStatus,5e3),this.$once("hook:beforeDestroy",(function(){console.log("hook:beforeDestroy"),window.clearInterval(t.timer),t.timer=null}))},beforeDestroy:function(){console.log("beforeDestroy"),window.clearInterval(this.timer),this.timer=null},created:function(){},destroyed:function(){clearInterval(this.timer)},methods:{changeTab:function(t){this.select.row=t,this.getStatus()},changeTabLeft:function(t){this.select.column=t,this.getStatus()},getRandom:function(t,e,a,n){return t!==e?"".concat((t-1)*a+1," - ").concat(t*a):"".concat((t-1)*a+1," - ").concat(n)},getRandomRow:function(t){return this.getRandom(t,this.latticeRow,this.nums.row,this.total.row).split(" - ").map((function(t){return Number(t)}))},getRandomColumn:function(t){return this.getRandom(t,this.latticeColumn,this.nums.column,this.total.column).split(" - ").map((function(t){return Number(t)}))},getStatusBg:function(t,e,a){var n=document.getElementById(this.shelveId+"-"+t+"-"+e),o=1==a?"#d81e06":2==a?"#1afa29":"#bfbfbf";n.style.background=o},getStatusTab:function(t,e,a){var n=document.getElementById(this.shelveId+"-"+a+"-"+t);console.log(n),console.log(this.shelveId+"-"+a+"-"+t),n.style.type="close-circle";var o=1==e?"#d81e06":2==e?"#1afa29":"#bfbfbf";n.style.color=o,console.log(n)},getStatus:function(){var t=this;if("{}"!=JSON.stringify(this.shelveId)){for(var e=[],a=1;a<=this.latticeColumn;a++){var n=this.getRandom(a,this.latticeColumn,this.nums.column,this.total.column);e.push(n)}for(var o=[],i=1;i<=this.latticeRow;i++){var r=this.getRandom(i,this.latticeRow,this.nums.row,this.total.row);o.push(r)}this.$api.httpApi.getStatusByRowColumn({data:{columnStart:this.random.column[0],columnEnd:this.random.column[1],rowStart:this.random.row[0],rowEnd:this.random.row[1],shelveId:this.shelveId,rowTabs:o,columnTabs:e}}).then((function(e){if(200==e.code){if(e.data.stocks){var a,n=Object(c["a"])(e.data.stocks);try{for(n.s();!(a=n.n()).done;){var o=a.value;t.getStatusBg(o.row,o.column,o.status)}}catch(u){n.e(u)}finally{n.f()}}var i=1;for(var r in e.data.columnTabStatus)t.$set(t.status.column,i,e.data.columnTabStatus[r]),i++;var s=1;for(var l in e.data.rowTabStatus)t.$set(t.status.row,s,e.data.rowTabStatus[l]),s++}})).catch((function(t){}))}},tocheckPage:function(t,e){this.$router.push({name:"checkOperation",query:{row:t,column:e,shelveId:this.shelveId,id:this.streetId,name:this.streetName,type:this.type,type2:this.inOut}})}}},u=l,d=(a("7147"),a("2877")),h=Object(d["a"])(u,r,s,!1,null,"3c4c0914",null),f=h.exports,p={name:"checkManage",data:function(){return{size:"leftOutsideShelveId",size2:"rightOutsideShelveId",data:[],select:"",streetId:0,streetDetail:{},checkList:[],stockInfo:{left:{},right:{}},timer:null,leftShelveId:{},rightShelveId:{}}},computed:{},mounted:function(){this.request()},created:function(){},methods:{request:function(){var t=this;this.$api.httpApi.getStreetList({data:{pageNum:1,pageSize:50}}).then((function(e){console.log("update data");for(var a=0;a=51||!o((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),m=d("concat"),y=function(t){if(!r(t))return!1;var e=t[p];return void 0!==e?!!e:i(t)},w=!b||!m;n({target:"Array",proto:!0,forced:w},{concat:function(t){var e,a,n,o,i,r=s(this),d=u(r,0),h=0;for(e=-1,n=arguments.length;ev)throw TypeError(g);for(a=0;a=v)throw TypeError(g);l(d,h++,i)}return d.length=h,d}})},a630:function(t,e,a){var n=a("23e7"),o=a("4df4"),i=a("1c7e"),r=!i((function(t){Array.from(t)}));n({target:"Array",stat:!0,forced:r},{from:o})},a9e3:function(t,e,a){"use strict";var n=a("83ab"),o=a("da84"),i=a("94ca"),r=a("6eeb"),s=a("5135"),c=a("c6b6"),l=a("7156"),u=a("c04e"),d=a("d039"),h=a("7c73"),f=a("241c").f,p=a("06cf").f,v=a("9bf2").f,g=a("58a8").trim,b="Number",m=o[b],y=m.prototype,w=c(h(y))==b,S=function(t){var e,a,n,o,i,r,s,c,l=u(t,!1);if("string"==typeof l&&l.length>2)if(l=g(l),e=l.charCodeAt(0),43===e||45===e){if(a=l.charCodeAt(2),88===a||120===a)return NaN}else if(48===e){switch(l.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+l}for(i=l.slice(2),r=i.length,s=0;so)return NaN;return parseInt(i,n)}return+l};if(i(b,!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var x,I=function(t){var e=arguments.length<1?0:t,a=this;return a instanceof I&&(w?d((function(){y.valueOf.call(a)})):c(a)!=b)?l(new m(S(e)),a,I):S(e)},k=n?f(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;k.length>C;C++)s(m,x=k[C])&&!s(I,x)&&v(I,x,p(m,x));I.prototype=y,y.constructor=I,r(o,b,I)}},b85c:function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));a("a4d3"),a("e01a"),a("d28b"),a("d3b7"),a("3ca3"),a("ddb0"),a("a630"),a("fb6a"),a("b0c0"),a("25f0");function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,n=new Array(e);a=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,c=!1;return{s:function(){a=t[Symbol.iterator]()},n:function(){var t=a.next();return s=t.done,t},e:function(t){c=!0,r=t},f:function(){try{s||null==a["return"]||a["return"]()}finally{if(c)throw r}}}}},c2fe:function(t,e,a){var n=a("4323");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=a("499e").default;o("605652fd",n,!0,{sourceMap:!1,shadowMode:!1})},d28b:function(t,e,a){var n=a("746f");n("iterator")},d53f:function(t,e,a){"use strict";var n=a("6d5c"),o=a.n(n);o.a},e01a:function(t,e,a){"use strict";var n=a("23e7"),o=a("83ab"),i=a("da84"),r=a("5135"),s=a("861d"),c=a("9bf2").f,l=a("e893"),u=i.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof h?new u(t):void 0===t?u():u(t);return""===t&&(d[e]=!0),e};l(h,u);var f=h.prototype=u.prototype;f.constructor=h;var p=f.toString,v="Symbol(test)"==String(u("test")),g=/^Symbol\((.*)\)[^)]+$/;c(f,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=p.call(t);if(r(d,t))return"";var a=v?e.slice(7,-1):e.replace(g,"$1");return""===a?void 0:a}}),n({global:!0,forced:!0},{Symbol:h})}},f0b5:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,".alarm .ant-form-item-label[data-v-607b3169]{text-align:left}.check-page[data-v-607b3169]{position:relative}.check-page .title-info[data-v-607b3169]{display:flex;align-items:center;justify-content:start}.check-page .title-info .explain[data-v-607b3169]{font-weight:600}.check-page .title-info .info-text[data-v-607b3169]{display:flex;align-items:center;justify-content:center;margin-right:15px}.check-page .ant-tag[data-v-607b3169]{margin-right:0;display:block;line-height:25px;text-align:center;cursor:pointer}.check-page .roadway-top[data-v-607b3169],.check-page roadway-buttom[data-v-607b3169]{padding:5px 0;width:100%}.check-page .roadway-box[data-v-607b3169]{transform:rotateX(180deg);padding:10px 10px 0 0}.check-page .roadway-box .line[data-v-607b3169]{display:flex;transform:rotateX(180deg)}.check-page .roadway-box .line .el[data-v-607b3169]{width:46px;height:25px;line-height:25px;margin:2px;font-size:12px;text-align:center;border-radius:4px;cursor:pointer;position:relative}.check-page .roadway-box .line .el .default[data-v-607b3169]{position:absolute;top:0;left:0;right:0;bottom:0}.check-page .center-box[data-v-607b3169]{width:500px;height:52px;line-height:52px}.check-page .center-box .shelf-number[data-v-607b3169]{display:inline-block;width:200px}.check-page .export-all[data-v-607b3169]{position:absolute;right:20px}",""]),t.exports=e},fb6a:function(t,e,a){"use strict";var n=a("23e7"),o=a("861d"),i=a("e8b5"),r=a("23cb"),s=a("50c4"),c=a("fc6a"),l=a("8418"),u=a("b622"),d=a("1dde"),h=a("ae40"),f=d("slice"),p=h("slice",{ACCESSORS:!0,0:0,1:2}),v=u("species"),g=[].slice,b=Math.max;n({target:"Array",proto:!0,forced:!f||!p},{slice:function(t,e){var a,n,u,d=c(this),h=s(d.length),f=r(t,h),p=r(void 0===e?h:e,h);if(i(d)&&(a=d.constructor,"function"!=typeof a||a!==Array&&!i(a.prototype)?o(a)&&(a=a[v],null===a&&(a=void 0)):a=void 0,a===Array||void 0===a))return g.call(d,f,p);for(n=new(void 0===a?Array:a)(b(p-f,0)),u=0;f