Browse Source

开票并结算bug

@dongkboy 4 months ago
parent
commit
4950aa93a0
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/receivable/handingFee/ticket.vue

+ 4 - 1
src/views/receivable/handingFee/ticket.vue

@@ -374,13 +374,14 @@ const handleBack = () => {
   router.back()
   router.back()
 }
 }
 const handleTicket = () => {
 const handleTicket = () => {
-  countShow.value = true
+
   api.financeApi.invoicingCheck({
   api.financeApi.invoicingCheck({
     incomeIds: selectedList.value.map(v => v.id),
     incomeIds: selectedList.value.map(v => v.id),
     companyId: route.query.id,
     companyId: route.query.id,
     invoiceType: route.query.invoiceType
     invoiceType: route.query.invoiceType
   }).then((res: any) => {
   }).then((res: any) => {
     if (res.code == 200) {
     if (res.code == 200) {
+      countShow.value = true
       api.financeApi.commissionInvoicing({
       api.financeApi.commissionInvoicing({
         incomeIds: selectedList.value.map(v => v.id),
         incomeIds: selectedList.value.map(v => v.id),
         orderNos: selectedList.value.map(v => v.orderNo),
         orderNos: selectedList.value.map(v => v.orderNo),
@@ -405,6 +406,8 @@ const handleTicket = () => {
           })
           })
         }
         }
       })
       })
+    }else{
+
     }
     }
   })
   })
 }
 }