gaoluyang
2025-06-05 97882c79d0f061b5c706ab4bdbeb8ab7f4ed6fea
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!')