diff --git a/src/views/basic/invWarehouse.vue b/src/views/basic/invWarehouse.vue index beca0b3..bd0b276 100644 --- a/src/views/basic/invWarehouse.vue +++ b/src/views/basic/invWarehouse.vue @@ -876,7 +876,7 @@ export default { bussinessTypeQuery: { enabled: true, page: 1, - limit: 100 + limit: 10 }, bussinessTypeTotal: 0, curSeleUser: null, @@ -1355,6 +1355,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; @@ -1365,10 +1366,8 @@ export default { 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); - } } }); });