12123
This commit is contained in:
parent
a79f1b85da
commit
fb6cb233a1
@ -11,7 +11,7 @@ export function setupHttp() {
|
|||||||
if (http) return http
|
if (http) return http
|
||||||
const {codeToken}= codeAuthStore()
|
const {codeToken}= codeAuthStore()
|
||||||
const config = useRuntimeConfig()
|
const config = useRuntimeConfig()
|
||||||
const baseURL = config.public.NUXT_PUBLIC_API_COLLECT_CODE
|
const baseURL = config.public.NUXT_PUBLIC_API_BASE
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const i18n = useNuxtApp().$i18n
|
const i18n = useNuxtApp().$i18n
|
||||||
|
|
||||||
|
@ -80,6 +80,9 @@ const loadMore = async () => {
|
|||||||
const abnormal=ref(false)
|
const abnormal=ref(false)
|
||||||
const abnormalRow=ref({})
|
const abnormalRow=ref({})
|
||||||
const inputLotNo=async (data)=>{
|
const inputLotNo=async (data)=>{
|
||||||
|
if (createForm.value.lotNo<=25000){
|
||||||
|
return
|
||||||
|
}
|
||||||
const res=await offlineQrcodeList({
|
const res=await offlineQrcodeList({
|
||||||
lotNo:createForm.value.lotNo-25000
|
lotNo:createForm.value.lotNo-25000
|
||||||
})
|
})
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
import { setupHttp } from '@/api/http'
|
import { setupHttp } from '@/api/http'
|
||||||
|
import { setupHttp as setupHttp1} from '@/api-collect-code/http'
|
||||||
export default defineNuxtPlugin(() => {
|
export default defineNuxtPlugin(() => {
|
||||||
setupHttp()
|
setupHttp()
|
||||||
|
setupHttp1()
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user