From c77637aa6781f3275839674cb4fa2d4b72b8827c Mon Sep 17 00:00:00 2001
From: charles <981744753@qq.com>
Date: 星期一, 15 七月 2024 19:34:55 +0800
Subject: [PATCH] fix:修复纤度登记表,检验表,产量等级表部分的bug修复

---
 src/views/productManage/silkRegisterForm/index.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/views/productManage/silkRegisterForm/index.vue b/src/views/productManage/silkRegisterForm/index.vue
index e6e7349..0281044 100644
--- a/src/views/productManage/silkRegisterForm/index.vue
+++ b/src/views/productManage/silkRegisterForm/index.vue
@@ -28,9 +28,10 @@
             @selTableCol="selTableCol"
           >
             <template slot="tableButton">
-              <el-table-column label="鎿嶄綔" width="90" fixed="right">
+              <el-table-column label="鎿嶄綔" width="120" fixed="right">
                 <template slot-scope="scope">
-                  <el-button @click="handleClick(scope.row)" type="text" size="small">淇敼</el-button>
+                  <el-button @click="handleClick(scope.row,1)" type="text" size="small">鏌ョ湅</el-button>
+                  <el-button @click="handleClick(scope.row,2)" type="text" size="small">淇敼</el-button>
                   <el-button @click="delClick(scope.row.ID)" type="text" size="small">鍒犻櫎</el-button>
                 </template>
               </el-table-column>
@@ -67,7 +68,7 @@
         { label: "钀戒笣鏃堕棿", prop: "finishDate", min: 190, }, // 瀹㈡埛鍚嶇О
         { label: "杞︾粍", prop: "workshopGroup", min: 100, }, // 鑱旂郴浜哄鍚�
         { label: "瑙勬牸", prop: "spec", min: 100 }, // 瀹㈡埛鐘舵��
-        { label: "杞﹂棿", prop: "name", min: 100 }, // 鑱旂郴鏂瑰紡
+        { label: "杞﹂棿", prop: "workshopName", min: 100 }, // 鑱旂郴鏂瑰紡
         { label: "搴勫彛", prop: "market", min: 130 }, // 鑱旂郴浜烘棩鏈�
         { label: "寮�濮嬪洖鏁�", prop: "circle", min: 130 }, // 涓嬫鍥炶鏃ユ湡
         { label: "缁撴潫鍥炴暟", prop: "totalCircle", min: 110 }, // 璐熻矗浜�
@@ -175,14 +176,14 @@
 
     },
     // 缂栬緫
-    handleClick(row) {
+    handleClick(row,type) {
       this.$router.push({
                 path:"/productManage/silkRegisterForm/addPage",
                 query:{
                   id:row.ID,
                   activeName:'first',
                   inspectID:row.finenessCheckID,
-                  title:'淇敼'
+                  title:type===1?'鏌ョ湅':'淇敼'
                 }
               });
     },

--
Gitblit v1.8.0