工单对账tabIndex记录

This commit is contained in:
2023-08-23 17:03:00 +08:00
parent bb72a584b7
commit c63ea913be
6 changed files with 59 additions and 15 deletions

View File

@ -8,7 +8,7 @@
:border="false"
:fixed="true"
:safe-area-inset-top="true"
@click-left="h5GoBack"
@click-left="goback"
/>
</div>
<div class="baseInfo common">
@ -104,15 +104,24 @@ export default {
id:'',
postfix:'',
orderInfo:{},
index:"",
}
},
async mounted() {
this.id=this.$route.query?.id;
this.postfix=this.$route.query?.postfix;
console.log(this.id,this.postfix)
this.id=this.$route.params?.id;
this.postfix=this.$route.params?.postfix;
this.index=this.$route.params?.index;
await this.getDetail()
},
methods: {
goback(){
this.$router.push({
name:"workOrderReconciliation",
params:{
activeIndex:this.index,
}
})
},
async getDetail() {
let res = await getAccountRecordDetail({
id: this.id,