退料bug修复

This commit is contained in:
hongchao 2025-08-13 14:48:00 +08:00
parent bc124fb907
commit 0758637e3b
3 changed files with 21 additions and 4 deletions

View File

@ -521,8 +521,8 @@ const scanStart = async () => {
// //
const handleScanSuccess = (result) => { const handleScanSuccess = (result) => {
qrCode.value = result?.data?.split('?qrcode=')[1] || result?.data qrCode.value = result?.data?.split('?qrcode=')[1] || ''
if (qrCode.value === '') { if (qrCode.value === '' || result?.canceled) {
uni.showToast({ title: '扫码识别失败', icon: 'none' }) uni.showToast({ title: '扫码识别失败', icon: 'none' })
} else { } else {
getMaInfoScan() getMaInfoScan()

View File

@ -433,8 +433,8 @@ const uploadSignUrlFj = (file) => {
// //
const handleScanSuccess = (result) => { const handleScanSuccess = (result) => {
qrCode.value = result?.data?.split('?qrcode=')[1] || result?.data qrCode.value = result?.data?.split('?qrcode=')[1] || ''
if (qrCode.value === '') { if (qrCode.value == '' || result?.canceled) {
uni.showToast({ title: '扫码识别失败', icon: 'none' }) uni.showToast({ title: '扫码识别失败', icon: 'none' })
} else { } else {
getMaInfoScan() getMaInfoScan()

View File

@ -255,6 +255,8 @@ const initPageData = () => {
console.log(queryParams.value) console.log(queryParams.value)
getReviewInfo(queryParams.value.id) getReviewInfo(queryParams.value.id)
fetchAuditInfo() fetchAuditInfo()
//
// getNodeAuditStatus()
} }
const getConfig = async () => { const getConfig = async () => {
@ -305,6 +307,21 @@ const fetchAuditInfo = async () => {
} }
} }
// const getNodeAuditStatus = async () => {
// try {
// // API
// const res = await getNodeAuditStatusAPI({taskId:queryParams.value.taskId})
// console.log('🚀 ~ getNodeAuditStatus ~ res:', res)
// console.log('🚀 ~ getNodeAuditStatus ~ auditingList:', auditingList.value)
// } catch (error) {
// //
// console.log('🚀 ~ getNodeAuditStatus ~ error:', error)
// }
// }
// //
const getCodeDeviceListData = async () => { const getCodeDeviceListData = async () => {
const res = await getCodeDeviceListAPI(queryCodeParams.value) const res = await getCodeDeviceListAPI(queryCodeParams.value)