router.config.js 127 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582
  1. // eslint-disable-next-line
  2. import {
  3. UserLayout,
  4. BasicLayout,
  5. BlankLayout,
  6. BigScreen,
  7. PageView
  8. } from '@/layouts'
  9. export const asyncRouterMap = [
  10. {
  11. path: '/',
  12. name: 'index',
  13. component: BasicLayout,
  14. meta: {
  15. title: '首页'
  16. },
  17. redirect: '/home',
  18. children: [
  19. {
  20. path: '/home',
  21. name: 'home',
  22. redirect: '/home',
  23. component: PageView,
  24. meta: {
  25. title: '首页',
  26. icon: 'home'
  27. },
  28. hideChildrenInMenu: true,
  29. children: [
  30. {
  31. path: '/home',
  32. name: 'home',
  33. redirect: '/home',
  34. component: BlankLayout,
  35. meta: {
  36. title: '首页',
  37. icon: 'home',
  38. hidden: true
  39. },
  40. hideChildrenInMenu: true,
  41. children: [
  42. {
  43. path: '/home',
  44. name: 'home',
  45. component: () => import(/* webpackChunkName: "home" */ '@/views/Home'),
  46. meta: {
  47. title: '首页',
  48. icon: 'home',
  49. hidden: true
  50. }
  51. },
  52. {
  53. path: '/changePwd',
  54. name: 'changePwd',
  55. component: () => import(/* webpackChunkName: "home" */ '@/views/user/ChangePwd'),
  56. meta: {
  57. title: '修改密码',
  58. icon: 'home'
  59. },
  60. hidden: true
  61. },
  62. {
  63. path: '/notice',
  64. name: 'notice',
  65. component: () => import(/* webpackChunkName: "home" */ '@/views/setting/notice/list'),
  66. meta: {
  67. title: '公告',
  68. icon: 'bell'
  69. },
  70. hidden: true
  71. },
  72. {
  73. path: '/dowloadFile',
  74. name: 'dowloadFile',
  75. component: () => import(/* webpackChunkName: "home" */ '@/views/dowloadFile/list'),
  76. meta: {
  77. title: '下载中心',
  78. icon: 'bell'
  79. },
  80. hidden: true
  81. },
  82. // 新品列表
  83. {
  84. path: '/newProduct/list/:onlineFalg',
  85. name: 'newProductList',
  86. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/list'),
  87. meta: {
  88. title: '新品信息',
  89. icon: 'home'
  90. },
  91. hidden: true
  92. },
  93. // 产品详情
  94. {
  95. path: '/viewProduct/:sn',
  96. name: 'viewProduct',
  97. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/detail'),
  98. meta: {
  99. title: '产品详情',
  100. icon: 'home'
  101. },
  102. hidden: true
  103. }
  104. ]
  105. }
  106. ]
  107. },
  108. // 销售管理
  109. {
  110. path: '/salesManagement',
  111. redirect: '/salesManagement/salesQuery',
  112. component: PageView,
  113. meta: {
  114. title: '销售管理',
  115. icon: 'account-book',
  116. permission: 'M_salesManagement'
  117. },
  118. children: [
  119. {
  120. path: '/salesManagement/salesQuery',
  121. redirect: '/salesManagement/salesQuery/list',
  122. name: 'salesQuery',
  123. component: BlankLayout,
  124. meta: {
  125. title: '销售单查询',
  126. icon: 'monitor',
  127. permission: 'M_salesQueryList'
  128. },
  129. hideChildrenInMenu: true,
  130. children: [
  131. {
  132. path: 'list',
  133. name: 'salesQueryList',
  134. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/list.vue'),
  135. meta: {
  136. title: '销售单列表',
  137. icon: 'monitor',
  138. hidden: true,
  139. permission: 'M_salesQueryList'
  140. }
  141. },
  142. {
  143. path: 'detail/:sn',
  144. name: 'salesDetail',
  145. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/detail.vue'),
  146. meta: {
  147. title: '销售单详情',
  148. icon: 'monitor',
  149. hidden: true,
  150. replaceTab: true,
  151. permission: 'B_salesDetail'
  152. }
  153. },
  154. {
  155. path: 'detail/:sn',
  156. name: 'salesDetailAudit',
  157. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/detail.vue'),
  158. meta: {
  159. title: '销售单审核',
  160. icon: 'monitor',
  161. hidden: true,
  162. replaceTab: true,
  163. permission: 'B_salesAudit'
  164. }
  165. },
  166. {
  167. path: 'add/:sn',
  168. name: 'salesAdd',
  169. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  170. meta: {
  171. title: '新增销售单',
  172. icon: 'monitor',
  173. hidden: true,
  174. permission: 'B_salesEdit'
  175. }
  176. },
  177. {
  178. path: 'edit/:sn',
  179. name: 'salesEdit',
  180. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  181. meta: {
  182. title: '编辑销售单',
  183. icon: 'monitor',
  184. hidden: true,
  185. permission: 'B_salesEdit'
  186. }
  187. },
  188. {
  189. path: 'waitDispatch/:salesBillSn/:dispatchBillSn',
  190. name: 'waitDispatch',
  191. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/waitDispatch/edit.vue'),
  192. meta: {
  193. title: '下推销售单',
  194. icon: 'monitor',
  195. replaceTab: true,
  196. hidden: true,
  197. permission: 'B_salesDispatch'
  198. }
  199. }
  200. ]
  201. },
  202. {
  203. path: '/salesManagement/pushOrderManagement',
  204. redirect: '/salesManagement/pushOrderManagement/list',
  205. name: 'pushOrderManagement',
  206. component: BlankLayout,
  207. meta: {
  208. title: '下推订单列表',
  209. icon: 'vertical-align-bottom',
  210. permission: 'M_pushOrderManagementList'
  211. },
  212. hideChildrenInMenu: true,
  213. children: [
  214. {
  215. path: 'list',
  216. name: 'pushOrderManagementList',
  217. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/pushOrderManagement/list.vue'),
  218. meta: {
  219. title: '下推订单列表',
  220. icon: 'vertical-align-bottom',
  221. hidden: true,
  222. permission: 'M_pushOrderManagementList'
  223. }
  224. },
  225. {
  226. path: 'detail/:sn/:type',
  227. name: 'pushOrderDetail',
  228. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/pushOrderManagement/detail.vue'),
  229. meta: {
  230. title: '下推订单详情',
  231. icon: 'vertical-align-bottom',
  232. replaceTab: true,
  233. hidden: true,
  234. permission: 'B_dispatchDetail'
  235. }
  236. }
  237. ]
  238. },
  239. {
  240. path: '/salesManagement/salesCollection',
  241. redirect: '/salesManagement/salesCollection/list',
  242. name: 'salesCollection',
  243. component: BlankLayout,
  244. meta: {
  245. title: '销售收款',
  246. icon: 'vertical-align-bottom',
  247. permission: 'M_salesCollectionList'
  248. },
  249. hideChildrenInMenu: true,
  250. children: [
  251. {
  252. path: 'list',
  253. name: 'salesCollectionList',
  254. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesCollection/list.vue'),
  255. meta: {
  256. title: '销售收款',
  257. icon: 'vertical-align-bottom',
  258. hidden: true,
  259. permission: 'M_salesCollectionList'
  260. }
  261. }
  262. ]
  263. },
  264. {
  265. path: '/salesManagement/stockPrint',
  266. redirect: '/salesManagement/stockPrint/list',
  267. name: 'stockPrint',
  268. component: BlankLayout,
  269. meta: {
  270. title: '备货打印',
  271. icon: 'vertical-align-bottom',
  272. permission: 'M_stockPrintList'
  273. },
  274. hideChildrenInMenu: true,
  275. children: [
  276. {
  277. path: 'list',
  278. name: 'stockPrintList',
  279. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/stockPrint/list.vue'),
  280. meta: {
  281. title: '备货打印',
  282. icon: 'vertical-align-bottom',
  283. hidden: true,
  284. permission: 'M_stockPrintList'
  285. }
  286. }
  287. ]
  288. },
  289. {
  290. path: '/salesManagement/receiptPrint',
  291. redirect: '/salesManagement/receiptPrint/list',
  292. name: 'receiptPrint',
  293. component: BlankLayout,
  294. meta: {
  295. title: '收款打印',
  296. icon: 'vertical-align-bottom',
  297. permission: 'M_receiptPrintList'
  298. },
  299. hideChildrenInMenu: true,
  300. children: [
  301. {
  302. path: 'list',
  303. name: 'receiptPrintList',
  304. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/receiptPrint/list.vue'),
  305. meta: {
  306. title: '收款打印',
  307. icon: 'vertical-align-bottom',
  308. hidden: true,
  309. permission: 'M_receiptPrintList'
  310. }
  311. }
  312. ]
  313. },
  314. {
  315. path: '/salesManagement/matchSendOutOrder',
  316. redirect: '/salesManagement/matchSendOutOrder/list',
  317. name: 'matchSendOutOrder',
  318. component: BlankLayout,
  319. meta: {
  320. title: '发货对单',
  321. icon: 'vertical-align-bottom',
  322. permission: 'M_matchSendOutOrderList'
  323. },
  324. hideChildrenInMenu: true,
  325. children: [
  326. {
  327. path: 'list',
  328. name: 'matchSendOutOrderList',
  329. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/matchSendOutOrder/list.vue'),
  330. meta: {
  331. title: '发货对单',
  332. icon: 'vertical-align-bottom',
  333. hidden: true,
  334. permission: 'M_matchSendOutOrderList'
  335. }
  336. }
  337. ]
  338. },
  339. {
  340. path: '/salesManagement/examineVerify',
  341. redirect: '/salesManagement/examineVerify/list',
  342. name: 'examineVerify',
  343. component: BlankLayout,
  344. meta: {
  345. title: '备货审核',
  346. icon: 'audit',
  347. permission: 'M_examineVerifyList'
  348. },
  349. hideChildrenInMenu: true,
  350. children: [
  351. {
  352. path: 'list',
  353. name: 'examineVerifyList',
  354. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/examineVerify/list.vue'),
  355. meta: {
  356. title: '备货审核列表',
  357. icon: 'audit',
  358. hidden: true,
  359. permission: 'M_examineVerifyList'
  360. }
  361. }
  362. ]
  363. },
  364. {
  365. path: '/salesManagement/outboundOrder',
  366. redirect: '/salesManagement/outboundOrder/list',
  367. name: 'outboundOrder',
  368. component: BlankLayout,
  369. meta: {
  370. title: '出库',
  371. icon: 'export',
  372. permission: 'M_outboundOrderList'
  373. },
  374. hideChildrenInMenu: true,
  375. children: [
  376. {
  377. path: 'list',
  378. name: 'outboundOrderList',
  379. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/outboundOrder/list.vue'),
  380. meta: {
  381. title: '出库列表',
  382. icon: 'export',
  383. hidden: true,
  384. permission: 'M_outboundOrderList'
  385. }
  386. }
  387. ]
  388. },
  389. {
  390. path: '/salesManagement/sendOutOrder',
  391. redirect: '/salesManagement/sendOutOrder/list',
  392. name: 'sendOutOrder',
  393. component: BlankLayout,
  394. meta: {
  395. title: '发货单列表',
  396. icon: 'export',
  397. permission: 'M_sendOutOrderList'
  398. },
  399. hideChildrenInMenu: true,
  400. children: [
  401. {
  402. path: 'list',
  403. name: 'sendOutOrderList',
  404. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/sendOutOrder/list.vue'),
  405. meta: {
  406. title: '发货单列表',
  407. icon: 'export',
  408. hidden: true,
  409. permission: 'M_sendOutOrderList'
  410. }
  411. }
  412. ]
  413. },
  414. {
  415. path: '/salesManagement/backorder',
  416. redirect: '/salesManagement/backorder/list',
  417. name: 'backorder',
  418. component: BlankLayout,
  419. meta: {
  420. title: '销售缺货列表',
  421. icon: 'exception',
  422. permission: 'M_backorderList'
  423. },
  424. hideChildrenInMenu: true,
  425. children: [
  426. {
  427. path: 'list',
  428. name: 'backorderList',
  429. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/backorder/list.vue'),
  430. meta: {
  431. title: '销售缺货列表',
  432. icon: 'exception',
  433. hidden: true,
  434. permission: 'M_backorderList'
  435. }
  436. }
  437. ]
  438. },
  439. {
  440. path: '/salesManagement/shortageStatisticsC',
  441. redirect: '/salesManagement/shortageStatisticsC/list',
  442. name: 'shortageStatisticsC',
  443. component: BlankLayout,
  444. meta: {
  445. title: '缺货统计(按客户)',
  446. icon: 'file-done',
  447. permission: 'M_shortageStatisticsCList'
  448. },
  449. hideChildrenInMenu: true,
  450. children: [
  451. {
  452. path: 'list',
  453. name: 'shortageStatisticsCList',
  454. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/shortageStatisticsC/list.vue'),
  455. meta: {
  456. title: '缺货统计(按客户)',
  457. icon: 'file-done',
  458. hidden: true,
  459. permission: 'M_shortageStatisticsCList'
  460. }
  461. }
  462. ]
  463. },
  464. {
  465. path: '/salesManagement/shortageStatisticsP',
  466. redirect: '/salesManagement/shortageStatisticsP/list',
  467. name: 'shortageStatisticsP',
  468. component: BlankLayout,
  469. meta: {
  470. title: '缺货统计(按产品)',
  471. icon: 'file-protect',
  472. permission: 'M_shortageStatisticsPList'
  473. },
  474. hideChildrenInMenu: true,
  475. children: [
  476. {
  477. path: 'list',
  478. name: 'shortageStatisticsPList',
  479. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/shortageStatisticsP/list.vue'),
  480. meta: {
  481. title: '缺货统计(按产品)',
  482. icon: 'file-protect',
  483. hidden: true,
  484. permission: 'M_shortageStatisticsPList'
  485. }
  486. }
  487. ]
  488. },
  489. {
  490. path: '/salesManagement/priceInquiry',
  491. redirect: '/salesManagement/priceInquiry/list',
  492. name: 'priceInquiry',
  493. component: BlankLayout,
  494. meta: {
  495. title: '价格查询',
  496. icon: 'file-protect',
  497. permission: 'M_priceInquiryList'
  498. },
  499. hideChildrenInMenu: true,
  500. children: [
  501. {
  502. path: 'list',
  503. name: 'priceInquiryList',
  504. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/priceInquiry/list.vue'),
  505. meta: {
  506. title: '价格查询列表',
  507. icon: 'file-protect',
  508. hidden: true,
  509. permission: 'M_priceInquiryList'
  510. }
  511. }
  512. ]
  513. }
  514. ]
  515. },
  516. // 销售退货
  517. {
  518. path: '/salesReturnManagement',
  519. redirect: '/salesReturnManagement/salesReturn',
  520. component: PageView,
  521. meta: {
  522. title: '销售退货',
  523. icon: 'export',
  524. permission: 'M_salesReturnManagement'
  525. },
  526. children: [
  527. {
  528. path: '/salesReturnManagement/salesReturn',
  529. redirect: '/salesReturnManagement/salesReturn/list',
  530. name: 'salesReturn',
  531. component: BlankLayout,
  532. meta: {
  533. title: '销售退货列表',
  534. icon: 'fund',
  535. permission: 'M_salesReturnList'
  536. },
  537. hideChildrenInMenu: true,
  538. children: [
  539. {
  540. path: 'list',
  541. name: 'salesReturnList',
  542. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/list.vue'),
  543. meta: {
  544. title: '销售退货列表',
  545. icon: 'fund',
  546. hidden: true,
  547. permission: 'M_salesReturnList'
  548. }
  549. },
  550. {
  551. path: 'detail/:sn',
  552. name: 'salesReturnDetail',
  553. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/detail.vue'),
  554. meta: {
  555. title: '销售退货详情',
  556. icon: 'fund',
  557. hidden: true,
  558. permission: 'B_salesReturnDetail'
  559. }
  560. },
  561. {
  562. path: 'salesReturnEdit/:sn/:buyerSn',
  563. name: 'salesReturnEdit',
  564. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/salesReturn/salesReturnEdit.vue'),
  565. meta: {
  566. title: '编辑销售退货',
  567. icon: 'fund',
  568. hidden: true,
  569. permission: 'B_salesReturnEdit'
  570. }
  571. },
  572. {
  573. path: 'custConfirm/:sn/:buyerSn',
  574. name: 'custConfirm',
  575. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/custConfirm/list.vue'),
  576. meta: {
  577. title: '客服确认',
  578. icon: 'fund',
  579. replaceTab: true,
  580. hidden: true,
  581. permission: 'B_salesReturnConfirm'
  582. }
  583. }
  584. ]
  585. },
  586. {
  587. path: '/salesReturnManagement/billOfLading',
  588. redirect: '/salesReturnManagement/billOfLading/list',
  589. name: 'billOfLading',
  590. component: BlankLayout,
  591. meta: {
  592. title: '提货单列表',
  593. icon: 'fund',
  594. permission: 'M_billOfLadingList'
  595. },
  596. hideChildrenInMenu: true,
  597. children: [
  598. {
  599. path: 'list',
  600. name: 'billOfLadingList',
  601. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/list.vue'),
  602. meta: {
  603. title: '提货单列表',
  604. icon: 'fund',
  605. hidden: true,
  606. permission: 'M_billOfLadingList'
  607. }
  608. },
  609. {
  610. path: 'detail/:sn',
  611. name: 'billOfLadingDetail',
  612. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/detail.vue'),
  613. meta: {
  614. title: '提货单详情',
  615. icon: 'fund',
  616. hidden: true,
  617. permission: 'M_detailPickUp'
  618. }
  619. },
  620. {
  621. path: 'add',
  622. name: 'billOfLadingAdd',
  623. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/add.vue'),
  624. meta: {
  625. title: '新增提货单',
  626. icon: 'fund',
  627. hidden: true,
  628. permission: 'B_editPickUp'
  629. }
  630. },
  631. {
  632. path: 'edit/:sn',
  633. name: 'billOfLadingEdit',
  634. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/billOfLading/add.vue'),
  635. meta: {
  636. title: '编辑提货单',
  637. icon: 'fund',
  638. hidden: true,
  639. permission: 'B_editPickUp'
  640. }
  641. }
  642. ]
  643. },
  644. {
  645. path: '/salesReturnManagement/pickUp',
  646. redirect: '/salesReturnManagement/pickUp/list',
  647. name: 'pickUp',
  648. component: BlankLayout,
  649. meta: {
  650. title: '仓库提货',
  651. icon: 'fund',
  652. permission: 'M_pickUpList'
  653. },
  654. hideChildrenInMenu: true,
  655. children: [
  656. {
  657. path: 'list',
  658. name: 'pickUpList',
  659. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/pickUp/list.vue'),
  660. meta: {
  661. title: '仓库提货列表',
  662. icon: 'fund',
  663. hidden: true,
  664. permission: 'M_pickUpList'
  665. }
  666. }
  667. ]
  668. },
  669. {
  670. path: '/salesReturnManagement/receiveCheck',
  671. redirect: '/salesReturnManagement/receiveCheck/list',
  672. name: 'receiveCheck',
  673. component: BlankLayout,
  674. meta: {
  675. title: '收货品检',
  676. icon: 'fund',
  677. permission: 'M_receiveCheckList'
  678. },
  679. hideChildrenInMenu: true,
  680. children: [
  681. {
  682. path: 'list',
  683. name: 'receiveCheckList',
  684. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/list.vue'),
  685. meta: {
  686. title: '收货品检列表',
  687. icon: 'fund',
  688. hidden: true,
  689. permission: 'M_receiveCheckList'
  690. }
  691. },
  692. {
  693. path: 'receiving/:sn/:buyerSn',
  694. name: 'salesReturnReceiving',
  695. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/receiving.vue'),
  696. meta: {
  697. title: '收货',
  698. icon: 'fund',
  699. hidden: true,
  700. replaceTab: true,
  701. permission: 'B_salesReturnReceiving'
  702. }
  703. },
  704. {
  705. path: 'checking/:sn/:buyerSn',
  706. name: 'salesReturnCheck',
  707. component: () => import(/* webpackChunkName: "salesReturnManagement" */ '@/views/salesReturnManagement/receiveCheck/checking.vue'),
  708. meta: {
  709. title: '品检',
  710. icon: 'fund',
  711. hidden: true,
  712. replaceTab: true,
  713. permission: 'B_salesReturnCheck'
  714. }
  715. }
  716. ]
  717. }
  718. ]
  719. },
  720. // 采购管理
  721. {
  722. path: '/purchasingManagement',
  723. redirect: '/purchasingManagement/purchaseOrder',
  724. component: PageView,
  725. meta: {
  726. title: '采购管理',
  727. icon: 'money-collect',
  728. permission: 'M_purchasingManagement'
  729. },
  730. children: [
  731. {
  732. path: '/purchasingManagement/bulkWarehousingOrder',
  733. redirect: '/purchasingManagement/bulkWarehousingOrder/list',
  734. name: 'bulkWarehousingOrder',
  735. component: BlankLayout,
  736. meta: {
  737. title: '散件入库',
  738. icon: 'gold',
  739. permission: 'M_bulkWarehousingOrderList'
  740. },
  741. hideChildrenInMenu: true,
  742. children: [
  743. {
  744. path: 'list',
  745. name: 'bulkWarehousingOrderList',
  746. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/list.vue'),
  747. meta: {
  748. title: '散件入库单列表',
  749. icon: 'gold',
  750. hidden: true,
  751. permission: 'M_bulkWarehousingOrderList'
  752. }
  753. },
  754. {
  755. path: 'add/:id/:sn',
  756. name: 'bulkWarehousingOrderAdd',
  757. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  758. meta: {
  759. title: '新增散件入库单',
  760. icon: 'gold',
  761. hidden: true,
  762. permission: 'B_sparePartsEdit'
  763. }
  764. },
  765. {
  766. path: 'edit/:id/:sn',
  767. name: 'bulkWarehousingOrderEdit',
  768. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  769. meta: {
  770. title: '编辑散件入库单',
  771. icon: 'gold',
  772. hidden: true,
  773. permission: 'B_sparePartsEdit'
  774. }
  775. }
  776. ]
  777. },
  778. {
  779. path: '/purchasingManagement/purchaseReturn',
  780. redirect: '/purchasingManagement/purchaseReturn/list',
  781. name: 'purchaseReturn',
  782. component: BlankLayout,
  783. meta: {
  784. title: '采购退货',
  785. icon: 'gold',
  786. permission: 'M_purchaseReturn'
  787. },
  788. hideChildrenInMenu: true,
  789. children: [
  790. {
  791. path: 'list',
  792. name: 'purchaseReturnList',
  793. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/list.vue'),
  794. meta: {
  795. title: '采购退货',
  796. icon: 'gold',
  797. hidden: true,
  798. permission: 'M_purchaseReturnList'
  799. }
  800. },
  801. {
  802. path: 'add',
  803. name: 'purchaseReturnAdd',
  804. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  805. meta: {
  806. title: '新增采购退货',
  807. icon: 'gold',
  808. hidden: true,
  809. permission: 'B_purchaseReturnEdit'
  810. }
  811. },
  812. {
  813. path: 'edit',
  814. name: 'purchaseReturnEdit',
  815. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue'),
  816. meta: {
  817. title: '编辑采购退货',
  818. icon: 'gold',
  819. hidden: true,
  820. permission: 'B_purchaseReturnEdit'
  821. }
  822. }
  823. ]
  824. }
  825. ]
  826. },
  827. // 财务管理
  828. {
  829. path: '/financialManagement',
  830. redirect: '/financialManagement/returnConfirmation',
  831. component: PageView,
  832. meta: {
  833. title: '财务管理',
  834. icon: 'property-safety',
  835. permission: 'M_financialManagement'
  836. },
  837. children: [
  838. {
  839. path: '/financialManagement/warehousingConfirmation',
  840. redirect: '/financialManagement/warehousingConfirmation/list',
  841. name: 'warehousingConfirmation',
  842. component: BlankLayout,
  843. meta: {
  844. title: '入库确认',
  845. icon: 'vertical-align-bottom',
  846. permission: 'M_warehousingConfirmationList'
  847. },
  848. hideChildrenInMenu: true,
  849. children: [
  850. {
  851. path: 'list',
  852. name: 'warehousingConfirmationList',
  853. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingConfirmation/list.vue'),
  854. meta: {
  855. title: '入库确认列表',
  856. icon: 'vertical-align-bottom',
  857. hidden: true,
  858. permission: 'M_warehousingConfirmationList'
  859. }
  860. }
  861. ]
  862. },
  863. {
  864. path: '/financialManagement/returnConfirmation',
  865. redirect: '/financialManagement/returnConfirmation/list',
  866. name: 'returnConfirmation',
  867. component: BlankLayout,
  868. meta: {
  869. title: '销售退货确认',
  870. icon: 'vertical-align-top',
  871. permission: 'M_returnConfirmationList'
  872. },
  873. hideChildrenInMenu: true,
  874. children: [
  875. {
  876. path: 'list',
  877. name: 'returnConfirmationList',
  878. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/returnConfirmation/list.vue'),
  879. meta: {
  880. title: '销售退货确认列表',
  881. icon: 'vertical-align-top',
  882. hidden: true,
  883. permission: 'M_returnConfirmationList'
  884. }
  885. }
  886. ]
  887. },
  888. {
  889. path: '/financialManagement/allocateReturnConfirmation',
  890. redirect: '/financialManagement/allocateReturnConfirmation/list',
  891. name: 'allocateReturnConfirmation',
  892. component: BlankLayout,
  893. meta: {
  894. title: '调拨退货确认',
  895. icon: 'vertical-align-top',
  896. permission: 'M_allocateReturnConfirmationList'
  897. },
  898. hideChildrenInMenu: true,
  899. children: [
  900. {
  901. path: 'list',
  902. name: 'allocateReturnConfirmationList',
  903. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/allocateReturnConfirmation/list.vue'),
  904. meta: {
  905. title: '调拨退货确认列表',
  906. icon: 'vertical-align-top',
  907. hidden: true,
  908. permission: 'M_allocateReturnConfirmationList'
  909. }
  910. }
  911. ]
  912. },
  913. {
  914. path: '/financialManagement/inventoryConfirmation',
  915. redirect: '/financialManagement/inventoryConfirmation/list',
  916. name: 'inventoryConfirmation',
  917. component: BlankLayout,
  918. meta: {
  919. title: '盘点确认',
  920. icon: 'monitor',
  921. permission: 'M_inventoryConfirmationList'
  922. },
  923. hideChildrenInMenu: true,
  924. children: [
  925. {
  926. path: 'list',
  927. name: 'inventoryConfirmationList',
  928. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/inventoryConfirmation/list.vue'),
  929. meta: {
  930. title: '盘点确认列表',
  931. icon: 'monitor',
  932. hidden: true,
  933. permission: 'M_inventoryConfirmationList'
  934. }
  935. },
  936. {
  937. path: 'detail/:sn',
  938. name: 'inventoryConfirmationDetail',
  939. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/inventoryConfirmation/detail.vue'),
  940. meta: {
  941. title: '盘点确认详情',
  942. icon: 'monitor',
  943. hidden: true,
  944. permission: 'B_inventoryConfirmationDetail'
  945. }
  946. }
  947. ]
  948. },
  949. {
  950. path: '/financialManagement/financialCollection',
  951. redirect: '/financialManagement/financialCollection/list',
  952. name: 'financialCollection',
  953. component: BlankLayout,
  954. meta: {
  955. title: '财务收款',
  956. icon: 'pay-circle',
  957. permission: 'M_financialCollectionList'
  958. },
  959. hideChildrenInMenu: true,
  960. children: [
  961. {
  962. path: 'list',
  963. name: 'financialCollectionList',
  964. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/list.vue'),
  965. meta: {
  966. title: '财务收款列表',
  967. icon: 'pay-circle',
  968. hidden: true,
  969. permission: 'M_financialCollectionList'
  970. }
  971. },
  972. {
  973. path: 'detail/:sn',
  974. name: 'financialCollectionDetail',
  975. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/detail.vue'),
  976. meta: {
  977. title: '财务收款详情',
  978. icon: 'monitor',
  979. hidden: true,
  980. permission: 'B_fc_detail'
  981. }
  982. },
  983. {
  984. path: 'edit/:sn',
  985. name: 'financialCollectionEdit',
  986. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/edit.vue'),
  987. meta: {
  988. title: '编辑财务收款',
  989. icon: 'monitor',
  990. hidden: true,
  991. permission: 'B_fc_edit'
  992. }
  993. }
  994. ]
  995. },
  996. {
  997. path: '/financialManagement/collectionDetailStatic',
  998. redirect: '/financialManagement/collectionDetailStatic/list',
  999. name: 'collectionDetailStatic',
  1000. component: BlankLayout,
  1001. meta: {
  1002. title: '财务收款明细统计',
  1003. icon: 'vertical-align-top',
  1004. permission: 'M_FC_Details_list'
  1005. },
  1006. hideChildrenInMenu: true,
  1007. children: [
  1008. {
  1009. path: 'list',
  1010. name: 'collectionDetailStaticList',
  1011. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/collectionDetailStatic/list.vue'),
  1012. meta: {
  1013. title: '财务收款明细统计列表',
  1014. icon: 'vertical-align-top',
  1015. hidden: true,
  1016. permission: 'M_FC_Details_list'
  1017. }
  1018. }
  1019. ]
  1020. }
  1021. ]
  1022. },
  1023. // 费用报销
  1024. {
  1025. path: '/expenseManagement',
  1026. redirect: '/expenseManagement/expenseReimbursement',
  1027. component: PageView,
  1028. meta: {
  1029. title: '费用报销',
  1030. icon: 'account-book',
  1031. permission: 'M_expenseManagement'
  1032. },
  1033. children: [
  1034. {
  1035. path: '/expenseManagement/expenseReimbursement',
  1036. redirect: '/expenseManagement/expenseReimbursement/list',
  1037. name: 'expenseReimbursement',
  1038. component: BlankLayout,
  1039. meta: {
  1040. title: '费用报销单',
  1041. icon: 'monitor',
  1042. permission: 'M_expenseReimbursementList'
  1043. },
  1044. hideChildrenInMenu: true,
  1045. children: [
  1046. {
  1047. path: 'list',
  1048. name: 'expenseReimbursementList',
  1049. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/list.vue'),
  1050. meta: {
  1051. title: '费用报销单列表',
  1052. icon: 'monitor',
  1053. hidden: true,
  1054. permission: 'M_expenseReimbursementList'
  1055. }
  1056. },
  1057. {
  1058. path: 'detail/:sn',
  1059. name: 'expenseReimbursementListDetail',
  1060. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/detail.vue'),
  1061. meta: {
  1062. title: '费用报销单详情',
  1063. icon: 'monitor',
  1064. hidden: true,
  1065. permission: 'B_eRdetail'
  1066. }
  1067. },
  1068. {
  1069. path: 'add',
  1070. name: 'expenseReimbursementAdd',
  1071. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/add.vue'),
  1072. meta: {
  1073. title: '新增费用报销单',
  1074. icon: 'monitor',
  1075. hidden: true,
  1076. permission: 'B_ERtEdit'
  1077. }
  1078. },
  1079. {
  1080. path: 'edit/:sn',
  1081. name: 'expenseReimbursementEdit',
  1082. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/add.vue'),
  1083. meta: {
  1084. title: '编辑费用报销单',
  1085. icon: 'monitor',
  1086. hidden: true,
  1087. permission: 'B_ERtEdit'
  1088. }
  1089. }
  1090. ]
  1091. },
  1092. {
  1093. path: '/expenseManagement/expenseReimbursementDetail',
  1094. redirect: '/expenseManagement/expenseReimbursementDetail/list',
  1095. name: 'expenseReimbursementDetail',
  1096. component: BlankLayout,
  1097. meta: {
  1098. title: '费用报销明细统计',
  1099. icon: 'audit',
  1100. permission: 'M_expenseReimbursementDetailList'
  1101. },
  1102. hideChildrenInMenu: true,
  1103. children: [
  1104. {
  1105. path: 'list',
  1106. name: 'expenseReimbursementDetailList',
  1107. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursementDetail/list.vue'),
  1108. meta: {
  1109. title: '费用报销明细统计列表',
  1110. icon: 'audit',
  1111. hidden: true,
  1112. permission: 'M_expenseReimbursementDetailList'
  1113. }
  1114. }
  1115. ]
  1116. }
  1117. ]
  1118. },
  1119. // 库存管理
  1120. {
  1121. path: '/inventoryManagement',
  1122. redirect: '/inventoryManagement/inventoryQuery',
  1123. component: PageView,
  1124. meta: {
  1125. title: '库存管理',
  1126. icon: 'shop',
  1127. permission: 'M_inventoryManagement'
  1128. },
  1129. children: [
  1130. {
  1131. path: '/inventoryManagement/inventoryQuery',
  1132. redirect: '/inventoryManagement/inventoryQuery/list',
  1133. name: 'inventoryQuery',
  1134. component: BlankLayout,
  1135. meta: {
  1136. title: '库存查询',
  1137. icon: 'monitor',
  1138. permission: 'M_inventoryQueryList'
  1139. },
  1140. hideChildrenInMenu: true,
  1141. children: [
  1142. {
  1143. path: 'list',
  1144. name: 'inventoryQueryList',
  1145. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/list.vue'),
  1146. meta: {
  1147. title: '库存列表',
  1148. icon: 'monitor',
  1149. hidden: true,
  1150. permission: 'M_inventoryQueryList'
  1151. }
  1152. },
  1153. {
  1154. path: 'warehouseDetail/:sn',
  1155. name: 'inventoryQueryWarehouseDetail',
  1156. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/warehouseDetail.vue'),
  1157. meta: {
  1158. title: '出入库明细',
  1159. icon: 'monitor',
  1160. replaceTab: true,
  1161. hidden: true,
  1162. permission: 'B_inventoryQuery_rkDetail'
  1163. }
  1164. }
  1165. ]
  1166. },
  1167. {
  1168. path: '/inventoryManagement/inventoryCheck',
  1169. redirect: '/inventoryManagement/inventoryCheck/list/0',
  1170. name: 'inventoryCheck',
  1171. component: BlankLayout,
  1172. meta: {
  1173. title: '库存盘点',
  1174. icon: 'monitor',
  1175. permission: 'M_inventoryCheckList'
  1176. },
  1177. hideChildrenInMenu: true,
  1178. children: [
  1179. {
  1180. path: 'list/:type',
  1181. name: 'inventoryCheckList',
  1182. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/list.vue'),
  1183. meta: {
  1184. title: '库存盘点列表',
  1185. icon: 'monitor',
  1186. hidden: true,
  1187. permission: 'M_inventoryCheckList'
  1188. }
  1189. },
  1190. {
  1191. path: 'detail/:sn',
  1192. name: 'inventoryCheckDetail',
  1193. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/detail.vue'),
  1194. meta: {
  1195. title: '库存盘点详情',
  1196. icon: 'monitor',
  1197. hidden: true,
  1198. replaceTab: true,
  1199. permission: 'B_inventoryCheckDetail'
  1200. }
  1201. }
  1202. ]
  1203. },
  1204. {
  1205. path: '/inventoryManagement/makeInventory',
  1206. redirect: '/inventoryManagement/makeInventory/list',
  1207. name: 'makeInventory',
  1208. component: BlankLayout,
  1209. meta: {
  1210. title: '盘点人盘点',
  1211. icon: 'monitor',
  1212. permission: 'M_inventoryMakeInventoryList'
  1213. },
  1214. hideChildrenInMenu: true,
  1215. children: [
  1216. {
  1217. path: 'list',
  1218. name: 'makeInventoryList',
  1219. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/list.vue'),
  1220. meta: {
  1221. title: '盘点人盘点列表',
  1222. icon: 'monitor',
  1223. hidden: true,
  1224. permission: 'M_inventoryMakeInventoryList'
  1225. }
  1226. },
  1227. {
  1228. path: 'check/:sn',
  1229. name: 'makeInventoryCheck',
  1230. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/check.vue'),
  1231. meta: {
  1232. title: '盘点人盘点',
  1233. icon: 'monitor',
  1234. hidden: true,
  1235. replaceTab: true,
  1236. permission: 'B_inventoryMakeInventoryCheck'
  1237. }
  1238. }
  1239. ]
  1240. },
  1241. {
  1242. path: '/inventoryManagement/supervisionDisk',
  1243. redirect: '/inventoryManagement/supervisionDisk/list',
  1244. name: 'supervisionDisk',
  1245. component: BlankLayout,
  1246. meta: {
  1247. title: '监盘人盘点',
  1248. icon: 'monitor',
  1249. permission: 'M_supervisionDiskList'
  1250. },
  1251. hideChildrenInMenu: true,
  1252. children: [
  1253. {
  1254. path: 'list',
  1255. name: 'supervisionDiskList',
  1256. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/list.vue'),
  1257. meta: {
  1258. title: '监盘人盘点列表',
  1259. icon: 'monitor',
  1260. hidden: true,
  1261. permission: 'M_supervisionDiskList'
  1262. }
  1263. },
  1264. {
  1265. path: 'check/:sn',
  1266. name: 'supervisionDiskCheck',
  1267. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/check.vue'),
  1268. meta: {
  1269. title: '监盘人监盘',
  1270. icon: 'monitor',
  1271. replaceTab: true,
  1272. hidden: true,
  1273. permission: 'B_supervisionDiskCheck'
  1274. }
  1275. }
  1276. ]
  1277. },
  1278. {
  1279. path: '/inventoryManagement/inventoryWarning',
  1280. redirect: '/inventoryManagement/inventoryWarning/list',
  1281. name: 'inventoryWarning',
  1282. component: BlankLayout,
  1283. meta: {
  1284. title: '库存预警',
  1285. icon: 'monitor',
  1286. permission: 'M_inventoryWarningList'
  1287. },
  1288. hideChildrenInMenu: true,
  1289. children: [
  1290. {
  1291. path: 'list',
  1292. name: 'inventoryWarningList',
  1293. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryWarning/list.vue'),
  1294. meta: {
  1295. title: '库存预警列表',
  1296. icon: 'alert',
  1297. permission: 'M_inventoryWarningList'
  1298. }
  1299. }
  1300. ]
  1301. },
  1302. {
  1303. path: '/inventoryManagement/intelligentReplenishment',
  1304. redirect: '/inventoryManagement/intelligentReplenishment/list',
  1305. name: 'intelligentReplenishment',
  1306. component: BlankLayout,
  1307. meta: {
  1308. title: '智能补货',
  1309. icon: 'monitor',
  1310. permission: 'M_intelligentReplenishmentList'
  1311. },
  1312. hideChildrenInMenu: true,
  1313. children: [
  1314. {
  1315. path: 'list',
  1316. name: 'intelligentReplenishmentList',
  1317. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/list.vue'),
  1318. meta: {
  1319. title: '智能补货列表',
  1320. icon: 'monitor',
  1321. hidden: true,
  1322. permission: 'M_intelligentReplenishmentList'
  1323. }
  1324. },
  1325. {
  1326. path: 'add/:sn',
  1327. name: 'intelligentReplenishmentAdd',
  1328. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1329. meta: {
  1330. title: '新增智能补货',
  1331. icon: 'monitor',
  1332. hidden: true,
  1333. permission: 'B_intelligentReplenishment_edit'
  1334. }
  1335. },
  1336. {
  1337. path: 'edit/:sn',
  1338. name: 'intelligentReplenishmentEdit',
  1339. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  1340. meta: {
  1341. title: '编辑智能补货',
  1342. icon: 'monitor',
  1343. hidden: true,
  1344. permission: 'B_intelligentReplenishment_edit'
  1345. }
  1346. },
  1347. {
  1348. path: 'set',
  1349. name: 'intelligentReplenishmentSet',
  1350. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/set.vue'),
  1351. meta: {
  1352. title: '基础信息设置',
  1353. icon: 'monitor',
  1354. permission: 'B_intelligentReplenishment_set'
  1355. replaceTab: true,
  1356. hidden: true
  1357. }
  1358. },
  1359. {
  1360. path: 'import',
  1361. name: 'intelligentReplenishmentImport',
  1362. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/import.vue'),
  1363. meta: {
  1364. title: '确认导入',
  1365. icon: 'monitor',
  1366. replaceTab: true,
  1367. hidden: true
  1368. }
  1369. },
  1370. {
  1371. path: 'explainXsbz',
  1372. name: 'intelligentReplenishmentExplainXsbz',
  1373. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/explainXsbz.vue'),
  1374. meta: {
  1375. title: '销售保障法-说明',
  1376. icon: 'monitor',
  1377. hidden: true
  1378. }
  1379. },
  1380. {
  1381. path: 'explainQspj',
  1382. name: 'intelligentReplenishmentExplainQspj',
  1383. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/explainQspj.vue'),
  1384. meta: {
  1385. title: '趋势平均法-说明',
  1386. icon: 'monitor',
  1387. hidden: true
  1388. }
  1389. }
  1390. ]
  1391. }
  1392. ]
  1393. },
  1394. // 调拨管理
  1395. {
  1396. path: '/allocationManagement',
  1397. redirect: '/allocationManagement/transferOut',
  1398. component: PageView,
  1399. meta: {
  1400. title: '调拨管理',
  1401. icon: 'cluster',
  1402. permission: 'M_allocationManagement'
  1403. },
  1404. children: [
  1405. {
  1406. path: '/allocationManagement/transferOut',
  1407. redirect: '/allocationManagement/transferOut/list',
  1408. name: 'transferOut',
  1409. component: BlankLayout,
  1410. meta: {
  1411. title: '调拨列表',
  1412. icon: 'pull-request',
  1413. permission: 'M_transferOutList'
  1414. },
  1415. hideChildrenInMenu: true,
  1416. children: [
  1417. {
  1418. path: 'list',
  1419. name: 'transferOutList',
  1420. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/list.vue'),
  1421. meta: {
  1422. title: '调拨列表',
  1423. icon: 'pull-request',
  1424. hidden: true,
  1425. permission: 'M_transferOutList'
  1426. }
  1427. },
  1428. {
  1429. path: 'add/:sn/:dealerLevel',
  1430. name: 'transferOutAdd',
  1431. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1432. meta: {
  1433. title: '新增调拨单',
  1434. icon: 'pull-request',
  1435. hidden: true,
  1436. permission: 'M_transferOut_edit'
  1437. }
  1438. },
  1439. {
  1440. path: 'edit/:sn/:dealerLevel',
  1441. name: 'transferOutEdit',
  1442. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1443. meta: {
  1444. title: '编辑调拨单',
  1445. icon: 'pull-request',
  1446. hidden: true,
  1447. permission: 'M_transferOut_edit'
  1448. }
  1449. },
  1450. {
  1451. path: 'detail/:sn',
  1452. name: 'transferOutDetail',
  1453. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/detail.vue'),
  1454. meta: {
  1455. title: '调拨单详情',
  1456. icon: 'pull-request',
  1457. hidden: true,
  1458. replaceTab: true,
  1459. permission: 'M_transferOut_detail'
  1460. }
  1461. }
  1462. ]
  1463. },
  1464. {
  1465. path: '/allocationManagement/transfersPrint',
  1466. redirect: '/allocationManagement/transfersPrint/list',
  1467. name: 'transfersPrint',
  1468. component: BlankLayout,
  1469. meta: {
  1470. title: '调拨打印',
  1471. icon: 'pull-request',
  1472. permission: 'M_transfersPrintList'
  1473. },
  1474. hideChildrenInMenu: true,
  1475. children: [
  1476. {
  1477. path: 'list',
  1478. name: 'transfersPrintList',
  1479. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transfersPrint/list.vue'),
  1480. meta: {
  1481. title: '调拨打印',
  1482. icon: 'pull-request',
  1483. hidden: true,
  1484. permission: 'M_transfersPrintList'
  1485. }
  1486. }
  1487. ]
  1488. },
  1489. {
  1490. path: '/allocationManagement/matchSendOutOrder',
  1491. redirect: '/allocationManagement/matchSendOutOrder/list',
  1492. name: 'matchSendOutOrderAllocation',
  1493. component: BlankLayout,
  1494. meta: {
  1495. title: '调拨发货对单',
  1496. icon: 'vertical-align-bottom',
  1497. permission: 'M_matchSendOutOrderAllocationList'
  1498. },
  1499. hideChildrenInMenu: true,
  1500. children: [
  1501. {
  1502. path: 'list',
  1503. name: 'matchSendOutOrderAllocationList',
  1504. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/matchSendOutOrder/list.vue'),
  1505. meta: {
  1506. title: '调拨发货对单',
  1507. icon: 'vertical-align-bottom',
  1508. hidden: true,
  1509. permission: 'M_matchSendOutOrderAllocationList'
  1510. }
  1511. }
  1512. ]
  1513. },
  1514. {
  1515. path: '/allocationManagement/transferReturn',
  1516. redirect: '/allocationManagement/transferReturn/list',
  1517. name: 'transferReturn',
  1518. component: BlankLayout,
  1519. meta: {
  1520. title: '调拨退货列表',
  1521. icon: 'pull-request',
  1522. permission: 'M_transferReturnList'
  1523. },
  1524. hideChildrenInMenu: true,
  1525. children: [
  1526. {
  1527. path: 'list',
  1528. name: 'transferReturnList',
  1529. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/list.vue'),
  1530. meta: {
  1531. title: '调拨退货列表',
  1532. icon: 'pull-request',
  1533. hidden: true,
  1534. permission: 'M_transferReturnList'
  1535. }
  1536. },
  1537. {
  1538. path: 'editGrap/:sn/:targetType',
  1539. name: 'transferReturnGrpEdit',
  1540. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/editGrp.vue'),
  1541. meta: {
  1542. title: '编辑调拨退货单(抓单)',
  1543. icon: 'pull-request',
  1544. hidden: true,
  1545. permission: 'B_transferReturnEdit'
  1546. }
  1547. },
  1548. {
  1549. path: 'edit/:sn/:targetType/:dealerLevel',
  1550. name: 'transferReturnEdit',
  1551. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/edit.vue'),
  1552. meta: {
  1553. title: '编辑调拨退货单(不抓单)',
  1554. icon: 'pull-request',
  1555. hidden: true,
  1556. permission: 'B_transferReturnEdit'
  1557. }
  1558. },
  1559. {
  1560. path: 'detail/:sn',
  1561. name: 'transferReturnDetail',
  1562. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/detail.vue'),
  1563. meta: {
  1564. title: '调拨退货单详情',
  1565. icon: 'pull-request',
  1566. replaceTab: true,
  1567. hidden: true,
  1568. permission: 'M_transferReturnDetail'
  1569. }
  1570. },
  1571. {
  1572. path: 'check/:sn/:grabFlag',
  1573. name: 'transferReturnCheck',
  1574. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/check.vue'),
  1575. meta: {
  1576. title: '调拨退货品检',
  1577. icon: 'fund',
  1578. replaceTab: true,
  1579. hidden: true,
  1580. permission: 'M_transferReturnCheck'
  1581. }
  1582. }
  1583. ]
  1584. }
  1585. ]
  1586. },
  1587. // 报表
  1588. {
  1589. path: '/reportData',
  1590. redirect: '/reportData/salesOrderTotal',
  1591. component: PageView,
  1592. meta: {
  1593. title: '报表',
  1594. icon: 'project',
  1595. permission: 'M_reportData'
  1596. },
  1597. children: [
  1598. {
  1599. path: '/reportData/salesOrderTotal',
  1600. redirect: '/reportData/salesOrderTotal/list',
  1601. name: 'salesOrderTotal',
  1602. component: BlankLayout,
  1603. meta: {
  1604. title: '销售(开单统计)',
  1605. icon: 'profile',
  1606. permission: 'M_salesOrderTotalList'
  1607. },
  1608. hideChildrenInMenu: true,
  1609. children: [
  1610. {
  1611. path: 'list',
  1612. name: 'salesOrderTotalList',
  1613. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesOrderTotal/list.vue'),
  1614. meta: {
  1615. title: '销售(开单统计)列表',
  1616. icon: 'profile',
  1617. hidden: true,
  1618. permission: 'M_salesOrderTotalList'
  1619. }
  1620. }
  1621. ]
  1622. },
  1623. {
  1624. path: '/reportData/salesDetails',
  1625. redirect: '/reportData/salesDetails/list',
  1626. name: 'salesDetails',
  1627. component: BlankLayout,
  1628. meta: {
  1629. title: '销售明细(开单统计)',
  1630. icon: 'profile',
  1631. permission: 'M_salesDetailsList'
  1632. },
  1633. hideChildrenInMenu: true,
  1634. children: [
  1635. {
  1636. path: 'list',
  1637. name: 'salesDetailsList',
  1638. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesDetails/list.vue'),
  1639. meta: {
  1640. title: '销售明细列表',
  1641. icon: 'profile',
  1642. hidden: true,
  1643. permission: 'M_salesDetailsList'
  1644. }
  1645. }
  1646. ]
  1647. },
  1648. {
  1649. path: '/reportData/actualSalesReport',
  1650. redirect: '/reportData/actualSalesReport/list',
  1651. name: 'actualSalesReport',
  1652. component: BlankLayout,
  1653. meta: {
  1654. title: '实售销售报表',
  1655. icon: 'profile',
  1656. permission: 'M_actualSalesReportList'
  1657. },
  1658. hideChildrenInMenu: true,
  1659. children: [
  1660. {
  1661. path: 'list',
  1662. name: 'actualSalesReportList',
  1663. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/actualSalesReport/list.vue'),
  1664. meta: {
  1665. title: '实售销售列表',
  1666. icon: 'profile',
  1667. hidden: true,
  1668. permission: 'M_actualSalesReportList'
  1669. }
  1670. }
  1671. ]
  1672. },
  1673. {
  1674. path: '/reportData/salesAmountReport',
  1675. redirect: '/reportData/salesAmountReport/list',
  1676. name: 'salesAmountReport',
  1677. component: BlankLayout,
  1678. meta: {
  1679. title: '开单销售报表',
  1680. icon: 'profile',
  1681. permission: 'M_salesAmountReportList'
  1682. },
  1683. hideChildrenInMenu: true,
  1684. children: [{
  1685. path: 'list',
  1686. name: 'salesAmountReportList',
  1687. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesAmountReport/list.vue'),
  1688. meta: {
  1689. title: '开单销售报表列表',
  1690. icon: 'profile',
  1691. hidden: true,
  1692. permission: 'M_salesAmountReportList'
  1693. }
  1694. }]
  1695. },
  1696. {
  1697. path: '/reportData/salesSlipReport',
  1698. redirect: '/reportData/salesSlipReport/list',
  1699. name: 'salesSlipReport',
  1700. component: BlankLayout,
  1701. meta: {
  1702. title: '开单销售单报表',
  1703. icon: 'profile',
  1704. permission: 'M_salesSlipReportList'
  1705. },
  1706. hideChildrenInMenu: true,
  1707. children: [{
  1708. path: 'list',
  1709. name: 'salesSlipReportList',
  1710. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesSlipReport/list.vue'),
  1711. meta: {
  1712. title: '开单销售单报表列表',
  1713. icon: 'profile',
  1714. hidden: true,
  1715. permission: 'M_salesSlipReportList'
  1716. }
  1717. }]
  1718. },
  1719. {
  1720. path: '/reportData/allocationOrderTotal',
  1721. redirect: '/reportData/allocationOrderTotal/list',
  1722. name: 'allocationOrderTotal',
  1723. component: BlankLayout,
  1724. meta: {
  1725. title: '调拨开单统计',
  1726. icon: 'profile',
  1727. permission: 'M_allocationOrderTotalList'
  1728. },
  1729. hideChildrenInMenu: true,
  1730. children: [
  1731. {
  1732. path: 'list',
  1733. name: 'allocationOrderTotalList',
  1734. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationOrderTotal/list.vue'),
  1735. meta: {
  1736. title: '调拨开单列表',
  1737. icon: 'profile',
  1738. hidden: true,
  1739. permission: 'M_allocationOrderTotalList'
  1740. }
  1741. }
  1742. ]
  1743. },
  1744. {
  1745. path: '/reportData/allocationDetails',
  1746. redirect: '/reportData/allocationDetails/list',
  1747. name: 'allocationDetails',
  1748. component: BlankLayout,
  1749. meta: {
  1750. title: '调拨明细',
  1751. icon: 'profile',
  1752. permission: 'M_allocationDetailsList'
  1753. },
  1754. hideChildrenInMenu: true,
  1755. children: [
  1756. {
  1757. path: 'list',
  1758. name: 'allocationDetailsList',
  1759. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationDetails/list.vue'),
  1760. meta: {
  1761. title: '调拨明细列表',
  1762. icon: 'profile',
  1763. hidden: true,
  1764. permission: 'M_allocationDetailsList'
  1765. }
  1766. }
  1767. ]
  1768. },
  1769. {
  1770. path: '/reportData/urchaseReturn',
  1771. redirect: '/reportData/urchaseReturn/list',
  1772. name: 'urchaseReturnList',
  1773. component: BlankLayout,
  1774. meta: {
  1775. title: '采购退货单报表',
  1776. icon: 'profile',
  1777. permission: 'M_urchaseReturn'
  1778. },
  1779. hideChildrenInMenu: true,
  1780. children: [
  1781. {
  1782. path: 'list',
  1783. name: 'urchaseReturnList',
  1784. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseReturn/list.vue'),
  1785. meta: {
  1786. title: '采购退货单报表列表',
  1787. icon: 'profile',
  1788. hidden: true,
  1789. permission: 'M_urchaseReturnList'
  1790. }
  1791. }
  1792. ]
  1793. },
  1794. {
  1795. path: '/reportData/urchaseDetailReturn',
  1796. redirect: '/reportData/urchaseDetailReturn/detailList',
  1797. name: 'urchaseDetailReturnList',
  1798. component: BlankLayout,
  1799. meta: {
  1800. title: '采购退货单明细报表',
  1801. icon: 'profile',
  1802. permission: 'M_urchaseDetailReturn'
  1803. },
  1804. hideChildrenInMenu: true,
  1805. children: [
  1806. {
  1807. path: 'detailList',
  1808. name: 'urchaseDetailReturnList',
  1809. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urchaseDetailReturn/detailList.vue'),
  1810. meta: {
  1811. title: '采购退货单明细报表列表',
  1812. icon: 'profile',
  1813. hidden: true,
  1814. permission: 'M_urchaseDetailReturnList'
  1815. }
  1816. }
  1817. ]
  1818. },
  1819. {
  1820. path: '/reportData/salesReturnsReport',
  1821. redirect: '/reportData/salesReturnsReport/list',
  1822. name: 'salesReturnsReport',
  1823. component: BlankLayout,
  1824. meta: {
  1825. title: '销售退货单报表',
  1826. icon: 'profile',
  1827. permission: 'M_salesReturnsReportList'
  1828. },
  1829. hideChildrenInMenu: true,
  1830. children: [
  1831. {
  1832. path: 'list',
  1833. name: 'salesReturnsReportList',
  1834. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnsReport/list.vue'),
  1835. meta: {
  1836. title: '销售退货单报表列表',
  1837. icon: 'profile',
  1838. hidden: true,
  1839. permission: 'M_salesReturnsReportList'
  1840. }
  1841. }
  1842. ]
  1843. },
  1844. {
  1845. path: '/reportData/salesReturnDetailReport',
  1846. redirect: '/reportData/salesReturnDetailReport/list',
  1847. name: 'salesReturnDetailReport',
  1848. component: BlankLayout,
  1849. meta: {
  1850. title: '销售退货明细报表',
  1851. icon: 'profile',
  1852. permission: 'M_salesReturnDetailReportList'
  1853. },
  1854. hideChildrenInMenu: true,
  1855. children: [{
  1856. path: 'list',
  1857. name: 'salesReturnDetailReportList',
  1858. component: () => import(/* webpackChunkName: "reportData" */
  1859. '@/views/reportData/salesReturnDetailReport/list.vue'),
  1860. meta: {
  1861. title: '销售退货明细报表列表',
  1862. icon: 'profile',
  1863. hidden: true,
  1864. permission: 'M_salesReturnDetailReportList'
  1865. }
  1866. }]
  1867. },
  1868. {
  1869. path: '/reportData/transferReturnReport',
  1870. redirect: '/reportData/transferReturnReport/list',
  1871. name: 'transferReturnReport',
  1872. component: BlankLayout,
  1873. meta: {
  1874. title: '调拨退货单报表',
  1875. icon: 'profile',
  1876. permission: 'M_transferReturnReportList'
  1877. },
  1878. hideChildrenInMenu: true,
  1879. children: [
  1880. {
  1881. path: 'list',
  1882. name: 'transferReturnReportList',
  1883. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnReport/list.vue'),
  1884. meta: {
  1885. title: '调拨退货单报表列表',
  1886. icon: 'profile',
  1887. hidden: true,
  1888. permission: 'M_transferReturnReportList'
  1889. }
  1890. }
  1891. ]
  1892. },
  1893. {
  1894. path: '/reportData/transferReturnDetailReport',
  1895. redirect: '/reportData/transferReturnDetailReport/list',
  1896. name: 'transferReturnDetailReport',
  1897. component: BlankLayout,
  1898. meta: {
  1899. title: '调拨退货单明细报表',
  1900. icon: 'profile',
  1901. permission: 'M_transferReturnDetailReportList'
  1902. },
  1903. hideChildrenInMenu: true,
  1904. children: [{
  1905. path: 'list',
  1906. name: 'transferReturnDetailReportList',
  1907. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnDetailReport/list.vue'),
  1908. meta: {
  1909. title: '调拨退货单明细报表列表',
  1910. icon: 'profile',
  1911. hidden: true,
  1912. permission: 'M_transferReturnDetailReportList'
  1913. }
  1914. }]
  1915. },
  1916. {
  1917. path: '/reportData/salesReturnReport',
  1918. redirect: '/reportData/salesReturnReport/list',
  1919. name: 'salesReturnReport',
  1920. component: BlankLayout,
  1921. meta: {
  1922. title: '实售退货报表',
  1923. icon: 'profile',
  1924. permission: 'M_salesReturnReportList'
  1925. },
  1926. hideChildrenInMenu: true,
  1927. children: [
  1928. {
  1929. path: 'list',
  1930. name: 'salesReturnReportList',
  1931. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/list.vue'),
  1932. meta: {
  1933. title: '实售退货列表',
  1934. icon: 'profile',
  1935. hidden: true,
  1936. permission: 'M_salesReturnReportList'
  1937. }
  1938. }
  1939. ]
  1940. },
  1941. {
  1942. path: '/reportData/billingReturnReport',
  1943. redirect: '/reportData/billingReturnReport/list',
  1944. name: 'billingReturnReport',
  1945. component: BlankLayout,
  1946. meta: {
  1947. title: '开单退货报表',
  1948. icon: 'profile',
  1949. permission: 'M_billingReturnReportList'
  1950. },
  1951. hideChildrenInMenu: true,
  1952. children: [
  1953. {
  1954. path: 'list',
  1955. name: 'billingReturnReportList',
  1956. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingReturnReport/list.vue'),
  1957. meta: {
  1958. title: '开单退货列表',
  1959. icon: 'profile',
  1960. hidden: true,
  1961. permission: 'M_billingReturnReportList'
  1962. }
  1963. }
  1964. ]
  1965. },
  1966. {
  1967. path: '/reportData/returnSlipReport',
  1968. redirect: '/reportData/returnSlipReport/list',
  1969. name: 'returnSlipReport',
  1970. component: BlankLayout,
  1971. meta: {
  1972. title: '开单退货单报表',
  1973. icon: 'profile',
  1974. permission: 'M_returnSlipReportList'
  1975. },
  1976. hideChildrenInMenu: true,
  1977. children: [{
  1978. path: 'list',
  1979. name: 'returnSlipReportList',
  1980. component: () => import(/* webpackChunkName: "reportData" */
  1981. '@/views/reportData/returnSlipReport/list.vue'),
  1982. meta: {
  1983. title: '开单退货单报表列表',
  1984. icon: 'profile',
  1985. hidden: true,
  1986. permission: 'M_returnSlipReportList'
  1987. }
  1988. }]
  1989. },
  1990. {
  1991. path: '/reportData/billingBackReport',
  1992. redirect: '/reportData/billingBackReport/list',
  1993. name: 'billingBackReport',
  1994. component: BlankLayout,
  1995. meta: {
  1996. title: '开单采退报表',
  1997. icon: 'profile',
  1998. permission: 'M_billingBackReport'
  1999. },
  2000. hideChildrenInMenu: true,
  2001. children: [{
  2002. path: 'list',
  2003. name: 'billingBackReportList',
  2004. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingBackReport/list.vue'),
  2005. meta: {
  2006. title: '开单采退报表列表',
  2007. icon: 'profile',
  2008. hidden: true,
  2009. permission: 'M_billingBackReportList'
  2010. }
  2011. }]
  2012. },
  2013. {
  2014. path: '/reportData/billingOrderReport',
  2015. redirect: '/reportData/billingOrderReport/list',
  2016. name: 'billingOrderReport',
  2017. component: BlankLayout,
  2018. meta: {
  2019. title: '开单采退单报表',
  2020. icon: 'profile',
  2021. permission: 'M_billingOrderReport'
  2022. },
  2023. hideChildrenInMenu: true,
  2024. children: [{
  2025. path: 'list',
  2026. name: 'billingOrderReportList',
  2027. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingOrderReport/list.vue'),
  2028. meta: {
  2029. title: '开单采退单报表列表',
  2030. icon: 'profile',
  2031. hidden: true,
  2032. permission: 'M_billingOrderReportList'
  2033. }
  2034. }]
  2035. },
  2036. {
  2037. path: '/reportData/hPriceDifferenceDetailReport',
  2038. redirect: '/reportData/hPriceDifferenceDetailReport/list',
  2039. name: 'hPriceDifferenceDetailReport',
  2040. component: BlankLayout,
  2041. meta: {
  2042. title: '总部差价明细报表',
  2043. icon: 'profile',
  2044. permission: 'M_hPriceDifferenceDetailReportList'
  2045. },
  2046. hideChildrenInMenu: true,
  2047. children: [
  2048. {
  2049. path: 'list',
  2050. name: 'hPriceDifferenceDetailReportList',
  2051. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/hPriceDifferenceDetailReport/list.vue'),
  2052. meta: {
  2053. title: '总部差价明细列表',
  2054. icon: 'profile',
  2055. hidden: true,
  2056. permission: 'M_hPriceDifferenceDetailReportList'
  2057. }
  2058. }
  2059. ]
  2060. },
  2061. {
  2062. path: '/reportData/priceDifferenceDetailReport',
  2063. redirect: '/reportData/priceDifferenceDetailReport/list',
  2064. name: 'priceDifferenceDetailReport',
  2065. component: BlankLayout,
  2066. meta: {
  2067. title: '差价明细报表',
  2068. icon: 'profile',
  2069. permission: 'M_priceDifferenceDetailReportList'
  2070. },
  2071. hideChildrenInMenu: true,
  2072. children: [
  2073. {
  2074. path: 'list',
  2075. name: 'priceDifferenceDetailReportList',
  2076. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/priceDifferenceDetailReport/list.vue'),
  2077. meta: {
  2078. title: '差价明细列表',
  2079. icon: 'profile',
  2080. hidden: true,
  2081. permission: 'M_priceDifferenceDetailReportList'
  2082. }
  2083. }
  2084. ]
  2085. },
  2086. {
  2087. path: '/reportData/regionTypeSalesReport',
  2088. redirect: '/reportData/regionTypeSalesReport/list',
  2089. name: 'regionTypeSalesReport',
  2090. component: BlankLayout,
  2091. meta: {
  2092. title: '各分区品类实售明细',
  2093. icon: 'profile',
  2094. permission: 'M_regionTypeSalesReportList'
  2095. },
  2096. hideChildrenInMenu: true,
  2097. children: [
  2098. {
  2099. path: 'list',
  2100. name: 'regionTypeSalesReportList',
  2101. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/regionTypeSalesReport/list.vue'),
  2102. meta: {
  2103. title: '各分区品类实售明细',
  2104. icon: 'profile',
  2105. hidden: true,
  2106. permission: 'M_regionTypeSalesReportList'
  2107. }
  2108. }
  2109. ]
  2110. },
  2111. {
  2112. path: '/reportData/warehousingOrder',
  2113. redirect: '/reportData/warehousingOrder/list',
  2114. name: 'warehousingOrder',
  2115. component: BlankLayout,
  2116. meta: {
  2117. title: '入库单报表',
  2118. icon: 'profile',
  2119. permission: 'M_warehousingOrderList'
  2120. },
  2121. hideChildrenInMenu: true,
  2122. children: [
  2123. {
  2124. path: 'list',
  2125. name: 'warehousingOrderList',
  2126. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrder/list.vue'),
  2127. meta: {
  2128. title: '入库单报表列表',
  2129. icon: 'profile',
  2130. hidden: true,
  2131. permission: 'M_warehousingOrderList'
  2132. }
  2133. }
  2134. ]
  2135. },
  2136. {
  2137. path: '/reportData/warehousingOrderDetail',
  2138. redirect: '/reportData/warehousingOrderDetail/list',
  2139. name: 'warehousingOrderDetail',
  2140. component: BlankLayout,
  2141. meta: {
  2142. title: '入库单明细报表',
  2143. icon: 'profile',
  2144. permission: 'M_warehousingOrderDetailList'
  2145. },
  2146. hideChildrenInMenu: true,
  2147. children: [
  2148. {
  2149. path: 'list',
  2150. name: 'warehousingOrderDetailList',
  2151. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrderDetail/list.vue'),
  2152. meta: {
  2153. title: '入库单明细报表列表',
  2154. icon: 'profile',
  2155. hidden: true,
  2156. permission: 'M_warehousingOrderDetailList'
  2157. }
  2158. }
  2159. ]
  2160. },
  2161. {
  2162. path: '/reportData/salesPresentation',
  2163. redirect: '/reportData/salesPresentation/list',
  2164. name: 'salesPresentation',
  2165. component: BlankLayout,
  2166. meta: {
  2167. title: '销售交单报表',
  2168. icon: 'profile',
  2169. permission: 'M_salesPresentationList'
  2170. },
  2171. hideChildrenInMenu: true,
  2172. children: [
  2173. {
  2174. path: 'list',
  2175. name: 'salesPresentationList',
  2176. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesPresentation/list.vue'),
  2177. meta: {
  2178. title: '销售交单报表列表',
  2179. icon: 'profile',
  2180. hidden: true,
  2181. permission: 'M_salesPresentationList'
  2182. }
  2183. }
  2184. ]
  2185. },
  2186. {
  2187. path: '/reportData/allocationPresentation',
  2188. redirect: '/reportData/allocationPresentation/list',
  2189. name: 'allocationPresentation',
  2190. component: BlankLayout,
  2191. meta: {
  2192. title: '调拨交单报表',
  2193. icon: 'profile',
  2194. permission: 'M_allocationPresentationList'
  2195. },
  2196. hideChildrenInMenu: true,
  2197. children: [
  2198. {
  2199. path: 'list',
  2200. name: 'allocationPresentationList',
  2201. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationPresentation/list.vue'),
  2202. meta: {
  2203. title: '调拨交单报表列表',
  2204. icon: 'profile',
  2205. hidden: true,
  2206. permission: 'M_allocationPresentationList'
  2207. }
  2208. }
  2209. ]
  2210. },
  2211. {
  2212. path: '/reportData/returnGoodsPresentation',
  2213. redirect: '/reportData/returnGoodsPresentation/list',
  2214. name: 'returnGoodsPresentation',
  2215. component: BlankLayout,
  2216. meta: {
  2217. title: '退货交单报表',
  2218. icon: 'profile',
  2219. permission: 'M_returnGoodsPresentationList'
  2220. },
  2221. hideChildrenInMenu: true,
  2222. children: [
  2223. {
  2224. path: 'list',
  2225. name: 'returnGoodsPresentationList',
  2226. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/returnGoodsPresentation/list.vue'),
  2227. meta: {
  2228. title: '退货交单报表列表',
  2229. icon: 'profile',
  2230. hidden: true,
  2231. permission: 'M_returnGoodsPresentationList'
  2232. }
  2233. }
  2234. ]
  2235. },
  2236. {
  2237. path: '/reportData/expenseAccountBearerReport',
  2238. redirect: '/reportData/expenseAccountBearerReport/list',
  2239. name: 'expenseAccountBearerReport',
  2240. component: BlankLayout,
  2241. meta: {
  2242. title: '费用汇总报表(按承担方)',
  2243. icon: 'profile',
  2244. permission: 'M_expenseAccountBearerReportList'
  2245. },
  2246. hideChildrenInMenu: true,
  2247. children: [
  2248. {
  2249. path: 'list',
  2250. name: 'expenseAccountBearerReportList',
  2251. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/bearerList.vue'),
  2252. meta: {
  2253. title: '费用汇总报表(按承担方)',
  2254. icon: 'profile',
  2255. hidden: true,
  2256. permission: 'M_expenseAccountBearerReportList'
  2257. }
  2258. }
  2259. ]
  2260. },
  2261. {
  2262. path: '/reportData/expenseAccountCategoryReport',
  2263. redirect: '/reportData/expenseAccountCategoryReport/list',
  2264. name: 'expenseAccountCategoryReport',
  2265. component: BlankLayout,
  2266. meta: {
  2267. title: '费用汇总报表(按品类)',
  2268. icon: 'profile',
  2269. permission: 'M_expenseAccountCategoryReportList'
  2270. },
  2271. hideChildrenInMenu: true,
  2272. children: [
  2273. {
  2274. path: 'list',
  2275. name: 'expenseAccountCategoryReportList',
  2276. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/expenseAccountReport/categoryList.vue'),
  2277. meta: {
  2278. title: '费用汇总报表(按品类)',
  2279. icon: 'profile',
  2280. hidden: true,
  2281. permission: 'M_expenseAccountCategoryReportList'
  2282. }
  2283. }
  2284. ]
  2285. },
  2286. {
  2287. path: '/reportData/receivedSendStorageReport',
  2288. redirect: '/reportData/receivedSendStorageReport/index',
  2289. name: 'receivedSendStorageReport',
  2290. component: BlankLayout,
  2291. meta: {
  2292. title: '收发存报表',
  2293. icon: 'profile'
  2294. // permission: 'M_receivedSendStorageReportIndex'
  2295. },
  2296. hideChildrenInMenu: true,
  2297. children: [
  2298. {
  2299. path: 'index',
  2300. name: 'receivedSendStorageReportIndex',
  2301. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/receivedSendStorageReport/index.vue'),
  2302. meta: {
  2303. title: '收发存报表',
  2304. icon: 'profile',
  2305. hidden: true
  2306. // permission: 'M_receivedSendStorageReportIndex'
  2307. }
  2308. }
  2309. ]
  2310. }
  2311. // {
  2312. // path: '/reportData/allCountryCostReport',
  2313. // redirect: '/reportData/allCountryCostReport/list',
  2314. // name: 'allCountryCostReport',
  2315. // component: BlankLayout,
  2316. // meta: {
  2317. // title: '全国费用统计报表',
  2318. // icon: 'profile'
  2319. // // permission: 'M_nationalCustomerCostStatisticsList'
  2320. // },
  2321. // hideChildrenInMenu: true,
  2322. // children: [
  2323. // {
  2324. // path: 'list',
  2325. // name: 'allCountryCostReportList',
  2326. // component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allCountryCostReport/list.vue'),
  2327. // meta: {
  2328. // title: '全国费用统计报表',
  2329. // icon: 'profile',
  2330. // hidden: true
  2331. // // permission: 'M_nationalCustomerCostStatisticsList'
  2332. // }
  2333. // }
  2334. // ]
  2335. // }
  2336. ]
  2337. },
  2338. // 产品返利明细表
  2339. {
  2340. path: '/productRebateReport',
  2341. redirect: '/productRebateReport/index',
  2342. component: PageView,
  2343. meta: {
  2344. title: '产品返利表',
  2345. icon: 'profile'
  2346. // permission: 'M_productRebateReport'
  2347. },
  2348. children: [
  2349. {
  2350. path: '/productRebateReport/index',
  2351. redirect: '/productRebateReport/index/list',
  2352. name: 'productRebateReportList',
  2353. component: BlankLayout,
  2354. meta: {
  2355. title: '产品返利明细表',
  2356. icon: 'profile'
  2357. // permission: 'M_productRebateReportList'
  2358. },
  2359. hideChildrenInMenu: true,
  2360. children: [
  2361. {
  2362. path: 'list',
  2363. name: 'productRebateReportList',
  2364. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/productRebateReport/index.vue'),
  2365. meta: {
  2366. title: '产品返利明细表',
  2367. icon: 'profile',
  2368. hidden: true
  2369. // permission: 'M_productRebateReportList'
  2370. }
  2371. }
  2372. ]
  2373. }
  2374. ]
  2375. },
  2376. // 数据导出
  2377. {
  2378. path: '/dataExport',
  2379. redirect: '/dataExport/exportSales',
  2380. component: PageView,
  2381. meta: {
  2382. title: '数据导出',
  2383. icon: 'database',
  2384. permission: 'M_dataExport'
  2385. },
  2386. children: [
  2387. {
  2388. path: '/dataExport/exportSales',
  2389. redirect: '/dataExport/exportSales/list',
  2390. name: 'exportSales',
  2391. component: BlankLayout,
  2392. meta: {
  2393. title: '导出销售',
  2394. icon: 'gold',
  2395. permission: 'M_exportSales'
  2396. },
  2397. hideChildrenInMenu: true,
  2398. children: [
  2399. {
  2400. path: 'list',
  2401. name: 'exportSalesList',
  2402. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportSales/list.vue'),
  2403. meta: {
  2404. title: '导出销售',
  2405. icon: 'gold',
  2406. hidden: true,
  2407. permission: 'M_exportSales'
  2408. }
  2409. }
  2410. ]
  2411. },
  2412. {
  2413. path: '/dataExport/exportCheck',
  2414. redirect: '/dataExport/exportCheck/list',
  2415. name: 'exportCheck',
  2416. component: BlankLayout,
  2417. meta: {
  2418. title: '导出盘点',
  2419. icon: 'gold',
  2420. permission: 'M_exportCheck'
  2421. },
  2422. hideChildrenInMenu: true,
  2423. children: [
  2424. {
  2425. path: 'list',
  2426. name: 'exportCheckList',
  2427. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportCheck/list.vue'),
  2428. meta: {
  2429. title: '导出盘点',
  2430. icon: 'gold',
  2431. hidden: true,
  2432. permission: 'M_exportCheck'
  2433. }
  2434. }
  2435. ]
  2436. }
  2437. ]
  2438. },
  2439. // 产品管理
  2440. {
  2441. path: '/productManagement',
  2442. redirect: '/productManagement/productInfo',
  2443. component: PageView,
  2444. meta: {
  2445. title: '产品管理',
  2446. icon: 'shopping',
  2447. permission: 'M_productManagement'
  2448. },
  2449. children: [
  2450. {
  2451. path: '/productManagement/productInfo',
  2452. redirect: '/productManagement/productInfo/list',
  2453. name: 'productInfo',
  2454. component: BlankLayout,
  2455. meta: {
  2456. title: '产品列表',
  2457. icon: 'gold',
  2458. permission: 'M_productInfoList'
  2459. },
  2460. hideChildrenInMenu: true,
  2461. children: [
  2462. {
  2463. path: 'list',
  2464. name: 'productInfoList',
  2465. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/list.vue'),
  2466. meta: {
  2467. title: '产品列表',
  2468. icon: 'gold',
  2469. hidden: true,
  2470. permission: 'M_productInfoList'
  2471. }
  2472. },
  2473. {
  2474. path: 'add',
  2475. name: 'productInfoAdd',
  2476. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2477. meta: {
  2478. title: '新增产品',
  2479. icon: 'gold',
  2480. hidden: true
  2481. // permission: 'B_goodsManage_edit'
  2482. }
  2483. },
  2484. {
  2485. path: 'edit/:id/:sn',
  2486. name: 'productInfoEdit',
  2487. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2488. meta: {
  2489. title: '编辑产品',
  2490. icon: 'gold',
  2491. hidden: true
  2492. // permission: 'B_goodsManage_edit'
  2493. }
  2494. }
  2495. ]
  2496. },
  2497. {
  2498. path: '/productManagement/productPricing',
  2499. redirect: '/productManagement/productPricing/list',
  2500. name: 'productPricing',
  2501. component: BlankLayout,
  2502. meta: {
  2503. title: '产品定价',
  2504. icon: 'transaction',
  2505. permission: 'M_productPricingList'
  2506. },
  2507. hideChildrenInMenu: true,
  2508. children: [
  2509. {
  2510. path: 'list',
  2511. name: 'productPricingList',
  2512. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productPricing/list.vue'),
  2513. meta: {
  2514. title: '产品定价列表',
  2515. icon: 'transaction',
  2516. hidden: true,
  2517. permission: 'M_productPricingList'
  2518. }
  2519. }
  2520. ]
  2521. },
  2522. {
  2523. path: '/productManagement/productLaunchAudit',
  2524. redirect: '/productManagement/productLaunchAudit/list',
  2525. name: 'productLaunchAudit',
  2526. component: BlankLayout,
  2527. meta: {
  2528. title: '产品上线审核',
  2529. icon: 'rise',
  2530. permission: 'M_productLaunchAuditList'
  2531. },
  2532. hideChildrenInMenu: true,
  2533. children: [
  2534. {
  2535. path: 'list',
  2536. name: 'productLaunchAuditList',
  2537. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLaunchAudit/list.vue'),
  2538. meta: {
  2539. title: '产品上线审核列表',
  2540. icon: 'rise',
  2541. hidden: true,
  2542. permission: 'M_productLaunchAuditList'
  2543. }
  2544. }
  2545. ]
  2546. },
  2547. {
  2548. path: '/productManagement/productOfflineAudit',
  2549. redirect: '/productManagement/productOfflineAudit/list',
  2550. name: 'productOfflineAudit',
  2551. component: BlankLayout,
  2552. meta: {
  2553. title: '产品下线审核',
  2554. icon: 'fall',
  2555. permission: 'M_productOfflineAuditList'
  2556. },
  2557. hideChildrenInMenu: true,
  2558. children: [
  2559. {
  2560. path: 'list',
  2561. name: 'productOfflineAuditList',
  2562. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productOfflineAudit/list.vue'),
  2563. meta: {
  2564. title: '产品下线审核列表',
  2565. icon: 'fall',
  2566. hidden: true,
  2567. permission: 'M_productOfflineAuditList'
  2568. }
  2569. }
  2570. ]
  2571. },
  2572. {
  2573. path: '/productManagement/priceChangeRecord',
  2574. redirect: '/productManagement/priceChangeRecord/list',
  2575. name: 'priceChangeRecord',
  2576. component: BlankLayout,
  2577. meta: {
  2578. title: '价格变更记录',
  2579. icon: 'profile',
  2580. permission: 'M_priceChangeRecordList'
  2581. },
  2582. hideChildrenInMenu: true,
  2583. children: [
  2584. {
  2585. path: 'list',
  2586. name: 'priceChangeRecordList',
  2587. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/priceChangeRecord/list.vue'),
  2588. meta: {
  2589. title: '价格变更记录列表',
  2590. icon: 'profile',
  2591. hidden: true,
  2592. permission: 'M_priceChangeRecordList'
  2593. }
  2594. }
  2595. ]
  2596. },
  2597. {
  2598. path: '/productManagement/productUniversal',
  2599. redirect: '/productManagement/productUniversal/list',
  2600. name: 'productUniversal',
  2601. component: BlankLayout,
  2602. meta: {
  2603. title: '通用产品管理',
  2604. icon: 'deployment-unit',
  2605. permission: 'M_productUniversalList'
  2606. },
  2607. hideChildrenInMenu: true,
  2608. children: [
  2609. {
  2610. path: 'list',
  2611. name: 'productUniversalList',
  2612. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productUniversal/list.vue'),
  2613. meta: {
  2614. title: '通用产品列表',
  2615. icon: 'deployment-unit',
  2616. hidden: true,
  2617. permission: 'M_productUniversalList'
  2618. }
  2619. }
  2620. ]
  2621. },
  2622. {
  2623. path: '/productManagement/productLevel',
  2624. redirect: '/productManagement/productLevel/list',
  2625. name: 'productLevel',
  2626. component: BlankLayout,
  2627. meta: {
  2628. title: '产品级别管理',
  2629. icon: 'fund',
  2630. permission: 'M_productLevelList'
  2631. },
  2632. hideChildrenInMenu: true,
  2633. children: [
  2634. {
  2635. path: 'list',
  2636. name: 'productLevelList',
  2637. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLevel/list.vue'),
  2638. meta: {
  2639. title: '产品级别列表',
  2640. icon: 'fund',
  2641. hidden: true,
  2642. permission: 'M_productLevelList'
  2643. }
  2644. }
  2645. ]
  2646. },
  2647. {
  2648. path: '/productManagement/productBrand',
  2649. redirect: '/productManagement/productBrand/list',
  2650. name: 'productBrand',
  2651. component: BlankLayout,
  2652. meta: {
  2653. title: '产品品牌管理',
  2654. icon: 'file-ppt',
  2655. permission: 'M_productBrandList'
  2656. },
  2657. hideChildrenInMenu: true,
  2658. children: [
  2659. {
  2660. path: 'list',
  2661. name: 'productBrandList',
  2662. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productBrand/list.vue'),
  2663. meta: {
  2664. title: '产品品牌列表',
  2665. icon: 'file-ppt',
  2666. hidden: true,
  2667. permission: 'M_productBrandList'
  2668. }
  2669. }
  2670. ]
  2671. },
  2672. {
  2673. path: '/productManagement/productCategory',
  2674. redirect: '/productManagement/productCategory/list',
  2675. name: 'productCategory',
  2676. component: BlankLayout,
  2677. meta: {
  2678. title: '产品分类管理',
  2679. icon: 'radar-chart',
  2680. permission: 'M_productCategoryList'
  2681. },
  2682. hideChildrenInMenu: true,
  2683. children: [
  2684. {
  2685. path: 'list',
  2686. name: 'productCategoryList',
  2687. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productCategory/list.vue'),
  2688. meta: {
  2689. title: '产品分类列表',
  2690. icon: 'radar-chart',
  2691. hidden: true,
  2692. permission: 'M_productCategoryList'
  2693. }
  2694. }
  2695. ]
  2696. },
  2697. {
  2698. path: '/productManagement/shelfNoManage',
  2699. redirect: '/productManagement/shelfNoManage/list',
  2700. name: 'shelfNoManage',
  2701. component: BlankLayout,
  2702. meta: {
  2703. title: '货位编号管理',
  2704. icon: 'radar-chart',
  2705. permission: 'M_shelfNoManageList'
  2706. },
  2707. hideChildrenInMenu: true,
  2708. children: [
  2709. {
  2710. path: 'list',
  2711. name: 'shelfNoManageList',
  2712. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/shelfNoManage/list.vue'),
  2713. meta: {
  2714. title: '货位编号管理',
  2715. icon: 'radar-chart',
  2716. hidden: true,
  2717. permission: 'M_shelfNoManageList'
  2718. }
  2719. }
  2720. ]
  2721. }
  2722. ]
  2723. },
  2724. // 经销商管理
  2725. {
  2726. path: '/dealerManagement',
  2727. redirect: '/dealerManagement/marketingDivisionSet',
  2728. component: PageView,
  2729. meta: {
  2730. title: '经销商管理',
  2731. icon: 'idcard',
  2732. permission: 'M_dealerManagement'
  2733. },
  2734. children: [
  2735. {
  2736. path: '/dealerManagement/merchantInfoManagement',
  2737. redirect: '/dealerManagement/merchantInfoManagement/list',
  2738. name: 'merchantInfoManagement',
  2739. component: BlankLayout,
  2740. meta: {
  2741. title: '经销商资料管理',
  2742. icon: 'file-text',
  2743. permission: 'M_merchantInfoManagementList'
  2744. },
  2745. hideChildrenInMenu: true,
  2746. children: [
  2747. {
  2748. path: 'list',
  2749. name: 'merchantInfoManagementList',
  2750. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/list.vue'),
  2751. meta: {
  2752. title: '经销商资料列表',
  2753. icon: 'file-text',
  2754. hidden: true,
  2755. permission: 'M_merchantInfoManagementList'
  2756. }
  2757. },
  2758. {
  2759. path: 'add',
  2760. name: 'merchantInfoManagementAdd',
  2761. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  2762. meta: {
  2763. title: '新增经销商',
  2764. icon: 'file-text',
  2765. hidden: true
  2766. // permission: 'B_goodsManage_edit'
  2767. }
  2768. },
  2769. {
  2770. path: 'edit/:id',
  2771. name: 'merchantInfoManagementEdit',
  2772. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  2773. meta: {
  2774. title: '编辑经销商',
  2775. icon: 'file-text',
  2776. hidden: true
  2777. // permission: 'B_goodsManage_edit'
  2778. }
  2779. },
  2780. {
  2781. path: 'permissionSetting/:sn',
  2782. name: 'merchantInfoManagementSet',
  2783. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/permissionSetting.vue'),
  2784. meta: {
  2785. title: '经销权设置',
  2786. icon: 'file-text',
  2787. replaceTab: true,
  2788. hidden: true
  2789. // permission: 'B_goodsManage_edit'
  2790. }
  2791. }
  2792. ]
  2793. },
  2794. {
  2795. path: '/dealerManagement/dealerAccountManagement',
  2796. redirect: '/dealerManagement/dealerAccountManagement/list',
  2797. name: 'dealerAccountManagement',
  2798. component: BlankLayout,
  2799. meta: {
  2800. title: '经销商账号管理',
  2801. icon: 'team',
  2802. permission: 'M_dealerAccountManagementList'
  2803. },
  2804. hideChildrenInMenu: true,
  2805. children: [
  2806. {
  2807. path: 'list',
  2808. name: 'dealerAccountManagementList',
  2809. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerAccountManagement/list.vue'),
  2810. meta: {
  2811. title: '经销商账号列表',
  2812. icon: 'team',
  2813. hidden: true,
  2814. permission: 'M_dealerAccountManagementList'
  2815. }
  2816. }
  2817. ]
  2818. },
  2819. {
  2820. path: '/dealerManagement/dealerRelationshipBinding',
  2821. redirect: '/dealerManagement/dealerRelationshipBinding/list',
  2822. name: 'dealerRelationshipBinding',
  2823. component: BlankLayout,
  2824. meta: {
  2825. title: '经销商关系绑定',
  2826. icon: 'share-alt',
  2827. permission: 'M_dealerRelationshipBindingList'
  2828. },
  2829. hideChildrenInMenu: true,
  2830. children: [
  2831. {
  2832. path: 'list',
  2833. name: 'dealerRelationshipBindingList',
  2834. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerRelationshipBinding/list.vue'),
  2835. meta: {
  2836. title: '经销商关系绑定列表',
  2837. icon: 'share-alt',
  2838. hidden: true,
  2839. permission: 'M_dealerRelationshipBindingList'
  2840. }
  2841. }
  2842. ]
  2843. },
  2844. {
  2845. path: '/dealerManagement/rebateSettings',
  2846. redirect: '/dealerManagement/rebateSettings/list',
  2847. name: 'rebateSettings',
  2848. component: BlankLayout,
  2849. meta: {
  2850. title: '差价归属设置',
  2851. icon: 'stock',
  2852. permission: 'M_rebateSettingsList'
  2853. },
  2854. hideChildrenInMenu: true,
  2855. children: [
  2856. {
  2857. path: 'list',
  2858. name: 'rebateSettingsList',
  2859. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/rebateSettings/list.vue'),
  2860. meta: {
  2861. title: '差价归属设置列表',
  2862. icon: 'stock',
  2863. hidden: true,
  2864. permission: 'M_rebateSettingsList'
  2865. }
  2866. }
  2867. ]
  2868. },
  2869. {
  2870. path: '/dealerManagement/businessOwnerSettings',
  2871. redirect: '/dealerManagement/businessOwnerSettings/list',
  2872. name: 'businessOwnerSettings',
  2873. component: BlankLayout,
  2874. meta: {
  2875. title: '业务负责人配置',
  2876. icon: 'stock'
  2877. // permission: 'M_businessOwnerSettingsList'
  2878. },
  2879. hideChildrenInMenu: true,
  2880. children: [
  2881. {
  2882. path: 'list',
  2883. name: 'businessOwnerSettingsList',
  2884. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/businessOwnerSettings/list.vue'),
  2885. meta: {
  2886. title: '业务负责人配置列表',
  2887. icon: 'stock',
  2888. hidden: true
  2889. // permission: 'M_businessOwnerSettingsList'
  2890. }
  2891. },
  2892. {
  2893. path: 'settingsIndex',
  2894. name: 'categorySet',
  2895. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/dealerManagement/businessOwnerSettings/settingsIndex.vue'),
  2896. meta: {
  2897. title: '管辖品类权限设置',
  2898. icon: 'user',
  2899. hidden: true
  2900. // permission: 'M_settingsIndex'
  2901. }
  2902. }
  2903. ]
  2904. },
  2905. {
  2906. path: '/dealerManagement/marketingDivisionSetNew',
  2907. redirect: '/dealerManagement/marketingDivisionSetNew/list',
  2908. name: 'marketingDivisionSetNew',
  2909. component: BlankLayout,
  2910. meta: {
  2911. title: '营销分区设置',
  2912. icon: 'setting',
  2913. permission: 'M_marketingDivisionSetList'
  2914. },
  2915. hideChildrenInMenu: true,
  2916. children: [
  2917. {
  2918. path: 'list',
  2919. name: 'marketingDivisionSetNewList',
  2920. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/marketingDivisionSetNew/list.vue'),
  2921. meta: {
  2922. title: '营销分区列表',
  2923. icon: 'setting',
  2924. hidden: true,
  2925. permission: 'M_marketingDivisionSetList'
  2926. }
  2927. }
  2928. ]
  2929. },
  2930. {
  2931. path: '/dealerManagement/dealerZoneSearch',
  2932. redirect: '/dealerManagement/dealerZoneSearch/list',
  2933. name: 'dealerZoneSearch',
  2934. component: BlankLayout,
  2935. meta: {
  2936. title: '经销商所属分区查询',
  2937. icon: 'setting'
  2938. // permission: 'M_dealerZoneSearchList'
  2939. },
  2940. hideChildrenInMenu: true,
  2941. children: [
  2942. {
  2943. path: 'list',
  2944. name: 'dealerZoneSearchList',
  2945. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerZoneSearch/list.vue'),
  2946. meta: {
  2947. title: '经销商所属分区查询',
  2948. icon: 'setting',
  2949. hidden: true,
  2950. permission: 'M_dealerZoneSearchList'
  2951. }
  2952. }
  2953. ]
  2954. }
  2955. ]
  2956. },
  2957. // 供应商管理
  2958. {
  2959. path: '/supplierManagement',
  2960. redirect: '/supplierManagement/supplierInfo',
  2961. component: PageView,
  2962. meta: {
  2963. title: '供应商管理',
  2964. icon: 'team',
  2965. permission: 'M_supplierManagement'
  2966. },
  2967. children: [
  2968. {
  2969. path: '/supplierManagement/supplierInfo',
  2970. redirect: '/supplierManagement/supplierInfo/list',
  2971. name: 'supplierInfo',
  2972. component: BlankLayout,
  2973. meta: {
  2974. title: '供应商列表',
  2975. icon: 'team',
  2976. permission: 'M_supplierInfoList'
  2977. },
  2978. hideChildrenInMenu: true,
  2979. children: [
  2980. {
  2981. path: 'list',
  2982. name: 'supplierInfoList',
  2983. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
  2984. meta: {
  2985. title: '供应商列表',
  2986. icon: 'team',
  2987. hidden: true,
  2988. permission: 'M_supplierInfoList'
  2989. }
  2990. },
  2991. {
  2992. path: 'add',
  2993. name: 'supplierInfoAdd',
  2994. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  2995. meta: {
  2996. title: '新增供应商',
  2997. icon: 'team',
  2998. hidden: true
  2999. // permission: 'B_goodsManage_edit'
  3000. }
  3001. },
  3002. {
  3003. path: 'edit/:id',
  3004. name: 'supplierInfoEdit',
  3005. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  3006. meta: {
  3007. title: '编辑供应商',
  3008. icon: 'team',
  3009. hidden: true
  3010. // permission: 'B_goodsManage_edit'
  3011. }
  3012. },
  3013. {
  3014. path: 'associatedProduct/:sn/:name',
  3015. name: 'associatedProduct',
  3016. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProduct/add.vue'),
  3017. meta: {
  3018. title: '关联产品',
  3019. icon: 'team',
  3020. replaceTab: true,
  3021. hidden: true
  3022. // permission: 'B_goodsManage_edit'
  3023. }
  3024. }
  3025. ]
  3026. },
  3027. {
  3028. path: '/supplierManagement/costSetting',
  3029. redirect: '/supplierManagement/costSetting/list',
  3030. name: 'costSetting',
  3031. component: BlankLayout,
  3032. meta: {
  3033. title: '成本设置',
  3034. icon: 'build',
  3035. permission: 'M_costSettingList'
  3036. },
  3037. hideChildrenInMenu: true,
  3038. children: [
  3039. {
  3040. path: 'list',
  3041. name: 'costSettingList',
  3042. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetting/list.vue'),
  3043. meta: {
  3044. title: '成本设置列表',
  3045. icon: 'build',
  3046. hidden: true
  3047. }
  3048. }
  3049. ]
  3050. },
  3051. {
  3052. path: '/supplierManagement/costSetRecord',
  3053. redirect: '/supplierManagement/costSetRecord/list',
  3054. name: 'costSetRecord',
  3055. component: BlankLayout,
  3056. meta: {
  3057. title: '成本变更记录',
  3058. icon: 'build',
  3059. permission: 'M_costSetRecordList'
  3060. },
  3061. hideChildrenInMenu: true,
  3062. children: [
  3063. {
  3064. path: 'list',
  3065. name: 'costSetRecordList',
  3066. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/costSetRecord/list.vue'),
  3067. meta: {
  3068. title: '成本变更记录列表',
  3069. icon: 'build',
  3070. hidden: true
  3071. }
  3072. }
  3073. ]
  3074. },
  3075. {
  3076. path: '/supplierManagement/associatedProductDetails',
  3077. redirect: '/supplierManagement/associatedProductDetails/list',
  3078. name: 'associatedProductDetails',
  3079. component: BlankLayout,
  3080. meta: {
  3081. title: '关联产品明细表',
  3082. icon: 'build',
  3083. permission: 'M_associatedProductDetailsList'
  3084. },
  3085. hideChildrenInMenu: true,
  3086. children: [
  3087. {
  3088. path: 'list',
  3089. name: 'associatedProductDetailsList',
  3090. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProductDetails/list.vue'),
  3091. meta: {
  3092. title: '关联产品明细列表',
  3093. icon: 'build',
  3094. hidden: true,
  3095. permission: 'M_associatedProductDetailsList'
  3096. }
  3097. }
  3098. ]
  3099. }
  3100. ]
  3101. },
  3102. // 促销管理
  3103. {
  3104. path: '/promotionRulesManagement',
  3105. redirect: '/promotionRulesManagement/promotionRules',
  3106. component: PageView,
  3107. meta: {
  3108. title: '促销管理',
  3109. icon: 'rocket',
  3110. permission: 'M_promotionRulesManagement'
  3111. },
  3112. children: [
  3113. {
  3114. path: '/promotionRulesManagement/promotionRules',
  3115. redirect: '/promotionRulesManagement/promotionRules/list',
  3116. name: 'promotionRules',
  3117. component: BlankLayout,
  3118. meta: {
  3119. title: '促销规则管理',
  3120. icon: 'thunderbolt',
  3121. permission: 'M_promotionRulesList'
  3122. },
  3123. hideChildrenInMenu: true,
  3124. children: [
  3125. {
  3126. path: 'list',
  3127. name: 'promotionRulesManagementList',
  3128. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/list.vue'),
  3129. meta: {
  3130. title: '促销规则列表',
  3131. icon: 'thunderbolt',
  3132. hidden: true,
  3133. permission: 'M_promotionRulesList'
  3134. }
  3135. },
  3136. {
  3137. path: 'detail/:id/:sn',
  3138. name: 'promotionRulesManagementDetail',
  3139. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/detail.vue'),
  3140. meta: {
  3141. title: '促销规则详情',
  3142. icon: 'thunderbolt',
  3143. hidden: true
  3144. // permission: 'B_goodsManage_edit'
  3145. }
  3146. },
  3147. {
  3148. path: 'rule/:id/:sn',
  3149. name: 'promotionRulesManagementRule',
  3150. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/rule.vue'),
  3151. meta: {
  3152. title: '促销规则设置',
  3153. icon: 'thunderbolt',
  3154. replaceTab: true,
  3155. hidden: true
  3156. // permission: 'B_goodsManage_edit'
  3157. }
  3158. }
  3159. ]
  3160. },
  3161. {
  3162. path: '/promotionRulesManagement/orderStatistics',
  3163. redirect: '/promotionRulesManagement/orderStatistics/list',
  3164. name: 'orderStatistics',
  3165. component: BlankLayout,
  3166. meta: {
  3167. title: '促销订单统计',
  3168. icon: 'contacts',
  3169. permission: 'M_orderStatisticsList'
  3170. },
  3171. hideChildrenInMenu: true,
  3172. children: [
  3173. {
  3174. path: 'list',
  3175. name: 'orderStatisticsList',
  3176. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/orderStatistics/list.vue'),
  3177. meta: {
  3178. title: '订单统计列表',
  3179. icon: 'contacts',
  3180. hidden: true,
  3181. permission: 'M_orderStatisticsList'
  3182. }
  3183. }
  3184. ]
  3185. },
  3186. {
  3187. path: '/promotionRulesManagement/productStatistics',
  3188. redirect: '/promotionRulesManagement/productStatistics/list',
  3189. name: 'productStatistics',
  3190. component: BlankLayout,
  3191. meta: {
  3192. title: '促销产品统计',
  3193. icon: 'file-ppt',
  3194. permission: 'M_productStatisticsList'
  3195. },
  3196. hideChildrenInMenu: true,
  3197. children: [
  3198. {
  3199. path: 'list',
  3200. name: 'productStatisticsList',
  3201. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/productStatistics/list.vue'),
  3202. meta: {
  3203. title: '产品统计列表',
  3204. icon: 'file-ppt',
  3205. hidden: true,
  3206. permission: 'M_productStatisticsList'
  3207. }
  3208. }
  3209. ]
  3210. }
  3211. ]
  3212. },
  3213. // 基础设置
  3214. {
  3215. path: '/basicData',
  3216. redirect: '/basicData/warehouse',
  3217. component: PageView,
  3218. meta: {
  3219. title: '基础设置',
  3220. icon: 'pushpin',
  3221. permission: 'M_basicData'
  3222. },
  3223. children: [
  3224. {
  3225. path: '/basicData/warehouse',
  3226. redirect: '/basicData/warehouse/list',
  3227. name: 'warehouse',
  3228. component: BlankLayout,
  3229. meta: {
  3230. title: '仓库管理',
  3231. icon: 'deployment-unit',
  3232. permission: 'M_warehouseList'
  3233. },
  3234. hideChildrenInMenu: true,
  3235. children: [
  3236. {
  3237. path: 'list',
  3238. name: 'warehouseList',
  3239. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/list.vue'),
  3240. meta: {
  3241. title: '仓库列表',
  3242. icon: 'deployment-unit',
  3243. hidden: true,
  3244. permission: 'M_warehouseList'
  3245. }
  3246. },
  3247. {
  3248. path: '/basicData/storingLocation/:sn',
  3249. name: 'storingLocationList',
  3250. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/storingLocation/list.vue'),
  3251. meta: {
  3252. title: '仓位列表',
  3253. icon: 'deployment-unit',
  3254. replaceTab: true,
  3255. hidden: true
  3256. // permission: 'B_goodsManage_edit'
  3257. }
  3258. }
  3259. ]
  3260. },
  3261. {
  3262. path: '/basicData/transferTypeManagement',
  3263. redirect: '/basicData/transferTypeManagement/list',
  3264. name: 'transferTypeManagement',
  3265. component: BlankLayout,
  3266. meta: {
  3267. title: '调拨类型管理',
  3268. icon: 'interaction',
  3269. permission: 'M_transferTypeManagementList'
  3270. },
  3271. hideChildrenInMenu: true,
  3272. children: [
  3273. {
  3274. path: 'list',
  3275. name: 'transferTypeManagementList',
  3276. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/transferTypeManagement/list.vue'),
  3277. meta: {
  3278. title: '调拨类型列表',
  3279. icon: 'interaction',
  3280. hidden: true,
  3281. permission: 'M_transferTypeManagementList'
  3282. }
  3283. }
  3284. ]
  3285. }
  3286. ]
  3287. },
  3288. // 权限管理
  3289. {
  3290. path: '/auth',
  3291. redirect: '/auth/user',
  3292. component: PageView,
  3293. meta: {
  3294. title: '权限管理',
  3295. icon: 'lock',
  3296. permission: 'M_auth_0'
  3297. },
  3298. children: [
  3299. {
  3300. path: '/auth/user',
  3301. redirect: '/auth/user/list',
  3302. name: 'powerUser',
  3303. component: BlankLayout,
  3304. meta: {
  3305. title: '用户管理',
  3306. icon: 'user',
  3307. permission: 'M_userList'
  3308. },
  3309. hideChildrenInMenu: true,
  3310. children: [
  3311. {
  3312. path: 'list',
  3313. name: 'powerUserList',
  3314. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
  3315. meta: {
  3316. title: '用户管理',
  3317. icon: 'user',
  3318. hidden: true,
  3319. permission: 'M_userList'
  3320. }
  3321. }
  3322. ]
  3323. },
  3324. {
  3325. path: '/auth/role',
  3326. redirect: '/auth/role/list',
  3327. name: 'powerRole',
  3328. component: BlankLayout,
  3329. meta: {
  3330. title: '角色管理',
  3331. icon: 'solution',
  3332. permission: 'M_roleList'
  3333. },
  3334. hideChildrenInMenu: true,
  3335. children: [
  3336. {
  3337. path: 'list',
  3338. name: 'powerRoleList',
  3339. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
  3340. meta: {
  3341. title: '角色管理',
  3342. icon: 'solution',
  3343. hidden: true,
  3344. permission: 'M_roleList'
  3345. }
  3346. }
  3347. ]
  3348. },
  3349. {
  3350. path: '/auth/adminMenus',
  3351. redirect: '/auth/adminMenus/list',
  3352. name: 'adminMenus',
  3353. component: BlankLayout,
  3354. meta: {
  3355. title: '菜单管理',
  3356. icon: 'appstore',
  3357. permission: 'M_menuList'
  3358. },
  3359. hideChildrenInMenu: true,
  3360. children: [
  3361. {
  3362. path: 'list',
  3363. name: 'adminMenusList',
  3364. component: () => import(/* webpackChunkName: "auth" */ '@/views/bnSetting/menu/adminMenus.vue'),
  3365. meta: {
  3366. title: '菜单管理',
  3367. icon: 'appstore',
  3368. hidden: true,
  3369. permission: 'M_menuList'
  3370. }
  3371. }
  3372. ]
  3373. }
  3374. ]
  3375. },
  3376. // 系统设置
  3377. {
  3378. path: '/setting',
  3379. redirect: '/setting/dataDictionary',
  3380. component: PageView,
  3381. meta: {
  3382. title: '系统设置',
  3383. icon: 'setting',
  3384. permission: 'M_systemSet'
  3385. },
  3386. children: [
  3387. {
  3388. path: '/setting/dataDictionary',
  3389. redirect: '/setting/dataDictionary/list',
  3390. name: 'dataDictionary',
  3391. component: BlankLayout,
  3392. meta: {
  3393. title: '数据字典管理',
  3394. icon: 'database',
  3395. permission: 'M_dataD_lookup'
  3396. },
  3397. hideChildrenInMenu: true,
  3398. children: [
  3399. {
  3400. path: 'list',
  3401. name: 'powerDD',
  3402. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/dataDictionary/dataDictionary.vue'),
  3403. meta: {
  3404. title: '数据字典管理',
  3405. icon: 'database',
  3406. hidden: true,
  3407. permission: 'M_dataD_lookup'
  3408. }
  3409. }
  3410. ]
  3411. },
  3412. {
  3413. path: '/setting/OperateJournal',
  3414. redirect: '/setting/OperateJournal/list',
  3415. name: 'OperateJournal',
  3416. component: BlankLayout,
  3417. meta: {
  3418. title: '操作日志',
  3419. icon: 'read',
  3420. permission: 'M_OperateJournalList'
  3421. },
  3422. hideChildrenInMenu: true,
  3423. children: [
  3424. {
  3425. path: 'list',
  3426. name: 'powerOperateJournal',
  3427. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/OperateJournal/OperateJournal.vue'),
  3428. meta: {
  3429. title: '操作日志',
  3430. icon: 'read',
  3431. permission: 'M_OperateJournalList'
  3432. }
  3433. }
  3434. ]
  3435. },
  3436. {
  3437. path: '/setting/noticeManagement',
  3438. redirect: '/setting/noticeManagement/list',
  3439. name: 'noticeManagement',
  3440. component: BlankLayout,
  3441. meta: {
  3442. title: '公告管理',
  3443. icon: 'sketch',
  3444. permission: 'M_noticeManagementList'
  3445. },
  3446. hideChildrenInMenu: true,
  3447. children: [
  3448. {
  3449. path: 'list',
  3450. name: 'noticeManagementList',
  3451. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/noticeManagement/list.vue'),
  3452. meta: {
  3453. title: '公告列表',
  3454. icon: 'sketch',
  3455. hidden: true,
  3456. permission: 'M_noticeManagementList'
  3457. }
  3458. }
  3459. ]
  3460. },
  3461. {
  3462. path: '/setting/bigScreenSet',
  3463. redirect: '/setting/bigScreenSet/index',
  3464. name: 'bigScreenSet',
  3465. component: BlankLayout,
  3466. meta: {
  3467. title: '大屏参数设置',
  3468. icon: 'sketch',
  3469. permission: 'M_bigScreenSetIndex'
  3470. },
  3471. hideChildrenInMenu: true,
  3472. children: [{
  3473. path: 'index',
  3474. name: 'bigScreenSetIndex',
  3475. component: () => import(/* webpackChunkName: "setting" */'@/views/setting/bigScreenSet/index.vue'),
  3476. meta: {
  3477. title: '大屏参数设置',
  3478. icon: 'sketch',
  3479. hidden: true,
  3480. permission: 'M_bigScreenSetIndex'
  3481. }
  3482. }]
  3483. },
  3484. {
  3485. path: '/setting/erpMessageManagement',
  3486. redirect: '/setting/erpMessageManagement/list',
  3487. name: 'erpMessageManagement',
  3488. component: BlankLayout,
  3489. meta: {
  3490. title: 'ERP数据同步记录',
  3491. icon: 'sketch'
  3492. // permission: 'M_erpMessageList'
  3493. },
  3494. hideChildrenInMenu: true,
  3495. children: [
  3496. {
  3497. path: 'list',
  3498. name: 'M_erpMessageList',
  3499. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/erpMessageManagement/list.vue'),
  3500. meta: {
  3501. title: 'ERP数据同步列表',
  3502. icon: 'sketch',
  3503. hidden: true
  3504. // permission: 'M_erpMessageList'
  3505. }
  3506. }
  3507. ]
  3508. }
  3509. ]
  3510. }
  3511. ]
  3512. },
  3513. {
  3514. path: '*',
  3515. redirect: '/404',
  3516. hidden: true
  3517. }
  3518. ]
  3519. /**
  3520. * 基础路由
  3521. * @type { *[] }
  3522. */
  3523. export const constantRouterMap = [
  3524. {
  3525. path: '/user',
  3526. component: UserLayout,
  3527. redirect: '/user/login',
  3528. hidden: true,
  3529. children: [
  3530. {
  3531. path: 'login',
  3532. name: 'login',
  3533. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
  3534. },
  3535. {
  3536. path: 'register',
  3537. name: 'register',
  3538. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
  3539. },
  3540. {
  3541. path: 'register-result',
  3542. name: 'registerResult',
  3543. component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
  3544. },
  3545. {
  3546. path: 'recover',
  3547. name: 'recover',
  3548. component: undefined
  3549. }
  3550. ]
  3551. },
  3552. {
  3553. path: '/bigScreen',
  3554. component: BigScreen,
  3555. redirect: '/bigScreen/realTimeSalesReport',
  3556. hidden: true,
  3557. children: [
  3558. {
  3559. path: 'realTimeSalesReport',
  3560. name: 'realTimeSalesReport',
  3561. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/realTimeSalesReport/index'),
  3562. meta: {
  3563. title: '实时销售看板'
  3564. }
  3565. },
  3566. {
  3567. path: 'fPanalysisReport',
  3568. name: 'fPanalysisReport',
  3569. component: () => import(/* webpackChunkName: "bigScreen" */ '@/views/bigScreen/fPanalysisReport/index'),
  3570. meta: {
  3571. title: '加盟商/产品分析'
  3572. }
  3573. }
  3574. ]
  3575. },
  3576. {
  3577. path: '/404',
  3578. component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  3579. }
  3580. ]