From 808b9c25bedd4205651d8ac821838f9b2e7a5044 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期二, 04 六月 2024 20:37:58 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master
---
src/components/do/b1-inspect-order-plan/Inspection.vue | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue
index b48d136..9b56e5b 100644
--- a/src/components/do/b1-inspect-order-plan/Inspection.vue
+++ b/src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -182,6 +182,11 @@
.inspection .el-textarea__inner {
min-height: 100% !important;
}
+
+ .inspection .tables .el-input{
+ display: flex;
+ align-items: center;
+ }
</style>
<template>
<div v-loading="loading" class="inspection">
@@ -514,7 +519,7 @@
this.$axios.post(this.$api.insOrderPlan.doInsOrder, {
id: val,
laboratory: this.sonLaboratory
- }).then(res => {
+ }).then(async res => {
this.insOrder = res.data.insOrder;
this.urgentList.forEach(m => {
if (m.value == this.insOrder.type) {
@@ -523,6 +528,8 @@
})
this.sampleProduct = res.data.sampleProduct
this.currentSample = this.HaveJson(this.sampleProduct[0])
+ let list = await this.getCurrentProduct(this.currentSample.id,0)
+ this.currentSample.insProduct = this.HaveJson(list)
this.currentSample.insProduct.forEach(a => {
this.param[a.id] = {
insValue: [],
@@ -638,6 +645,7 @@
this.bushing = []
this.currentBushing = null;
this.sampleVisible = false;
+ this.currentSample = this.HaveJson(row)
let list = await this.getCurrentProduct(row.id,0)
this.currentSample.insProduct = this.HaveJson(list)
this.currentSample.insProduct.forEach(a => {
@@ -1483,7 +1491,7 @@
flag = false;
});
},
- caretSample(num){
+ async caretSample(num){
let index = this.currentKey + num
if(index < 1){
this.$message.error('褰撳墠鏄涓�涓牱鍝�')
@@ -1494,6 +1502,8 @@
}
this.currentKey = index
this.currentSample = this.HaveJson(this.sampleProduct[index - 1])
+ let list = await this.getCurrentProduct(this.currentSample.id,0)
+ this.currentSample.insProduct = this.HaveJson(list)
this.currentSample.insProduct.forEach(a => {
this.param[a.id] = {
insValue: [],
--
Gitblit v1.9.3