erp/public/dist/js/app.6d80696a.js

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),d=(0,l.Z)(c,a,r,!1,null,null,null),u=d.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(301),t.e(200)]).then(t.bind(t,7240))},{path:"/",component:()=>Promise.all([t.e(430),t.e(301),t.e(850)]).then(t.bind(t,1043)),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(986)]).then(t.bind(t,2643))},{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(906)]).then(t.bind(t,9269))},{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(301),t.e(120)]).then(t.bind(t,3966))},{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(u)}).$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(u=0;u<e.length;u++){o=e[u][0],a=e[u][1],r=e[u][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(u--,1);var d=a();void 0!==d&&(n=d)}}return n}r=r||0;for(var u=e.length;u>0&&e[u-1][2]>r;u--)e[u]=e[u-1];e[u]=[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:"2db5913e",120:"5d42b8fb",132:"0557c76c",147:"34297e9a",192:"71ec2e85",193:"99e24d2b",197:"9f943505",199:"5e20f3e2",200:"fbda0d79",206:"f31f5e61",283:"b0b443fa",298:"c971cd33",301:"1f602c86",417:"5d40a6d8",430:"728d93d4",444:"bdf6e547",454:"4e7d9fc6",465:"630ca1a8",551:"d3396e3a",583:"5bbe4636",654:"9b16d70f",688:"1ffe9e5d",691:"c4036076",806:"6fa0f083",839:"f5901bd7",850:"3d04d1d4",906:"8d4b79f3",924:"e619e841",931:"79e27d13",967:"0072dd64",973:"14434d3f",984:"afbbd0d9",986:"66d13cb6",990:"e354f872",999:"7767bffa"}[e]+".js"}}(),function(){t.miniCssF=function(e){return"css/"+e+"."+{24:"609ab1fb",64:"403e055c",120:"497aa257",132:"e6e4e404",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",654:"83822904",688:"97f84af6",691:"de1fc96e",806:"f3652123",839:"307cb16e",850:"4fa8ccec",906:"5c0a41ae",924:"5c0a41ae",931:"cf2e1900",967:"ab361ac1",973:"5c0a41ae",984:"3115be6a",986:"d40c35ff",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 d=document.getElementsByTagName("script"),u=0;u<d.length;u++){var f=d[u];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={24:1,64:1,120:1,132: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,654:1,688:1,691:1,806:1,839:1,850:1,906:1,924:1,931:1,967:1,973:1,984:1,986:1,990:1,999: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],d=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 u=l(t)}for(n&&n(o);d<i.length;d++)r=i[d],t.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return t.O(u)},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.6d80696a.js.map