From b95f47dc46951561f36980ca4bae17a752eab8c4 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期六, 12 七月 2025 13:38:44 +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