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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<template>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<c-fullbox>
<el-form-item label="申请人" prop="fcdgrp.apl.pts.extkey">
<c-input
v-model="model.fcdgrp.apl.pts.extkey"
maxlength="16"
placeholder="请输入申请人Extkey"
@keyup.enter.native="
showGridPromptDialog('fcdgrp.apl.pts.extkey')
"
></c-input>
</el-form-item>
<template slot="footer">
<c-button size="small" type="primary" @click="onAplpDet">
Details
</c-button>
</template>
</c-fullbox>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="fcdgrp.apl.pts.nam">
<c-input
v-model="model.fcdgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="fcdgrp.apl.pta.nam1">
<c-input
v-model="model.fcdgrp.apl.pta.nam1"
maxlength="40"
placeholder="请输入Externally Visible Name of Address"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="" prop="aplp.ptsget.sdamod.seainf">
<c-input v-model="model.aplp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-col :span="12">
<c-col :span="14">
<el-form-item label="保证金账号" prop="cashacc">
<!-- <c-select
v-model="model.cashacc"
style="width: 100%"
placeholder="请选择account"
>
</c-select> -->
<c-input
v-model="model.cashacc"
placeholder="请选择account"
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="科目" label-width="60px" prop="trmtyp">
<c-select
v-model="model.trmtyp"
style="width: 100%"
placeholder="请选择科目"
>
<el-option v-for="k in codes.trmtyp" :label="k" :value="k.split('\t')[0]" :key="k"></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="说明" prop="reason">
<c-input
v-model="model.reason"
maxlength="40"
placeholder="请输入collect reason"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-fullbox>
<c-col :span="12">
<el-form-item label="金额" prop="cashcur">
<c-select
v-model="model.cashcur"
style="width: 100%"
placeholder="请选择currency"
>
<el-option v-for="k in codes.cashcur" :label="k" :value="k" :key="k"></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="20px" prop="cashamt">
<c-input
v-model="model.cashamt"
placeholder="请输入金额"
></c-input>
</el-form-item>
</c-col>
<template slot="footer">
<c-button size="small" type="primary" @click="onGet" disabled>
Get
</c-button>
</template>
</c-fullbox>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="gleflg">
<c-checkbox v-model="model.gleflg">是否过帐</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-istream-table
:list="model.cshstm.rows || []"
:columns="columns"
></c-istream-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Fctopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
columns: [
"0 1 \"INR\" 100",
"1 2 \"Own Reference\" 150",
"2 3 \"收取日期\" auto 4 7",
"3 4 \"Cur\" 100",
"4 5 \"Relevant Amount\" 150 2 8:1 2 5",
"5 6 \"机构号\" 120",
"6 7 \"保证金帐号\" 120",
"7 8 \"是否过帐\" 120 1 0 1 FCD:GLEFLG",
"8 9 \"是否到帐\" 120 1 0 1 FCD:RELFLG",
"9 10 \"是否被用\" 120 1 0 1 FCD:USEFLG",
"10 11 \"说明 \" 200",
"P COLORED TRUE",
"P VERTLINES TRUE",
"P HORZLINES TRUE",
"P MULTISELECT FALSE"
],
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>