This commit is contained in:
hayu 2025-05-30 14:18:46 +08:00
parent 38fe60ebc5
commit 66fdffa472
2 changed files with 6 additions and 6 deletions

View File

@ -438,10 +438,10 @@ const scanStart = () => {
if (codeDeviceList.value.length > 0) { if (codeDeviceList.value.length > 0) {
const seen = new Set() const seen = new Set()
codeDeviceList.value = codeDeviceList.value.filter((item) => { codeDeviceList.value = codeDeviceList.value.filter((item) => {
if (!item.typeId || seen.has(item.typeId)) { if (!item.maCode || seen.has(item.maCode)) {
return false return false
} }
seen.add(item.typeId) seen.add(item.maCode)
return true return true
}) })
//materialModel //materialModel

View File

@ -208,10 +208,10 @@ const leaseOut = (item) => {
url: `/pages/toolsLease/toolsLeaseOut?params=${params}`, url: `/pages/toolsLease/toolsLeaseOut?params=${params}`,
}) })
} else { } else {
uni.showToast({ // uni.showToast({
title: '已完成出库', // title: '',
icon: 'none', // icon: 'none',
}) // })
} }
} }