From adeb8b768926ed50a3fb0857f366d6a0308d2cc0 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 29 八月 2025 17:45:57 +0800 Subject: [PATCH] 修改组件 --- src/pages/sales/invoiceLedger/index.vue | 21 ++++++++++----------- 1 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/pages/sales/invoiceLedger/index.vue b/src/pages/sales/invoiceLedger/index.vue index cc7f81f..7445c5d 100644 --- a/src/pages/sales/invoiceLedger/index.vue +++ b/src/pages/sales/invoiceLedger/index.vue @@ -1,14 +1,7 @@ <template> <view class="sales-account"> - <!-- 椤甸潰澶撮儴 --> - <van-nav-bar - title="寮�绁ㄥ彴璐�" - left-text="杩斿洖" - left-arrow - @click-left="goBack" - fixed - placeholder - /> + <!-- 浣跨敤閫氱敤椤甸潰澶撮儴缁勪欢 --> + <PageHeader title="寮�绁ㄥ彴璐�" @back="goBack" /> <!-- 鎼滅储鍜岀瓫閫夊尯鍩燂紙淇濇寔涓庨攢鍞彴璐﹂鏍间竴鑷达級 --> <view class="search-filter-section"> @@ -103,6 +96,7 @@ <van-button type="danger" size="small" + plain class="action-btn" :disabled="item.invoicePerson !== userStore.nickName" @click="handleDelete(item)" @@ -112,6 +106,7 @@ <van-button type="default" size="small" + plain class="action-btn" v-if="item.invoiceFileName" @click="openFileActions(item.commonFiles || [])" @@ -121,7 +116,6 @@ <van-button type="primary" size="small" - plain class="action-btn" v-else :disabled="item.invoicePerson !== userStore.nickName" @@ -221,7 +215,12 @@ <script setup> import { ref, reactive, onMounted } from 'vue' import dayjs from 'dayjs' -import { showToast, showLoadingToast, closeToast } from 'vant' +const showToast = (message) => { + uni.showToast({ + title: message, + icon: 'none' + }) +} import useUserStore from '@/store/modules/user' import { getToken } from '@/utils/auth' import config from '@/config.js' -- Gitblit v1.9.3