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