2 lines
10 KiB
JavaScript
Vendored
2 lines
10 KiB
JavaScript
Vendored
(function(){"use strict";var e={462:function(e,n,t){var o=t(144),a=function(){var e=this,n=e._self._c;return n("div",{attrs:{id:"app"}},[n("keep-alive",[e.$route.meta.keepAlive?n("router-view"):e._e()],1),e.$route.meta.keepAlive?e._e():n("router-view")],1)},r=[],i={},c=i,l=t(1001),u=(0,l.Z)(c,a,r,!1,null,null,null),d=u.exports,f=t(8345);o["default"].use(f.ZP);const m=()=>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(560),t.e(200)]).then(t.bind(t,7240))},{path:"/",component:()=>Promise.all([t.e(430),t.e(560),t.e(763)]).then(t.bind(t,1818)),children:[{path:"GOODS_LIST",name:"商品列表",component:()=>Promise.all([t.e(430),t.e(560),t.e(444),t.e(291)]).then(t.bind(t,2291)),meta:{keepAlive:!0}},{path:"ADDGOODS",name:"新增商品/规格",component:()=>Promise.all([t.e(430),t.e(560),t.e(444),t.e(465)]).then(t.bind(t,8465))},{path:"EDIT_GOODS",name:"修改商品规格",component:()=>Promise.all([t.e(430),t.e(560),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(560),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(560),t.e(730)]).then(t.bind(t,9116))},{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(727)]).then(t.bind(t,8308))},{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(560),t.e(382)]).then(t.bind(t,6961))},{path:"PLAT_GOODS_LIST",name:"货品列表",component:()=>Promise.all([t.e(430),t.e(223)]).then(t.bind(t,5889))},{path:"PLAT_AFTER_SALE_ORDER_LIST",name:"售后单列表",component:()=>Promise.all([t.e(430),t.e(343)]).then(t.bind(t,219))},{path:"GROUP_MANAGEMENT",name:"团购管理",component:()=>Promise.all([t.e(430),t.e(560),t.e(192)]).then(t.bind(t,2175))},{path:"GROUP_GOODS_ADD",name:"团购商品新增",component:()=>Promise.all([t.e(430),t.e(560),t.e(973)]).then(t.bind(t,7166))},{path:"GROUP_GOODS_EDIT",name:"团购商品修改",component:()=>Promise.all([t.e(430),t.e(560),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(560),t.e(652),t.e(806)]).then(t.bind(t,1618))},{path:"loss_record_statistics",name:"报损统计",component:()=>Promise.all([t.e(430),t.e(560),t.e(652),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(560),t.e(401)]).then(t.bind(t,3717))},{path:"PURCHASE_RECORD_CHECK",name:"质检入库",component:()=>Promise.all([t.e(430),t.e(417)]).then(t.bind(t,6037))},{path:"LOSS_RECORD",name:"仓库报损",component:()=>Promise.all([t.e(430),t.e(560),t.e(849)]).then(t.bind(t,9764))},{path:"DAILY_STOCK_RECORD",name:"库存盘点",component:()=>Promise.all([t.e(430),t.e(560),t.e(617)]).then(t.bind(t,5010))}]}];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<e.length;d++){o=e[d][0],a=e[d][1],r=e[d][2];for(var c=!0,l=0;l<o.length;l++)(!1&r||i>=r)&&Object.keys(t.O).every((function(e){return t.O[e](o[l])}))?o.splice(l--,1):(c=!1,r<i&&(i=r));if(c){e.splice(d--,1);var u=a();void 0!==u&&(n=u)}}return n}r=r||0;for(var d=e.length;d>0&&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+"."+{64:"7efc004a",107:"11af0ee1",132:"0557c76c",192:"612744da",199:"5e20f3e2",200:"1a2e4aeb",223:"fed05346",283:"5eac073c",291:"0b1a135b",343:"32c5a5db",382:"7b17918a",401:"7b4eec34",417:"10d00a45",430:"728d93d4",444:"1d9c3237",454:"4e7d9fc6",465:"630ca1a8",551:"d3396e3a",560:"9ba48e78",613:"5a7f6161",617:"3e63da06",652:"8de48f16",654:"9b16d70f",688:"c1783454",691:"c4036076",727:"50389830",730:"8ed282c1",763:"02dd87ae",806:"6fa0f083",849:"307fe005",924:"62b7333d",931:"c12ad990",967:"1e40c1e4",973:"712e2997",984:"afbbd0d9",990:"f9501cff"}[e]+".js"}}(),function(){t.miniCssF=function(e){return"css/"+e+"."+{64:"403e055c",107:"fd5b2517",132:"e6e4e404",192:"5c0a41ae",199:"fc892afb",200:"d1f3c50b",223:"6ee025b2",291:"ca41326d",343:"21883185",382:"ca9cec63",401:"9626e01f",417:"7ca29b17",444:"5c5179a7",454:"0d07cd09",465:"162dccfd",551:"24d983f8",613:"a4b31826",617:"ab812d50",654:"83822904",688:"97f84af6",691:"de1fc96e",727:"5c0a41ae",730:"d6573f63",763:"8f9393d3",806:"f3652123",849:"ecbed77e",924:"5c0a41ae",931:"cf2e1900",967:"ab361ac1",973:"5c0a41ae",984:"3115be6a",990:"f504d809"}[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<u.length;d++){var f=u[d];if(f.getAttribute("src")==o||f.getAttribute("data-webpack")==n+r){c=f;break}}c||(l=!0,c=document.createElement("script"),c.charset="utf-8",c.timeout=120,t.nc&&c.setAttribute("nonce",t.nc),c.setAttribute("data-webpack",n+r),c.src=o),e[o]=[a];var m=function(n,t){c.onerror=c.onload=null,clearTimeout(s);var a=e[o];if(delete e[o],c.parentNode&&c.parentNode.removeChild(c),a&&a.forEach((function(e){return e(t)})),n)return n(t)},s=setTimeout(m.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=m.bind(null,c.onerror),c.onload=m.bind(null,c.onload),l&&document.head.appendChild(c)}}}(),function(){t.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){t.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){t.p=""}(),function(){if("undefined"!==typeof document){var e=function(e,n,t,o,a){var r=document.createElement("link");r.rel="stylesheet",r.type="text/css";var i=function(t){if(r.onerror=r.onload=null,"load"===t.type)o();else{var i=t&&t.type,c=t&&t.target&&t.target.href||n,l=new Error("Loading CSS chunk "+e+" failed.\n("+i+": "+c+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=c,r.parentNode&&r.parentNode.removeChild(r),a(l)}};return r.onerror=r.onload=i,r.href=n,t?t.parentNode.insertBefore(r,t.nextSibling):document.head.appendChild(r),r},n=function(e,n){for(var t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var a=t[o],r=a.getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(r===e||r===n))return a}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){a=i[o],r=a.getAttribute("data-href");if(r===e||r===n)return a}},o=function(o){return new Promise((function(a,r){var i=t.miniCssF(o),c=t.p+i;if(n(i,c))return a();e(o,c,null,a,r)}))},a={143:0};t.f.miniCss=function(e,n){var t={64:1,107:1,132:1,192:1,199:1,200:1,223:1,291:1,343:1,382:1,401:1,417:1,444:1,454:1,465:1,551:1,613:1,617:1,654:1,688:1,691:1,727:1,730:1,763:1,806:1,849:1,924:1,931:1,967:1,973:1,984:1,990:1};a[e]?n.push(a[e]):0!==a[e]&&t[e]&&n.push(a[e]=o(e).then((function(){a[e]=0}),(function(n){throw delete a[e],n})))}}}(),function(){var e={143:0};t.f.j=function(n,o){var a=t.o(e,n)?e[n]:void 0;if(0!==a)if(a)o.push(a[2]);else{var r=new Promise((function(t,o){a=e[n]=[t,o]}));o.push(a[2]=r);var i=t.p+t.u(n),c=new Error,l=function(o){if(t.o(e,n)&&(a=e[n],0!==a&&(e[n]=void 0),a)){var r=o&&("load"===o.type?"missing":o.type),i=o&&o.target&&o.target.src;c.message="Loading chunk "+n+" failed.\n("+r+": "+i+")",c.name="ChunkLoadError",c.type=r,c.request=i,a[1](c)}};t.l(i,l,"chunk-"+n,n)}},t.O.j=function(n){return 0===e[n]};var n=function(n,o){var a,r,i=o[0],c=o[1],l=o[2],u=0;if(i.some((function(n){return 0!==e[n]}))){for(a in c)t.o(c,a)&&(t.m[a]=c[a]);if(l)var d=l(t)}for(n&&n(o);u<i.length;u++)r=i[u],t.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return t.O(d)},o=self["webpackChunkerp"]=self["webpackChunkerp"]||[];o.forEach(n.bind(null,0)),o.push=n.bind(null,o.push.bind(o))}();var o=t.O(void 0,[998],(function(){return t(462)}));o=t.O(o)})();
|
|
//# sourceMappingURL=app.759b64a1.js.map
|