|
|
@@ -53,10 +53,10 @@
|
|
|
<el-button type="primary"
|
|
|
size="mini"
|
|
|
@click="commitAudit()"
|
|
|
- v-if="add_flat && parseInt(IsCompanyUser) === 1 && parseInt(activeName) === 3 || Number(this.formData.Status) < 0">
|
|
|
+ v-if="parseInt(IsCompanyUser) === 1 && parseInt(activeName) >= 3 && Number(this.formData.Status) <= 0">
|
|
|
提交
|
|
|
</el-button>
|
|
|
- <el-button v-if="parseInt(IsCompanyUser) !== 1 && (this.formData.Status == '' || parseInt(this.formData.Status) === 0 || Number(this.formData.Status) < 0) " type="primary" size="mini" style="float: right;margin-left: 25px" @click="commitAudit()">
|
|
|
+ <el-button v-if="parseInt(IsCompanyUser) !== 1 && Number(this.formData.Status) <= 0" type="primary" size="mini" style="float: right;margin-left: 25px" @click="commitAudit()">
|
|
|
提交审批
|
|
|
</el-button>
|
|
|
</span>
|
|
|
@@ -357,7 +357,7 @@
|
|
|
<el-button type="primary"
|
|
|
size="mini"
|
|
|
@click="commitAudit()"
|
|
|
- v-if="add_flat && IsCompanyUser == 1 && parseInt(activeName)==3">
|
|
|
+ v-if="parseInt(IsCompanyUser) === 1 && parseInt(activeName) >=3 && Number(this.formData.Status) <= 0">
|
|
|
提交
|
|
|
</el-button>
|
|
|
</div>
|
|
|
@@ -1184,7 +1184,7 @@ export default {
|
|
|
if (this.formData.Status > 0) {
|
|
|
this.totalTab = 4
|
|
|
}
|
|
|
- if (this.formData.Status > 0 || this.formData.Status == -5) {
|
|
|
+ if (this.formData.Status > 0) {
|
|
|
this.add_flat = false
|
|
|
}
|
|
|
if ((this.formData.Status > 0) && (this.formData.Status != 4)) {
|