|
@@ -174,7 +174,7 @@
|
|
|
:show-tooltip-when-overflow="true"
|
|
|
label="技术文件">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button :disabled="!scope.row.attachList || scope.row.attachList.length === 0" type="text" size="small" @click="attachDetails(scope.row)">查看</el-button>
|
|
|
+ <el-button :disabled="!scope.row.attachList || scope.row.attachList.length === 0" type="text" size="small" @click="attachDetails(scope.row.attachList)">查看</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
@@ -229,7 +229,7 @@
|
|
|
:show-tooltip-when-overflow="true"
|
|
|
label="试制前准备状态检查报告">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button :disabled="!scope.row.attachListInspection || scope.row.attachListInspection.length === 0" type="text" size="small" @click="attachDetails(scope.row)">查看</el-button>
|
|
|
+ <el-button :disabled="!scope.row.attachListInspection || scope.row.attachListInspection.length === 0" type="text" size="small" @click="attachDetails(scope.row.attachListInspection)">查看</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
@@ -239,7 +239,7 @@
|
|
|
:show-tooltip-when-overflow="true"
|
|
|
label="试制前准备状态自查表">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button :disabled="!scope.row.attachListExamine || scope.row.attachListExamine.length === 0" type="text" size="small" @click="attachDetails(scope.row)">查看</el-button>
|
|
|
+ <el-button :disabled="!scope.row.attachListExamine || scope.row.attachListExamine.length === 0" type="text" size="small" @click="attachDetails(scope.row.attachListExamine)">查看</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
@@ -495,10 +495,10 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
// 物料技术文件
|
|
|
- attachDetails (row) {
|
|
|
+ attachDetails (list) {
|
|
|
this.attachVisible = true
|
|
|
this.$nextTick(() => {
|
|
|
- this.$refs.attachDetail.init(row.attachList)
|
|
|
+ this.$refs.attachDetail.init(list)
|
|
|
})
|
|
|
},
|
|
|
// 对应工艺
|