| | |
| | | > |
| | | 编辑 |
| | | </el-button> |
| | | <el-button link type="primary" size="small" @click="downLoadFile(row)">附件</el-button> |
| | | <el-button link type="primary" @click="downLoadFile(row)">附件</el-button> |
| | | <el-button |
| | | type="primary" |
| | | link |
| | |
| | | import useUserStore from "@/store/modules/user.js"; |
| | | import dayjs from "dayjs"; |
| | | import FileList from "./fileList.vue"; |
| | | import { truncate } from "@/utils/index.js"; |
| | | |
| | | defineOptions({ |
| | | name: "来票台账", |
| | |
| | | prop: "taxInclusiveTotalPrice", |
| | | width: 200, |
| | | formatData: (cell) => { |
| | | return cell ? parseFloat(cell).toFixed(2) : 0; |
| | | return cell ? truncate(parseFloat(cell), 3) : 0; |
| | | }, |
| | | }, |
| | | { |
| | |
| | | prop: "ticketsAmount", |
| | | width: 200, |
| | | formatData: (cell) => { |
| | | return cell ? parseFloat(cell).toFixed(2) : 0; |
| | | return cell ? truncate(parseFloat(cell), 3) : 0; |
| | | }, |
| | | }, |
| | | { |
| | |
| | | prop: "unTicketsPrice", |
| | | width: 200, |
| | | formatData: (cell) => { |
| | | return cell ? parseFloat(cell).toFixed(2) : 0; |
| | | return cell ? truncate(parseFloat(cell), 3) : 0; |
| | | }, |
| | | }, |
| | | { |