fix:禅道174
This commit is contained in:
parent
2d4ea7fb1e
commit
a6d1b01702
|
|
@ -8,6 +8,7 @@
|
||||||
v-model="query.user_name"
|
v-model="query.user_name"
|
||||||
:valueField="'name'"
|
:valueField="'name'"
|
||||||
:labelField="'name'"
|
:labelField="'name'"
|
||||||
|
:params="params"
|
||||||
v-model:label="query.user_name"
|
v-model:label="query.user_name"
|
||||||
style="width:150px; margin-right: 5px;"
|
style="width:150px; margin-right: 5px;"
|
||||||
>
|
>
|
||||||
|
|
@ -86,6 +87,9 @@ export default {
|
||||||
user_name:'',
|
user_name:'',
|
||||||
start_date:'',
|
start_date:'',
|
||||||
},
|
},
|
||||||
|
params:{
|
||||||
|
ubelong_dept__name:"冷加工",
|
||||||
|
},
|
||||||
lists:[],
|
lists:[],
|
||||||
mgruops:[],
|
mgruops:[],
|
||||||
tableData:[],
|
tableData:[],
|
||||||
|
|
@ -161,7 +165,7 @@ export default {
|
||||||
let all = 0;
|
let all = 0;
|
||||||
that.coefficient.forEach(item2 => {
|
that.coefficient.forEach(item2 => {
|
||||||
if(item1[item2]){
|
if(item1[item2]){
|
||||||
all = all+ Number(item1[item2])*Number(that.tableData[0][item2])
|
all = all+ Number(item1[item2])/Number(that.tableData[0][item2])
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
item1.time_all = all+Number(item1.time_other);
|
item1.time_all = all+Number(item1.time_other);
|
||||||
|
|
@ -174,7 +178,7 @@ export default {
|
||||||
console.log('index',index)
|
console.log('index',index)
|
||||||
that.coefficient.forEach(item2 => {
|
that.coefficient.forEach(item2 => {
|
||||||
if(that.tableData[index][item2]){
|
if(that.tableData[index][item2]){
|
||||||
all = all+ Number(that.tableData[index][item2])*Number(that.tableData[0][item2])
|
all = all+ Number(that.tableData[index][item2])/Number(that.tableData[0][item2])
|
||||||
}
|
}
|
||||||
that.tableData[index].time_all = all+Number(that.tableData[index].time_other);
|
that.tableData[index].time_all = all+Number(that.tableData[index].time_other);
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue