From cd65ad764e3e9cf2fa3574476d946626f805a745 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期一, 26 八月 2024 17:41:09 +0800
Subject: [PATCH] 样品管理状态变更+认领刷新

---
 src/components/view/b1-inspect-order-plan.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/components/view/b1-inspect-order-plan.vue b/src/components/view/b1-inspect-order-plan.vue
index 160846c..2bd248c 100644
--- a/src/components/view/b1-inspect-order-plan.vue
+++ b/src/components/view/b1-inspect-order-plan.vue
@@ -323,7 +323,7 @@
 							type: 'text',
 							method: 'handleInspection',
 							disabFun: (row, index) => {
-								return row.userName == null || row.insState == 3 || row.insState == 5||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name))
+								return row.userName == null || row.insState == 3 || row.insState == 5||row.insState == 6||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name))
 							}
               // disabFun: (row, index) => {
 							// 	return row.userId == null || row.insState == 3 || row.insState == 5
@@ -334,7 +334,7 @@
 							type: 'text',
 							method: 'handleConnect',
 							disabFun: (row, index) => {
-								return row.userName == null || row.insState == 5  || row.insState == 3||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name))
+								return row.userName == null || row.insState == 5  || row.insState == 3||row.insState == 6||(row.userName&&!row.userName.includes(JSON.parse(localStorage.getItem("user")).name))
 							}
 						},
 						{
@@ -474,7 +474,7 @@
 					this.sampleUserForm = {
 						entrustCode: row.entrustCode,
 						insSampleId: row.id,
-            sonLaboratory: row.sonLaboratory,
+            			sonLaboratory: row.sonLaboratory,
 					}
 					this.claimVisible = true
 				}
@@ -491,6 +491,8 @@
 						this.$message.success("璁ら鎴愬姛")
 						this.claimVisible = false
 						this.refreshTable('page')
+					} else {
+						this.loading = false;
 					}
 				}).catch(error => {
 					console.error(error)

--
Gitblit v1.9.3