瀏覽代碼

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

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
skyline 4 天之前
父節點
當前提交
08a2455dfd
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      charge-front/src/pages-common/invoice/invoice-form.vue

+ 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();