小程序:质检报工调整,去除记忆功能
This commit is contained in:
parent
01bb0b9759
commit
3b034fa28c
@ -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()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user