From 8056285ea6e479a09ec616f7b1e714d510767f71 Mon Sep 17 00:00:00 2001 From: hongchao <3228015117@qq.com> Date: Mon, 23 Dec 2024 17:09:42 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/manifest.json | 2 +- src/pages/picking/outbound/code-outbound.vue | 4 +++- src/pages/picking/outbound/index.vue | 15 ++++++++------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/manifest.json b/src/manifest.json index 1e53d4a..d95bbbe 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,6 +1,6 @@ { "name" : "material-app", - "appid" : "__UNI__AD10BE7", + "appid" : "__UNI__2AF69B2", "description" : "", "versionName" : "1.0.1", "versionCode" : 101, diff --git a/src/pages/picking/outbound/code-outbound.vue b/src/pages/picking/outbound/code-outbound.vue index 79ae359..ebf8303 100644 --- a/src/pages/picking/outbound/code-outbound.vue +++ b/src/pages/picking/outbound/code-outbound.vue @@ -356,8 +356,10 @@ onLoad((options) => { console.log('监听事件', num) codeNum.value = num }) + console.log('options', options.queryParams) queryParams.value = JSON.parse(options.queryParams) - queryCodeParams.typeId = queryParams.value.typeId + console.log('22222222', queryParams.value) + queryCodeParams.value.typeId = queryParams.value.typeId getCodeDeviceListData() }) // 页面销毁时移除事件监听 diff --git a/src/pages/picking/outbound/index.vue b/src/pages/picking/outbound/index.vue index 971aeac..c6c3e38 100644 --- a/src/pages/picking/outbound/index.vue +++ b/src/pages/picking/outbound/index.vue @@ -2,12 +2,12 @@ - - 已完成 + + 未完成
- 未完成 + 已完成
@@ -126,7 +126,7 @@ const queryParams = ref({ startTime: '', // 开始时间 endTime: '', // 结束时间 keyWord: '', // 关键字 - statusList: [4], // 状态 + statusList: [3], // 状态 pageNum: 1, pageSize: 3, }) @@ -140,7 +140,7 @@ const onChangeDate = (val) => { // 获取列表数据 const getTableList = async (isTap = false) => { - // console.log('queryParams.value查询参数', queryParams.value) + console.log('queryParams.value查询参数', queryParams.value) const res = await getPickingOutboundListAPI(queryParams.value) console.log('res列表数据', res) total.value = res.total @@ -178,11 +178,12 @@ const onScrollTolower = debounce(() => { // tap 栏切换 const changeTab = (index) => { active.value = index - if (index == 1) { + console.log('index', index) + if (index == 2) { queryParams.value.statusList = [4] // 查已完成的 queryParams.value.pageNum = 1 getTableList(true) - } else if (index == 2) { + } else if (index == 1) { queryParams.value.statusList = [3] // 查未完成的 queryParams.value.pageNum = 1 getTableList(true)