gaoluyang
3 天以前 77861fcc5ee1c4f8e7c6412b373cb438c7313930
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"/>
            <u-switch v-model="searchForm.status" @change="getList" active-color="#2979ff" inactive-color="#e5e5e5"/>
         </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>
@@ -94,11 +94,6 @@
<script setup>
import { ref } from 'vue'
import useUserStore from '@/store/modules/user'
// 替换 Vant 的 toast
// import { showToast } from 'vant'
import {onShow} from "@dcloudio/uni-app";
import {invoiceListPage} from "@/api/procurementManagement/procurementInvoiceLedger";
// 替换 toast 方法
const showToast = (message) => {
  uni.showToast({
@@ -106,6 +101,8 @@
    icon: 'none'
  })
}
import {onShow} from "@dcloudio/uni-app";
import {invoiceListPage} from "@/api/procurementManagement/procurementInvoiceLedger";
// 响应式数据
const tableData = ref([])