|
@@ -12,7 +12,7 @@
|
|
|
@click.stop="openCheckDialog">
|
|
|
审批
|
|
|
</el-button>
|
|
|
- <el-button v-if="form.status == 2 && tenantId == 681169 && roleName.indexOf('财务') !== -1" type="primary"
|
|
|
+ <el-button v-if="form.status == 3 && tenantId == 681169 && roleName.indexOf('财务') !== -1" type="primary"
|
|
|
size="small" class="el-button--small-yh" @click.stop="reimbursementCompleted">
|
|
|
报销完成
|
|
|
</el-button>
|
|
@@ -76,8 +76,8 @@
|
|
|
</template>
|
|
|
<template slot="menu" slot-scope="{ row, index }">
|
|
|
<el-button size="small" icon="el-icon-edit" type="text" @click="rowCell(row, index)"
|
|
|
- :disabled="(disabled || checkDisabled) && form.status !== 2"
|
|
|
- v-if="form.status == 2 && tenantId == 681169 && roleName.indexOf('财务') !== -1">{{ row.$cellEdit ? "保存" :
|
|
|
+ :disabled="(disabled || checkDisabled) && form.status !== 3"
|
|
|
+ v-if="form.status == 3 && tenantId == 681169 && roleName.indexOf('财务') !== -1">{{ row.$cellEdit ? "保存" :
|
|
|
"修改" }}</el-button>
|
|
|
<el-button size="small" icon="el-icon-edit" type="text" @click="rowCell(row, index)"
|
|
|
:disabled="disabled || checkDisabled" v-else>{{ row.$cellEdit ? "保存" : "修改" }}</el-button>
|
|
@@ -437,7 +437,7 @@ export default {
|
|
|
this.$set(this.form, 'postId', res.data.data.postId.split(',')[0]);
|
|
|
this.$set(this.form, 'postName', res.data.data.postName.split(',')[0]);
|
|
|
this.loginUser = res.data.data.realName;
|
|
|
- if (this.form.status == 2) {
|
|
|
+ if (this.form.status == 3) {
|
|
|
if (this.roleName.indexOf('财务') !== -1) {
|
|
|
this.optionTwo.column.map(e => {
|
|
|
this.$set(e, 'disabled', false)
|
|
@@ -572,7 +572,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
- if (this.form.status == 2) {
|
|
|
+ if (this.form.status == 3) {
|
|
|
if (this.roleName.indexOf('财务') !== -1) {
|
|
|
this.optionTwo.column.map(e => {
|
|
|
this.$set(e, 'disabled', false)
|