From 62fd60fd93920ff5062c2e24b21ea8a71acdbe2e Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期三, 30 八月 2023 13:36:30 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.110.209:9001/r/lims-before

---
 src/views/inspectionManagement/commissionInspection/addCommision.vue |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/src/views/inspectionManagement/commissionInspection/addCommision.vue b/src/views/inspectionManagement/commissionInspection/addCommision.vue
index 42dbefa..306bafb 100644
--- a/src/views/inspectionManagement/commissionInspection/addCommision.vue
+++ b/src/views/inspectionManagement/commissionInspection/addCommision.vue
@@ -22,7 +22,11 @@
 						<el-table-column type="index" label="搴忓彿" min-width="10%" />
 						<el-table-column prop="sampleNumber" label="鏍峰搧缂栧彿" min-width="8%" />
 						<el-table-column prop="sampleName" label="鏍峰搧鍚嶇О" min-width="10%" />
-						<el-table-column prop="specificationsModels" label="瑙勬牸鍨嬪彿" min-width="10%" />
+						<el-table-column prop="specificationsModels" label="瑙勬牸鍨嬪彿" min-width="10%" >
+							<template slot-scope="scope">
+								
+							</template>
+						</el-table-column>
 						<el-table-column prop="unit" label="鍗曚綅" min-width="8%" />
 						<el-table-column prop="samplesNumber" label="鏁伴噺" min-width="8%" />
 						<!-- <el-table-column prop="addway" label="娣诲姞鏂瑰紡" min-width="8%">
@@ -315,6 +319,7 @@
 			this.viewId = this.$route.params.viewId
 			this.$store.commit('settings/SAVE_LINK', this.viewId)
 			this.getlink(this.$route.params.viewId)
+			this.getContractsSampleInfo(this.$route.params.viewId)
 		},
 		mounted() {
 			this.getSampleName()
@@ -335,6 +340,11 @@
 					} else {
 						this.getContractsSampleInfo()
 					}
+				})
+			},
+			async getContractsSampleInfo(viewId) {
+				let res = await getContractsSampleInfo({
+					viewId
 				})
 			},
 			async getSampleName() {
@@ -442,6 +452,7 @@
 				getContractsSampleInfo({
 					viewId: this.viewId
 				}).then(res => {
+					if (res.data == null) return
 					this.infoForm = {
 						commisioncode: res.data.entrustCoding,
 						deadline: res.data.completionDeadline,
@@ -459,6 +470,9 @@
 					}
 					this.detectionInfo = res.data.linkDetectionList
 				})
+			},
+			getSpeName(id){
+				return name
 			}
 		}
 	}

--
Gitblit v1.9.3