祁鹏飞 hace 3 meses
padre
commit
55bd87144e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/views/receivable/handingFee/ticket.vue

+ 2 - 2
src/views/receivable/handingFee/ticket.vue

@@ -388,8 +388,7 @@ const handleTicket = (bool) => {
   }
   }
   api.financeApi.invoicingCheck(params).then(async (res: any) => {
   api.financeApi.invoicingCheck(params).then(async (res: any) => {
     if (res.code == 200) {
     if (res.code == 200) {
-      await calBeforeInvoice(params)
-      openCountForm()
+      calBeforeInvoice(params)
     }
     }
   })
   })
 }
 }
@@ -397,6 +396,7 @@ const handleTicket = (bool) => {
 const calBeforeInvoice = async (params: any) => {
 const calBeforeInvoice = async (params: any) => {
   const res = await api.financeApi.calBeforeInvoice(params)
   const res = await api.financeApi.calBeforeInvoice(params)
   if (res.code == 200) {
   if (res.code == 200) {
+    openCountForm()
     countForm.value.invoiceTime = res.data.invoiceTime
     countForm.value.invoiceTime = res.data.invoiceTime
     countForm.value.receivableSupervisePremium = res.data.receivableSupervisePremium
     countForm.value.receivableSupervisePremium = res.data.receivableSupervisePremium
   }
   }