From 658177b84f07e0192c4f382b711f0070f09d6f57 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Mon, 28 Jul 2025 10:38:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=90=E6=96=99=E5=91=98-=E9=A2=86=E6=96=99?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/manifest.json | 4 +++- src/pages/materialsStation/index/index.vue | 2 +- .../materialsStation/materialClerkConfirms/detailsList.vue | 6 +++++- .../materialClerkConfirms/materialClerkConfirms.vue | 3 +-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/manifest.json b/src/manifest.json index 97dd639..a295aef 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -46,7 +46,9 @@ "", "", "", - "" + "", + "CAMERA", + "WRITE_EXTERNAL_STORAGE" ] }, /* ios打包配置 */ diff --git a/src/pages/materialsStation/index/index.vue b/src/pages/materialsStation/index/index.vue index 677e912..1180af3 100644 --- a/src/pages/materialsStation/index/index.vue +++ b/src/pages/materialsStation/index/index.vue @@ -73,7 +73,7 @@ const isUsingList = ref([ { path: 'teamStore', name: '班组库存', src: 'teamStore', isShow: true }, { path: 'teamWarning', name: '班组预警', src: 'teamWarning', isShow: true }, { path: 'authorizeSignature', name: '项目部授权', src: 'authorizeSignature', isShow: true }, - { path: 'materialClerkConfirms', name: '材料员确认', src: 'outStore', isShow: true }, + { path: 'materialClerkConfirms', name: '领料确认', src: 'outStore', isShow: true }, ]) const userAgent = navigator.userAgent.toLowerCase() diff --git a/src/pages/materialsStation/materialClerkConfirms/detailsList.vue b/src/pages/materialsStation/materialClerkConfirms/detailsList.vue index 554553a..d1d5741 100644 --- a/src/pages/materialsStation/materialClerkConfirms/detailsList.vue +++ b/src/pages/materialsStation/materialClerkConfirms/detailsList.vue @@ -36,11 +36,15 @@ import { getInfoByIdApi } from '@/services/materialsStation' const itemId = ref(null) const tableList = ref([]) +onShow(() => { + if (itemId.value) getList() +}) + onLoad((opt) => { console.log('🚀 ~ onLoad ~ opt:', opt) itemId.value = opt.id console.log('🚀 ~ itemId.value:', itemId.value) - getList() + // getList() }) const onScrollTolower = () => { diff --git a/src/pages/materialsStation/materialClerkConfirms/materialClerkConfirms.vue b/src/pages/materialsStation/materialClerkConfirms/materialClerkConfirms.vue index 23d5ba2..53420e0 100644 --- a/src/pages/materialsStation/materialClerkConfirms/materialClerkConfirms.vue +++ b/src/pages/materialsStation/materialClerkConfirms/materialClerkConfirms.vue @@ -83,8 +83,7 @@ const finish = computed(() => { if (total.value === tableList.value.length) return true }) -onShow((opt) => { - console.log('🚀 ~ onLoad ~ opt:', opt) +onShow(() => { getList() })