Переглянути джерело

fix: 提交开票后立即返回订单列表,去掉等待和提示

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
skyline 4 днів тому
батько
коміт
08a2455dfd

+ 1 - 4
charge-front/src/pages-common/invoice/invoice-form.vue

@@ -206,10 +206,7 @@ const submit = () => {
   applyInvoice(params)
     .then(() => {
       uni.hideLoading();
-      uni.showToast({ title: "开票申请已提交", icon: "success", duration: 2000 });
-      setTimeout(() => {
-        back();
-      }, 2000);
+      back();
     })
     .catch((err) => {
       uni.hideLoading();