提交 449ac9e1 authored 作者: pengxiaohui's avatar pengxiaohui

隐藏付款按钮

上级 3dabb778
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
</template> </template>
<template v-else> <template v-else>
<el-button style="width: 100px; margin-left: 10px" type="primary" @click="formVerification(onSubmit)">提 交</el-button> <el-button style="width: 100px; margin-left: 10px" type="primary" @click="formVerification(onSubmit)">提 交</el-button>
<el-button v-if="id !== 6" style="width: 100px; margin-left: 10px" type="primary" @click="formVerification(goPay)">去付款</el-button> <el-button v-if="!hidePayBtn" style="width: 100px; margin-left: 10px" type="primary" @click="formVerification(goPay)">去付款</el-button>
</template> </template>
</template> </template>
<template v-else> <template v-else>
...@@ -218,6 +218,9 @@ export default { ...@@ -218,6 +218,9 @@ export default {
let id let id
if (this.$route.query.id) id = parseInt(this.$route.query.id) if (this.$route.query.id) id = parseInt(this.$route.query.id)
return id return id
},
hidePayBtn() {
return [6, 202201].includes(this.id)
} }
}, },
created() { created() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论