(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c8a77"],{5699:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[e._m(0),a("div",{staticClass:"app-container--bd"},[a("div",{staticClass:"table-container"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],key:e.tableKey,staticStyle:{width:"100%"},attrs:{data:e.goodsInstorageList,"element-loading-text":"正在获取数据。。。",border:"",fit:"",stripe:"","highlight-current-row":""}},[a("el-table-column",{attrs:{align:"center",label:"序号",prop:"$index",width:"60px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.$index+1))])]}}])}),a("el-table-column",{attrs:{label:"商品编号",prop:"product_no"}}),a("el-table-column",{attrs:{label:"商品SKU",prop:"sku"}}),a("el-table-column",{attrs:{label:"商品名称",prop:"product_name"}}),a("el-table-column",{attrs:{label:"商品规格",prop:"sku_property"}}),a("el-table-column",{attrs:{label:"商品单价",prop:"sku_price"}}),a("el-table-column",{attrs:{label:"仓库数量",prop:"storage_num"}}),a("el-table-column",{attrs:{label:"盈亏数量",prop:"check_num",align:"center"}})],1)],1),a("el-button",{staticClass:"mt-20",on:{click:e.goBack}},[e._v("返回")]),a("div",{staticClass:"pagination-container fr"},[a("el-pagination",{attrs:{"current-page":e.page,"page-sizes":[10,20,50,100],"page-size":e.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange,"prev-click":e.handlePrevClick,"next-click":e.handleNextClick}})],1)],1)])},r=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container--hd pb-20"},[a("h3",[e._v("盘点详情")])])}],i=(a("2397"),a("96cf"),a("1da1")),o=(a("6b54"),a("d4ec")),s=a("bee2"),c=a("99de"),l=a("7e84"),u=a("262e"),p=a("9ab4"),g=a("60a3"),d=a("c632");function h(e,t,a){return t=Object(l["a"])(t),Object(c["a"])(e,b()?Reflect.construct(t,a||[],Object(l["a"])(e).constructor):t.apply(e,a))}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(b=function(){return!!e})()}var v=function(e){function t(){var e;return Object(o["a"])(this,t),e=h(this,t,arguments),e.tableKey=0,e.goodsInstorageList=[],e.page=1,e.pageSize=10,e.total=null,e.listLoading=!1,e.check_order_no="",e}return Object(u["a"])(t,e),Object(s["a"])(t,[{key:"mounted",value:function(){var e=this;this.check_order_no=this.$route.query.check_order_no.toString(),this.$nextTick((function(){e.getGoodsInstorageList()}))}},{key:"getGoodsInstorageList",value:function(){var e=Object(i["a"])(regeneratorRuntime.mark((function e(){var t,a,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t={page:this.page,size:this.pageSize,check_order_no:this.check_order_no},e.prev=1,this.listLoading=!0,e.next=5,Object(d["c"])(t);case 5:a=e.sent,n=a.data,this.listLoading=!1,this.goodsInstorageList=n.list,this.total=n.count,e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](1),this.listLoading=!1;case 15:case"end":return e.stop()}}),e,this,[[1,12]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"goBack",value:function(){history.go(-1)}},{key:"handleSizeChange",value:function(e){this.pageSize=e,this.getGoodsInstorageList()}},{key:"handleCurrentChange",value:function(e){this.page=e,this.getGoodsInstorageList()}},{key:"handlePrevClick",value:function(e){this.page=e,this.getGoodsInstorageList()}},{key:"handleNextClick",value:function(e){this.page=e,this.getGoodsInstorageList()}}]),t}(g["i"]);v=Object(p["a"])([Object(g["a"])({name:"InventoryDetail"})],v);var f=v,k=f,_=a("2877"),m=Object(_["a"])(k,n,r,!1,null,"d40afe3c",null);t["default"]=m.exports}}]);