(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-0a69"],{"/Sza":function(t,e,a){"use strict";var r=a("l83q");a.n(r).a},Vg2L:function(t,e,a){"use strict";a.r(e);var r=a("cLjf"),n=a.n(r),i=a("hDQ3"),o=a.n(i),s=a("brm8"),u=a("7Qib"),c={name:"index",data:function(){return{tableKey:"",listLoading:!1,pageSize:10,recordTotal:0,currentPage:1,pageTotal:0,detailData:[],detailVisible:!1,listQuery:{pageSize:10,pageIndex:1,filter:{starttime:"",endtime:"",safetysupervision:""}}}},created:function(){},methods:{openDialog:function(t){this.listQuery.filter.city=t.city,this.listQuery.filter.starttime=t.starttime,this.listQuery.filter.endtime=t.endtime,this.listQuery.filter.safetysupervision=t.safetysupervision,this.detailVisible=!0,this.getCityInAndOutDetail()},getCityInAndOutDetail:function(){var t=this;return o()(n.a.mark(function e(){var a;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.listLoading=!0,e.next=3,Object(s.i)(t.listQuery);case 3:"200"===(a=e.sent).data.code?(t.recordTotal=a.data.result.total,t.pageSize=a.data.result.size,t.pageTotal=Object(u.a)(a.data.result.total,a.data.result.size),t.currentPage=a.data.result.current,t.detailData=a.data.result.records):t.$message({type:"warning",message:a.data.message}),t.listLoading=!1;case 6:case"end":return e.stop()}},e,t)}))()},handleSizeChange:function(t){this.listQuery.pageSize=t,this.getCityInAndOutDetail()},handleCurrentChange:function(t){this.listQuery.pageIndex=t,this.getCityInAndOutDetail()}}},d=(a("/Sza"),a("ZrdR")),l=Object(d.a)(c,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{visible:t.detailVisible,"close-on-click-modal":!1,width:"60%"},on:{"update:visible":function(e){t.detailVisible=e}}},[a("div",{staticClass:"table_content"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],key:t.tableKey,staticStyle:{width:"100%"},attrs:{data:t.detailData,border:"",fit:"","highlight-current-row":""}},[a("el-table-column",{attrs:{label:"序号",type:"index",align:"center",width:"60"}}),t._v(" "),a("el-table-column",{attrs:{label:"企业名称",prop:"enterprisename",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"进货数量(箱)",prop:"innum",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"出货数量(箱)",prop:"outnum",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"销售数量(箱)",prop:"salenum",align:"center"}}),t._v(" "),a("el-table-column",{attrs:{label:"销售额(万元)",prop:"sales",align:"center"}})],1),t._v(" "),a("br"),t._v(" "),a("el-pagination",{directives:[{name:"show",rawName:"v-show",value:t.recordTotal>0,expression:"recordTotal>0"}],staticStyle:{float:"right"},attrs:{"current-page":t.currentPage,"page-sizes":[10,20,30,50],"page-size":t.pageSize,total:t.recordTotal,layout:"total, sizes, prev, pager, next, jumper",background:""},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}),t._v(" "),a("br")],1)])},[],!1,null,"197bf9ff",null);l.options.__file="index.vue";e.default=l.exports},brm8:function(t,e,a){"use strict";a.d(e,"r",function(){return i}),a.d(e,"j",function(){return o}),a.d(e,"o",function(){return s}),a.d(e,"t",function(){return u}),a.d(e,"p",function(){return c}),a.d(e,"q",function(){return d}),a.d(e,"s",function(){return l}),a.d(e,"g",function(){return h}),a.d(e,"f",function(){return p}),a.d(e,"c",function(){return b}),a.d(e,"m",function(){return f}),a.d(e,"l",function(){return g}),a.d(e,"h",function(){return m}),a.d(e,"i",function(){return O}),a.d(e,"k",function(){return j}),a.d(e,"d",function(){return y}),a.d(e,"n",function(){return z}),a.d(e,"e",function(){return v}),a.d(e,"a",function(){return A}),a.d(e,"b",function(){return x});var r=a("X4fA"),n=a("t3Un");function i(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/order/saleRecord4",method:"post",data:t})}function o(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/statistics/city-inbound-outbound",method:"post",data:t})}function s(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/statistics/gender-sale",method:"post",data:t})}function u(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/statistics/race-sale",method:"post",data:t})}function c(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/statistics/generation-sale",method:"post",data:t})}function d(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/order/getPurchaseDetailInUnit",method:"post",data:t})}function l(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/order/saleRecord3",method:"post",data:t})}function h(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/order/export/saleRecord3",method:"post",data:t})}function p(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/order/export/saleRecord4",method:"post",data:t})}function b(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/statistics/export/city-inbound-outbound",method:"post",data:t})}function f(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/order/enterpriseESS",method:"post",data:t})}function g(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/order/enterpriseESSExport",method:"post",data:t})}function m(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/order/cityESS",method:"post",data:t})}function O(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/statistics/city-inbound-outbound-detail",method:"post",data:t})}function j(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/statistics/city-type-sale",method:"post",data:t})}function y(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/statistics/export/city-type-sale",method:"post",data:t})}function z(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/statistics/enterprise-type-sale",method:"post",data:t})}function v(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/statistics/export/enterprise-type-sale",method:"post",data:t})}function A(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/statistics/district-type-sale",method:"post",data:t})}function x(t){return Object(n.a)({headers:{Authorization:Object(r.a)()},url:"http://39.104.85.193:4105/statistics/export/district-type-sale",method:"post",data:t})}},l83q:function(t,e,a){}}]);
|