零件状态查询

This commit is contained in:
zhangdingyu
2018-12-07 15:38:59 +08:00
parent 9ce98f78e1
commit d1695c5d45

View File

@@ -99,15 +99,15 @@
</el-steps> </el-steps>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" fixed="right" align="center" width="120px"> <!--<el-table-column label="操作" fixed="right" align="center" width="120px">-->
<template slot-scope="scope"> <!--<template slot-scope="scope">-->
<el-button <!--<el-button-->
size="mini" <!--size="mini"-->
type="primary" <!--type="primary"-->
icon="el-icon-edit" <!--icon="el-icon-edit"-->
@click="handleEdit(scope.row)">编辑</el-button> <!--@click="handleEdit(scope.row)">编辑</el-button>-->
</template> <!--</template>-->
</el-table-column> <!--</el-table-column>-->
</el-table> </el-table>
<div class="block" style="margin-top: 10px;"> <div class="block" style="margin-top: 10px;">
<el-pagination <el-pagination
@@ -351,7 +351,6 @@ export default {
} }
this.loading0 = true this.loading0 = true
searchTable(this.check, this.entryNameValue, this.check1, this.machine, this.check2, this.groupNum, this.check3, this.partNumber, this.check4, this.partStateValue, this.check5, this.partTypeValue, this.pageSize, this.pageCurrent).then(response => { searchTable(this.check, this.entryNameValue, this.check1, this.machine, this.check2, this.groupNum, this.check3, this.partNumber, this.check4, this.partStateValue, this.check5, this.partTypeValue, this.pageSize, this.pageCurrent).then(response => {
console.log(response.data)
for (let i = 0; i < response.data.rows.length; i++) { for (let i = 0; i < response.data.rows.length; i++) {
response.data.rows[i].考核状态 = parseInt(response.data.rows[i].考核状态) - 2 response.data.rows[i].考核状态 = parseInt(response.data.rows[i].考核状态) - 2
if (response.data.rows[i].传递时间 !== undefined || response.data.rows[i].hasOwnProperty('传递时间')) { if (response.data.rows[i].传递时间 !== undefined || response.data.rows[i].hasOwnProperty('传递时间')) {
@@ -434,7 +433,6 @@ export default {
this.dialogFormVisible3 = false this.dialogFormVisible3 = false
}, },
handleEdit(row) { handleEdit(row) {
console.log(row)
this.title = '编辑' this.title = '编辑'
this.partStateValue1 = parseInt(row.考核状态) + 2 this.partStateValue1 = parseInt(row.考核状态) + 2
this.dialogFormVisible4 = true this.dialogFormVisible4 = true