fixed bug

This commit is contained in:
chenjianan
2019-05-31 13:57:01 +08:00
parent 7e2107c098
commit 0e67e0f638
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option>
</el-select>
<!-- <el-button type="success" size="small" icon="el-icon-search" style="margin-left: 15px" @click="selecttable">查询</el-button>-->
<!--<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 15px" @click="selecttable">查询</el-button>-->
</el-row>
</el-card>
<el-card>

View File

@@ -354,7 +354,7 @@ export default {
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 => {
response.data.rows.map(v => {
this.$set(v, '零件状态码', v.考核状态 ? parseInt(v.考核状态) - 2 : 0)
v.传递时间 = v.传递时间.split(' ')[0]
v.传递时间 = v.传递时间 ? v.传递时间.split(' ')[0] : ''
})
this.loading0 = false
this.tableData = response.data.rows