diff --git a/src/views/emis/emisSettleBill/SiteInvoiceRecordApply.vue b/src/views/emis/emisSettleBill/SiteInvoiceRecordApply.vue index b4e2e0d9..fb810b07 100644 --- a/src/views/emis/emisSettleBill/SiteInvoiceRecordApply.vue +++ b/src/views/emis/emisSettleBill/SiteInvoiceRecordApply.vue @@ -15,6 +15,10 @@ + + + + @@ -50,7 +54,10 @@ export default { selectBillList:null, curSettleBillNo:null, - showBillDetail:false + showBillDetail:false, + + currApplyId:null, + showApplyDetail:false }; }, created() { @@ -65,13 +72,17 @@ export default { this.activeTab="billDetail"; }, onSelectApply(item) { - let old=this.billTabs.find(mItem=>mItem.applySeqNo==item.applySeqNo); - if(old){ - this.activeTab=item.applySeqNo; - }else{ - this.billTabs.push(item); - this.activeTab=item.applySeqNo; - } + this.currApplyId=item.id; + this.showApplyDetail=true; + this.activeTab="applyDetail"; + + // let old=this.billTabs.find(mItem=>mItem.applySeqNo==item.applySeqNo); + // if(old){ + // this.activeTab=item.applySeqNo; + // }else{ + // this.billTabs.push(item); + // this.activeTab=item.applySeqNo; + // } }, onApply(billList){ @@ -100,6 +111,12 @@ export default { this.showBillDetail=false; this.activeTab="waitOpenBillList"; } + else if(targetName=='applyDetail'){ + this.currApplyId=null; + this.showApplyDetail=false; + this.activeTab="waitOpenBillList"; + } + }, }