|
@@ -11,7 +11,42 @@ export default {
|
|
picUrl: this.$picUrl,
|
|
picUrl: this.$picUrl,
|
|
arrowIcon: arrowIcon,
|
|
arrowIcon: arrowIcon,
|
|
downloadBtnIcon: downloadBtnIcon,
|
|
downloadBtnIcon: downloadBtnIcon,
|
|
- order: {},
|
|
|
|
|
|
+ order: {
|
|
|
|
+ id: 1219562352,
|
|
|
|
+ invoiceOrderNo: "INVyedUsFwdkelQbxeTeQOvaScfqIOOmaa",
|
|
|
|
+ pdfUrl: "https://232.pdf",
|
|
|
|
+ invoiceType: "增值税普通发票",
|
|
|
|
+ invoiceNumber: "UMaAIKKIkknjWEXJUfPxxQHeWKEJ",
|
|
|
|
+ invoiceCode: "43253254324",
|
|
|
|
+ invoiceTotalAmount: 0.72,
|
|
|
|
+ email: "LlN@qq.com",
|
|
|
|
+ remark: "gNfZBdyFGRajVfJNonEnOinZj",
|
|
|
|
+ invoiceTitleId: 1188957731,
|
|
|
|
+ invoiceTime: "20220228",
|
|
|
|
+ invoiceTitle: {
|
|
|
|
+ id: 1018954901,
|
|
|
|
+ titleName: "QvBQYuxiXXVytGCxzVllpgTJKhRQq",
|
|
|
|
+ companyAddress: "上海浦东"
|
|
|
|
+ },
|
|
|
|
+ invoiceItem: [
|
|
|
|
+ {
|
|
|
|
+ "id": 1295249578,
|
|
|
|
+ "invoiceItemNo": "SY32342432043250-辽A8889",
|
|
|
|
+ "invoiceAmount": 0.99,
|
|
|
|
+ "parkName": "沈阳家里停车场",
|
|
|
|
+ "enterTime": "2026-02-13 16:23:01",
|
|
|
|
+ "parkTotalTime": 39088943
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "id": 12952495798,
|
|
|
|
+ "invoiceItemNo": "SY32342432043250-辽A8889",
|
|
|
|
+ "invoiceAmount": 0.99,
|
|
|
|
+ "parkName": "沈阳家里停车场",
|
|
|
|
+ "enterTime": "2026-02-13 16:23:01",
|
|
|
|
+ "parkTotalTime": 39088943
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
webviewStyles: {
|
|
webviewStyles: {
|
|
progress: {
|
|
progress: {
|
|
color: '#FF3333',
|
|
color: '#FF3333',
|
|
@@ -30,7 +65,8 @@ export default {
|
|
title: '发票详情',
|
|
title: '发票详情',
|
|
});
|
|
});
|
|
}, 300);
|
|
}, 300);
|
|
- this.getInvoicedDetail(this.id);
|
|
|
|
|
|
+ // const res = await invoicesDeatil(id)
|
|
|
|
+ // this.getInvoicedDetail(this.id);
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
...mapState({
|
|
...mapState({
|
|
@@ -42,12 +78,48 @@ export default {
|
|
getInvoicedDetail: async function (id) {
|
|
getInvoicedDetail: async function (id) {
|
|
//
|
|
//
|
|
// console.log('根据发票id获取发票详情信息(含发票抬头信息),', id);
|
|
// console.log('根据发票id获取发票详情信息(含发票抬头信息),', id);
|
|
- const self = this;
|
|
|
|
- self.$md(data);
|
|
|
|
|
|
+ // const self = this;
|
|
|
|
+ // self.$md(data);
|
|
try {
|
|
try {
|
|
- const res = await invoicesNotapplied(id)
|
|
|
|
- if (res.data.code === 0) {
|
|
|
|
- self.order = res.data.data;
|
|
|
|
|
|
+ // const res = await invoicesDeatil(id)
|
|
|
|
+ res = {
|
|
|
|
+ id: 1219562352,
|
|
|
|
+ invoiceOrderNo: "INVyedUsFwdkelQbxeTeQOvaScfqIOOmaa",
|
|
|
|
+ pdfUrl: "https://232.pdf",
|
|
|
|
+ invoiceType: "增值税普通发票",
|
|
|
|
+ invoiceNumber: "UMaAIKKIkknjWEXJUfPxxQHeWKEJ",
|
|
|
|
+ invoiceCode: "43253254324",
|
|
|
|
+ invoiceTotalAmount: 0.72,
|
|
|
|
+ email: "LlN@qq.com",
|
|
|
|
+ remark: "gNfZBdyFGRajVfJNonEnOinZj",
|
|
|
|
+ invoiceTitleId: 1188957731,
|
|
|
|
+ invoiceTime: "20220228",
|
|
|
|
+ invoiceTitle: {
|
|
|
|
+ "id": 1018954901,
|
|
|
|
+ "titleName": "QvBQYuxiXXVytGCxzVllpgTJKhRQq",
|
|
|
|
+ "companyAddress": "上海浦东"
|
|
|
|
+ },
|
|
|
|
+ invoiceItem: [
|
|
|
|
+ {
|
|
|
|
+ "id": 1295249578,
|
|
|
|
+ "invoiceItemNo": "SY32342432043250-辽A8889",
|
|
|
|
+ "invoiceAmount": 0.99,
|
|
|
|
+ "parkName": "沈阳家里停车场",
|
|
|
|
+ "enterTime": "2026-02-13 16:23:01",
|
|
|
|
+ "parkTotalTime": 39088943
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ "id": 12952495798,
|
|
|
|
+ "invoiceItemNo": "SY32342432043250-辽A8889",
|
|
|
|
+ "invoiceAmount": 0.99,
|
|
|
|
+ "parkName": "沈阳家里停车场",
|
|
|
|
+ "enterTime": "2026-02-13 16:23:01",
|
|
|
|
+ "parkTotalTime": 39088943
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+ if (res) {
|
|
|
|
+ self.order = res;
|
|
} else {
|
|
} else {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: res.data.msg,
|
|
title: res.data.msg,
|