From 7a0ffb0048adeda9ebfbca1d0b525eb224c173e3 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 29 八月 2025 17:00:16 +0800 Subject: [PATCH] 修改组件 --- src/pages/procurementManagement/paymentEntry/index.vue | 23 +++++++---------------- 1 files changed, 7 insertions(+), 16 deletions(-) diff --git a/src/pages/procurementManagement/paymentEntry/index.vue b/src/pages/procurementManagement/paymentEntry/index.vue index b3424c8..6083918 100644 --- a/src/pages/procurementManagement/paymentEntry/index.vue +++ b/src/pages/procurementManagement/paymentEntry/index.vue @@ -15,14 +15,14 @@ /> </view> <view class="filter-button" @click="getList"> - <u-icon name="search" size="24" color="#999"></u-icon> + <up-icon name="search" size="24" color="#999"></up-icon> </view> </view> <!-- 绛涢�夊紑鍏� --> <view class="switch-row"> <text class="switch-label">涓嶆樉绀哄緟浠樻涓�0</text> - <u-switch v-model="searchForm.status" @change="getList" size="18"/> + <van-switch v-model="searchForm.status" @change="getList" size="18"/> </view> </view> @@ -35,12 +35,12 @@ <view class="item-header"> <view class="item-left"> <view class="document-icon"> - <u-icon name="file-text" size="16" color="#ffffff"></u-icon> + <up-icon name="file-text" size="16" color="#ffffff"></up-icon> </view> <text class="item-id">{{ item.purchaseContractNumber }}</text> </view> </view> - <u-divider></u-divider> + <up-divider></up-divider> <view class="item-details"> <view class="detail-row"> <text class="detail-label">閿�鍞悎鍚屽彿</text> @@ -70,7 +70,7 @@ <!-- 鎿嶄綔鎸夐挳 --> <view class="action-buttons"> - <u-button + <van-button type="primary" size="small" class="action-btn" @@ -78,7 +78,7 @@ @click="openForm('add', item)" > 鏂板浠樻 - </u-button> + </van-button> </view> </view> </view> @@ -94,18 +94,9 @@ <script setup> import { ref } from 'vue' import useUserStore from '@/store/modules/user' -// 鏇挎崲 Vant 鐨� toast -// import { showToast } from 'vant' +import { showToast } from 'vant' import {onShow} from "@dcloudio/uni-app"; import {invoiceListPage} from "@/api/procurementManagement/procurementInvoiceLedger"; - -// 鏇挎崲 toast 鏂规硶 -const showToast = (message) => { - uni.showToast({ - title: message, - icon: 'none' - }) -} // 鍝嶅簲寮忔暟鎹� const tableData = ref([]) -- Gitblit v1.9.3