质检数据维护
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
{{ scope.row.不合格原因文本 }}
|
{{ scope.row.不合格原因文本 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" fixed="right" width="200px">
|
<el-table-column label="操作" align="center" fixed="right" width="70px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
{{ scope.row.不合格处理文本 }}
|
{{ scope.row.不合格处理文本 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" fixed="right" width="200px">
|
<el-table-column label="操作" align="center" fixed="right" width="70px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
{{ scope.row.质检尺寸 }}
|
{{ scope.row.质检尺寸 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" fixed="right" width="150px">
|
<el-table-column label="操作" align="center" fixed="right" width="70px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
{{ scope.row.质检形位 }}
|
{{ scope.row.质检形位 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" fixed="right" width="150px">
|
<el-table-column label="操作" align="center" fixed="right" width="70px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
@@ -150,7 +150,7 @@
|
|||||||
{{ scope.row.质检外观 }}
|
{{ scope.row.质检外观 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" fixed="right" width="150px">
|
<el-table-column label="操作" align="center" fixed="right" width="70px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
@@ -179,7 +179,7 @@
|
|||||||
{{ scope.row.检测项 }}
|
{{ scope.row.检测项 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" fixed="right" width="200px">
|
<el-table-column label="操作" align="center" fixed="right" width="70px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
@@ -208,7 +208,7 @@
|
|||||||
{{ scope.row.检测项明细 }}
|
{{ scope.row.检测项明细 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" fixed="right" width="200px">
|
<el-table-column label="操作" align="center" fixed="right" width="70px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
@@ -417,15 +417,19 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else if (this.title === '增加检测项明细') {
|
} else if (this.title === '增加检测项明细') {
|
||||||
addTesting(this.value1, this.Testing).then(response => {
|
if (this.value1) {
|
||||||
if (response.data[0].result === '1') {
|
addTesting(this.value1, this.Testing).then(response => {
|
||||||
this.$message.success('增加成功')
|
if (response.data[0].result === '1') {
|
||||||
this.dialogFormVisible = false
|
this.$message.success('增加成功')
|
||||||
initTesting(this.value1).then(response => { this.tableData6 = response.data })
|
this.dialogFormVisible = false
|
||||||
} else {
|
initTesting(this.value1).then(response => { this.tableData6 = response.data })
|
||||||
this.$message.error('增加失败')
|
} else {
|
||||||
}
|
this.$message.error('增加失败')
|
||||||
})
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.error('请先选择检测项')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleDelete(row) {
|
handleDelete(row) {
|
||||||
|
|||||||
Reference in New Issue
Block a user