|
@@ -4,8 +4,9 @@
|
|
|
cache-key="systemRoleTable17" class="time-form">
|
|
cache-key="systemRoleTable17" class="time-form">
|
|
|
<!-- 表头工具栏 -->
|
|
<!-- 表头工具栏 -->
|
|
|
<template v-slot:toolbar>
|
|
<template v-slot:toolbar>
|
|
|
|
|
+ <!-- :disabled="canHandl ? true : false" -->
|
|
|
<el-button size="small" type="primary" icon="el-icon-plus" class="ele-btn-icon" @click="handlAdd"
|
|
<el-button size="small" type="primary" icon="el-icon-plus" class="ele-btn-icon" @click="handlAdd"
|
|
|
- :disabled="canHandl ? true : false">
|
|
|
|
|
|
|
+ >
|
|
|
新增
|
|
新增
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</template>
|
|
</template>
|
|
@@ -231,9 +232,9 @@ export default {
|
|
|
gettimeAll() {
|
|
gettimeAll() {
|
|
|
let result = 0;
|
|
let result = 0;
|
|
|
this.form.datasource.forEach((n) => {
|
|
this.form.datasource.forEach((n) => {
|
|
|
- result += n.workHour;
|
|
|
|
|
|
|
+ result += Number(n.workHour);
|
|
|
});
|
|
});
|
|
|
- return result;
|
|
|
|
|
|
|
+ return result.toFixed(2);
|
|
|
},
|
|
},
|
|
|
verification() {
|
|
verification() {
|
|
|
return new Promise((resolve, reject) => {
|
|
return new Promise((resolve, reject) => {
|