chenrui 3 years ago
parent
commit
f8b4aac61c
3 changed files with 20 additions and 15 deletions
  1. 20 12
      pages.json
  2. 0 1
      pages/stock/stockDetail.vue
  3. 0 2
      pages/stock/warehouseDetail.vue

+ 20 - 12
pages.json

@@ -193,6 +193,13 @@
 				"enablePullDownRefresh": false
 			}
 		},
+		{
+			"path": "pages/sales/index", // 销售
+			"style": {
+				"navigationBarTitleText": "销售",
+				"enablePullDownRefresh": false
+			}
+		},
 		{
 			"path": "pages/sales/productPricing", // 产品报价
 			"style": {
@@ -219,17 +226,18 @@
 				"pagePath": "pages/sales/index",
 				"text": "销售"
 			},
-		{
-			"pagePath": "pages/stock/index",
-			"text": "库存"
-		},
-		{
-			"pagePath": "pages/index/index",
-			"text": "首页"
-		},
-		{
-			"pagePath": "pages/userCenter/index",
-			"text": "我的"
-		}]
+			{
+				"pagePath": "pages/stock/index",
+				"text": "库存"
+			},
+			{
+				"pagePath": "pages/index/index",
+				"text": "首页"
+			},
+			{
+				"pagePath": "pages/userCenter/index",
+				"text": "我的"
+			}
+		]
 	}
 }

+ 0 - 1
pages/stock/stockDetail.vue

@@ -40,7 +40,6 @@
 
 <script>
 	import { toThousands } from '@/libs/tools'
-	import { stockList, stockCount } from '@/api/stock'
 	export default{
 		data(){
 			return {

+ 0 - 2
pages/stock/warehouseDetail.vue

@@ -68,7 +68,6 @@
 
 <script>
 	import { toThousands } from '@/libs/tools'
-	import { stockList, stockCount } from '@/api/stock'
 	export default{
 		data(){
 			return {
@@ -82,7 +81,6 @@
 			this.theme = getApp().globalData.theme
 			this.productData = option.productData ? JSON.parse(option.productData) : null
 			this.paramsData = option.data ? JSON.parse(option.data) : null
-			console.log(this.paramsData)
 		},
 		methods: {}
 	}