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
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="24" style="margin-bottom: 10px;">
<c-checkbox
true-label="X"
false-label= ""
v-model="model.nitp.gidtxtmodflg"
:disabled="isInDisplay"
class="checkbox-left"
style="margin-right: 20px;"
>修改保函文本</c-checkbox>
<c-button
:disabled="model.nitp.gidtxtmodflg == ''"
size="mini"
type="primary"
@click="handleReset"
>
重置文本
</c-button>
</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="model.nitp.gidtxtmodflg == '' || isInDisplay"
:isReset="isReset"
:gtxgidtxtMark="codes.gtxgidtxtMark"
placeholder="请输入保函文本可变因素"
:isShowScale="true"
@input="handleInput"
></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: {
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>