| | |
| | | <span class="readonly-text">{{ form.purchaseContractNumber || '--' }}</span> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-col v-if="showSalesContractBinding" :span="12"> |
| | | <el-form-item label="销售合同号:"> |
| | | <span class="readonly-text">{{ form.salesContractNo || '--' }}</span> |
| | | </el-form-item> |
| | |
| | | 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) |
| | | // 是否显示销售合同号绑定 |
| | | const showSalesContractBinding = false |
| | | const form = ref({}) |
| | | const productData = ref([]) |
| | | const fileList = ref([]) |
| | |
| | | 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) => { |