From 580cb6210db496d1aee9fd4b0871ab0f0e637be2 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 30 五月 2023 18:00:22 +0800
Subject: [PATCH] 1.递交
---
src/views/qualityManager/processCheck.vue | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/views/qualityManager/processCheck.vue b/src/views/qualityManager/processCheck.vue
index 0a8ff5b..5eda405 100644
--- a/src/views/qualityManager/processCheck.vue
+++ b/src/views/qualityManager/processCheck.vue
@@ -112,7 +112,7 @@
>
<el-link :underline="false" :disabled="!(stepActive>0)" style="width: 60px;margin-top: 5px" @click="pre">涓婁竴浠�
</el-link>
- <el-steps :active="stepActive" style="width: 80%;margin:0 10px;" finish-status="success">
+ <el-steps :active="stepActive" style="width: 70%;margin:0 10px;" finish-status="success">
<el-step v-for="item in form.sampscare" :key="item" title="" />
</el-steps>
<el-link
@@ -362,7 +362,10 @@
this.form.checkstandcode = res.chekstand[0].checkstandcode
this.form.checkstandname = res.chekstand[0].checkstandname
this.form.sampmethod = res.chekstand[0].sampmethod
- this.form.sampscare = res.chekstand[0].sampscare // 涓嬪崍鍐欒繖閲� *姣斾緥
+
+ this.form.sampscare = res.chekstand[0].sampmethod === 'FIXED' ? res.chekstand[0].sampscare
+ : res.labcont[0].good_qty * res.chekstand[0].sampscare / 100
+ this.form.sampscare = this.form.sampscare <= this.form.good_qty ? this.form.sampscare : this.form.good_qty
await this.getMesOrderStepCheckItemList()
},
--
Gitblit v1.9.3