diff --git a/public/dist/css/107.fd5b2517.css b/public/dist/css/193.434fb0ab.css
similarity index 78%
rename from public/dist/css/107.fd5b2517.css
rename to public/dist/css/193.434fb0ab.css
index 911789c..0d35155 100644
--- a/public/dist/css/107.fd5b2517.css
+++ b/public/dist/css/193.434fb0ab.css
@@ -1 +1 @@
-#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:2px solid transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.searchBox[data-v-41a7827f]{display:flex;align-items:center;flex-wrap:wrap;white-space:nowrap}.searchBox .row[data-v-41a7827f]{font-size:14px;margin-bottom:20px;margin-right:15px;display:flex;align-items:center}.searchBox .time[data-v-41a7827f]{margin-left:20px;color:#999;font-size:12px}.opaBox[data-v-41a7827f]{margin-bottom:15px}
\ No newline at end of file
+#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:2px solid transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.searchBox[data-v-01d60a76]{display:flex;align-items:center;flex-wrap:wrap;white-space:nowrap}.searchBox .row[data-v-01d60a76]{font-size:14px;margin-bottom:20px;margin-right:15px;display:flex;align-items:center}.searchBox .time[data-v-01d60a76]{margin-left:20px;color:#999;font-size:12px}.opaBox[data-v-01d60a76]{margin-bottom:15px}
\ No newline at end of file
diff --git a/public/dist/index.html b/public/dist/index.html
index 45da5cf..98f76ed 100644
--- a/public/dist/index.html
+++ b/public/dist/index.html
@@ -1 +1 @@
-
erp
\ No newline at end of file
+erp
\ No newline at end of file
diff --git a/public/dist/js/107.defcb221.js b/public/dist/js/107.defcb221.js
deleted file mode 100644
index 5c718eb..0000000
--- a/public/dist/js/107.defcb221.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self["webpackChunkerp"]=self["webpackChunkerp"]||[]).push([[107],{3882:function(t,e,a){"use strict";a.r(e),a.d(e,{default:function(){return m}});var n=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"cardBox"},[e("div",{staticClass:"searchBox"},[e("div",{staticClass:"row",staticStyle:{width:"100%"}},[e("span",[t._v("统计时间:")]),e("el-select",{staticStyle:{width:"100px","margin-right":"5px"},on:{change:t.changeTimeType},model:{value:t.time_type,callback:function(e){t.time_type=e},expression:"time_type"}},t._l(t.timeTypeList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),"week"==t.time_type||"seven"==t.time_type||"thirty"==t.time_type?e("el-date-picker",{attrs:{clearable:!1,type:"date",placeholder:"选择日期",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd"},on:{change:t.changeDayTime},model:{value:t.dayValue,callback:function(e){t.dayValue=e},expression:"dayValue"}}):"month"==t.time_type?e("el-date-picker",{attrs:{type:"month",clearable:!1,format:"yyyy-MM","value-format":"yyyy-MM",placeholder:"选择月"},on:{change:t.changeMonthTime},model:{value:t.monthValue,callback:function(e){t.monthValue=e},expression:"monthValue"}}):"custom"==t.time_type?e("el-date-picker",{staticStyle:{width:"250px"},attrs:{type:"datetimerange","range-separator":"-","start-placeholder":"开始时间","end-placeholder":"结束时间",format:"yyyy-MM-dd","value-format":"yyyy-MM-dd",clearable:!1},on:{change:t.changeCustomTime},model:{value:t.customValue,callback:function(e){t.customValue=e},expression:"customValue"}}):"day"==t.time_type?e("el-time-picker",{staticStyle:{width:"200px"},attrs:{"is-range":"","value-format":"HH:mm:ss",format:"HH:mm:ss","range-separator":"至",clearable:!1,"start-placeholder":"开始时间","end-placeholder":"结束时间",placeholder:"选择时间范围"},on:{change:t.changeTimePicker},model:{value:t.dayTimeList,callback:function(e){t.dayTimeList=e},expression:"dayTimeList"}}):t._e(),e("div",{staticClass:"time"},[e("span",[t._v("当前统计时间:")]),t.startTime==t.endTime?e("span",[t._v(t._s(t.startTime))]):e("span",[t._v(t._s(t.startTime)+"~"+t._s(t.endTime))])])],1),e("div",{staticClass:"row"},[e("span",[t._v("规格:")]),e("el-select",{attrs:{filterable:"",remote:"",clearable:"","reserve-keyword":"",placeholder:"请选择具体规格","remote-method":t.remoteMethod,loading:t.remoteLoading},model:{value:t.sku_id,callback:function(e){t.sku_id=e},expression:"sku_id"}},t._l(t.skusList,(function(t){return e("el-option",{key:t.id,attrs:{label:t.title,value:t.id}})})),1)],1),e("div",{staticClass:"row"},[e("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:function(e){return t.handleSearch()}}},[t._v("筛选")])],1)])]),e("el-card",[e("div",{staticClass:"opaBox"},[e("el-button",{attrs:{type:"success",icon:"el-icon-download",loading:t.downloadLoading},on:{click:t.handleExport}},[t._v("导出")])],1),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{border:"",data:t.saleList}},[e("el-table-column",{attrs:{label:"商品名称",prop:"name"}}),e("el-table-column",{attrs:{label:"商品编码",prop:"external_sku_id"}}),e("el-table-column",{attrs:{label:"销量",prop:"goods_total"}}),e("el-table-column",{attrs:{label:"销售额",prop:"goods_total_amount"}}),"day"==t.time_type?e("el-table-column",{attrs:{label:"昨日销量",prop:"yesterday_avg_num"}}):t._e(),"day"==t.time_type?e("el-table-column",{attrs:{label:"3日内销量",prop:"three_day_avg_num"}}):t._e(),"day"==t.time_type?e("el-table-column",{attrs:{label:"7日内销量",prop:"seven_day_avg_num"}}):t._e(),"day"==t.time_type?e("el-table-column",{attrs:{label:"已发货数",prop:"shipping_num"}}):t._e(),"day"==t.time_type?e("el-table-column",{attrs:{label:"未发货数",prop:"unshipping_num"}}):t._e(),e("el-table-column",{attrs:{label:"库存",prop:"stock"}}),e("el-table-column",{attrs:{label:"可售库存",prop:"sale_stock"}}),e("el-table-column",{attrs:{label:"状态",prop:"status"}})],1),e("div",{staticClass:"page-pagination"},[e("el-pagination",{attrs:{"current-page":t.page,"page-sizes":[10,20,50,100],"page-size":t.pageSize,layout:"prev, pager, next, jumper, sizes, total",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)],1)],1)},i=[],s=a(1808),r=a(9036),o=a(7484),u=a.n(o),l={data(){return{loading:!1,time_type:"day",timeTypeList:[{label:"今日",value:"day"},{label:"自然周",value:"week"},{label:"自然月",value:"month"},{label:"近7天",value:"seven"},{label:"近30天",value:"thirty"},{label:"自定义",value:"custom"}],TIMETYPE:{day:"今日",week:"自然周",month:"自然月",seven:"近7天",thirty:"近30天",custom:"自定义"},dayValue:"",monthValue:"",customValue:[],startTime:"",endTime:"",page:1,pageSize:10,total:0,saleList:[],downloadLoading:!1,autoWidth:!0,bookType:"xlsx",dayTimeList:[],sku_id:"",skusList:[],remoteLoading:!1}},mounted(){this.getInitList()},methods:{getInitList(){let t=this.getDayTime();this.startTime=t+" 00:00:00",this.endTime=t+" 23:59:59",this.dayTimeList=["00:00:00","23:59:59"],this.fetchData()},changeTimeType(){if("day"==this.time_type){let t=this.getDayTime();this.startTime=t+" 00:00:00",this.endTime=t+" 23:59:59",this.dayTimeList=["00:00:00","23:59:59"]}else"week"==this.time_type?(this.dayValue=this.endTime=u()().format("YYYY-MM-DD"),this.startTime=u()(this.getFirstDay(this.dayValue)).format("YYYY-MM-DD")):"month"==this.time_type?(this.monthValue=u()().format("YYYY-MM"),this.startTime=this.monthValue+"-01",this.endTime=this.monthValue+"-"+this.getDaysInMonth(this.monthValue)):"seven"==this.time_type?(this.dayValue=this.endTime=u()().format("YYYY-MM-DD"),this.startTime=u()().subtract(7,"day").format("YYYY-MM-DD")):"thirty"==this.time_type?(this.dayValue=this.endTime=u()().format("YYYY-MM-DD"),this.startTime=u()().subtract(30,"day").format("YYYY-MM-DD")):"custom"==this.time_type&&(this.startTime=this.endTime=u()().format("YYYY-MM-DD"),this.customValue=[this.startTime,this.startTime]);this.page=1,this.fetchData()},fetchData(){this.loading=!0;let t={type:"day"==this.time_type?1:2,page:this.page,per_page:this.pageSize,sku_id:this.sku_id};1==t.type?(t.start_time=this.startTime,t.end_time=this.endTime):(t.start_day=this.startTime,t.end_day=this.endTime),(0,s.E4)(t).then((t=>{this.saleList=t.data.data.data,this.total=t.data.data.total,this.loading=!1})).catch((()=>{this.loading=!1}))},getDayTime(){let t=u()().format("YYYY-MM-DD");return t},getFirstDay(t){let e=new Date(t).getDay()||7;return new Date(new Date(t).getFullYear(),new Date(t).getMonth(),new Date(t).getDate()+1-e)},getDaysInMonth(t){let e=1*t.split("-")[0],a=1*t.split("-")[1];const n=u()(new Date(e,a-1,1)),i=n.endOf("month");return i.date()},changeDayTime(){"day"==this.time_type?this.startTime=this.endTime=this.dayValue:"week"==this.time_type?(this.endTime=this.dayValue,this.startTime=u()(this.getFirstDay(this.dayValue)).format("YYYY-MM-DD")):"seven"==this.time_type?(this.endTime=this.dayValue,this.startTime=u()(this.dayValue).subtract(7,"day").format("YYYY-MM-DD")):"thirty"==this.time_type&&(this.endTime=this.dayValue,this.startTime=u()(this.dayValue).subtract(30,"day").format("YYYY-MM-DD")),this.page=1,this.fetchData()},changeMonthTime(){this.startTime=this.monthValue+"-01",this.endTime=this.monthValue+"-"+this.getDaysInMonth(this.monthValue),this.page=1,this.fetchData()},changeCustomTime(){this.startTime=this.customValue[0],this.endTime=this.customValue[1],this.page=1,this.fetchData()},changeTimePicker(){let t=this.getDayTime();this.startTime=t+" "+this.dayTimeList[0],this.endTime=t+" "+this.dayTimeList[1],this.page=1,this.fetchData()},handleSizeChange(t){this.page=1,this.pageSize=t,this.fetchData()},handleCurrentChange(t){this.page=t,this.fetchData()},handleSearch(){this.page=1,this.fetchData()},handleExport(){this.downloadLoading=!0;let t={type:"day"==this.time_type?1:2,start_day:this.startTime,end_day:this.endTime,page:1,per_page:this.total};(0,s.E4)(t).then((t=>{if(!t.data.data.data.length)return this.$message({message:"暂无数据",type:"error"}),void(this.downloadLoading=!1);Promise.all([a.e(301),a.e(283)]).then(a.bind(a,6283)).then((e=>{const a=["商品名称","商品编码","销量","销售额","库存","可售库存","状态"],n=["name","external_sku_id","goods_total","goods_total_amount","stock","sale_stock","status"];"day"==this.time_type&&(a.splice(4,0,"昨日销量","3日内销量","7日内销量","已发货数","未发货数"),n.splice(4,0,"yesterday_avg_num","three_day_avg_num","seven_day_avg_num","shipping_num","unshipping_num"));const i=t.data.data.data,s=this.formatJson(n,i);let r=this.startTime==this.endTime?this.startTime:this.startTime+"-"+this.endTime;e.export_json_to_excel({header:a,data:s,filename:"sku销售统计数据【"+this.TIMETYPE[this.time_type]+r+"】",autoWidth:this.autoWidth,bookType:this.bookType}),this.downloadLoading=!1})).catch((()=>{this.downloadLoading=!1}))})).catch((()=>{this.downloadLoading=!1}))},formatJson(t,e){return e.map((e=>t.map((t=>e[t]))))},remoteMethod(t){t?(this.remoteLoading=!0,(0,r.no)(t).then((t=>{this.skusList=t.data.data,this.remoteLoading=!1}))):this.skusList=[]}}},h=l,c=a(1001),d=(0,c.Z)(h,n,i,!1,null,"41a7827f",null),m=d.exports},7484:function(t){!function(e,a){t.exports=a()}(0,(function(){"use strict";var t=1e3,e=6e4,a=36e5,n="millisecond",i="second",s="minute",r="hour",o="day",u="week",l="month",h="quarter",c="year",d="date",m="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],a=t%100;return"["+t+(e[(a-20)%10]||e[a]||e[0])+"]"}},g=function(t,e,a){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(a)+t},_={s:g,z:function(t){var e=-t.utcOffset(),a=Math.abs(e),n=Math.floor(a/60),i=a%60;return(e<=0?"+":"-")+g(n,2,"0")+":"+g(i,2,"0")},m:function t(e,a){if(e.date()1)return t(r[0])}else{var o=e.name;T[o]=e,i=o}return!n&&i&&(v=i),i||!n&&v},b=function(t,e){if(M(t))return t.clone();var a="object"==typeof e?e:{};return a.date=t,a.args=arguments,new Y(a)},k=_;k.l=$,k.i=M,k.w=function(t,e){return b(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var Y=function(){function y(t){this.$L=$(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[D]=!0}var g=y.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,a=t.utc;if(null===e)return new Date(NaN);if(k.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(p);if(n){var i=n[2]-1||0,s=(n[7]||"0").substring(0,3);return a?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)}}return new Date(e)}(t),this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return k},g.isValid=function(){return!(this.$d.toString()===m)},g.isSame=function(t,e){var a=b(t);return this.startOf(e)<=a&&a<=this.endOf(e)},g.isAfter=function(t,e){return b(t)\r\n \r\n
\r\n
\r\n
\r\n
统计时间:\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n\r\n
\r\n \r\n\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n
\r\n 当前统计时间:\r\n {{ startTime }}\r\n {{ startTime }}~{{ endTime }}\r\n
\r\n
\r\n
\r\n 规格:\r\n \r\n \r\n \r\n
\r\n
\r\n 筛选\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n 导出\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n\r\n\r\n\r\n ","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./skuStatistics.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./skuStatistics.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./skuStatistics.vue?vue&type=template&id=41a7827f&scoped=true\"\nimport script from \"./skuStatistics.vue?vue&type=script&lang=js\"\nexport * from \"./skuStatistics.vue?vue&type=script&lang=js\"\nimport style0 from \"./skuStatistics.vue?vue&type=style&index=0&id=41a7827f&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"41a7827f\",\n null\n \n)\n\nexport default component.exports","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){\"use strict\";var t=1e3,e=6e4,n=36e5,r=\"millisecond\",i=\"second\",s=\"minute\",u=\"hour\",a=\"day\",o=\"week\",c=\"month\",f=\"quarter\",h=\"year\",d=\"date\",l=\"Invalid Date\",$=/^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,y=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:\"en\",weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),ordinal:function(t){var e=[\"th\",\"st\",\"nd\",\"rd\"],n=t%100;return\"[\"+t+(e[(n-20)%10]||e[n]||e[0])+\"]\"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:\"\"+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t){this.saleList=t.data.data.data,this.total=t.data.data.total,this.loading=!1})).catch((()=>{this.loading=!1}))},getDayTime(){let t=u()().format("YYYY-MM-DD");return t},getFirstDay(t){let e=new Date(t).getDay()||7;return new Date(new Date(t).getFullYear(),new Date(t).getMonth(),new Date(t).getDate()+1-e)},getDaysInMonth(t){let e=1*t.split("-")[0],a=1*t.split("-")[1];const i=u()(new Date(e,a-1,1)),n=i.endOf("month");return n.date()},changeDayTime(){"day"==this.time_type?this.startTime=this.endTime=this.dayValue:"week"==this.time_type?(this.endTime=this.dayValue,this.startTime=u()(this.getFirstDay(this.dayValue)).format("YYYY-MM-DD")):"seven"==this.time_type?(this.endTime=this.dayValue,this.startTime=u()(this.dayValue).subtract(7,"day").format("YYYY-MM-DD")):"thirty"==this.time_type&&(this.endTime=this.dayValue,this.startTime=u()(this.dayValue).subtract(30,"day").format("YYYY-MM-DD")),this.page=1,this.fetchData()},changeMonthTime(){this.startTime=this.monthValue+"-01",this.endTime=this.monthValue+"-"+this.getDaysInMonth(this.monthValue),this.page=1,this.fetchData()},changeCustomTime(){this.startTime=this.customValue[0],this.endTime=this.customValue[1],this.page=1,this.fetchData()},changeTimePicker(){let t=this.getDayTime();this.startTime=t+" "+this.dayTimeList[0],this.endTime=t+" "+this.dayTimeList[1],this.page=1,this.fetchData()},handleSizeChange(t){this.page=1,this.pageSize=t,this.fetchData()},handleCurrentChange(t){this.page=t,this.fetchData()},handleSearch(){this.page=1,this.fetchData()},handleExport(){this.downloadLoading=!0;let t={type:"day"==this.time_type?1:2,page:1,per_page:this.total,sku_id:this.sku_id};1==t.type?(t.start_time=this.startTime,t.end_time=this.endTime):(t.start_day=this.startTime,t.end_day=this.endTime),(0,s.E4)(t).then((t=>{if(!t.data.data.data.length)return this.$message({message:"暂无数据",type:"error"}),void(this.downloadLoading=!1);Promise.all([a.e(301),a.e(283)]).then(a.bind(a,6283)).then((e=>{const a=["商品名称","商品编码","销量","销售额","库存","可售库存","状态"],i=["name","external_sku_id","goods_total","goods_total_amount","stock","sale_stock","status"];"day"==this.time_type&&(a.splice(4,0,"昨日销量","3日内销量","7日内销量","已发货数","未发货数"),i.splice(4,0,"yesterday_avg_num","three_day_avg_num","seven_day_avg_num","shipping_num","unshipping_num"));const n=t.data.data.data,s=this.formatJson(i,n);let r=this.startTime==this.endTime?this.startTime:this.startTime+"-"+this.endTime;e.export_json_to_excel({header:a,data:s,filename:"sku销售统计数据【"+this.TIMETYPE[this.time_type]+r+"】",autoWidth:this.autoWidth,bookType:this.bookType}),this.downloadLoading=!1})).catch((()=>{this.downloadLoading=!1}))})).catch((()=>{this.downloadLoading=!1}))},formatJson(t,e){return e.map((e=>t.map((t=>e[t]))))},remoteMethod(t){t?(this.remoteLoading=!0,(0,r.no)(t).then((t=>{this.skusList=t.data.data,this.remoteLoading=!1}))):this.skusList=[]}}},h=l,c=a(1001),d=(0,c.Z)(h,i,n,!1,null,"01d60a76",null),m=d.exports},7484:function(t){!function(e,a){t.exports=a()}(0,(function(){"use strict";var t=1e3,e=6e4,a=36e5,i="millisecond",n="second",s="minute",r="hour",o="day",u="week",l="month",h="quarter",c="year",d="date",m="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],a=t%100;return"["+t+(e[(a-20)%10]||e[a]||e[0])+"]"}},g=function(t,e,a){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(a)+t},_={s:g,z:function(t){var e=-t.utcOffset(),a=Math.abs(e),i=Math.floor(a/60),n=a%60;return(e<=0?"+":"-")+g(i,2,"0")+":"+g(n,2,"0")},m:function t(e,a){if(e.date()1)return t(r[0])}else{var o=e.name;T[o]=e,n=o}return!i&&n&&(v=n),n||!i&&v},b=function(t,e){if(M(t))return t.clone();var a="object"==typeof e?e:{};return a.date=t,a.args=arguments,new Y(a)},k=_;k.l=$,k.i=M,k.w=function(t,e){return b(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var Y=function(){function y(t){this.$L=$(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[D]=!0}var g=y.prototype;return g.parse=function(t){this.$d=function(t){var e=t.date,a=t.utc;if(null===e)return new Date(NaN);if(k.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(p);if(i){var n=i[2]-1||0,s=(i[7]||"0").substring(0,3);return a?new Date(Date.UTC(i[1],n,i[3]||1,i[4]||0,i[5]||0,i[6]||0,s)):new Date(i[1],n,i[3]||1,i[4]||0,i[5]||0,i[6]||0,s)}}return new Date(e)}(t),this.init()},g.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},g.$utils=function(){return k},g.isValid=function(){return!(this.$d.toString()===m)},g.isSame=function(t,e){var a=b(t);return this.startOf(e)<=a&&a<=this.endOf(e)},g.isAfter=function(t,e){return b(t)\r\n \r\n
\r\n
\r\n
\r\n
统计时间:\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n\r\n
\r\n \r\n\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n
\r\n 当前统计时间:\r\n {{ startTime }}\r\n {{ startTime }}~{{ endTime }}\r\n
\r\n
\r\n
\r\n 规格:\r\n \r\n \r\n \r\n
\r\n
\r\n 筛选\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n 导出\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n\r\n\r\n\r\n ","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./skuStatistics.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./skuStatistics.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./skuStatistics.vue?vue&type=template&id=01d60a76&scoped=true\"\nimport script from \"./skuStatistics.vue?vue&type=script&lang=js\"\nexport * from \"./skuStatistics.vue?vue&type=script&lang=js\"\nimport style0 from \"./skuStatistics.vue?vue&type=style&index=0&id=01d60a76&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"01d60a76\",\n null\n \n)\n\nexport default component.exports","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){\"use strict\";var t=1e3,e=6e4,n=36e5,r=\"millisecond\",i=\"second\",s=\"minute\",u=\"hour\",a=\"day\",o=\"week\",c=\"month\",f=\"quarter\",h=\"year\",d=\"date\",l=\"Invalid Date\",$=/^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,y=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:\"en\",weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),ordinal:function(t){var e=[\"th\",\"st\",\"nd\",\"rd\"],n=t%100;return\"[\"+t+(e[(n-20)%10]||e[n]||e[0])+\"]\"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:\"\"+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)new f.ZP({scrollBehavior:()=>({y:0})}),s=m();s.beforeEach(((e,n,t)=>{const o=localStorage.getItem("token");"Login"===e.name||o?t():t({name:"Login"})}));var p=s,h=t(629);o["default"].use(h.ZP);var b=new h.ZP.Store({state:{},mutations:{},actions:{},modules:{}}),v=t(4720),O=t.n(v);const P=[{path:"/Login",name:"Login",component:()=>Promise.all([t.e(430),t.e(301),t.e(200)]).then(t.bind(t,7240))},{path:"/",component:()=>Promise.all([t.e(430),t.e(301),t.e(763)]).then(t.bind(t,1818)),children:[{path:"GOODS_LIST",name:"商品列表",component:()=>Promise.all([t.e(430),t.e(301),t.e(444),t.e(298)]).then(t.bind(t,4298)),meta:{keepAlive:!0}},{path:"ADDGOODS",name:"新增商品/规格",component:()=>Promise.all([t.e(430),t.e(301),t.e(444),t.e(465)]).then(t.bind(t,8465))},{path:"EDIT_GOODS",name:"修改商品规格",component:()=>Promise.all([t.e(430),t.e(301),t.e(444),t.e(691)]).then(t.bind(t,5691))},{path:"/",redirect:"GOODS_LIST"},{path:"GOODS_TYPE",name:"品类管理",component:()=>Promise.all([t.e(430),t.e(301),t.e(444),t.e(454)]).then(t.bind(t,3454))},{path:"GOODS_BRAND",name:"商品品牌",component:()=>Promise.all([t.e(430),t.e(984)]).then(t.bind(t,9851))},{path:"GOODS_SKU_LOCATION",name:"商品货架",component:()=>Promise.all([t.e(430),t.e(132)]).then(t.bind(t,1019))},{path:"GOODS_COMBINATION",name:"组合商品",component:()=>Promise.all([t.e(430),t.e(301),t.e(197)]).then(t.bind(t,8180))},{path:"SHOP_MANAGE",name:"店铺管理",component:()=>Promise.all([t.e(430),t.e(613)]).then(t.bind(t,5199))},{path:"USER_MANAGE",name:"用户管理",component:()=>Promise.all([t.e(430),t.e(931)]).then(t.bind(t,8406))},{path:"ROLE_MANAGE",name:"角色管理",component:()=>Promise.all([t.e(430),t.e(551)]).then(t.bind(t,796))},{path:"SYSTEM_LOG",name:"系统日志",component:()=>Promise.all([t.e(430),t.e(206)]).then(t.bind(t,2761))},{path:"GOODS_LOG",name:"商品记录",component:()=>Promise.all([t.e(430),t.e(688)]).then(t.bind(t,4702))},{path:"PLAT_ORDER_LIST",name:"订单列表",component:()=>Promise.all([t.e(430),t.e(301),t.e(808)]).then(t.bind(t,9770))},{path:"PLAT_GOODS_LIST",name:"货品列表",component:()=>Promise.all([t.e(430),t.e(999)]).then(t.bind(t,6784))},{path:"PLAT_AFTER_SALE_ORDER_LIST",name:"售后单列表",component:()=>Promise.all([t.e(430),t.e(301),t.e(147)]).then(t.bind(t,8810))},{path:"GROUP_MANAGEMENT",name:"团购管理",component:()=>Promise.all([t.e(430),t.e(301),t.e(192)]).then(t.bind(t,2175))},{path:"GROUP_GOODS_ADD",name:"团购商品新增",component:()=>Promise.all([t.e(430),t.e(301),t.e(973)]).then(t.bind(t,7166))},{path:"GROUP_GOODS_EDIT",name:"团购商品修改",component:()=>Promise.all([t.e(430),t.e(301),t.e(924)]).then(t.bind(t,5174))},{path:"FACE_SHEET",name:"电子面单",component:()=>Promise.all([t.e(430),t.e(64)]).then(t.bind(t,1404))},{path:"SALES_REPORT_DATA",name:"销售数据",component:()=>Promise.all([t.e(430),t.e(654)]).then(t.bind(t,5671))},{path:"sale_statistics",name:"sku销售统计",component:()=>Promise.all([t.e(430),t.e(107)]).then(t.bind(t,3882))},{path:"spu_sale_statistics",name:"品种销售统计",component:()=>Promise.all([t.e(430),t.e(990)]).then(t.bind(t,9651))},{path:"gmv_statistics",name:"交易趋势",component:()=>Promise.all([t.e(430),t.e(301),t.e(583),t.e(806)]).then(t.bind(t,1618))},{path:"loss_record_statistics",name:"报损统计",component:()=>Promise.all([t.e(430),t.e(301),t.e(583),t.e(199)]).then(t.bind(t,8824))},{path:"SUPPLIER_MANAGE",name:"供应商管理",component:()=>Promise.all([t.e(430),t.e(967)]).then(t.bind(t,54))},{path:"PURCHASE_RECORD",name:"商品采购",component:()=>Promise.all([t.e(430),t.e(301),t.e(839)]).then(t.bind(t,4124))},{path:"PURCHASE_RECORD_CHECK",name:"质检入库",component:()=>Promise.all([t.e(430),t.e(134)]).then(t.bind(t,3384))},{path:"LOSS_RECORD",name:"仓库报损",component:()=>Promise.all([t.e(430),t.e(301),t.e(417)]).then(t.bind(t,2419))},{path:"DAILY_STOCK_RECORD",name:"库存盘点",component:()=>Promise.all([t.e(430),t.e(301),t.e(24)]).then(t.bind(t,4309))}]}];var _=P;_.forEach((e=>{p.addRoute(e)})),o["default"].use(O(),{size:"small"}),o["default"].config.productionTip=!1,new o["default"]({router:p,store:b,render:e=>e(d)}).$mount("#app"),document.title="春分ERP-鲜花"}},n={};function t(o){var a=n[o];if(void 0!==a)return a.exports;var r=n[o]={id:o,loaded:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}t.m=e,function(){t.amdO={}}(),function(){var e=[];t.O=function(n,o,a,r){if(!o){var i=1/0;for(d=0;d=r)&&Object.keys(t.O).every((function(e){return t.O[e](o[l])}))?o.splice(l--,1):(c=!1,r0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[o,a,r]}}(),function(){t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,{a:n}),n}}(),function(){t.d=function(e,n){for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})}}(),function(){t.f={},t.e=function(e){return Promise.all(Object.keys(t.f).reduce((function(n,o){return t.f[o](e,n),n}),[]))}}(),function(){t.u=function(e){return"js/"+e+"."+{24:"1eaace62",64:"7efc004a",107:"defcb221",132:"0557c76c",134:"57e92ad2",147:"53e38aa6",192:"71ec2e85",197:"9f943505",199:"5e20f3e2",200:"fbda0d79",206:"229a99a8",283:"b0b443fa",298:"143f4f4b",301:"1f602c86",417:"060d078f",430:"728d93d4",444:"bdf6e547",454:"4e7d9fc6",465:"630ca1a8",551:"d3396e3a",583:"5bbe4636",613:"5a7f6161",654:"9b16d70f",688:"c1783454",691:"c4036076",763:"e09c890d",806:"6fa0f083",808:"eabeec45",839:"aa0c84c2",924:"e619e841",931:"c12ad990",967:"1e40c1e4",973:"14434d3f",984:"afbbd0d9",990:"e354f872",999:"1bc20d27"}[e]+".js"}}(),function(){t.miniCssF=function(e){return"css/"+e+"."+{24:"609ab1fb",64:"403e055c",107:"fd5b2517",132:"e6e4e404",134:"20265390",147:"610fa777",192:"5c0a41ae",197:"e8b8bfee",199:"fc892afb",200:"d1f3c50b",206:"5c0a41ae",298:"d943cf60",417:"c022f0a7",444:"5c5179a7",454:"0d07cd09",465:"162dccfd",551:"24d983f8",613:"a4b31826",654:"83822904",688:"97f84af6",691:"de1fc96e",763:"8f9393d3",806:"f3652123",808:"5c0a41ae",839:"307cb16e",924:"5c0a41ae",931:"cf2e1900",967:"ab361ac1",973:"5c0a41ae",984:"3115be6a",990:"f504d809",999:"0ae01dd7"}[e]+".css"}}(),function(){t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}}(),function(){var e={},n="erp:";t.l=function(o,a,r,i){if(e[o])e[o].push(a);else{var c,l;if(void 0!==r)for(var u=document.getElementsByTagName("script"),d=0;dnew f.ZP({scrollBehavior:()=>({y:0})}),s=m();s.beforeEach(((e,n,t)=>{const o=localStorage.getItem("token");"Login"===e.name||o?t():t({name:"Login"})}));var p=s,h=t(629);o["default"].use(h.ZP);var b=new h.ZP.Store({state:{},mutations:{},actions:{},modules:{}}),v=t(4720),O=t.n(v);const P=[{path:"/Login",name:"Login",component:()=>Promise.all([t.e(430),t.e(301),t.e(200)]).then(t.bind(t,7240))},{path:"/",component:()=>Promise.all([t.e(430),t.e(301),t.e(763)]).then(t.bind(t,1818)),children:[{path:"GOODS_LIST",name:"商品列表",component:()=>Promise.all([t.e(430),t.e(301),t.e(444),t.e(298)]).then(t.bind(t,4298)),meta:{keepAlive:!0}},{path:"ADDGOODS",name:"新增商品/规格",component:()=>Promise.all([t.e(430),t.e(301),t.e(444),t.e(465)]).then(t.bind(t,8465))},{path:"EDIT_GOODS",name:"修改商品规格",component:()=>Promise.all([t.e(430),t.e(301),t.e(444),t.e(691)]).then(t.bind(t,5691))},{path:"/",redirect:"GOODS_LIST"},{path:"GOODS_TYPE",name:"品类管理",component:()=>Promise.all([t.e(430),t.e(301),t.e(444),t.e(454)]).then(t.bind(t,3454))},{path:"GOODS_BRAND",name:"商品品牌",component:()=>Promise.all([t.e(430),t.e(984)]).then(t.bind(t,9851))},{path:"GOODS_SKU_LOCATION",name:"商品货架",component:()=>Promise.all([t.e(430),t.e(132)]).then(t.bind(t,1019))},{path:"GOODS_COMBINATION",name:"组合商品",component:()=>Promise.all([t.e(430),t.e(301),t.e(197)]).then(t.bind(t,8180))},{path:"SHOP_MANAGE",name:"店铺管理",component:()=>Promise.all([t.e(430),t.e(613)]).then(t.bind(t,5199))},{path:"USER_MANAGE",name:"用户管理",component:()=>Promise.all([t.e(430),t.e(931)]).then(t.bind(t,8406))},{path:"ROLE_MANAGE",name:"角色管理",component:()=>Promise.all([t.e(430),t.e(551)]).then(t.bind(t,796))},{path:"SYSTEM_LOG",name:"系统日志",component:()=>Promise.all([t.e(430),t.e(206)]).then(t.bind(t,2761))},{path:"GOODS_LOG",name:"商品记录",component:()=>Promise.all([t.e(430),t.e(688)]).then(t.bind(t,4702))},{path:"PLAT_ORDER_LIST",name:"订单列表",component:()=>Promise.all([t.e(430),t.e(301),t.e(808)]).then(t.bind(t,9770))},{path:"PLAT_GOODS_LIST",name:"货品列表",component:()=>Promise.all([t.e(430),t.e(999)]).then(t.bind(t,6784))},{path:"PLAT_AFTER_SALE_ORDER_LIST",name:"售后单列表",component:()=>Promise.all([t.e(430),t.e(301),t.e(147)]).then(t.bind(t,8810))},{path:"GROUP_MANAGEMENT",name:"团购管理",component:()=>Promise.all([t.e(430),t.e(301),t.e(192)]).then(t.bind(t,2175))},{path:"GROUP_GOODS_ADD",name:"团购商品新增",component:()=>Promise.all([t.e(430),t.e(301),t.e(973)]).then(t.bind(t,7166))},{path:"GROUP_GOODS_EDIT",name:"团购商品修改",component:()=>Promise.all([t.e(430),t.e(301),t.e(924)]).then(t.bind(t,5174))},{path:"FACE_SHEET",name:"电子面单",component:()=>Promise.all([t.e(430),t.e(64)]).then(t.bind(t,1404))},{path:"SALES_REPORT_DATA",name:"销售数据",component:()=>Promise.all([t.e(430),t.e(654)]).then(t.bind(t,5671))},{path:"sale_statistics",name:"sku销售统计",component:()=>Promise.all([t.e(430),t.e(193)]).then(t.bind(t,1980))},{path:"spu_sale_statistics",name:"品种销售统计",component:()=>Promise.all([t.e(430),t.e(990)]).then(t.bind(t,9651))},{path:"gmv_statistics",name:"交易趋势",component:()=>Promise.all([t.e(430),t.e(301),t.e(583),t.e(806)]).then(t.bind(t,1618))},{path:"loss_record_statistics",name:"报损统计",component:()=>Promise.all([t.e(430),t.e(301),t.e(583),t.e(199)]).then(t.bind(t,8824))},{path:"SUPPLIER_MANAGE",name:"供应商管理",component:()=>Promise.all([t.e(430),t.e(967)]).then(t.bind(t,54))},{path:"PURCHASE_RECORD",name:"商品采购",component:()=>Promise.all([t.e(430),t.e(301),t.e(839)]).then(t.bind(t,4124))},{path:"PURCHASE_RECORD_CHECK",name:"质检入库",component:()=>Promise.all([t.e(430),t.e(134)]).then(t.bind(t,3384))},{path:"LOSS_RECORD",name:"仓库报损",component:()=>Promise.all([t.e(430),t.e(301),t.e(417)]).then(t.bind(t,2419))},{path:"DAILY_STOCK_RECORD",name:"库存盘点",component:()=>Promise.all([t.e(430),t.e(301),t.e(24)]).then(t.bind(t,4309))}]}];var _=P;_.forEach((e=>{p.addRoute(e)})),o["default"].use(O(),{size:"small"}),o["default"].config.productionTip=!1,new o["default"]({router:p,store:b,render:e=>e(d)}).$mount("#app"),document.title="春分ERP-鲜花"}},n={};function t(o){var a=n[o];if(void 0!==a)return a.exports;var r=n[o]={id:o,loaded:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}t.m=e,function(){t.amdO={}}(),function(){var e=[];t.O=function(n,o,a,r){if(!o){var i=1/0;for(d=0;d=r)&&Object.keys(t.O).every((function(e){return t.O[e](o[l])}))?o.splice(l--,1):(c=!1,r0&&e[d-1][2]>r;d--)e[d]=e[d-1];e[d]=[o,a,r]}}(),function(){t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,{a:n}),n}}(),function(){t.d=function(e,n){for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})}}(),function(){t.f={},t.e=function(e){return Promise.all(Object.keys(t.f).reduce((function(n,o){return t.f[o](e,n),n}),[]))}}(),function(){t.u=function(e){return"js/"+e+"."+{24:"1eaace62",64:"7efc004a",132:"0557c76c",134:"57e92ad2",147:"53e38aa6",192:"71ec2e85",193:"99e24d2b",197:"9f943505",199:"5e20f3e2",200:"fbda0d79",206:"229a99a8",283:"b0b443fa",298:"143f4f4b",301:"1f602c86",417:"060d078f",430:"728d93d4",444:"bdf6e547",454:"4e7d9fc6",465:"630ca1a8",551:"d3396e3a",583:"5bbe4636",613:"5a7f6161",654:"9b16d70f",688:"c1783454",691:"c4036076",763:"e09c890d",806:"6fa0f083",808:"eabeec45",839:"aa0c84c2",924:"e619e841",931:"c12ad990",967:"1e40c1e4",973:"14434d3f",984:"afbbd0d9",990:"e354f872",999:"1bc20d27"}[e]+".js"}}(),function(){t.miniCssF=function(e){return"css/"+e+"."+{24:"609ab1fb",64:"403e055c",132:"e6e4e404",134:"20265390",147:"610fa777",192:"5c0a41ae",193:"434fb0ab",197:"e8b8bfee",199:"fc892afb",200:"d1f3c50b",206:"5c0a41ae",298:"d943cf60",417:"c022f0a7",444:"5c5179a7",454:"0d07cd09",465:"162dccfd",551:"24d983f8",613:"a4b31826",654:"83822904",688:"97f84af6",691:"de1fc96e",763:"8f9393d3",806:"f3652123",808:"5c0a41ae",839:"307cb16e",924:"5c0a41ae",931:"cf2e1900",967:"ab361ac1",973:"5c0a41ae",984:"3115be6a",990:"f504d809",999:"0ae01dd7"}[e]+".css"}}(),function(){t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}}(),function(){var e={},n="erp:";t.l=function(o,a,r,i){if(e[o])e[o].push(a);else{var c,l;if(void 0!==r)for(var u=document.getElementsByTagName("script"),d=0;d\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=a31aa596\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=a31aa596&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from \"vue\";\r\nimport VueRouter from \"vue-router\";\r\n\r\nVue.use(VueRouter);\r\n\r\nconst createRouter = () =>\r\n new VueRouter({\r\n scrollBehavior: () => ({ y: 0 }),\r\n });\r\n\r\nconst router = createRouter();\r\n\r\nrouter.beforeEach((to, from, next) => {\r\n const token = localStorage.getItem(\"token\");\r\n // 目标路由不是登录页,并且还需要token验证,还没有token,那就直接给返回到登录页\r\n if (to.name !== \"Login\" && !token) {\r\n next({ name: \"Login\" });\r\n } else {\r\n // 目标路由是登录页-自然不需要token验证\r\n // 或目标路由不需要身份验证\r\n // 又或目标路由非登录页,需要token验证,但是有token\r\n // next放行\r\n next();\r\n }\r\n});\r\n\r\nexport default router;\r\n","import Vue from 'vue'\r\nimport Vuex from 'vuex'\r\n\r\nVue.use(Vuex)\r\n\r\nexport default new Vuex.Store({\r\n state: {\r\n },\r\n mutations: {\r\n },\r\n actions: {\r\n },\r\n modules: {\r\n }\r\n})\r\n","const list = [\r\n {\r\n path: \"/Login\",\r\n name: \"Login\",\r\n component: () => import(\"../views/Login.vue\"),\r\n },\r\n {\r\n path: \"/\",\r\n component: () => import(\"../views/index.vue\"),\r\n children: [\r\n {\r\n path: \"GOODS_LIST\",\r\n name: \"商品列表\",\r\n component: () => import(\"../views/goods/goods.vue\"),\r\n meta: {\r\n keepAlive: true,\r\n },\r\n },\r\n {\r\n path: \"ADDGOODS\",\r\n name: \"新增商品/规格\",\r\n component: () => import(\"../views/goods/addgoods/addgoods.vue\"),\r\n },\r\n {\r\n path: \"EDIT_GOODS\",\r\n name: \"修改商品规格\",\r\n component: () => import(\"../views/goods/editgoods.vue\"),\r\n },\r\n {\r\n path: \"/\",\r\n redirect: \"GOODS_LIST\",\r\n },\r\n {\r\n path: \"GOODS_TYPE\",\r\n name: \"品类管理\",\r\n component: () => import(\"../views/goodsType/goodsType.vue\"),\r\n },\r\n {\r\n path: \"GOODS_BRAND\",\r\n name: \"商品品牌\",\r\n component: () => import(\"../views/brand/brand.vue\"),\r\n },\r\n {\r\n path: \"GOODS_SKU_LOCATION\",\r\n name: \"商品货架\",\r\n component: () => import(\"../views/goods/location.vue\"),\r\n },\r\n {\r\n path: \"GOODS_COMBINATION\",\r\n name: \"组合商品\",\r\n component: () => import(\"../views/goods/combination.vue\"),\r\n },\r\n {\r\n path: \"SHOP_MANAGE\",\r\n name: \"店铺管理\",\r\n component: () => import(\"../views/store/store.vue\"),\r\n },\r\n {\r\n path: \"USER_MANAGE\",\r\n name: \"用户管理\",\r\n component: () => import(\"../views/users/users.vue\"),\r\n },\r\n {\r\n path: \"ROLE_MANAGE\",\r\n name: \"角色管理\",\r\n component: () => import(\"../views/system/role.vue\"),\r\n },\r\n {\r\n path: \"SYSTEM_LOG\",\r\n name: \"系统日志\",\r\n component: () => import(\"../views/logs/logs.vue\"),\r\n },\r\n {\r\n path: \"GOODS_LOG\",\r\n name: \"商品记录\",\r\n component: () => import(\"../views/logs/record.vue\"),\r\n },\r\n {\r\n path: \"PLAT_ORDER_LIST\",\r\n name: \"订单列表\",\r\n component: () => import(\"../views/plat/orderList.vue\"),\r\n },\r\n {\r\n path: \"PLAT_GOODS_LIST\",\r\n name: \"货品列表\",\r\n component: () => import(\"../views/plat/goodsList.vue\"),\r\n },\r\n {\r\n path: \"PLAT_AFTER_SALE_ORDER_LIST\",\r\n name: \"售后单列表\",\r\n component: () => import(\"../views/plat/afterSaleOrder.vue\"),\r\n },\r\n {\r\n path: \"GROUP_MANAGEMENT\",\r\n name: \"团购管理\",\r\n component: () => import(\"../views/group/group.vue\"),\r\n },\r\n {\r\n path: \"GROUP_GOODS_ADD\",\r\n name: \"团购商品新增\",\r\n component: () => import(\"../views/group/addGroup.vue\"),\r\n },\r\n {\r\n path: \"GROUP_GOODS_EDIT\",\r\n name: \"团购商品修改\",\r\n component: () => import(\"../views/group/editGroup.vue\"),\r\n },\r\n {\r\n path: \"FACE_SHEET\",\r\n name: \"电子面单\",\r\n component: () => import(\"../views/plat/faceSheet.vue\"),\r\n },\r\n {\r\n path: \"SALES_REPORT_DATA\",\r\n name: \"销售数据\",\r\n component: () => import(\"../views/dataCenter/salesReport.vue\"),\r\n },\r\n {\r\n path: \"sale_statistics\",\r\n name: \"sku销售统计\",\r\n component: () => import(\"../views/dataCenter/skuStatistics.vue\"),\r\n },\r\n {\r\n path: \"spu_sale_statistics\",\r\n name: \"品种销售统计\",\r\n component: () => import(\"../views/dataCenter/spuStatistics.vue\"),\r\n },\r\n {\r\n path: \"gmv_statistics\",\r\n name: \"交易趋势\",\r\n component: () => import(\"../views/dataCenter/gmvStatistics.vue\"),\r\n },\r\n {\r\n path: \"loss_record_statistics\",\r\n name: \"报损统计\",\r\n component: () => import(\"../views/dataCenter/lossStatistics.vue\"),\r\n },\r\n {\r\n path: \"SUPPLIER_MANAGE\",\r\n name: \"供应商管理\",\r\n component: () => import(\"../views/supplyChain/supplier.vue\")\r\n },\r\n {\r\n path: \"PURCHASE_RECORD\",\r\n name: \"商品采购\",\r\n component: () => import(\"../views/supplyChain/procureLog.vue\")\r\n },\r\n {\r\n path: \"PURCHASE_RECORD_CHECK\",\r\n name: \"质检入库\",\r\n component: () => import(\"../views/supplyChain/procureCheck.vue\")\r\n },\r\n {\r\n path: \"LOSS_RECORD\",\r\n name: \"仓库报损\",\r\n component: () => import(\"../views/supplyChain/lossRecord.vue\")\r\n },\r\n {\r\n path: \"DAILY_STOCK_RECORD\",\r\n name: \"库存盘点\",\r\n component: () => import(\"../views/supplyChain/dailyStock.vue\")\r\n }\r\n ]\r\n }\r\n]\r\n\r\nexport default list\r\n","import router from './index'\r\nimport List from './list'\r\n\r\nList.forEach(element => {\r\n router.addRoute(element) // 动态添加更多的路由规则\r\n})\r\n","import Vue from \"vue\";\r\nimport App from \"./App.vue\";\r\nimport router from \"./router\";\r\nimport store from \"./store\";\r\nimport ElementUI from \"element-ui\";\r\nimport \"element-ui/lib/theme-chalk/index.css\";\r\nimport \"@/css/style.css\";\r\nimport \"./router/main\";\r\n\r\nVue.use(ElementUI, {\r\n size: 'small'\r\n});\r\nVue.config.productionTip = false;\r\n\r\nnew Vue({\r\n router,\r\n store,\r\n render: (h) => h(App),\r\n}).$mount(\"#app\");\r\n\r\ndocument.title = \"春分ERP-鲜花\";\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + {\"24\":\"1eaace62\",\"64\":\"7efc004a\",\"107\":\"defcb221\",\"132\":\"0557c76c\",\"134\":\"57e92ad2\",\"147\":\"53e38aa6\",\"192\":\"71ec2e85\",\"197\":\"9f943505\",\"199\":\"5e20f3e2\",\"200\":\"fbda0d79\",\"206\":\"229a99a8\",\"283\":\"b0b443fa\",\"298\":\"143f4f4b\",\"301\":\"1f602c86\",\"417\":\"060d078f\",\"430\":\"728d93d4\",\"444\":\"bdf6e547\",\"454\":\"4e7d9fc6\",\"465\":\"630ca1a8\",\"551\":\"d3396e3a\",\"583\":\"5bbe4636\",\"613\":\"5a7f6161\",\"654\":\"9b16d70f\",\"688\":\"c1783454\",\"691\":\"c4036076\",\"763\":\"e09c890d\",\"806\":\"6fa0f083\",\"808\":\"eabeec45\",\"839\":\"aa0c84c2\",\"924\":\"e619e841\",\"931\":\"c12ad990\",\"967\":\"1e40c1e4\",\"973\":\"14434d3f\",\"984\":\"afbbd0d9\",\"990\":\"e354f872\",\"999\":\"1bc20d27\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + {\"24\":\"609ab1fb\",\"64\":\"403e055c\",\"107\":\"fd5b2517\",\"132\":\"e6e4e404\",\"134\":\"20265390\",\"147\":\"610fa777\",\"192\":\"5c0a41ae\",\"197\":\"e8b8bfee\",\"199\":\"fc892afb\",\"200\":\"d1f3c50b\",\"206\":\"5c0a41ae\",\"298\":\"d943cf60\",\"417\":\"c022f0a7\",\"444\":\"5c5179a7\",\"454\":\"0d07cd09\",\"465\":\"162dccfd\",\"551\":\"24d983f8\",\"613\":\"a4b31826\",\"654\":\"83822904\",\"688\":\"97f84af6\",\"691\":\"de1fc96e\",\"763\":\"8f9393d3\",\"806\":\"f3652123\",\"808\":\"5c0a41ae\",\"839\":\"307cb16e\",\"924\":\"5c0a41ae\",\"931\":\"cf2e1900\",\"967\":\"ab361ac1\",\"973\":\"5c0a41ae\",\"984\":\"3115be6a\",\"990\":\"f504d809\",\"999\":\"0ae01dd7\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"erp:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"24\":1,\"64\":1,\"107\":1,\"132\":1,\"134\":1,\"147\":1,\"192\":1,\"197\":1,\"199\":1,\"200\":1,\"206\":1,\"298\":1,\"417\":1,\"444\":1,\"454\":1,\"465\":1,\"551\":1,\"613\":1,\"654\":1,\"688\":1,\"691\":1,\"763\":1,\"806\":1,\"808\":1,\"839\":1,\"924\":1,\"931\":1,\"967\":1,\"973\":1,\"984\":1,\"990\":1,\"999\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkerp\"] = self[\"webpackChunkerp\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(462); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_vm","this","_c","_self","attrs","$route","meta","keepAlive","_e","staticRenderFns","component","Vue","use","VueRouter","createRouter","scrollBehavior","y","router","beforeEach","to","from","next","token","localStorage","getItem","name","Vuex","state","mutations","actions","modules","list","path","children","redirect","List","forEach","element","addRoute","ElementUI","size","config","productionTip","store","h","App","$mount","document","title","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","amdO","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","f","e","chunkId","Promise","all","reduce","promises","u","miniCssF","g","globalThis","Function","window","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","value","nmd","paths","p","createStylesheet","fullhref","oldTag","resolve","reject","linkTag","rel","onLinkComplete","errorType","realHref","href","err","Error","code","request","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","then","installedChunks","installedChunkData","promise","error","loadingEnded","realSrc","message","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"file":"js/app.30de8ae3.js","mappings":"iEAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,MAAM,CAAC,GAAK,QAAQ,CAACF,EAAG,aAAa,CAAEF,EAAIK,OAAOC,KAAKC,UAAWL,EAAG,eAAeF,EAAIQ,MAAM,GAAKR,EAAIK,OAAOC,KAAKC,UAA6BP,EAAIQ,KAAtBN,EAAG,gBAAyB,EACvO,EACIO,EAAkB,GCOtB,GAEC,ECXwO,I,UCQrOC,GAAY,OACd,EACAX,EACAU,GACA,EACA,KACA,KACA,MAIF,EAAeC,EAAiB,Q,UChBhCC,EAAAA,WAAIC,I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EAAoB,IAAM,IAChH0I,EAAsB1I,EAAoBa,EAAE6H,E","sources":["webpack://erp/./src/App.vue","webpack://erp/src/App.vue","webpack://erp/./src/App.vue?c036","webpack://erp/./src/App.vue?0e40","webpack://erp/./src/router/index.js","webpack://erp/./src/store/index.js","webpack://erp/./src/router/list.js","webpack://erp/./src/router/main.js","webpack://erp/./src/main.js","webpack://erp/webpack/bootstrap","webpack://erp/webpack/runtime/amd options","webpack://erp/webpack/runtime/chunk loaded","webpack://erp/webpack/runtime/compat get default export","webpack://erp/webpack/runtime/define property getters","webpack://erp/webpack/runtime/ensure chunk","webpack://erp/webpack/runtime/get javascript chunk filename","webpack://erp/webpack/runtime/get mini-css chunk filename","webpack://erp/webpack/runtime/global","webpack://erp/webpack/runtime/hasOwnProperty shorthand","webpack://erp/webpack/runtime/load script","webpack://erp/webpack/runtime/make namespace object","webpack://erp/webpack/runtime/node module decorator","webpack://erp/webpack/runtime/publicPath","webpack://erp/webpack/runtime/css loading","webpack://erp/webpack/runtime/jsonp chunk loading","webpack://erp/webpack/startup"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"app\"}},[_c('keep-alive',[(_vm.$route.meta.keepAlive)?_c('router-view'):_vm._e()],1),(!_vm.$route.meta.keepAlive)?_c('router-view'):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=a31aa596\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=a31aa596&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from \"vue\";\r\nimport VueRouter from \"vue-router\";\r\n\r\nVue.use(VueRouter);\r\n\r\nconst createRouter = () =>\r\n new VueRouter({\r\n scrollBehavior: () => ({ y: 0 }),\r\n });\r\n\r\nconst router = createRouter();\r\n\r\nrouter.beforeEach((to, from, next) => {\r\n const token = localStorage.getItem(\"token\");\r\n // 目标路由不是登录页,并且还需要token验证,还没有token,那就直接给返回到登录页\r\n if (to.name !== \"Login\" && !token) {\r\n next({ name: \"Login\" });\r\n } else {\r\n // 目标路由是登录页-自然不需要token验证\r\n // 或目标路由不需要身份验证\r\n // 又或目标路由非登录页,需要token验证,但是有token\r\n // next放行\r\n next();\r\n }\r\n});\r\n\r\nexport default router;\r\n","import Vue from 'vue'\r\nimport Vuex from 'vuex'\r\n\r\nVue.use(Vuex)\r\n\r\nexport default new Vuex.Store({\r\n state: {\r\n },\r\n mutations: {\r\n },\r\n actions: {\r\n },\r\n modules: {\r\n }\r\n})\r\n","const list = [\r\n {\r\n path: \"/Login\",\r\n name: \"Login\",\r\n component: () => import(\"../views/Login.vue\"),\r\n },\r\n {\r\n path: \"/\",\r\n component: () => import(\"../views/index.vue\"),\r\n children: [\r\n {\r\n path: \"GOODS_LIST\",\r\n name: \"商品列表\",\r\n component: () => import(\"../views/goods/goods.vue\"),\r\n meta: {\r\n keepAlive: true,\r\n },\r\n },\r\n {\r\n path: \"ADDGOODS\",\r\n name: \"新增商品/规格\",\r\n component: () => import(\"../views/goods/addgoods/addgoods.vue\"),\r\n },\r\n {\r\n path: \"EDIT_GOODS\",\r\n name: \"修改商品规格\",\r\n component: () => import(\"../views/goods/editgoods.vue\"),\r\n },\r\n {\r\n path: \"/\",\r\n redirect: \"GOODS_LIST\",\r\n },\r\n {\r\n path: \"GOODS_TYPE\",\r\n name: \"品类管理\",\r\n component: () => import(\"../views/goodsType/goodsType.vue\"),\r\n },\r\n {\r\n path: \"GOODS_BRAND\",\r\n name: \"商品品牌\",\r\n component: () => import(\"../views/brand/brand.vue\"),\r\n },\r\n {\r\n path: \"GOODS_SKU_LOCATION\",\r\n name: \"商品货架\",\r\n component: () => import(\"../views/goods/location.vue\"),\r\n },\r\n {\r\n path: \"GOODS_COMBINATION\",\r\n name: \"组合商品\",\r\n component: () => import(\"../views/goods/combination.vue\"),\r\n },\r\n {\r\n path: \"SHOP_MANAGE\",\r\n name: \"店铺管理\",\r\n component: () => import(\"../views/store/store.vue\"),\r\n },\r\n {\r\n path: \"USER_MANAGE\",\r\n name: \"用户管理\",\r\n component: () => import(\"../views/users/users.vue\"),\r\n },\r\n {\r\n path: \"ROLE_MANAGE\",\r\n name: \"角色管理\",\r\n component: () => import(\"../views/system/role.vue\"),\r\n },\r\n {\r\n path: \"SYSTEM_LOG\",\r\n name: \"系统日志\",\r\n component: () => import(\"../views/logs/logs.vue\"),\r\n },\r\n {\r\n path: \"GOODS_LOG\",\r\n name: \"商品记录\",\r\n component: () => import(\"../views/logs/record.vue\"),\r\n },\r\n {\r\n path: \"PLAT_ORDER_LIST\",\r\n name: \"订单列表\",\r\n component: () => import(\"../views/plat/orderList.vue\"),\r\n },\r\n {\r\n path: \"PLAT_GOODS_LIST\",\r\n name: \"货品列表\",\r\n component: () => import(\"../views/plat/goodsList.vue\"),\r\n },\r\n {\r\n path: \"PLAT_AFTER_SALE_ORDER_LIST\",\r\n name: \"售后单列表\",\r\n component: () => import(\"../views/plat/afterSaleOrder.vue\"),\r\n },\r\n {\r\n path: \"GROUP_MANAGEMENT\",\r\n name: \"团购管理\",\r\n component: () => import(\"../views/group/group.vue\"),\r\n },\r\n {\r\n path: \"GROUP_GOODS_ADD\",\r\n name: \"团购商品新增\",\r\n component: () => import(\"../views/group/addGroup.vue\"),\r\n },\r\n {\r\n path: \"GROUP_GOODS_EDIT\",\r\n name: \"团购商品修改\",\r\n component: () => import(\"../views/group/editGroup.vue\"),\r\n },\r\n {\r\n path: \"FACE_SHEET\",\r\n name: \"电子面单\",\r\n component: () => import(\"../views/plat/faceSheet.vue\"),\r\n },\r\n {\r\n path: \"SALES_REPORT_DATA\",\r\n name: \"销售数据\",\r\n component: () => import(\"../views/dataCenter/salesReport.vue\"),\r\n },\r\n {\r\n path: \"sale_statistics\",\r\n name: \"sku销售统计\",\r\n component: () => import(\"../views/dataCenter/skuStatistics.vue\"),\r\n },\r\n {\r\n path: \"spu_sale_statistics\",\r\n name: \"品种销售统计\",\r\n component: () => import(\"../views/dataCenter/spuStatistics.vue\"),\r\n },\r\n {\r\n path: \"gmv_statistics\",\r\n name: \"交易趋势\",\r\n component: () => import(\"../views/dataCenter/gmvStatistics.vue\"),\r\n },\r\n {\r\n path: \"loss_record_statistics\",\r\n name: \"报损统计\",\r\n component: () => import(\"../views/dataCenter/lossStatistics.vue\"),\r\n },\r\n {\r\n path: \"SUPPLIER_MANAGE\",\r\n name: \"供应商管理\",\r\n component: () => import(\"../views/supplyChain/supplier.vue\")\r\n },\r\n {\r\n path: \"PURCHASE_RECORD\",\r\n name: \"商品采购\",\r\n component: () => import(\"../views/supplyChain/procureLog.vue\")\r\n },\r\n {\r\n path: \"PURCHASE_RECORD_CHECK\",\r\n name: \"质检入库\",\r\n component: () => import(\"../views/supplyChain/procureCheck.vue\")\r\n },\r\n {\r\n path: \"LOSS_RECORD\",\r\n name: \"仓库报损\",\r\n component: () => import(\"../views/supplyChain/lossRecord.vue\")\r\n },\r\n {\r\n path: \"DAILY_STOCK_RECORD\",\r\n name: \"库存盘点\",\r\n component: () => import(\"../views/supplyChain/dailyStock.vue\")\r\n }\r\n ]\r\n }\r\n]\r\n\r\nexport default list\r\n","import router from './index'\r\nimport List from './list'\r\n\r\nList.forEach(element => {\r\n router.addRoute(element) // 动态添加更多的路由规则\r\n})\r\n","import Vue from \"vue\";\r\nimport App from \"./App.vue\";\r\nimport router from \"./router\";\r\nimport store from \"./store\";\r\nimport ElementUI from \"element-ui\";\r\nimport \"element-ui/lib/theme-chalk/index.css\";\r\nimport \"@/css/style.css\";\r\nimport \"./router/main\";\r\n\r\nVue.use(ElementUI, {\r\n size: 'small'\r\n});\r\nVue.config.productionTip = false;\r\n\r\nnew Vue({\r\n router,\r\n store,\r\n render: (h) => h(App),\r\n}).$mount(\"#app\");\r\n\r\ndocument.title = \"春分ERP-鲜花\";\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdO = {};","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + {\"24\":\"1eaace62\",\"64\":\"7efc004a\",\"132\":\"0557c76c\",\"134\":\"57e92ad2\",\"147\":\"53e38aa6\",\"192\":\"71ec2e85\",\"193\":\"99e24d2b\",\"197\":\"9f943505\",\"199\":\"5e20f3e2\",\"200\":\"fbda0d79\",\"206\":\"229a99a8\",\"283\":\"b0b443fa\",\"298\":\"143f4f4b\",\"301\":\"1f602c86\",\"417\":\"060d078f\",\"430\":\"728d93d4\",\"444\":\"bdf6e547\",\"454\":\"4e7d9fc6\",\"465\":\"630ca1a8\",\"551\":\"d3396e3a\",\"583\":\"5bbe4636\",\"613\":\"5a7f6161\",\"654\":\"9b16d70f\",\"688\":\"c1783454\",\"691\":\"c4036076\",\"763\":\"e09c890d\",\"806\":\"6fa0f083\",\"808\":\"eabeec45\",\"839\":\"aa0c84c2\",\"924\":\"e619e841\",\"931\":\"c12ad990\",\"967\":\"1e40c1e4\",\"973\":\"14434d3f\",\"984\":\"afbbd0d9\",\"990\":\"e354f872\",\"999\":\"1bc20d27\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"css/\" + chunkId + \".\" + {\"24\":\"609ab1fb\",\"64\":\"403e055c\",\"132\":\"e6e4e404\",\"134\":\"20265390\",\"147\":\"610fa777\",\"192\":\"5c0a41ae\",\"193\":\"434fb0ab\",\"197\":\"e8b8bfee\",\"199\":\"fc892afb\",\"200\":\"d1f3c50b\",\"206\":\"5c0a41ae\",\"298\":\"d943cf60\",\"417\":\"c022f0a7\",\"444\":\"5c5179a7\",\"454\":\"0d07cd09\",\"465\":\"162dccfd\",\"551\":\"24d983f8\",\"613\":\"a4b31826\",\"654\":\"83822904\",\"688\":\"97f84af6\",\"691\":\"de1fc96e\",\"763\":\"8f9393d3\",\"806\":\"f3652123\",\"808\":\"5c0a41ae\",\"839\":\"307cb16e\",\"924\":\"5c0a41ae\",\"931\":\"cf2e1900\",\"967\":\"ab361ac1\",\"973\":\"5c0a41ae\",\"984\":\"3115be6a\",\"990\":\"f504d809\",\"999\":\"0ae01dd7\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"erp:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && event.type;\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + errorType + \": \" + realHref + \")\");\n\t\t\terr.name = \"ChunkLoadError\";\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"24\":1,\"64\":1,\"132\":1,\"134\":1,\"147\":1,\"192\":1,\"193\":1,\"197\":1,\"199\":1,\"200\":1,\"206\":1,\"298\":1,\"417\":1,\"444\":1,\"454\":1,\"465\":1,\"551\":1,\"613\":1,\"654\":1,\"688\":1,\"691\":1,\"763\":1,\"806\":1,\"808\":1,\"839\":1,\"924\":1,\"931\":1,\"967\":1,\"973\":1,\"984\":1,\"990\":1,\"999\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkerp\"] = self[\"webpackChunkerp\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(462); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_vm","this","_c","_self","attrs","$route","meta","keepAlive","_e","staticRenderFns","component","Vue","use","VueRouter","createRouter","scrollBehavior","y","router","beforeEach","to","from","next","token","localStorage","getItem","name","Vuex","state","mutations","actions","modules","list","path","children","redirect","List","forEach","element","addRoute","ElementUI","size","config","productionTip","store","h","App","$mount","document","title","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","loaded","__webpack_modules__","call","m","amdO","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","key","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","f","e","chunkId","Promise","all","reduce","promises","u","miniCssF","g","globalThis","Function","window","obj","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","push","script","needAttach","scripts","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","value","nmd","paths","p","createStylesheet","fullhref","oldTag","resolve","reject","linkTag","rel","onLinkComplete","errorType","realHref","href","err","Error","code","request","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","then","installedChunks","installedChunkData","promise","error","loadingEnded","realSrc","message","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
\ No newline at end of file
diff --git a/resources/frontend/src/views/dataCenter/skuStatistics.vue b/resources/frontend/src/views/dataCenter/skuStatistics.vue
index 8bbaedd..b67bee9 100644
--- a/resources/frontend/src/views/dataCenter/skuStatistics.vue
+++ b/resources/frontend/src/views/dataCenter/skuStatistics.vue
@@ -286,10 +286,16 @@ export default {
this.downloadLoading = true
let params = {
type: this.time_type == 'day' ? 1 : 2,
- start_day: this.startTime,
- end_day: this.endTime,
page: 1,
- per_page: this.total
+ per_page: this.total,
+ sku_id: this.sku_id
+ }
+ if(params.type == 1) {
+ params.start_time = this.startTime
+ params.end_time = this.endTime
+ } else {
+ params.start_day = this.startTime
+ params.end_day = this.endTime
}
getSkuSalesCount(params).then((res) => {
if(!res.data.data.data.length) {