From 0cfe504df6440d80f05e1ee555ee18be6b7e8321 Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期五, 06 六月 2025 09:11:04 +0800 Subject: [PATCH] 打包基础信息修改 --- src/views/salesManagement/invoiceLedger/index.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/salesManagement/invoiceLedger/index.vue b/src/views/salesManagement/invoiceLedger/index.vue index 8d217c8..85f0473 100644 --- a/src/views/salesManagement/invoiceLedger/index.vue +++ b/src/views/salesManagement/invoiceLedger/index.vue @@ -14,7 +14,7 @@ <span class="search_title" style="margin-left: 10px">寮�绁ㄦ棩鏈燂細</span> <el-date-picker style="width: 240px" - v-model="form.invoiceDate" + v-model="searchForm.invoiceDate" value-format="YYYY-MM-DD" format="YYYY-MM-DD" type="date" @@ -42,7 +42,7 @@ <el-table-column label="浜у搧澶х被" prop="productCategory" /> <el-table-column label="瑙勬牸鍨嬪彿" prop="specificationModel" /> <el-table-column label="鍙戠エ鍙�" prop="invoiceNo" show-overflow-tooltip/> - <el-table-column label="鍙戠エ閲戦(鍏�)" prop="invoiceTotal" show-overflow-tooltip/> + <el-table-column label="鍙戠エ閲戦(鍏�)" prop="invoiceTotal" show-overflow-tooltip :formatter="formattedNumber"/> <el-table-column label="绋庣巼" prop="taxRate" show-overflow-tooltip/> <el-table-column label="寮�绁ㄤ汉" prop="invoicePerson" show-overflow-tooltip/> <el-table-column label="寮�绁ㄦ棩鏈�" prop="invoiceDate" show-overflow-tooltip/> @@ -243,6 +243,9 @@ }) const matchFileType = ref(['pdf']) const uploadModal = ref(false) +const formattedNumber = (row, column, cellValue) => { + return parseFloat(cellValue).toFixed(2); +}; // 鏌ヨ鍒楄〃 /** 鎼滅储鎸夐挳鎿嶄綔 */ const handleQuery = () => { @@ -310,6 +313,7 @@ }; // 涓婁紶鍓嶆牎妫� function handleBeforeUpload(file) { + console.log('file',file) // 鏍℃鏂囦欢澶у皬 if (file.size > 1024 * 1024 * 10) { proxy.$modal.msgError('涓婁紶鏂囦欢澶у皬涓嶈兘瓒呰繃10MB!') -- Gitblit v1.9.3