浏览代码

增加销售管理 下的七个模块

linan 4 年之前
父节点
当前提交
0f7060c660

+ 1 - 0
src/components/map/Amap.vue

@@ -29,6 +29,7 @@
             :plugin="plugin"
             :center="center"
             :events="events"
+            mapStyle="fresh"
         >
             <!-- 标记 -->
             <el-amap-marker v-for="(marker, index) in markers" :position="marker" :key="index"></el-amap-marker>

+ 44 - 6
src/router/routes.js

@@ -3,7 +3,6 @@ import Home from '../views/Home/Home.vue'
 import Index from '@/views/index/Index.vue'
 /* 定点屠宰智能管控 */
 import firmBuy from '@/views/slaughterManagment/firmBuy.vue'
-import packinghouse from '@/views/slaughterManagment/packinghouse.vue'
 import inButcherHurdle from '@/views/slaughterManagment/inButcherHurdle.vue'
 import reportQuarantine from '@/views/slaughterManagment/reportQuarantine.vue'
 import regisSlaughter from '@/views/slaughterManagment/regisSlaughter.vue'
@@ -16,6 +15,14 @@ import productTest from '@/views/slaughterManagment/productTest.vue'
 import sell from '@/views/slaughterManagment/sell.vue'
 import costAccounting from '@/views/slaughterManagment/costAccounting.vue'
 import refrigerationStorage from '@/views/slaughterManagment/refrigerationStorage.vue'
+/* 销售管理 */
+import client from '@/views/sellManagement/client.vue'
+import price from '@/views/sellManagement/price.vue'
+import sellRegister from '@/views/sellManagement/sellRegister.vue'
+import directSell from '@/views/sellManagement/directSell.vue'
+import carcassSell from '@/views/sellManagement/carcassSell.vue'
+import segmentationSell from '@/views/sellManagement/segmentationSell.vue'
+import elseSell from '@/views/sellManagement/elseSell.vue'
 /* 产品制作智能监控 */
 import productInfo from '@/views/productManagement/productInfo.vue'
 import sheepskinLog from '@/views/productManagement/sheepskinLog.vue'
@@ -53,11 +60,6 @@ export default [
 				component: firmBuy
 			},
 			{
-				path: 'packinghouse',
-				name: 'packinghouse',
-				component: packinghouse
-			},
-			{
 				path: 'inButcherHurdle',
 				name: 'inButcherHurdle',
 				component: inButcherHurdle
@@ -113,6 +115,42 @@ export default [
 				name: 'refrigerationStorage',
 				component: refrigerationStorage
 			},
+			/* 销售管理 */
+			{
+				path: 'client',
+				name: 'client',
+				component: client
+			},
+			{
+				path: 'price',
+				name: 'price',
+				component: price
+			},
+			{
+				path: 'sellRegister',
+				name: 'sellRegister',
+				component: sellRegister
+			},
+			{
+				path: 'directSell',
+				name: 'directSell',
+				component: directSell
+			},
+			{
+				path: 'carcassSell',
+				name: 'carcassSell',
+				component: carcassSell
+			},
+			{
+				path: 'segmentationSell',
+				name: 'segmentationSell',
+				component: segmentationSell
+			},
+			{
+				path: 'elseSell',
+				name: 'elseSell',
+				component: elseSell
+			},
 			/* 产品制作智能监控 */
 			{
 				path: 'productInfo',

+ 58 - 20
src/views/Home/mencCofig.js

@@ -9,7 +9,7 @@ export const menuData = [
     // },
     {
         optionName: "定点屠宰智能管控",
-        iconClassName: "el-icon-setting",
+        iconClassName: "el-icon-s-flag",
         index: '1',
         disabled: false, // 是否禁用
         childList: [
@@ -19,11 +19,6 @@ export const menuData = [
                 routerName: "firmBuy"
             },
             {
-                optionName: '屠宰加工',
-                index: '1-2',
-                routerName: "packinghouse"
-            },
-            {
                 optionName: '入待宰栏',
                 index: '1-3',
                 routerName: "inButcherHurdle"
@@ -82,34 +77,77 @@ export const menuData = [
         ]
     },
     {
-        optionName: "产品制作智能监控",
-        iconClassName: "el-icon-s-flag",
+        optionName: "销售管理",
+        iconClassName: "el-icon-s-custom",
         index: '2',
         disabled: false,
         childList: [
             {
-                optionName: '产品档案',
+                optionName: '客户管理',
                 index: '2-1',
+                routerName: "client"
+            },
+            {
+                optionName: '价格管理',
+                index: '2-2',
+                routerName: "price"
+            },
+            {
+                optionName: '销售统计',
+                index: '2-3',
+                routerName: "sellRegister"
+            },
+            {
+                optionName: '屠宰直销',
+                index: '2-4',
+                routerName: "directSell"
+            },
+            {
+                optionName: '胴体销售',
+                index: '2-5',
+                routerName: "carcassSell"
+            },
+            {
+                optionName: '分割销售',
+                index: '2-6',
+                routerName: "segmentationSell"
+            },
+            {
+                optionName: '其他销售',
+                index: '2-7',
+                routerName: "elseSell"
+            },
+        ]
+    },
+    {
+        optionName: "产品制作智能监控",
+        iconClassName: "el-icon-ice-cream-square",
+        index: '3',
+        disabled: false,
+        childList: [
+            {
+                optionName: '产品档案',
+                index: '3-1',
                 routerName: "productInfo"
             },
             {
                 optionName: '分割登记',
-                index: '2-2',
+                index: '3-2',
                 routerName: "packinghouse"
             },
             {
                 optionName: '羊皮登记',
-                index: '2-3',
+                index: '3-3',
                 routerName: "sheepskinLog"
             },
             {
                 optionName: '羊血登记',
-                index: '2-4',
+                index: '3-4',
                 routerName: "goatBloodLog"
             },
             {
                 optionName: '羊杂登记',
-                index: '2-5',
+                index: '3-5',
                 routerName: "goatHasletLog"
             },
             
@@ -118,33 +156,33 @@ export const menuData = [
 
     {
         optionName: "鲜肉储运智能管控",
-        iconClassName: "el-icon-s-flag",
-        index: '3',
+        iconClassName: "el-icon-shopping-cart-1",
+        index: '4',
         disabled: false,
         childList: [
             {
                 optionName: '编码管理',
-                index: '3-1',
+                index: '4-1',
                 routerName: "sheepskinLog"
             },
             {
                 optionName: '配送管理',
-                index: '3-2',
+                index: '4-2',
                 routerName: "dispatching"
             },
             {
                 optionName: '运输管理',
-                index: '3-3',
+                index: '4-3',
                 routerName: "transportation"
             },
             {
                 optionName: '门店管理',
-                index: '3-4',
+                index: '4-4',
                 routerName: "shopStore"
             },
             {
                 optionName: '产品追溯',
-                index: '3-5',
+                index: '4-5',
                 routerName: "aa"
             },
         ]

+ 3 - 0
src/views/sellManagement/carcassSell.vue

@@ -0,0 +1,3 @@
+<template>
+    <div>胴体销售</div>
+</template>

+ 5 - 0
src/views/sellManagement/client.vue

@@ -0,0 +1,5 @@
+<template>
+    <div>
+        客户管理
+    </div>
+</template>

+ 5 - 0
src/views/sellManagement/directSell.vue

@@ -0,0 +1,5 @@
+<template>
+    <div>
+        屠宰直销
+    </div>
+</template>

+ 3 - 0
src/views/sellManagement/elseSell.vue

@@ -0,0 +1,3 @@
+<template>
+    <div>其他销售</div>
+</template>

+ 5 - 0
src/views/sellManagement/price.vue

@@ -0,0 +1,5 @@
+<template>
+    <div>
+        价格管理
+    </div>
+</template>

+ 3 - 0
src/views/sellManagement/segmentationSell.vue

@@ -0,0 +1,3 @@
+<template>
+    <div>分割销售</div>
+</template>

+ 5 - 0
src/views/sellManagement/sellRegister.vue

@@ -0,0 +1,5 @@
+<template>
+    <div>
+        销售统计
+    </div>
+</template>