小程序:质检报工调整,去除记忆功能

This commit is contained in:
郑庆 2025-11-17 19:06:54 +08:00
parent 01bb0b9759
commit 3b034fa28c

View File

@ -80,7 +80,11 @@ const getListData = async () => {
if (data.data!=null){ if (data.data!=null){
uni.showToast({ title: data.data, icon: 'none' }) uni.showToast({ title: data.data, icon: 'none' })
isScan.value=true isScan.value=true;
//
setTimeout(() => {
handleScan()
}, delay.value * 1000);
} }
data.list.forEach((e) => { data.list.forEach((e) => {
e.orderTime = formatDate(e.orderTime, 'YYYY-MM-DD') e.orderTime = formatDate(e.orderTime, 'YYYY-MM-DD')
@ -119,8 +123,8 @@ const getListData = async () => {
} }
onMounted(async () => { onMounted(async () => {
searchVal.value=getStoredSearchValue() //searchVal.value=getStoredSearchValue()
queryParams.subOrDetailName=getStoredSearchValue() //queryParams.subOrDetailName=getStoredSearchValue()
await getListData() await getListData()
}) })