|
@@ -560,7 +560,7 @@
|
|
|
<input ref="fileInputRef" type="file" accept=".xlsx,.xls" style="display:none" @change="handleFileChange" />
|
|
<input ref="fileInputRef" type="file" accept=".xlsx,.xls" style="display:none" @change="handleFileChange" />
|
|
|
</div>
|
|
</div>
|
|
|
<el-table :data="pressureParts" border size="small" style="width: 100%">
|
|
<el-table :data="pressureParts" border size="small" style="width: 100%">
|
|
|
- <el-table-column label="部件" width="180" align="center">
|
|
|
|
|
|
|
+ <!-- <el-table-column label="部件" width="180" align="center">
|
|
|
<template #default="{ row }">
|
|
<template #default="{ row }">
|
|
|
<el-select v-model="row.partType" placeholder="请选择部件" clearable size="small">
|
|
<el-select v-model="row.partType" placeholder="请选择部件" clearable size="small">
|
|
|
<el-option
|
|
<el-option
|
|
@@ -571,7 +571,7 @@
|
|
|
/>
|
|
/>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</template>
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
|
|
|
|
+ </el-table-column> -->
|
|
|
<el-table-column label="受压元件名称" width="180" align="center">
|
|
<el-table-column label="受压元件名称" width="180" align="center">
|
|
|
<template #default="{ row }">
|
|
<template #default="{ row }">
|
|
|
<el-input v-model="row.partName" placeholder="请输入" size="small" />
|
|
<el-input v-model="row.partName" placeholder="请输入" size="small" />
|
|
@@ -1354,7 +1354,7 @@ const handleUnitConfirm = () => {
|
|
|
// 新增受压元件行
|
|
// 新增受压元件行
|
|
|
const handleAddPressurePart = () => {
|
|
const handleAddPressurePart = () => {
|
|
|
pressureParts.value.push({
|
|
pressureParts.value.push({
|
|
|
- partType: '',
|
|
|
|
|
|
|
+ // partType: '',
|
|
|
partName: '',
|
|
partName: '',
|
|
|
specification: '',
|
|
specification: '',
|
|
|
material: '',
|
|
material: '',
|
|
@@ -1394,7 +1394,7 @@ const handleFileChange = async (event: Event) => {
|
|
|
if (importedList.length > 0) {
|
|
if (importedList.length > 0) {
|
|
|
importedList.forEach((item: any) => {
|
|
importedList.forEach((item: any) => {
|
|
|
pressureParts.value.push({
|
|
pressureParts.value.push({
|
|
|
- partType: item.partType || '',
|
|
|
|
|
|
|
+ // partType: item.partType || '',
|
|
|
partName: item.partName || '',
|
|
partName: item.partName || '',
|
|
|
specification: item.specification || '',
|
|
specification: item.specification || '',
|
|
|
material: item.material || '',
|
|
material: item.material || '',
|