From 1be1b02ce28638c92076e4d40afec70a3f4c2249 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 07 五月 2024 14:37:02 +0800 Subject: [PATCH] 产品模块 启用多单位点击取消关闭复选框+点击确定的时候增加至少填写一项的校验 --- src/views/warehouseManage/position/index.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/warehouseManage/position/index.vue b/src/views/warehouseManage/position/index.vue index b1bc80c..773ef77 100644 --- a/src/views/warehouseManage/position/index.vue +++ b/src/views/warehouseManage/position/index.vue @@ -124,12 +124,13 @@ }, // 璇锋眰鏁版嵁 async getData() { - await getLocationList({ + let params={ type: this.type, keyword: this.keyword, page: this.pagerOptions.currPage, - pageSize: this.pagerOptions.pageSize - }).then((res) => { + pageSize: this.pagerOptions.pageSize, + } + await getLocationList(params).then((res) => { if (res.code === 200) { const list = res.data ? res.data : [] this.tableList.tableInfomation = list -- Gitblit v1.8.0