| | |
| | | import FormDialog from "@/components/Dialog/FormDialog.vue" |
| | | import filePreview from '@/components/filePreview/index.vue' |
| | | import { getPurchaseById } from "@/api/procurementManagement/procurementLedger" |
| | | import { tableAmountFormatter } from '@/utils/numberFormat' |
| | | |
| | | const visible = ref(false) |
| | | // 是否显示销售合同号绑定 |
| | |
| | | fileList.value = [] |
| | | } |
| | | |
| | | const formattedNumber = (row, column, cellValue) => { |
| | | if (cellValue != null && !isNaN(cellValue)) { |
| | | return Number(cellValue).toFixed(2) |
| | | } |
| | | return cellValue |
| | | } |
| | | const formattedNumber = tableAmountFormatter |
| | | |
| | | const sumTaxInclusiveUnitPrice = computed(() => { |
| | | return productData.value.reduce((sum, item) => { |