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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<template>
<div class="eibs-tab bh-text">
<c-row>
<c-col :span="24">
<c-col :span="24">
<el-form-item label-width="100px">
<c-checkbox
true-label="X"
false-label= ""
v-model="model.gitp.gidtxtmodflg"
:disabled="isInDisplay"
class="checkbox-left"
style="margin-right: 20px;"
@change="handleEdit"
>修改保函文本</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" style="margin: 5px 0 10px;">
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item
class="gidtxt-wrap"
label-width="100px"
prop="gidgrp.blk.gidtxt"
>
<c-xml-format-editor
v-model="model.gidgrp.blk.gidtxt"
:disabled="model.gitp.gidtxtmodflg == '' || isInDisplay"
placeholder="请输入保函文本可变因素"
:chs="false"
></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 {
isReset: false
};
},
methods: {
handleEdit () {
if (this.model.gitp.gidtxtmodflg) {
this.model.gitp.gidtxtmodflg = ''
} else {
this.model.gitp.gidtxtmodflg = 'X'
}
},
handleReset () {
this.isReset = true
},
handleInput () {
this.isReset = false
}
},
created () {},
};
</script>
<style scoped lang="less">
::v-deep .el-form-item__content {
margin-left: 0!important;
}
</style>