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

@@ -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