feature-JimuReport-1106-yjl
sunzehua 4 weeks ago
parent 43d4e034c8
commit 7dd9aba7d1

@ -820,7 +820,11 @@ function lookInvoice(){
loading.value = true loading.value = true
ApiQuery({id:route.query.id}).then(res=>{ ApiQuery({id:route.query.id}).then(res=>{
if(res.succeeded){ if(res.succeeded){
if(res.data[0].pdfUrl){
window.open(res.data.pdfUrl) window.open(res.data.pdfUrl)
} else {
createMessage.warning('开票中')
}
} }
loading.value = false loading.value = false
}).catch(()=>{ }).catch(()=>{

Loading…
Cancel
Save