Commit 56dc1f8c authored by zhengyi's avatar zhengyi

费用批量修改申请审批业务逻辑补充修改

parent 9b5057a4
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
> >
<el-form-item> <el-form-item>
<el-button <el-button
:disabled="!!processInstanceId || editMode" :disabled="!!processInstanceId "
@click="addCost" @click="addCost"
>{{ $t("添加申请") }} >{{ $t("添加申请") }}
</el-button </el-button
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
<!--el-button type="text" v-if="scope.row.status == 1" @click="examineFn">{{$t('审核中')}}</el-button--> <!--el-button type="text" v-if="scope.row.status == 1" @click="examineFn">{{$t('审核中')}}</el-button-->
<el-button <el-button
type="text" type="text"
v-if="modifable(scope.row)" v-if="scope.row.id && modifable(scope.row)"
@click="modify(scope.row)" @click="modify(scope.row)"
>{{ $t("修改") }} >{{ $t("修改") }}
</el-button </el-button
...@@ -225,7 +225,8 @@ export default { ...@@ -225,7 +225,8 @@ export default {
return this.$i18n.locale === "zh_CN"; return this.$i18n.locale === "zh_CN";
}, },
feeList() { feeList() {
return this.list.filter((item) => item.status === 0); // return this.list.filter((item) => item.status === 0);
return this.list;
}, },
// 正在编辑的费用申请 // 正在编辑的费用申请
currentItem() { currentItem() {
...@@ -240,7 +241,7 @@ export default { ...@@ -240,7 +241,7 @@ export default {
// 审核中不允许修改 // 审核中不允许修改
if (this.processInstanceId) return false; if (this.processInstanceId) return false;
// 有未提交的不允许修改 // 有未提交的不允许修改
if (this.feeList.length) return false; // if (this.feeList.length) return false;
// 修改中的不允许修改 // 修改中的不允许修改
if (item.editMode) return false; if (item.editMode) return false;
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment