From 7e78d0c0473e330040c4401c74adea9e24986850 Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期一, 05 八月 2024 10:54:19 +0800 Subject: [PATCH] 检验下单 第二次多选取消选择无法同步待检项数量 --- src/components/do/b1-inspect-order-plan/Inspection.vue | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue index 626fe2a..e857853 100644 --- a/src/components/do/b1-inspect-order-plan/Inspection.vue +++ b/src/components/do/b1-inspect-order-plan/Inspection.vue @@ -1513,6 +1513,23 @@ ] obj.value0 = insValue[0].v obj.value1 = insValue[1].v + }else if(insValue&&insValue.length==1){ + this.param[obj.id].insValue = [ + { + i:obj.id, + v:{ + v:insValue[0].v + } + }, + { + i:obj.id, + v:{ + v:'' + } + } + ] + obj.value0 = insValue[0].v + obj.value1 = '' } break; case 'comValue': -- Gitblit v1.9.3