|
|
@@ -95,10 +95,8 @@ export function useInvoice() {
|
|
|
|
|
|
const submitInvoiceApply = async () => {
|
|
|
if (btnDisabled.value) return
|
|
|
-
|
|
|
try {
|
|
|
const res = await submitInvoiceApplyApi(params)
|
|
|
-
|
|
|
if (res.code === 0 && res.data) {
|
|
|
showSuccessToast('提交成功')
|
|
|
setTimeout(() => {
|
|
|
@@ -107,7 +105,6 @@ export function useInvoice() {
|
|
|
}, 800)
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
showToast(res.msg)
|
|
|
} catch (err: any) {
|
|
|
console.error('提交失败', err)
|