lilei 2 anni fa
parent
commit
9f12f33cf1
3 ha cambiato i file con 24 aggiunte e 11 eliminazioni
  1. 14 1
      pages.json
  2. 2 2
      pages/index/index.vue
  3. 8 8
      pages/replenishmentManage/replenishmentList.vue

+ 14 - 1
pages.json

@@ -204,7 +204,20 @@
 		    "style" :
 		    {
 		        "navigationBarTitleText": "补货管理",
-		        "enablePullDownRefresh": false
+		        "navigationStyle":"custom",
+		        "app-plus":{
+		        	"titleNView": {
+		        		"titleAlign": "left",
+		        		"buttons": [ //原生标题栏按钮配置,
+		        			{
+		        				"text": "\ue64e 待补货" ,//原生标题栏增加分享按钮,点击事件可通过页面的 onNavigationBarButtonTap 函数进行监听u
+		        				"fontSrc": "/static/iconfont/iconfont.ttf",
+		        				"fontSize": "14",
+		        				"width":"100px"
+		        			}
+		        		]
+		        	}
+		        }
 		    }
 		},
 		{

+ 2 - 2
pages/index/index.vue

@@ -93,7 +93,7 @@
 				{
 					id: 'scanVin',
 					icon: `/static/${this.theme}/navIcon/home_icon_confirm@3x.png`,
-					name: '待确认',
+					name: '待补货',
 					url: '/pages/replenishmentManage/replenishmentList?billState=WAIT_CONFIRM',
 					target: 'page',
 					count: 0,
@@ -141,7 +141,7 @@
 			queryByTypeSum () {
 				shelfReplenishStateCount({}).then(res => {
 					if (res.data && res.status == 200) {
-						this.storageRacksNavList[0].count = res.data.WAIT_CONFIRM || 0
+						// this.storageRacksNavList[0].count = res.data.WAIT_CONFIRM || 0
 						this.storageRacksNavList[1].count = res.data.WAIT_OUT_STOCK || 0
 						this.storageRacksNavList[2].count = res.data.WAIT_CHECK || 0
 					}

+ 8 - 8
pages/replenishmentManage/replenishmentList.vue

@@ -65,11 +65,11 @@
 						dispName: '全部',
 						status: 'ALL'
 					},
-					{
-						dispName: '待确认',
-						status: 'WAIT_CONFIRM',
-						count: 0
-					},
+					// {
+					// 	dispName: '待确认',
+					// 	status: 'WAIT_CONFIRM',
+					// 	count: 0
+					// },
 					{
 						dispName: '待出库',
 						status: 'WAIT_OUT_STOCK',
@@ -235,9 +235,9 @@
 			queryByTypeSum (flag) {
 				shelfReplenishStateCount({}).then(res => {
 					if (res.data && res.status == 200) {
-						this.tabList[1].count = res.data.WAIT_CONFIRM || 0
-						this.tabList[2].count = res.data.WAIT_OUT_STOCK || 0
-						this.tabList[3].count = res.data.WAIT_CHECK || 0
+						// this.tabList[1].count = res.data.WAIT_CONFIRM || 0
+						this.tabList[1].count = res.data.WAIT_OUT_STOCK || 0
+						this.tabList[2].count = res.data.WAIT_CHECK || 0
 						if(!flag){
 							this.getRow(1)
 						}