From 5c48ef2b8267c38bae717202615e1618074ee31c Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 29 八月 2025 15:25:05 +0800 Subject: [PATCH] 修改组件 --- src/pages/procurementManagement/paymentEntry/index.vue | 23 ++++++++++++++++------- 1 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/pages/procurementManagement/paymentEntry/index.vue b/src/pages/procurementManagement/paymentEntry/index.vue index 6083918..b3424c8 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"> - <up-icon name="search" size="24" color="#999"></up-icon> + <u-icon name="search" size="24" color="#999"></u-icon> </view> </view> <!-- 绛涢�夊紑鍏� --> <view class="switch-row"> <text class="switch-label">涓嶆樉绀哄緟浠樻涓�0</text> - <van-switch v-model="searchForm.status" @change="getList" size="18"/> + <u-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"> - <up-icon name="file-text" size="16" color="#ffffff"></up-icon> + <u-icon name="file-text" size="16" color="#ffffff"></u-icon> </view> <text class="item-id">{{ item.purchaseContractNumber }}</text> </view> </view> - <up-divider></up-divider> + <u-divider></u-divider> <view class="item-details"> <view class="detail-row"> <text class="detail-label">閿�鍞悎鍚屽彿</text> @@ -70,7 +70,7 @@ <!-- 鎿嶄綔鎸夐挳 --> <view class="action-buttons"> - <van-button + <u-button type="primary" size="small" class="action-btn" @@ -78,7 +78,7 @@ @click="openForm('add', item)" > 鏂板浠樻 - </van-button> + </u-button> </view> </view> </view> @@ -94,10 +94,19 @@ <script setup> import { ref } from 'vue' import useUserStore from '@/store/modules/user' -import { showToast } from 'vant' +// 鏇挎崲 Vant 鐨� toast +// 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([]) const tableLoading = ref(false) -- Gitblit v1.9.3