fix 79929

This commit is contained in:
赵霄
2023-12-26 13:39:04 +08:00
parent 1a2704dcc0
commit bac3f7278b
2 changed files with 4 additions and 2 deletions
@@ -103,7 +103,8 @@
</div>
<div class="custom-drawer-style-bottom-btn">
<a-button type="primary" class="footer-btn-save" @click="handleOk">{{ $t('preservation') }}</a-button>
<a-button type="primary" @click="handleOk" v-if="!disabled">{{ $t('preservation') }}</a-button>
<a-button type="primary" @click="handleCancel" v-else>{{ $t('determine') }}</a-button>
<a-button @click="handleCancel">{{ $t('cancel') }}</a-button>
</div>
@@ -225,11 +226,13 @@ export default {
})
},
edit (id) {
this.title = this.$t('edit')
this.visible = true
this.disabled = false
this.getDetailData(id)
},
view (id) {
this.title = this.$t('view')
this.visible = true
this.disabled = true
this.getDetailData(id)