From 3af256aa286c96d5cf30841335e03c9884cd7a18 Mon Sep 17 00:00:00 2001 From: zhengmingliang Date: Wed, 2 Nov 2022 17:33:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=93=E5=BA=93=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E5=8D=95=E6=8D=AE=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/invWarehouse.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/basic/invWarehouse.vue b/src/views/basic/invWarehouse.vue index 6fa1563..1639be9 100644 --- a/src/views/basic/invWarehouse.vue +++ b/src/views/basic/invWarehouse.vue @@ -887,7 +887,7 @@ export default { bussinessTypeQuery: { enabled: true, page: 1, - limit: 100 + limit: 10 }, bussinessTypeTotal: 0, curSeleUser: null, @@ -1376,6 +1376,7 @@ export default { if (val != null) { this.bussinessTypeQuery.page = val; } + this.bussinessTypeQuery.code=this.busQuery.code; getJoinBussinessType(this.bussinessTypeQuery).then((res) => { this.selectBussinessTypeList = []; this.bussinessTypeList = res.data.list; @@ -1385,11 +1386,10 @@ export default { if (that.$refs.typeList) { that.$refs.typeList.clearSelection(); } + that.bussinessTypeList.forEach(row => { - for (let j in that.bussinessTypeData) { - if (row.action == that.bussinessTypeData[j].action) { + if (row.checkSelect==true) { that.$refs.typeList.toggleRowSelection(row, true); - } } }); });