From d90576a14722936d2bbac4595f561512a480c36a Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 11 七月 2025 15:22:00 +0800 Subject: [PATCH] 1.来票登记-新增登记计算报错,关闭弹框后没有刷新列表问题 --- src/views/procurementManagement/paymentEntry/index.vue | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/views/procurementManagement/paymentEntry/index.vue b/src/views/procurementManagement/paymentEntry/index.vue index 109200d..0190dd5 100644 --- a/src/views/procurementManagement/paymentEntry/index.vue +++ b/src/views/procurementManagement/paymentEntry/index.vue @@ -72,7 +72,7 @@ @selection-change="handleSelectionChange" :tableLoading="tableLoading" @pagination="pagination" - :total="total" + :total="page.total" ></PIMTable> </div> <el-dialog @@ -136,8 +136,6 @@ <el-col :span="12"> <el-form-item label="鍙戠エ閲戦(鍏�)锛�" prop="invoiceAmount"> <el-input - type="number" - :step="0.01" v-model="form.invoiceAmount" placeholder="鑷姩濉厖" clearable @@ -147,9 +145,7 @@ </el-col> <el-col :span="12"> <el-form-item label="鏈浠樻閲戦锛�" prop="currentPaymentAmount"> - <el-input - type="number" - :step="0.01" + <el-input-number :step="0.01" :min="0" style="width: 100%" v-model="form.currentPaymentAmount" placeholder="璇疯緭鍏�" clearable @@ -245,10 +241,12 @@ { label: "渚涘簲鍟嗗悕绉�", prop: "supplierName", + width:240 }, { label: "鍙戠エ鍙�", prop: "invoiceNumber", + width:200 }, { label: "鍙戠エ閲戦(鍏�)", @@ -280,8 +278,8 @@ const page = reactive({ current: 1, size: 100, + total: 0, }); -const total = ref(0); // 鐢ㄦ埛淇℃伅琛ㄥ崟寮规鏁版嵁 const operationType = ref(""); @@ -350,7 +348,7 @@ invoiceListPage({ ...searchForm, ...page }).then((res) => { tableLoading.value = false; tableData.value = res.records; - total.value = res.total; + page.total = res.total; }); }; // 琛ㄦ牸閫夋嫨鏁版嵁 -- Gitblit v1.9.3