From facb7c8b5d3fe64bb97d0fdbc921985c7fb88732 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期四, 10 七月 2025 14:42:23 +0800 Subject: [PATCH] 输入框为数字时限制不为负数60% --- src/views/procurementManagement/paymentHistory/index.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/procurementManagement/paymentHistory/index.vue b/src/views/procurementManagement/paymentHistory/index.vue index aa64726..0ef6110 100644 --- a/src/views/procurementManagement/paymentHistory/index.vue +++ b/src/views/procurementManagement/paymentHistory/index.vue @@ -36,13 +36,14 @@ </el-form> <div class="table_list"> <PIMTable + rowKey="id" :column="tableColumn" :tableData="tableData" :page="page" :isSelection="true" :isShowSummary="isShowSummarySon" :summaryMethod="summarizeMainTable1" - :handleSelectionChange="handleSelectionChange" + @selection-change="handleSelectionChange" :tableLoading="tableLoading" @pagination="pagination" :total="total" @@ -68,12 +69,13 @@ { label: "渚涘簲鍟嗗悕绉�", prop: "supplierName", + width:240 }, { label: "浠樻閲戦", prop: "currentPaymentAmount", formatData: (params) => { - return parseFloat(params).toFixed(2); + return params ? parseFloat(params).toFixed(2) : 0; }, }, { -- Gitblit v1.9.3