| | |
| | | <el-table-column label="合同金额(元)" prop="contractAmount" width="180" show-overflow-tooltip :formatter="formattedNumber"/> |
| | | <el-table-column label="录入人" prop="entryPersonName" width="100" show-overflow-tooltip/> |
| | | <el-table-column label="录入日期" prop="entryDate" width="120" show-overflow-tooltip/> |
| | | <el-table-column label="录入日期" prop="executionDate" width="120" show-overflow-tooltip/> |
| | | <el-table-column label="签订日期" prop="executionDate" width="120" show-overflow-tooltip/> |
| | | <el-table-column fixed="right" label="操作" min-width="60" align="center"> |
| | | <template #default="scope"> |
| | | <el-button link type="primary" size="small" @click="openForm('edit', scope.row);">编辑</el-button> |
| | |
| | | }) |
| | | } |
| | | const getProductModel =(value) => { |
| | | console.log('value', value) |
| | | const index = modelOptions.value.findIndex(item => item.id === value); |
| | | if (index !== -1) { |
| | | productForm.value.specificationModel = modelOptions.value[index].model; |
| | | productForm.value.unit = modelOptions.value[index].unit; |
| | | } else { |
| | | productForm.value.specificationModel = null; |
| | | productForm.value.unit = null; |
| | | } |
| | | } |
| | | const findNodeById = (nodes, productId) => { |