a
This commit is contained in:
@@ -41,34 +41,34 @@
|
||||
</el-card>
|
||||
<el-card>
|
||||
<el-table :data="tableData1" border size="mini" highlight-current-row stripe style="width: 100%" height="600px">
|
||||
<el-table-column align="center" label="检验情况" width="80px">
|
||||
<el-table-column align="center" sortable prop="是否合格" label="检验情况" width="80px">
|
||||
<template slot-scope="scope">
|
||||
<el-tag v-if="parseInt(scope.row.是否合格)===0||scope.row.是否合格===''" type="primary" size="small" @click="approvalPass(scope.row)">未检验</el-tag>
|
||||
<el-tag v-if="parseInt(scope.row.是否合格)===1" type="success" size="small">合格</el-tag>
|
||||
<el-tag v-if="parseInt(scope.row.是否合格)===2" type="error" size="small">不合格</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="机床图号" align="center" width="120px">
|
||||
<el-table-column label="机床图号" sortable prop="机床图号" align="center" width="120px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.机床图号 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="机床名称" align="center" width="260px">
|
||||
<el-table-column label="机床名称" sortable prop="机床名称" align="center" width="260px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.机床名称 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="组号" align="center" width="100px">
|
||||
<el-table-column label="组号" sortable prop="组号" align="center" width="100px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.组号 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="部件名称" align="center" width="100px">
|
||||
<el-table-column label="部件名称" sortable prop="组件名称" align="center" width="100px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.组件名称 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="检测项" align="center" width="100px">
|
||||
<el-table-column label="检测项" sortable prop="检测项" align="center" width="100px">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.检测项 }}
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user