From d8e930db2c5b6ec7a629124c799714f6aa7a2422 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期二, 30 十二月 2025 10:04:36 +0800
Subject: [PATCH] 添加新页签

---
 pages/index/tab1.vue                             |   22 -
 pages/mujvzhuangtai/mujvzhuangtai.vue            |    2 
 pages/index/tab3.vue                             |  281 ++++++++++++++++++++
 pages.json                                       |   24 +
 pages/index/tab2.vue                             |  163 -----------
 pages/index/tab4.vue                             |  278 +++++++++++++++++++
 pages/ZLGL/lailiaojianyan/POStockInCheckBill.vue |   20 
 pages/index/index.vue                            |    8 
 8 files changed, 605 insertions(+), 193 deletions(-)

diff --git a/pages.json b/pages.json
index f0a9c47..d78292c 100644
--- a/pages.json
+++ b/pages.json
@@ -26,6 +26,18 @@
                 "navigationBarTitleText": "鍗曟嵁鍒楄〃"
             }
         },
+		{
+            "path": "pages/index/tab3",
+            "style": {
+                "navigationBarTitleText": "鍣ㄥ叿绠$悊"
+            }
+        },
+		{
+		    "path": "pages/index/tab4",
+		    "style": {
+		        "navigationBarTitleText": "璐ㄩ噺绠$悊"
+		    }
+		},
         {
             "path": "pages/index/mine",
             "style": {
@@ -1390,6 +1402,18 @@
                 "selectedIconPath": "static/tabBar/icon2-default.png",
                 "text": "鍗曟嵁鍒楄〃"
             },
+			{
+			    "pagePath": "pages/index/tab3",
+			    "iconPath": "static/tabBar/icon2.png",
+			    "selectedIconPath": "static/tabBar/icon2-default.png",
+			    "text": "鍣ㄥ叿绠$悊"
+			},
+			{
+			    "pagePath": "pages/index/tab4",
+			    "iconPath": "static/tabBar/icon2.png",
+			    "selectedIconPath": "static/tabBar/icon2-default.png",
+			    "text": "璐ㄩ噺绠$悊"
+			},
             {
                 "pagePath": "pages/index/mine",
                 "iconPath": "static/tabBar/user.png",
diff --git a/pages/ZLGL/lailiaojianyan/POStockInCheckBill.vue b/pages/ZLGL/lailiaojianyan/POStockInCheckBill.vue
index 6c0945f..20c744b 100644
--- a/pages/ZLGL/lailiaojianyan/POStockInCheckBill.vue
+++ b/pages/ZLGL/lailiaojianyan/POStockInCheckBill.vue
@@ -631,13 +631,19 @@
                 ArrayAnalysisMethodValue: [1, 2, 3],
                 // 瀛愯〃 椤电淇℃伅
                 subTabs: {
-                    0: {
-                        id: "0",
-                        name: "鍏朵粬绫诲瀷",
-                    },
-                    
-
-                },
+					1: {
+						id: "1",
+						name: "妫�楠岄」鐩�",
+					},
+					2: {
+						id: "2",
+						name: "涓嶈壇鍘熷洜",
+					},
+					3: {
+						id: "3",
+						name: "鎶芥牱妫�楠�",
+					},
+				},
 
                 // 婧愬崟绫诲瀷
                 HSourceBillType: "鏀舵枡閫氱煡鍗�",
diff --git a/pages/index/index.vue b/pages/index/index.vue
index c40c849..7569885 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -307,13 +307,7 @@
 						id: 35,
 						hidden: false,
 					},
-					{
-						img: '../../static/icon/icon8.png',
-						text: '妯″叿妗f鏌ヨ',
-						url: `/pages/MJGL/Gy_MouldFile/Gy_MouldFileList`,
-						id: 36,
-						hidden: false,
-					},
+					
 					{
 						img: '../../static/icon/icon8.png',
 						text: '涓婃ā鍗�',
diff --git a/pages/index/tab1.vue b/pages/index/tab1.vue
index 0624cfa..6180657 100644
--- a/pages/index/tab1.vue
+++ b/pages/index/tab1.vue
@@ -113,22 +113,16 @@
 						url: '/pages/baogong/table',
 						id: 11,
 						hidden: true,
-					}, {
+					}, 
+					{
 						img: '../../static/icon/icon32.png',
 						text: '璁惧杩愯鐘舵��',
 						tip: '鏌ョ湅璇︽儏',
 						url: '/pages/shebeiyunxingzhuangtai/shebeiyunxingzhuangtai',
 						id: 14,
 						hidden: true,
-					}, {
-						img: '../../static/icon/icon6.png',
-						text: '妯″叿鐘舵�佸垎鏋�',
-						tip: '鏌ョ湅璇︽儏',
-						url: '/pages/mujvzhuangtai/mujvzhuangtai',
-						id: 15,
-						hidden: true,
-					
-					}, {
+					}, 
+					{
 						img: '../../static/icon/icon10.png',
 						text: '鎴戠殑浠诲姟',
 						tip: '绔嬪嵆鏂板',
@@ -136,13 +130,7 @@
 						id: 16,
 						hidden: false,
 					}, 
-					{
-						img: '../../static/icon/icon16.png',
-						text: '鍣ㄥ叿瀵垮懡',
-						url: '/pages/shoujishouming/table',
-						id: 17,
-						hidden: false,
-					},
+					
 					
 				]
 				// itemData: [{
diff --git a/pages/index/tab2.vue b/pages/index/tab2.vue
index 74c1986..6c895d6 100644
--- a/pages/index/tab2.vue
+++ b/pages/index/tab2.vue
@@ -319,118 +319,7 @@
 						"id": 36,
 						"hidden": false
 					},
-					{
-						"img": "../../static/icon/icon13.png",
-						"text": "妯″叿鏁呴殰鐧昏鍒楄〃",
-						"url": "/pages/qijvguzhangdengji/mouldMistake",
-						"id": 37,
-						"hidden": false
-					},
-					{
-						"img": "../../static/icon/icon13.png",
-						"text": "妯″叿鏁呴殰鐧昏鍗�",
-						"url": "/pages/qijvguzhangdengji/mouldMistakeBill?operationType=1",
-						"id": 38,
-						"hidden": false
-					},
-					{
-						"img": "../../static/icon/icon13.png",
-						"text": "妯″叿缁翠慨璁板綍鍒楄〃",
-						"url": "/pages/weixiujilu/mouldRepairRecordBillList",
-						"id": 39,
-						"hidden": false
-					},
-					{
-						"img": "../../static/icon/icon13.png",
-						"text": "妯″叿缁翠慨璁板綍鍗�",
-						"url": "/pages/weixiujilu/mouldRepairRecordBill",
-						"id": 40,
-						"hidden": false
-					},
-					{
-						"img": "../../static/icon/icon13.png",
-						"text": "棣栦欢妫�楠屽崟鍒楄〃",
-						"url": "/pages/ZLGL/shoujianjianyan/firstCheckBillList",
-						"id": 41,
-						"hidden": false
-					},
-					{
-						"img": "../../static/icon/icon13.png",
-						"text": "棣栦欢妫�楠屽崟",
-						"url": "/pages/ZLGL/shoujianjianyan/firstCheckBill?operationType=1",
-						"id": 42,
-						"hidden": false
-					},
-					{
-					    "img": "../../static/icon/icon8.png",
-					    "text": "宸℃妫�楠屽崟鍒楄〃",
-					    "url": "/pages/ZLGL/xunjianjianyan/PatrolProcCheckBillList",
-					    "id": 43,
-					    "hidden": false
-					},
-					{
-					    "img": "../../static/icon/icon8.png",
-					    "text": "宸℃妫�楠屽崟",
-					    "url": "/pages/ZLGL/xunjianjianyan/PatrolProcCheckBill?operationType=1",
-					    "id": 44,
-					    "hidden": false
-					},
-					{
-					    "img": "../../static/icon/icon8.png",
-					    "text": "鏈欢妫�楠屽崟鍒楄〃",
-					    "url": "/pages/ZLGL/mojianjianyan/lastPieceCheckBillList",
-					    "id": 45,
-					    "hidden": false
-					},
-					{
-					    "img": "../../static/icon/icon8.png",
-					    "text": "鏈欢妫�楠屽崟",
-					    "url": "/pages/ZLGL/mojianjianyan/lastPieceCheckBill?operationType=1",
-					    "id": 46,
-					    "hidden": false
-					},
-					{
-						"img": "../../static/icon/icon5.png",
-						"text": "妯″叿鐐规璁板綍鍗曞垪琛�",
-						"url": "/pages/MJGL/mujudianjianjiludan/MouldDotCheckPlanBillList",
-						"id": 47,
-						"hidden": false
-					},
-					{
-						"img": "../../static/icon/icon5.png",
-						"text": "妯″叿淇濆吇璁板綍鍗曞垪琛�",
-						"url": "/pages/MJGL/mujubaoyangjiludan/mouldMaintainRecordBillList",
-						"id": 48,
-						"hidden": false
-					},
-					{
-						"img": "../../static/icon/icon8.png",
-						"text": "妯″叿棰嗘枡鍑哄簱鍗曞垪琛�",
-						"url": "/pages/MJGL/mujulingliaochukudan/MouldProdOutBillList",
-						"id": 49,
-						"hidden": false
-					},
-					{
-						"img": "../../static/icon/icon8.png",
-						"text": "妯″叿棰嗘枡閫�搴撳崟鍒楄〃",
-						"url": "/pages/MJGL/mujulingliaotuikudan/Sc_MouldProdBackBillList",
-						"id": 50,
-						"hidden": false
-					},
-					{
-						"img": "../../static/icon/icon8.png",
-						"text": "妯″叿璋冩嫧鍗曞垪琛�",
-						"url": "/pages/MJGL/qijudiaobodan/Sc_MouldMoveStockBillList",
-						"id": 51,
-						"hidden": false
-					},
-					{
-						"img": "../../static/icon/icon8.png",
-						"text": "妯″叿鎶ュ簾鍑哄簱鍗曞垪琛�",
-						"url": "/pages/MJGL/MouldScrapOutBill/MouldScrapOutBillList",
-						"id": 51,
-						"hidden": false
-					},
+					
 					{
 						"img": "../../static/icon/icon8.png",
 						"text": "瑁呯鍗曟殏瀛樺垪琛�",
@@ -438,55 +327,7 @@
 						"id": 52,
 						"hidden": false
 					},
-					{
-						"img": "../../static/icon/icon8.png",
-						"text": "鏉ユ枡妫�楠屽崟",
-						"url": "/pages/ZLGL/lailiaojianyan/POStockInCheckBill",
-						"id": 53,
-						"hidden": false
-					},
-					{
-						"img": "../../static/icon/icon8.png",
-						"text": "鏉ユ枡妫�楠屽垪琛�",
-						"url": "/pages/ZLGL/lailiaojianyan/POStockInCheckBillList",
-						"id": 54,
-						"hidden": false
-					},
-					{
-						"img": "../../static/icon/icon8.png",
-						"text": "鐢熶骇鍏ュ簱鏍¢獙鍗�",
-						"url": "/pages/ZLGL/shengchanrukujiaoyan/QC_LastPieceCheckBill_v2",
-						"id": 53,
-						"hidden": false
-					},
-					{
-						"img": "../../static/icon/icon8.png",
-						"text": "鍑哄巶鏍¢獙鍗�",
-						"url": "/pages/ZLGL/chuchangjiaoyandan/QC_OutCompCheckBill",
-						"id": 54,
-						"hidden": false
-					},
-                    {
-                    	"img": "../../static/icon/icon8.png",
-                    	"text": "鏉ユ枡妫�楠�(閿﹂殕)",
-                    	"url": "/pages/ZLGL/lailiaojianyan_fast/Kf_QCStockInCheckBill_Fast",
-                    	"id": 55,
-                    	"hidden": false
-                    },
-                    {
-                    	"img": "../../static/icon/icon8.png",
-                    	"text": "鍏ㄦ妫�楠屽崟",
-                    	"url": "/pages/ZLGL/QualityReportStep/QualityReportStepBill",
-                    	"id": 55,
-                    	"hidden": false
-                    },
-                    {
-                    	"img": "../../static/icon/icon8.png",
-                    	"text": "鍏ㄦ妫�楠屽崟鏌ヨ",
-                    	"url": "/pages/ZLGL/QualityReportStep/QualityReportStepBillList",
-                    	"id": 55,
-                    	"hidden": false
-                    }
+					
                     
 				]
 			}
diff --git a/pages/index/tab3.vue b/pages/index/tab3.vue
new file mode 100644
index 0000000..c75f8e6
--- /dev/null
+++ b/pages/index/tab3.vue
@@ -0,0 +1,281 @@
+<template>
+	<view class="content">
+		<view class="header">
+			<view class="switch-button">
+				<uni-icons type="loop" @click="switchIconsModeHandler"></uni-icons>
+			</view>
+		</view>
+		<view class="mains">
+			<view v-if="!canEdit" :hidden="item.hidden||!item.id" class="box" v-for="(item,index) in itemData" :key="index"
+				@tap="toUrl(item)">
+				<image :src="item.img" mode=""></image>
+				<view class="texts">
+					{{item.text}}
+				</view>
+			</view>
+			<view :enable-hidden="item.hidden" :hidden="!item.id" v-if="canEdit" class="box edit" v-for="(item,index) in itemData"
+				:key="index" @tap="switchHidden(index)">
+				<uni-icons class="edit-mark" color="red" type="closeempty"></uni-icons>
+				<image :src="item.img" mode=""></image>
+				<view class="texts">
+					{{item.text}}
+				</view>
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	import {
+		CommonUtils
+	} from '../../utils/common'
+	import {
+		getMenuList,
+		setMenuList
+	} from '../../utils/menuListApp'
+	import {
+		getUserInfo
+	} from '../../utils/auth'
+	export default {
+		data() {
+			return {
+				updateCount: 0,
+				menuListName: 'tab3',
+				canEdit: false,
+				serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
+				itemData: [
+					{
+						img: '../../static/icon/icon6.png',
+						text: '妯″叿鐘舵�佸垎鏋�',
+						tip: '鏌ョ湅璇︽儏',
+						url: '/pages/mujvzhuangtai/mujvzhuangtai',
+						id: 15,
+						hidden: false,
+					
+					},
+					{
+						img: '../../static/icon/icon8.png',
+						text: '妯″叿妗f鏌ヨ',
+						url: `/pages/MJGL/Gy_MouldFile/Gy_MouldFileList`,
+						id: 36,
+						hidden: false,
+					},
+					{
+						img: '../../static/icon/icon16.png',
+						text: '鍣ㄥ叿瀵垮懡',
+						url: '/pages/shoujishouming/table',
+						id: 17,
+						hidden: false,
+					},
+					{
+						"img": "../../static/icon/icon13.png",
+						"text": "妯″叿鏁呴殰鐧昏鍒楄〃",
+						"url": "/pages/qijvguzhangdengji/mouldMistake",
+						"id": 37,
+						"hidden": false
+					},
+					{
+						"img": "../../static/icon/icon13.png",
+						"text": "妯″叿鏁呴殰鐧昏鍗�",
+						"url": "/pages/qijvguzhangdengji/mouldMistakeBill?operationType=1",
+						"id": 38,
+						"hidden": false
+					},
+					{
+						"img": "../../static/icon/icon13.png",
+						"text": "妯″叿缁翠慨璁板綍鍒楄〃",
+						"url": "/pages/weixiujilu/mouldRepairRecordBillList",
+						"id": 39,
+						"hidden": false
+					},
+					{
+						"img": "../../static/icon/icon13.png",
+						"text": "妯″叿缁翠慨璁板綍鍗�",
+						"url": "/pages/weixiujilu/mouldRepairRecordBill",
+						"id": 40,
+						"hidden": false
+					},
+					
+					{
+						"img": "../../static/icon/icon5.png",
+						"text": "妯″叿鐐规璁板綍鍗曞垪琛�",
+						"url": "/pages/MJGL/mujudianjianjiludan/MouldDotCheckPlanBillList",
+						"id": 47,
+						"hidden": false
+					},
+					{
+						"img": "../../static/icon/icon5.png",
+						"text": "妯″叿淇濆吇璁板綍鍗曞垪琛�",
+						"url": "/pages/MJGL/mujubaoyangjiludan/mouldMaintainRecordBillList",
+						"id": 48,
+						"hidden": false
+					},
+					{
+						"img": "../../static/icon/icon8.png",
+						"text": "妯″叿棰嗘枡鍑哄簱鍗曞垪琛�",
+						"url": "/pages/MJGL/mujulingliaochukudan/MouldProdOutBillList",
+						"id": 49,
+						"hidden": false
+					},
+					{
+						"img": "../../static/icon/icon8.png",
+						"text": "妯″叿棰嗘枡閫�搴撳崟鍒楄〃",
+						"url": "/pages/MJGL/mujulingliaotuikudan/Sc_MouldProdBackBillList",
+						"id": 50,
+						"hidden": false
+					},
+					{
+						"img": "../../static/icon/icon8.png",
+						"text": "妯″叿璋冩嫧鍗曞垪琛�",
+						"url": "/pages/MJGL/qijudiaobodan/Sc_MouldMoveStockBillList",
+						"id": 51,
+						"hidden": false
+					},
+					{
+						"img": "../../static/icon/icon8.png",
+						"text": "妯″叿鎶ュ簾鍑哄簱鍗曞垪琛�",
+						"url": "/pages/MJGL/MouldScrapOutBill/MouldScrapOutBillList",
+						"id": 51,
+						"hidden": false
+					},
+                    
+				]
+			}
+		},
+		onLoad() {
+			this.getHiddenItem()
+		},
+		methods: {
+			judgeHidden() {
+				return process.env.NODE_ENV === 'development'
+			},
+			async getHiddenItem() {
+				let data = await getMenuList({
+					menuName: this.menuListName
+				})
+				Array.from(data).forEach(e => {
+					this.itemData[e["HIndex"]].hidden = !CommonUtils.stringToBoolean(e["HShowMode"])
+					this.itemData[e["HIndex"]].id = e["HEntryID"];//id涓�0寮哄埗闅愯棌
+				})
+			},
+			switchHidden(index) {
+				this.updateCount++;
+				this.itemData[index].hidden = !this.itemData[index].hidden
+				
+			},
+			switchIconsModeHandler() {
+				this.canEdit = !this.canEdit
+				if (this.canEdit == false && this.updateCount > 0) {
+					this.$nextTick(() => {
+						// uni.setStorageSync("HIndexItemData", this.itemData)
+						setMenuList({
+							menuName: this.menuListName,
+							payload: this.itemData
+						})
+
+						this.updateCount = 0
+					})
+				}
+				this.$forceUpdate()
+			},
+			toUrl(item) {
+				if (item.url) {
+					uni.navigateTo({
+						url: item.url
+					})
+				} else {
+					uni.showToast({
+						title: '鍔熻兘寮�鍙戜腑銆傘�傘��',
+						icon: 'none'
+					})
+				}
+			}
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	// .mains{
+	// 	width: 720rpx;
+	// 	margin: 0 auto;
+	// 	display: flex;
+	// 	flex-wrap: wrap;
+	// 	margin-top: 10rpx;
+	// 	padding-bottom: 80rpx;
+	// 	.box{
+	// 		width: 100%;
+	// 		margin: 26rpx 26rpx 0 26rpx;
+	// 		padding: 0 0 16rpx 10rpx;
+	// 		display: flex;
+	// 		align-items: center;
+	// 		border-bottom: 1px solid #f0f0f0;
+	// 		image{
+	// 			width: 52rpx;
+	// 			height: 52rpx;
+	// 		}
+	// 		.texts{
+	// 			font-size: 30rpx;
+	// 			color: #333333;
+	// 			margin-left: 30rpx;
+	// 		}
+	// 	}
+	// }
+
+	.header {
+		width: 100%;
+		height: 2em;
+		position: relative;
+
+		.switch-button {
+			position: absolute;
+			right: 10rpx;
+			bottom: 0;
+		}
+	}
+
+	.mains {
+		width: 720rpx;
+		margin: 0 auto;
+		display: flex;
+		flex-wrap: wrap;
+		padding-bottom: 80rpx;
+
+		.box {
+			width: 25%;
+			margin-top: 2.5vh;
+			text-align: center;
+
+			image {
+				width: 18vw;
+				height: 18vw;
+			}
+
+			.texts {
+				width: 120rpx;
+				margin: 0 auto;
+				font-size: 29rpx;
+				font-weight: normal;
+				color: #333333;
+				margin-top: .2vh;
+			}
+		}
+
+		.edit {
+			position: relative;
+		}
+
+		.edit-mark {
+			position: absolute;
+			top: 0;
+			right: 0;
+		}
+
+		view[enable-hidden] {
+			opacity: .4 !important;
+		}
+
+		view[hidden] {
+			display: none;
+		}
+	}
+</style>
\ No newline at end of file
diff --git a/pages/index/tab4.vue b/pages/index/tab4.vue
new file mode 100644
index 0000000..23966cd
--- /dev/null
+++ b/pages/index/tab4.vue
@@ -0,0 +1,278 @@
+<template>
+	<view class="content">
+		<view class="header">
+			<view class="switch-button">
+				<uni-icons type="loop" @click="switchIconsModeHandler"></uni-icons>
+			</view>
+		</view>
+		<view class="mains">
+			<view v-if="!canEdit" :hidden="item.hidden||!item.id" class="box" v-for="(item,index) in itemData" :key="index"
+				@tap="toUrl(item)">
+				<image :src="item.img" mode=""></image>
+				<view class="texts">
+					{{item.text}}
+				</view>
+			</view>
+			<view :enable-hidden="item.hidden" :hidden="!item.id" v-if="canEdit" class="box edit" v-for="(item,index) in itemData"
+				:key="index" @tap="switchHidden(index)">
+				<uni-icons class="edit-mark" color="red" type="closeempty"></uni-icons>
+				<image :src="item.img" mode=""></image>
+				<view class="texts">
+					{{item.text}}
+				</view>
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	import {
+		CommonUtils
+	} from '../../utils/common'
+	import {
+		getMenuList,
+		setMenuList
+	} from '../../utils/menuListApp'
+	import {
+		getUserInfo
+	} from '../../utils/auth'
+	export default {
+		data() {
+			return {
+				updateCount: 0,
+				menuListName: 'tab4',
+				canEdit: false,
+				serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
+				itemData: [
+					{
+						"img": "../../static/icon/icon13.png",
+						"text": "棣栦欢妫�楠屽崟鍒楄〃",
+						"url": "/pages/ZLGL/shoujianjianyan/firstCheckBillList",
+						"id": 41,
+						"hidden": false
+					},
+					{
+						"img": "../../static/icon/icon13.png",
+						"text": "棣栦欢妫�楠屽崟",
+						"url": "/pages/ZLGL/shoujianjianyan/firstCheckBill?operationType=1",
+						"id": 42,
+						"hidden": false
+					},
+					{
+					    "img": "../../static/icon/icon8.png",
+					    "text": "宸℃妫�楠屽崟鍒楄〃",
+					    "url": "/pages/ZLGL/xunjianjianyan/PatrolProcCheckBillList",
+					    "id": 43,
+					    "hidden": false
+					},
+					{
+					    "img": "../../static/icon/icon8.png",
+					    "text": "宸℃妫�楠屽崟",
+					    "url": "/pages/ZLGL/xunjianjianyan/PatrolProcCheckBill?operationType=1",
+					    "id": 44,
+					    "hidden": false
+					},
+					{
+					    "img": "../../static/icon/icon8.png",
+					    "text": "鏈欢妫�楠屽崟鍒楄〃",
+					    "url": "/pages/ZLGL/mojianjianyan/lastPieceCheckBillList",
+					    "id": 45,
+					    "hidden": false
+					},
+					{
+					    "img": "../../static/icon/icon8.png",
+					    "text": "鏈欢妫�楠屽崟",
+					    "url": "/pages/ZLGL/mojianjianyan/lastPieceCheckBill?operationType=1",
+					    "id": 46,
+					    "hidden": false
+					},
+					{
+						"img": "../../static/icon/icon8.png",
+						"text": "鏉ユ枡妫�楠屽崟",
+						"url": "/pages/ZLGL/lailiaojianyan/POStockInCheckBill",
+						"id": 53,
+						"hidden": false
+					},
+					{
+						"img": "../../static/icon/icon8.png",
+						"text": "鏉ユ枡妫�楠屽垪琛�",
+						"url": "/pages/ZLGL/lailiaojianyan/POStockInCheckBillList",
+						"id": 54,
+						"hidden": false
+					},
+					{
+						"img": "../../static/icon/icon8.png",
+						"text": "鐢熶骇鍏ュ簱鏍¢獙鍗�",
+						"url": "/pages/ZLGL/shengchanrukujiaoyan/QC_LastPieceCheckBill_v2",
+						"id": 53,
+						"hidden": false
+					},
+					{
+						"img": "../../static/icon/icon8.png",
+						"text": "鍑哄巶鏍¢獙鍗�",
+						"url": "/pages/ZLGL/chuchangjiaoyandan/QC_OutCompCheckBill",
+						"id": 54,
+						"hidden": false
+					},
+					{
+						"img": "../../static/icon/icon8.png",
+						"text": "鏉ユ枡妫�楠�(鎵归噺)",
+						"url": "/pages/ZLGL/lailiaojianyan_fast/Kf_QCStockInCheckBill_Fast",
+						"id": 55,
+						"hidden": false
+					},
+					{
+						"img": "../../static/icon/icon8.png",
+						"text": "鍏ㄦ妫�楠屽崟",
+						"url": "/pages/ZLGL/QualityReportStep/QualityReportStepBill",
+						"id": 55,
+						"hidden": false
+					},
+					{
+						"img": "../../static/icon/icon8.png",
+						"text": "鍏ㄦ妫�楠屽崟鏌ヨ",
+						"url": "/pages/ZLGL/QualityReportStep/QualityReportStepBillList",
+						"id": 55,
+						"hidden": false
+					}
+                    
+				]
+			}
+		},
+		onLoad() {
+			this.getHiddenItem()
+		},
+		methods: {
+			judgeHidden() {
+				return process.env.NODE_ENV === 'development'
+			},
+			async getHiddenItem() {
+				let data = await getMenuList({
+					menuName: this.menuListName
+				})
+				Array.from(data).forEach(e => {
+					this.itemData[e["HIndex"]].hidden = !CommonUtils.stringToBoolean(e["HShowMode"])
+					this.itemData[e["HIndex"]].id = e["HEntryID"];//id涓�0寮哄埗闅愯棌
+				})
+			},
+			switchHidden(index) {
+				this.updateCount++;
+				this.itemData[index].hidden = !this.itemData[index].hidden
+				
+			},
+			switchIconsModeHandler() {
+				this.canEdit = !this.canEdit
+				if (this.canEdit == false && this.updateCount > 0) {
+					this.$nextTick(() => {
+						// uni.setStorageSync("HIndexItemData", this.itemData)
+						setMenuList({
+							menuName: this.menuListName,
+							payload: this.itemData
+						})
+
+						this.updateCount = 0
+					})
+				}
+				this.$forceUpdate()
+			},
+			toUrl(item) {
+				if (item.url) {
+					uni.navigateTo({
+						url: item.url
+					})
+				} else {
+					uni.showToast({
+						title: '鍔熻兘寮�鍙戜腑銆傘�傘��',
+						icon: 'none'
+					})
+				}
+			}
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	// .mains{
+	// 	width: 720rpx;
+	// 	margin: 0 auto;
+	// 	display: flex;
+	// 	flex-wrap: wrap;
+	// 	margin-top: 10rpx;
+	// 	padding-bottom: 80rpx;
+	// 	.box{
+	// 		width: 100%;
+	// 		margin: 26rpx 26rpx 0 26rpx;
+	// 		padding: 0 0 16rpx 10rpx;
+	// 		display: flex;
+	// 		align-items: center;
+	// 		border-bottom: 1px solid #f0f0f0;
+	// 		image{
+	// 			width: 52rpx;
+	// 			height: 52rpx;
+	// 		}
+	// 		.texts{
+	// 			font-size: 30rpx;
+	// 			color: #333333;
+	// 			margin-left: 30rpx;
+	// 		}
+	// 	}
+	// }
+
+	.header {
+		width: 100%;
+		height: 2em;
+		position: relative;
+
+		.switch-button {
+			position: absolute;
+			right: 10rpx;
+			bottom: 0;
+		}
+	}
+
+	.mains {
+		width: 720rpx;
+		margin: 0 auto;
+		display: flex;
+		flex-wrap: wrap;
+		padding-bottom: 80rpx;
+
+		.box {
+			width: 25%;
+			margin-top: 2.5vh;
+			text-align: center;
+
+			image {
+				width: 18vw;
+				height: 18vw;
+			}
+
+			.texts {
+				width: 120rpx;
+				margin: 0 auto;
+				font-size: 29rpx;
+				font-weight: normal;
+				color: #333333;
+				margin-top: .2vh;
+			}
+		}
+
+		.edit {
+			position: relative;
+		}
+
+		.edit-mark {
+			position: absolute;
+			top: 0;
+			right: 0;
+		}
+
+		view[enable-hidden] {
+			opacity: .4 !important;
+		}
+
+		view[hidden] {
+			display: none;
+		}
+	}
+</style>
\ No newline at end of file
diff --git a/pages/mujvzhuangtai/mujvzhuangtai.vue b/pages/mujvzhuangtai/mujvzhuangtai.vue
index c7cc673..c8d6fb0 100644
--- a/pages/mujvzhuangtai/mujvzhuangtai.vue
+++ b/pages/mujvzhuangtai/mujvzhuangtai.vue
@@ -137,7 +137,7 @@
 				this.moulds = []
 				this.doRequest(
 					"/Web/Get_Sc_MouldStatusAnalysisList", {
-						sWhere: ` and HWHID = ${id}`,
+						sWhere: ` and HWHID = ${id} and HUSEORGID = ${uni.getStorageSync("OrganizationID")}`,
 						user: this.userInfo.Czymc,
 						Organization: this.organInfo.name
 					},

--
Gitblit v1.9.1