From ef1b406e8112c097d70deb0e23fc9cec1c9a535f Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 11 七月 2024 12:49:30 +0800 Subject: [PATCH] 修改bug --- src/components/do/b1-ins-order/add.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue index cc855de..bae9b02 100644 --- a/src/components/do/b1-ins-order/add.vue +++ b/src/components/do/b1-ins-order/add.vue @@ -2221,7 +2221,9 @@ handleAll(e) { if (e.length > 0) { this.productList.map(m => { - m.state = 1 + if(e.find(a=>a.id == m.id)){ + m.state = 1 + } return m }) } else { -- Gitblit v1.9.3