router.config.js 109 KB

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