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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<template>
<div class="eibs">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<!-- Reimbursement Bank : 偿付行 -->
<el-form-item label="Reimbursement Bank" prop="rmbclm.rmbrol">
<c-select v-model="model.rmbclm.rmbrol" style="width: 100%" placeholder=""
dbCode="ROLALL" :filterKey = "defaultRmbrol" @change="changeRmbrol"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: 'Reimbursement Bank',
grp: 'rmbclm',
rol: 'rmbrmb',
}"
:isLabel120="false"
ptytyp="B"
:disabledExtkey="model.rmbclm.rmbrol == 'ISS' || model.rmbclm.rmbrol == 'AVB'">
</c-ptap>
</c-col>
<!-- Beneficiary Bank : 受益人银行 -->
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: 'Beneficiary Bank',
grp: 'rmbclm',
rol: 'bebbeb',
}"
:isLabel120="false"
ptytyp="B"
:disabled="model.rmbclm.bebbeb.pts.extkey != ''">
</c-ptap>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px">
<!-- value date, 起息日-->
<c-col :span="24">
<el-form-item label="value date" prop="rmbclm.valdat">
<c-date-picker type="date" v-model="model.rmbclm.valdat" style="width: 100%" placeholder="">
</c-date-picker>
</el-form-item>
</c-col>
<!-- Account with Bank : 帐户行银行 -->
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: 'Account with Bank',
grp: 'rmbclm',
rol: 'acwacw',
}"
ptytyp="B" :disabled="model.rmbclm.acwacw.pts.extkey != ''" :isLabel120="false">
</c-ptap>
</c-col>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
components: {
},
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {}
},
computed: {
defaultRmbrol() {
let filterKey = [];
if (this.model.ledgrp.adv.ptytyp) {
filterKey.push("ADV");
}
if (this.model.ledgrp.avb.ptytyp) {
filterKey.push("AVB");
}
if (this.model.ledgrp.iss.ptytyp) {
filterKey.push("ISS");
}
if (this.model.ledgrp.con.ptytyp) {
filterKey.push("CON");
}
if (filterKey.length==0) {
filterKey.push("OTH");
}else{
filterKey.push("RMB");
filterKey.push("OTH");
}
return filterKey;
},
},
methods: {},
created: function () { },
}
</script>
<style>
</style>