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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<template>
<div class="eContainer">
<c-page title="电商汇入汇款">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cpteci PD000020 Overview -->
<el-tab-pane label="业务信息" name="opnp1">
<c-content>
<m-opnp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--cpteci PD000272 Addtional Info -->
<!-- <el-tab-pane label="Addtional Info" name="namp">
<c-content>
<m-namp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!--setmod PD000000 Settlement -->
<el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan">
<c-content>
<m-setmod :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<!-- <el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!--coninf PD000010 Incoming Tag 72/79 -->
<!-- <el-tab-pane label="Incoming Tag 72/79" name="coninftag">
<c-content>
<m-coninftag :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<!-- <el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!--dtemod PD000001 DTA Fields -->
<!-- <el-tab-pane label="DTA Fields" name="dtetag">
<c-content>
<m-dtetag :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!--cipmod PD000204 CIPS -->
<!-- <el-tab-pane label="CIPS" name="CIPS">
<c-content>
<m-cips :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!--cipmod PD000449 CIPS2.0 -->
<!-- <el-tab-pane label="CIPS2.0" name="cips2">
<c-content>
<m-cips2 :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!--cipmod PD000450 CIPS2.0 -->
<!-- <el-tab-pane label="CIPS2.0" name="cips3">
<c-content>
<m-cips3 :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!--hmdmod PD000102 高风险国家复核 -->
<el-tab-pane label="高风险国家复核" name="reluser">
<c-content>
<m-reluser :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--lendoc PD000001 收账通知 -->
<el-tab-pane label="收账通知" name="docpanc">
<c-content>
<m-docpanc :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--umdmod PD000016 统一名单筛查信息 -->
<!-- <el-tab-pane label="统一名单筛查信息" name="umdtp">
<c-content>
<m-umdtp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!-- <el-tab-pane :label="$t('commonModels.统一名单')" name="usrmd">
<c-content>
<m-usrmd :codes="codes" :model="model" />
</c-content>
</el-tab-pane> -->
<!--fecinf PD000001 Fee Conditions -->
<!-- <el-tab-pane label="Fee Conditions" name="fecp">
<c-content>
<m-fecp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!--abtmod PD000001 业务类型选择 -->
<!-- <el-tab-pane label="业务类型选择" name="btspan">
<c-content>
<m-btspan :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--limmod PD001173 押品信息 -->
<el-tab-pane label="押品信息" name="yptp">
<c-content>
<m-yptp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<!-- 底部按钮 -->
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash" ref="commonBtn" @handleSureWarning="handleSureWarning">
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Cpteci from "../model";
import event from "../event";
import commonProcess from "~/mixin/commonProcess";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import Check from "../model/check";
import Default from "../model/default";
import buildFn from "../event/buildCommons.js";
import Opnp1 from "./Opnp1";
import Namp from "./Namp";
import Coninfp from "~/components/business/coninfp/views";
import Coninftag from "./Coninftag";
import Docpan from "~/components/business/docpan/views";
import Docpanc from "~/page/Remittance/Cptrep/views/Docpan";
import Doctre from "~/components/business/doctre/views";
import Dtetag from "~/page/Remittance/Cpthyf/views/Dtetag";
import Setmod from "~/components/business/setmod/views";
import Cips from "./Cips";
import Cips2 from "./Cips2";
import Cips3 from "./Cips3";
import Reluser from "./Reluser";
import Umdtp from "./Umdtp";
import Fecp from "./Fecp";
import Btspan from "~/page/Remittance/Cpthyf/views/Btspan";
import Limitbody from "~/components/business/limitbody/views";
import Yptp from "~/page/Remittance/Cpthyf/views/Yptp";
//import Usrmd from "~/components/business/Usrmd/views";
export default {
name: "Cpteci",
components: {
"m-opnp1": Opnp1,
"m-namp": Namp,
"m-coninfp": Coninfp,
"m-coninftag": Coninftag,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-dtetag": Dtetag,
"m-setmod": Setmod,
"m-cips": Cips,
"m-cips2": Cips2,
"m-cips3": Cips3,
"m-reluser": Reluser,
"m-docpanc": Docpanc,
"m-umdtp": Umdtp,
"m-fecp": Fecp,
"m-btspan": Btspan,
"m-limitbody": Limitbody,
//"m-usrmd": Usrmd,
"m-yptp": Yptp
},
provide() {
return {
root: this
};
},
mixins: [
commonProcess,
Check,
Default,
operationFunc,
event,
commonDepend,
buildFn
], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "opnp1",
trnName: "cpteci",
trnType: "",
model: new Cpteci().data,
rules: null,
codes: { ...CodeTable }
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}
},
created: async function() {
console.log("进入cpteci交易");
let params = {
transName: this.trnName,
cpdgrp: {
rec: {
inr: this.$route.query.inr
}
}
};
//this.init(params);
}
};
</script>
<style>
</style>