1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="24" style="margin-bottom: 10px;">
<c-button
size="mini"
type="primary"
:disabled="isInDisplay"
@click="handleEdit"
>
修改保函文本
</c-button>
</c-col>
<c-col :span="24" style="margin: 5px 0 10px;">
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item prop="nidgrp.blk.gidtxt">
<c-xml-format-editor
v-model="model.nidgrp.blk.gidtxt"
:disabled="isEdit || isInDisplay"
placeholder="请输入保函文本可变因素"
:isShowScale="true"
></c-xml-format-editor>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import event from "../event";
import commonDepend from "~/mixin/commonDepend";
export default {
components: { },
inject: ["root"],
props: ["model", "codes"],
mixins: [event, commonDepend],
data() {
return {
isEdit: false
};
},
methods: {
handleEdit () {
this.isEdit = !this.isEdit
},
},
created () {},
};
</script>
<style scoped lang="less">
::v-deep .el-form-item__content {
margin-left: 0!important;
}
</style>