|
@@ -9,7 +9,8 @@
|
|
|
@change="invoiceChange"
|
|
|
v-if="invoiceList.length > 1"
|
|
|
ref="invoice_list"
|
|
|
- ></invoiceList>
|
|
|
+ >
|
|
|
+ </invoiceList>
|
|
|
<invoiceProgress
|
|
|
v-if="status !== -1 && status !== -2"
|
|
|
:active="status | statusFilter"
|
|
@@ -515,9 +516,11 @@ export default {
|
|
|
ajaxInvoiceShowList({ ...this.urlparms }).then((res) => {
|
|
|
loading.clear()
|
|
|
this.invoiceList = res.invoiceData || []
|
|
|
- this.$nextTick(()=>{
|
|
|
- this.$refs.invoice_list.initSwipe()
|
|
|
- })
|
|
|
+ if (this.invoice_list.length > 1) {
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.invoice_list.initSwipe()
|
|
|
+ })
|
|
|
+ }
|
|
|
if (res.redSwitchInfo) {
|
|
|
this.redInvoiceSwitch = res.redSwitchInfo.ris
|
|
|
this.redInvoiceMsg = res.redSwitchInfo.rim
|
|
@@ -601,7 +604,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
} else if (this.btntext === '联系客服') {
|
|
|
- if(this.enterSource === 'qrcode'){
|
|
|
+ if (this.enterSource === 'qrcode') {
|
|
|
toWxGzhProfile()
|
|
|
return
|
|
|
}
|
|
@@ -696,7 +699,7 @@ export default {
|
|
|
} else if (val === '纸质专用发票') {
|
|
|
return '4'
|
|
|
}
|
|
|
- },
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|