退料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) => {
qrCode.value = result?.data?.split('?qrcode=')[1] || result?.data
if (qrCode.value === '') {
qrCode.value = result?.data?.split('?qrcode=')[1] || ''
if (qrCode.value === '' || result?.canceled) {
uni.showToast({ title: '扫码识别失败', icon: 'none' })
} else {
getMaInfoScan()

View File

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

View File

@ -255,6 +255,8 @@ const initPageData = () => {
console.log(queryParams.value)
getReviewInfo(queryParams.value.id)
fetchAuditInfo()
//
// getNodeAuditStatus()
}
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 res = await getCodeDeviceListAPI(queryCodeParams.value)