@ -828,7 +828,13 @@ function openHand() {
}
function lookInvoice() {
loading.value = true
ApiQuery({ id: route.query.id }).then(res => {
let id = 0
if(form.value.isSetRed){
id = form.value.redId
} else {
id = route.query.id
ApiQuery({ id: id }).then(res => {
if (res.succeeded) {
if (res.data[0].pdfUrl) {
window.open(res.data[0].pdfUrl)