更新
This commit is contained in:
@@ -210,7 +210,7 @@ export default {
|
||||
this.check ? check2 = 1 : check2 = 0
|
||||
searchTable(check2, this.startTime[0], this.startTime[1], this.orderName, this.order, check, this.name, check1, this.partNumber, this.pageCurrent, this.pageSize).then(response => {
|
||||
response.data.rows.map(v => {
|
||||
this.$set(v, '工时比值', parseInt(v.计划工时) === 0 ? 0 : (Math.round(parseInt(v.扫码工时) / parseInt(v.计划工时) * 100) / 100.00))
|
||||
this.$set(v, '工时比值', parseInt(v.计划工时) === 0 ? 0 : (Math.round(parseInt(v.完成工时) / parseInt(v.计划工时) * 100) / 100.00))
|
||||
})
|
||||
this.tableData = response.data.rows
|
||||
this.total = response.data.total
|
||||
|
||||
Reference in New Issue
Block a user