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