| | |
| | | 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; |
| | | }, |
| | | }, |
| | | { |