From a075ef6b7cbd09d727068ef3d7e08691775dbb16 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期五, 22 三月 2024 17:58:58 +0800
Subject: [PATCH] 合并冲突

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

diff --git a/src/components/view/b1-inspect-order-plan.vue b/src/components/view/b1-inspect-order-plan.vue
index d3189d5..2b397b2 100644
--- a/src/components/view/b1-inspect-order-plan.vue
+++ b/src/components/view/b1-inspect-order-plan.vue
@@ -164,7 +164,7 @@
 		<div style="width: 100%;height: 100%;" v-if="activeFace >0">
 			<Add :active="activeFace" :currentId="currentId"/>
 		</div>
-    <Inspection v-if="state==1" @goback="state=0" :orderId="orderId" :sonLaboratory="componentData.entity.sonLaboratory"/>
+    <Inspection v-if="state==1" @goback="goback" :orderId="orderId" :sonLaboratory="componentData.entity.sonLaboratory"/>
 	</div>
 </template>
 
@@ -209,7 +209,10 @@
 							id: '',
 							font: '妫�楠�',
 							type: 'text',
-							method: 'handleInspection'
+							method: 'handleInspection',
+							disabFun: (row, index) => {
+								return row.userId == null
+							}
 						}, {
 							id: '',
 							font: '浜ゆ帴',
@@ -270,7 +273,7 @@
 				activeFace: 0, //1锛氫笅鍗曪紝2锛氭煡鐪嬶紝3锛氬鏍�
 				currentId: null,
 				entityCopy: {},
-				orderId: 0
+				orderId: 0,
 			}
 		},
 		created() {
@@ -413,6 +416,10 @@
 			playOrder(num) {
 				this.activeFace = num
 			},
+			goback() {
+				this.state = 0
+				this.refreshTable()
+			},
       handleInspection(row){
         this.state = 1;
 				this.orderId = row.id

--
Gitblit v1.9.3