From c3eb6c900630ba847c5bd55ff0b8657b8d1ed1ea Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 24 五月 2023 17:24:01 +0800
Subject: [PATCH] 1.新增补打生产条码功能(还没全实现)2.生产开报工页面末道工序打印入库条码
---
src/views/qualityManager/processCheck.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/views/qualityManager/processCheck.vue b/src/views/qualityManager/processCheck.vue
index a6687b4..85f5b7a 100644
--- a/src/views/qualityManager/processCheck.vue
+++ b/src/views/qualityManager/processCheck.vue
@@ -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.data.chekstand[0].sampscare
+ : res.data.labcont[0].good_qty * res.data.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