From de1f12b08f8f06fe042efebe3438ecfe2eae023f Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Tue, 7 Nov 2023 13:39:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E9=AA=8C=E7=AD=96=E7=95=A5=E7=99=BE?= =?UTF-8?q?=E5=88=86=E6=AF=94=E7=AC=A6=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/rowDrop/index.vue | 14 ++++++------- .../strategy/inspectStrategy/AddForm.vue | 20 ++++++++++++++++--- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/src/components/rowDrop/index.vue b/src/components/rowDrop/index.vue index b70f1dec2..d57096b3b 100644 --- a/src/components/rowDrop/index.vue +++ b/src/components/rowDrop/index.vue @@ -2,13 +2,13 @@
全部 - - - - - + + + + +
@@ -248,6 +248,20 @@ const changeSupplierType = (e) => { } getFormSupplierList() +// 改变抽检方式的时候 +function changeSampleMethod(e){ + console.log(e); + if(e == 'PERCENT'){ + console.log(formData.value.configuration[2].Value) + formData.value.configuration[2].Value.forEach(cur=>{ + + if(cur.SampleValue>100){ + cur.SampleValue=100 + } + }) + } + +} /** 打开弹窗 */ const open = async (type: string, strategyCode: string, id?: number) => { formStrategyCode.value = strategyCode