This commit is contained in:
bb_pan 2025-06-25 15:35:34 +08:00
parent c9ad727508
commit 062594b9b5
1 changed files with 3 additions and 3 deletions

View File

@ -171,7 +171,7 @@
import { ref, computed } from 'vue'
import { onLoad, onShow } from '@dcloudio/uni-app'
import {
getInfoByQrcode,
getCodeScanAPI,
getMachineByIdApi,
getCodeDeviceListAPI,
} from '@/services/materialsStation'
@ -375,7 +375,7 @@ const scanStart = () => {
// const params = { qrCode, typeId: queryParams.value.typeId }
// console.log('🚀 ~ success: ~ queryParams.value.isAddCode:', queryParams.value.isAddCode)
// try {
// const res = await getInfoByQrcode(params)
// const res = await getCodeScanAPI(params)
// console.log('🚀 ~ success: ~ res:', res)
// if (res.code === 200) {
// if (res.data && res.data.recordList.length > 0) {
@ -444,7 +444,7 @@ const handleQrCode = async (qrCode) => {
const params = { qrCode, typeId: queryParams.value.typeId }
console.log('🚀 ~ success: ~ queryParams.value.isAddCode:', queryParams.value.isAddCode)
try {
const res = await getInfoByQrcode(params)
const res = await getCodeScanAPI(params)
console.log('🚀 ~ success: ~ res:', res)
if (res.code === 200) {
if (res.data && res.data.recordList.length > 0) {