From 843c1f9be804a96c0d7fb46f42faadc6c8b71d54 Mon Sep 17 00:00:00 2001
From: gaoluyang <gaoluyang@rengu.cc>
Date: 星期二, 23 七月 2024 10:06:22 +0800
Subject: [PATCH] 装备-原材料下单前端页面

---
 src/components/do/b1-material-ins-order/customs-inspection.vue |    2 +-
 static/js/menu.js                                              |    9 ++++++++-
 src/view/index.vue                                             |    9 +++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/src/components/do/b1-material-ins-order/customs-inspection.vue b/src/components/do/b1-material-ins-order/customs-inspection.vue
index 740b459..240003f 100644
--- a/src/components/do/b1-material-ins-order/customs-inspection.vue
+++ b/src/components/do/b1-material-ins-order/customs-inspection.vue
@@ -159,7 +159,7 @@
         </div>
       </div>
       <el-table class="el-table sampleTable" ref="sampleTable" :data="sampleList" height="250px" tooltip-effect="dark"
-                border @selection-change="selectSample" highlight-current-row @row-click="rowClick" style="margin-top: 10px;">
+                border @selection-change="selectSample" highlight-current-row @row-click="rowClick" style="margin-bottom: 10px;">
         <el-table-column type="selection" width="60" :selectable="selectable" v-if="active==1"></el-table-column>
         <el-table-column type="index" label="搴忓彿" width="65" align="center"></el-table-column>
         <el-table-column prop="sample" label="鏍峰搧鍚嶇О" align="center" min-width="100">
diff --git a/src/view/index.vue b/src/view/index.vue
index 04edcb4..38dc5a4 100644
--- a/src/view/index.vue
+++ b/src/view/index.vue
@@ -435,6 +435,15 @@
 		},
 		created() {
 			this.menu = menus.menu
+      if (this.PROJECT !== '瑁呭鐢电紗') { // 妫�娴嬩腑蹇冩殏鏃�'鍘熸潗鏂欐楠屼笅鍗�'鍔熻兘
+        const index = this.menu.findIndex(item => item.v === '涓氬姟绠$悊')
+        if (index > -1) {
+          const index2 = this.menu[index].c.findIndex(obj => obj.v === '鍘熸潗鏂欐楠屼笅鍗�')
+          if (index2 > -1) {
+            this.menu[index].c.splice(index2, 1)
+          }
+        }
+      }
 		},
 		mounted() {
 			this.userName = JSON.parse(localStorage.getItem("user")).name;
diff --git a/static/js/menu.js b/static/js/menu.js
index 661aeff..f267eb5 100644
--- a/static/js/menu.js
+++ b/static/js/menu.js
@@ -14,7 +14,14 @@
 		v: "涓氬姟绠$悊",
 		i: "font icon-kexueyanjiuheshiyankaifa",
 		p: "selectInsOrderParameter selectInsOrderPlanList pageInsReport costStatistics selectWarehouse",
-		c: [{
+		c: [
+      {
+        v: "鍘熸潗鏂欐楠屼笅鍗�",
+        i: "font icon-erjidaohang",
+        u: "b1-material-inspection-order",
+        p: "selectInsOrderParameter"
+      },
+      {
 			v: "妫�楠屼笅鍗�",
 			i: "font icon-erjidaohang",
 			u: "b1-inspection-order",

--
Gitblit v1.9.3