|
|
@@ -62,9 +62,9 @@
|
|
|
订单号:
|
|
|
</span>
|
|
|
<span class="inline-block content">
|
|
|
- <nuxt-link class="block link" :key="id" :to="`/mobile/order/details?uuid=${baseUtils.enidfilter(id)}&type=saler`" v-for="id in inv.orderids.split(',')">
|
|
|
+ <span @click.stop="goOrderDetail(inv, index)" class="block link" :key="id" v-for="(id, index) in inv.orderids.split(',')">
|
|
|
{{id}}
|
|
|
- </nuxt-link>
|
|
|
+ </span>
|
|
|
</span>
|
|
|
</div>
|
|
|
<div class="line">
|
|
|
@@ -165,6 +165,7 @@
|
|
|
let arr = this.baseUtils.deepCopy(val.content)
|
|
|
arr.forEach(item => {
|
|
|
// item.orderidArr = item.orderids.split(',')
|
|
|
+// item.purchaseidArr = item.purchaseids ? item.purchaseids.split(',') : null
|
|
|
item.$active = false
|
|
|
})
|
|
|
this.invoiceList = [...this.invoiceList, ...arr]
|
|
|
@@ -273,6 +274,13 @@
|
|
|
// .then(() => {
|
|
|
// this.switchType = type
|
|
|
// })
|
|
|
+ },
|
|
|
+ goOrderDetail (inv, index) {
|
|
|
+ if (inv.purchaseids) {
|
|
|
+ this.$router.push(`/mobile/order/details?uuid=${this.baseUtils.enidfilter(inv.purchaseids.split(',')[index])}&type=saler`)
|
|
|
+ } else {
|
|
|
+ this.setRemindText('获取订单号失败')
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|