|
|
@ -1280,8 +1280,14 @@ export default {
|
|
|
|
let params = { ...this.queryParams };
|
|
|
|
let params = { ...this.queryParams };
|
|
|
|
downloadXml(params)
|
|
|
|
downloadXml(params)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
this.$download.excel(response, "发票元数据.xml");
|
|
|
|
console.log(response.size);
|
|
|
|
this.open1 = false;
|
|
|
|
if (response.size == 39) {
|
|
|
|
|
|
|
|
this.$modal.msgError("密码错误");
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
this.$download.excel(response, "发票元数据.xml");
|
|
|
|
|
|
|
|
this.open1 = false;
|
|
|
|
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {});
|
|
|
|
.catch(() => {});
|
|
|
|
});
|
|
|
|
});
|
|
|
|