verce-vue-test 0.0.84 → 0.0.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/App.vue +8 -0
- package/src/router/index.ts +10 -0
- package/src/views/LoginView.vue +11 -1
- package/src/views/foreign-currency-authorization/api.ts +43 -0
- package/src/views/foreign-currency-authorization/index.vue +734 -0
- package/src/views/foreign-currency-authorization/mock.ts +116 -0
- package/src/views/foreign-currency-authorization/options.ts +78 -0
- package/src/views/foreign-currency-authorization/types.ts +85 -0
- package/src/views/foreign-currency-settlement/api.ts +77 -0
- package/src/views/foreign-currency-settlement/components/ForeignSettlementDetailView.vue +121 -0
- package/src/views/foreign-currency-settlement/components/ForeignSettlementFlowPanel.vue +601 -0
- package/src/views/foreign-currency-settlement/components/ForeignSettlementForecastPanel.vue +637 -0
- package/src/views/foreign-currency-settlement/foreign-currency-settlement.css +314 -0
- package/src/views/foreign-currency-settlement/index.vue +273 -0
- package/src/views/foreign-currency-settlement/options.ts +300 -0
- package/src/views/foreign-currency-settlement/types.ts +194 -0
- package/src/views/foreign-currency-settlement/utils.ts +109 -0
- package/src/views/rmb-position-estimation/README.md +7 -4
- package/src/views/rmb-position-estimation/index.vue +56 -22
- package/copy-path-0.1.2.vsix +0 -0
- package/src/de.vue +0 -0
|
@@ -0,0 +1,734 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { onBeforeUnmount, onMounted, reactive, ref } from 'vue'
|
|
3
|
+
import { ElMessage } from 'element-plus'
|
|
4
|
+
import { ArrowLeft, Document, RefreshLeft, Search } from '@element-plus/icons-vue'
|
|
5
|
+
import { queryForeignCurrencyAuthorizations } from './api'
|
|
6
|
+
import {
|
|
7
|
+
businessChannelOptions,
|
|
8
|
+
businessTypeOptions,
|
|
9
|
+
currencyOptions,
|
|
10
|
+
customerKindOptions,
|
|
11
|
+
idTypeOptions,
|
|
12
|
+
organizationOptions,
|
|
13
|
+
returnFlagOptions,
|
|
14
|
+
type SelectOption,
|
|
15
|
+
yesNoOptions,
|
|
16
|
+
} from './options'
|
|
17
|
+
import {
|
|
18
|
+
createDefaultForeignCurrencyAuthorizationFilter,
|
|
19
|
+
type ForeignCurrencyAuthorizationFilter,
|
|
20
|
+
type ForeignCurrencyAuthorizationRow,
|
|
21
|
+
} from './types'
|
|
22
|
+
|
|
23
|
+
const filterForm = reactive<ForeignCurrencyAuthorizationFilter>(
|
|
24
|
+
createDefaultForeignCurrencyAuthorizationFilter(),
|
|
25
|
+
)
|
|
26
|
+
const appliedFilters = ref<ForeignCurrencyAuthorizationFilter>(cloneFilter(filterForm))
|
|
27
|
+
const records = ref<ForeignCurrencyAuthorizationRow[]>([])
|
|
28
|
+
const totalCount = ref(0)
|
|
29
|
+
const currentPage = ref(1)
|
|
30
|
+
const pageSize = ref(10)
|
|
31
|
+
const isLoading = ref(false)
|
|
32
|
+
const isQuerying = ref(false)
|
|
33
|
+
const pageMode = ref<'list' | 'detail'>('list')
|
|
34
|
+
const detailRecord = ref<ForeignCurrencyAuthorizationRow | null>(null)
|
|
35
|
+
|
|
36
|
+
let activeQueryController: AbortController | null = null
|
|
37
|
+
|
|
38
|
+
function cloneFilter(source: ForeignCurrencyAuthorizationFilter): ForeignCurrencyAuthorizationFilter {
|
|
39
|
+
return { ...source }
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function getOptionLabel(options: readonly SelectOption[], value: string) {
|
|
43
|
+
return options.find((option) => option.value === value)?.label ?? value ?? '—'
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function displayValue(value: string) {
|
|
47
|
+
return value || '—'
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function formatMoney(value: number) {
|
|
51
|
+
return Number(value || 0).toLocaleString('zh-CN', {
|
|
52
|
+
minimumFractionDigits: 2,
|
|
53
|
+
maximumFractionDigits: 2,
|
|
54
|
+
})
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
function isAbortError(error: unknown) {
|
|
58
|
+
return error instanceof Error && error.name === 'AbortError'
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
async function loadRows() {
|
|
62
|
+
activeQueryController?.abort()
|
|
63
|
+
const controller = new AbortController()
|
|
64
|
+
activeQueryController = controller
|
|
65
|
+
isLoading.value = true
|
|
66
|
+
|
|
67
|
+
try {
|
|
68
|
+
const response = await queryForeignCurrencyAuthorizations(
|
|
69
|
+
appliedFilters.value,
|
|
70
|
+
currentPage.value,
|
|
71
|
+
pageSize.value,
|
|
72
|
+
controller.signal,
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
if (controller.signal.aborted || activeQueryController !== controller) return
|
|
76
|
+
records.value = response.resultList
|
|
77
|
+
totalCount.value = response.totalCount
|
|
78
|
+
} catch (error) {
|
|
79
|
+
if (controller.signal.aborted || isAbortError(error)) return
|
|
80
|
+
ElMessage.error(error instanceof Error ? error.message : '外币授权查询失败')
|
|
81
|
+
} finally {
|
|
82
|
+
if (activeQueryController === controller) {
|
|
83
|
+
activeQueryController = null
|
|
84
|
+
isLoading.value = false
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
async function handleQuery() {
|
|
90
|
+
if (isQuerying.value) return
|
|
91
|
+
isQuerying.value = true
|
|
92
|
+
|
|
93
|
+
try {
|
|
94
|
+
appliedFilters.value = cloneFilter(filterForm)
|
|
95
|
+
currentPage.value = 1
|
|
96
|
+
await loadRows()
|
|
97
|
+
} finally {
|
|
98
|
+
isQuerying.value = false
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
function handleReset() {
|
|
103
|
+
Object.assign(filterForm, createDefaultForeignCurrencyAuthorizationFilter())
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
async function handlePaginationChange(pagination: { page: number; pageSize: number }) {
|
|
107
|
+
currentPage.value = pagination.page
|
|
108
|
+
pageSize.value = pagination.pageSize
|
|
109
|
+
await loadRows()
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
function openDetail(row: ForeignCurrencyAuthorizationRow) {
|
|
113
|
+
detailRecord.value = row
|
|
114
|
+
pageMode.value = 'detail'
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function returnToList() {
|
|
118
|
+
pageMode.value = 'list'
|
|
119
|
+
detailRecord.value = null
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
onMounted(() => {
|
|
123
|
+
void loadRows()
|
|
124
|
+
})
|
|
125
|
+
|
|
126
|
+
onBeforeUnmount(() => {
|
|
127
|
+
activeQueryController?.abort()
|
|
128
|
+
})
|
|
129
|
+
</script>
|
|
130
|
+
|
|
131
|
+
<template>
|
|
132
|
+
<main class="foreign-authorization-page">
|
|
133
|
+
<template v-if="pageMode === 'list'">
|
|
134
|
+
<section class="query-panel" aria-label="外币授权查询条件">
|
|
135
|
+
<el-form
|
|
136
|
+
:model="filterForm"
|
|
137
|
+
label-position="top"
|
|
138
|
+
size="small"
|
|
139
|
+
class="query-form"
|
|
140
|
+
@keyup.enter="handleQuery"
|
|
141
|
+
>
|
|
142
|
+
<div class="query-grid">
|
|
143
|
+
<el-form-item label="报备日期">
|
|
144
|
+
<el-date-picker
|
|
145
|
+
v-model="filterForm.posDate"
|
|
146
|
+
type="date"
|
|
147
|
+
value-format="YYYY-MM-DD"
|
|
148
|
+
format="YYYY-MM-DD"
|
|
149
|
+
placeholder="请选择报备日期"
|
|
150
|
+
clearable
|
|
151
|
+
/>
|
|
152
|
+
</el-form-item>
|
|
153
|
+
|
|
154
|
+
<el-form-item label="计划汇款日期">
|
|
155
|
+
<el-date-picker
|
|
156
|
+
v-model="filterForm.planDate"
|
|
157
|
+
type="date"
|
|
158
|
+
value-format="YYYY-MM-DD"
|
|
159
|
+
format="YYYY-MM-DD"
|
|
160
|
+
placeholder="请选择计划汇款日期"
|
|
161
|
+
clearable
|
|
162
|
+
/>
|
|
163
|
+
</el-form-item>
|
|
164
|
+
|
|
165
|
+
<el-form-item label="业务类型">
|
|
166
|
+
<el-select v-model="filterForm.refType" placeholder="请选择业务类型" clearable>
|
|
167
|
+
<el-option
|
|
168
|
+
v-for="option in businessTypeOptions"
|
|
169
|
+
:key="option.value"
|
|
170
|
+
v-bind="option"
|
|
171
|
+
/>
|
|
172
|
+
</el-select>
|
|
173
|
+
</el-form-item>
|
|
174
|
+
|
|
175
|
+
<el-form-item label="客户分类">
|
|
176
|
+
<el-select v-model="filterForm.custType" placeholder="请选择客户分类" clearable>
|
|
177
|
+
<el-option
|
|
178
|
+
v-for="option in customerKindOptions"
|
|
179
|
+
:key="option.value"
|
|
180
|
+
v-bind="option"
|
|
181
|
+
/>
|
|
182
|
+
</el-select>
|
|
183
|
+
</el-form-item>
|
|
184
|
+
|
|
185
|
+
<el-form-item label="客户号">
|
|
186
|
+
<el-input
|
|
187
|
+
v-model="filterForm.custCode"
|
|
188
|
+
maxlength="32"
|
|
189
|
+
placeholder="请输入客户号/证件号"
|
|
190
|
+
clearable
|
|
191
|
+
/>
|
|
192
|
+
</el-form-item>
|
|
193
|
+
|
|
194
|
+
<el-form-item label="归属机构">
|
|
195
|
+
<el-select v-model="filterForm.orgId" placeholder="请选择归属机构" clearable filterable>
|
|
196
|
+
<el-option
|
|
197
|
+
v-for="option in organizationOptions"
|
|
198
|
+
:key="option.value"
|
|
199
|
+
v-bind="option"
|
|
200
|
+
/>
|
|
201
|
+
</el-select>
|
|
202
|
+
</el-form-item>
|
|
203
|
+
|
|
204
|
+
<el-form-item label="币种">
|
|
205
|
+
<el-select v-model="filterForm.currency" placeholder="请选择币种" clearable filterable>
|
|
206
|
+
<el-option
|
|
207
|
+
v-for="option in currencyOptions"
|
|
208
|
+
:key="option.value"
|
|
209
|
+
v-bind="option"
|
|
210
|
+
/>
|
|
211
|
+
</el-select>
|
|
212
|
+
</el-form-item>
|
|
213
|
+
</div>
|
|
214
|
+
|
|
215
|
+
<div class="query-actions">
|
|
216
|
+
<el-button :icon="RefreshLeft" @click="handleReset">重置</el-button>
|
|
217
|
+
<el-button
|
|
218
|
+
type="primary"
|
|
219
|
+
:icon="Search"
|
|
220
|
+
:loading="isQuerying"
|
|
221
|
+
@click="handleQuery"
|
|
222
|
+
>
|
|
223
|
+
查询
|
|
224
|
+
</el-button>
|
|
225
|
+
</div>
|
|
226
|
+
</el-form>
|
|
227
|
+
</section>
|
|
228
|
+
|
|
229
|
+
<section class="table-panel" aria-label="外币授权查询结果">
|
|
230
|
+
<ElTablePro
|
|
231
|
+
v-model:page="currentPage"
|
|
232
|
+
v-model:page-size="pageSize"
|
|
233
|
+
v-loading="isLoading"
|
|
234
|
+
:data="records"
|
|
235
|
+
:total="totalCount"
|
|
236
|
+
:page-sizes="[10, 20, 50, 100]"
|
|
237
|
+
table-key="foreign-currency-authorization"
|
|
238
|
+
row-key="id"
|
|
239
|
+
border
|
|
240
|
+
stripe
|
|
241
|
+
height="470"
|
|
242
|
+
empty-text="暂无外币授权记录"
|
|
243
|
+
class="authorization-table"
|
|
244
|
+
col-btn-size="small"
|
|
245
|
+
layout="total, sizes, prev, pager, next, jumper"
|
|
246
|
+
@pagination-change="handlePaginationChange"
|
|
247
|
+
@row-dblclick="openDetail"
|
|
248
|
+
>
|
|
249
|
+
<template #toolbar>
|
|
250
|
+
<div class="result-heading">
|
|
251
|
+
<strong>外币授权记录</strong>
|
|
252
|
+
<span>共 {{ totalCount }} 条</span>
|
|
253
|
+
</div>
|
|
254
|
+
</template>
|
|
255
|
+
|
|
256
|
+
<template #toolbar-right>
|
|
257
|
+
<span class="table-tip">双击记录可查看完整信息</span>
|
|
258
|
+
</template>
|
|
259
|
+
|
|
260
|
+
<el-table-column
|
|
261
|
+
type="index"
|
|
262
|
+
column-key="sequence"
|
|
263
|
+
label="序号"
|
|
264
|
+
width="62"
|
|
265
|
+
fixed="left"
|
|
266
|
+
:index="(index: number) => (currentPage - 1) * pageSize + index + 1"
|
|
267
|
+
disabled
|
|
268
|
+
/>
|
|
269
|
+
<el-table-column prop="id" label="记录ID" width="160" fixed="left" show-overflow-tooltip />
|
|
270
|
+
<el-table-column prop="forecastDate" label="大额报备日期" width="120" />
|
|
271
|
+
<el-table-column prop="planDate" label="计划汇款日期" width="120" />
|
|
272
|
+
<el-table-column prop="valueDate" label="汇款起息日" width="112" />
|
|
273
|
+
<el-table-column label="业务类型" width="230" show-overflow-tooltip>
|
|
274
|
+
<template #default="{ row }">
|
|
275
|
+
{{ getOptionLabel(businessTypeOptions, row.refType) }}
|
|
276
|
+
</template>
|
|
277
|
+
</el-table-column>
|
|
278
|
+
<el-table-column label="客户分类" width="148">
|
|
279
|
+
<template #default="{ row }">
|
|
280
|
+
{{ getOptionLabel(customerKindOptions, row.custKind) }}
|
|
281
|
+
</template>
|
|
282
|
+
</el-table-column>
|
|
283
|
+
<el-table-column prop="custName" label="客户名称" width="210" show-overflow-tooltip />
|
|
284
|
+
<el-table-column prop="custCode" label="客户号/证件号" width="190" show-overflow-tooltip />
|
|
285
|
+
<el-table-column prop="currency" label="币种" width="78" align="center">
|
|
286
|
+
<template #default="{ row }">
|
|
287
|
+
<strong class="currency-code">{{ row.currency }}</strong>
|
|
288
|
+
</template>
|
|
289
|
+
</el-table-column>
|
|
290
|
+
<el-table-column prop="forecastAmt" label="汇款金额" width="146" align="right">
|
|
291
|
+
<template #default="{ row }">
|
|
292
|
+
<span class="money-cell">{{ formatMoney(row.forecastAmt) }}</span>
|
|
293
|
+
</template>
|
|
294
|
+
</el-table-column>
|
|
295
|
+
<el-table-column prop="pyeBankName" label="收款银行名称" width="250" show-overflow-tooltip />
|
|
296
|
+
<el-table-column prop="pyeaccBic" label="收款银行 SWIFTCODE" width="198" show-overflow-tooltip />
|
|
297
|
+
<el-table-column label="是否退汇" width="90" align="center">
|
|
298
|
+
<template #default="{ row }">
|
|
299
|
+
<el-tag
|
|
300
|
+
:type="row.rtnFlag === '02' ? 'danger' : 'info'"
|
|
301
|
+
size="small"
|
|
302
|
+
effect="plain"
|
|
303
|
+
>
|
|
304
|
+
{{ getOptionLabel(returnFlagOptions, row.rtnFlag) }}
|
|
305
|
+
</el-tag>
|
|
306
|
+
</template>
|
|
307
|
+
</el-table-column>
|
|
308
|
+
<el-table-column prop="linkMan" label="报备人" width="96" />
|
|
309
|
+
<el-table-column prop="supervisor" label="复核人" width="96" />
|
|
310
|
+
<el-table-column prop="author" label="授权人" width="102">
|
|
311
|
+
<template #default="{ row }">
|
|
312
|
+
<span v-if="row.author">{{ row.author }}</span>
|
|
313
|
+
<el-tag v-else type="warning" size="small" effect="plain">待授权</el-tag>
|
|
314
|
+
</template>
|
|
315
|
+
</el-table-column>
|
|
316
|
+
<el-table-column prop="bizarc" label="业务渠道" width="102" :visible="false">
|
|
317
|
+
<template #default="{ row }">
|
|
318
|
+
{{ getOptionLabel(businessChannelOptions, row.bizarc) }}
|
|
319
|
+
</template>
|
|
320
|
+
</el-table-column>
|
|
321
|
+
<el-table-column prop="orgName" label="归属机构" width="176" :visible="false" show-overflow-tooltip />
|
|
322
|
+
<el-table-column prop="rdfibic" label="最终收款行 SWIFTCODE" width="204" :visible="false" show-overflow-tooltip />
|
|
323
|
+
<el-table-column prop="oriInnerrefno" label="原汇入汇款业务编号" width="190" :visible="false" show-overflow-tooltip>
|
|
324
|
+
<template #default="{ row }">{{ displayValue(row.oriInnerrefno) }}</template>
|
|
325
|
+
</el-table-column>
|
|
326
|
+
<el-table-column prop="nostro" label="账户行信息" width="260" :visible="false" show-overflow-tooltip />
|
|
327
|
+
<el-table-column prop="pyeBankAgt" label="收款银行开户行" width="190" :visible="false" show-overflow-tooltip />
|
|
328
|
+
<el-table-column prop="linkWay" label="报备人联系电话" width="140" :visible="false" />
|
|
329
|
+
<el-table-column prop="posRemark" label="报备说明" width="230" :visible="false" show-overflow-tooltip>
|
|
330
|
+
<template #default="{ row }">{{ displayValue(row.posRemark) }}</template>
|
|
331
|
+
</el-table-column>
|
|
332
|
+
<el-table-column
|
|
333
|
+
column-key="operations"
|
|
334
|
+
label="操作"
|
|
335
|
+
width="96"
|
|
336
|
+
fixed="right"
|
|
337
|
+
align="center"
|
|
338
|
+
disabled
|
|
339
|
+
>
|
|
340
|
+
<template #default="{ row }">
|
|
341
|
+
<el-button link type="primary" size="small" :icon="Document" @click.stop="openDetail(row)">
|
|
342
|
+
详情
|
|
343
|
+
</el-button>
|
|
344
|
+
</template>
|
|
345
|
+
</el-table-column>
|
|
346
|
+
</ElTablePro>
|
|
347
|
+
</section>
|
|
348
|
+
</template>
|
|
349
|
+
|
|
350
|
+
<section v-else-if="detailRecord" class="detail-page" aria-label="外币授权详细信息">
|
|
351
|
+
<header class="detail-header">
|
|
352
|
+
<div class="detail-header__main">
|
|
353
|
+
<el-button class="back-button" :icon="ArrowLeft" @click="returnToList">返回</el-button>
|
|
354
|
+
<span class="detail-header__divider" aria-hidden="true"></span>
|
|
355
|
+
<div class="detail-title">
|
|
356
|
+
<h2>外币授权详细信息</h2>
|
|
357
|
+
<p>{{ detailRecord.id }} · {{ detailRecord.custName }}</p>
|
|
358
|
+
</div>
|
|
359
|
+
</div>
|
|
360
|
+
<el-tag
|
|
361
|
+
:type="detailRecord.author ? 'success' : 'warning'"
|
|
362
|
+
effect="light"
|
|
363
|
+
round
|
|
364
|
+
>
|
|
365
|
+
{{ detailRecord.author ? '已授权' : '待授权' }}
|
|
366
|
+
</el-tag>
|
|
367
|
+
</header>
|
|
368
|
+
|
|
369
|
+
<div class="detail-content">
|
|
370
|
+
<section class="detail-section">
|
|
371
|
+
<h3>基本信息</h3>
|
|
372
|
+
<el-descriptions :column="3" border size="small" class="detail-descriptions">
|
|
373
|
+
<el-descriptions-item label="记录ID">{{ detailRecord.id }}</el-descriptions-item>
|
|
374
|
+
<el-descriptions-item label="大额报备日期">{{ detailRecord.forecastDate }}</el-descriptions-item>
|
|
375
|
+
<el-descriptions-item label="计划汇款日期">{{ detailRecord.planDate }}</el-descriptions-item>
|
|
376
|
+
<el-descriptions-item label="汇款起息日">{{ detailRecord.valueDate }}</el-descriptions-item>
|
|
377
|
+
<el-descriptions-item label="业务类型" :span="2">
|
|
378
|
+
{{ getOptionLabel(businessTypeOptions, detailRecord.refType) }}
|
|
379
|
+
</el-descriptions-item>
|
|
380
|
+
<el-descriptions-item label="业务渠道">
|
|
381
|
+
{{ getOptionLabel(businessChannelOptions, detailRecord.bizarc) }}
|
|
382
|
+
</el-descriptions-item>
|
|
383
|
+
<el-descriptions-item label="币种">{{ detailRecord.currency }}</el-descriptions-item>
|
|
384
|
+
<el-descriptions-item label="汇款金额">
|
|
385
|
+
{{ formatMoney(detailRecord.forecastAmt) }}
|
|
386
|
+
</el-descriptions-item>
|
|
387
|
+
<el-descriptions-item label="归属机构" :span="2">
|
|
388
|
+
{{ detailRecord.orgName }}({{ detailRecord.orgId }})
|
|
389
|
+
</el-descriptions-item>
|
|
390
|
+
<el-descriptions-item label="自贸区标识">
|
|
391
|
+
{{ getOptionLabel(yesNoOptions, detailRecord.ftzFlag) }}
|
|
392
|
+
</el-descriptions-item>
|
|
393
|
+
</el-descriptions>
|
|
394
|
+
</section>
|
|
395
|
+
|
|
396
|
+
<section class="detail-section">
|
|
397
|
+
<h3>客户信息</h3>
|
|
398
|
+
<el-descriptions :column="3" border size="small" class="detail-descriptions">
|
|
399
|
+
<el-descriptions-item label="客户分类">
|
|
400
|
+
{{ getOptionLabel(customerKindOptions, detailRecord.custKind) }}
|
|
401
|
+
</el-descriptions-item>
|
|
402
|
+
<el-descriptions-item label="证件类型">
|
|
403
|
+
{{ getOptionLabel(idTypeOptions, detailRecord.idType) }}
|
|
404
|
+
</el-descriptions-item>
|
|
405
|
+
<el-descriptions-item label="客户号/证件号">
|
|
406
|
+
{{ detailRecord.custCode }}
|
|
407
|
+
</el-descriptions-item>
|
|
408
|
+
<el-descriptions-item label="客户名称" :span="3">
|
|
409
|
+
{{ detailRecord.custName }}
|
|
410
|
+
</el-descriptions-item>
|
|
411
|
+
</el-descriptions>
|
|
412
|
+
</section>
|
|
413
|
+
|
|
414
|
+
<section class="detail-section">
|
|
415
|
+
<h3>汇款信息</h3>
|
|
416
|
+
<el-descriptions :column="3" border size="small" class="detail-descriptions">
|
|
417
|
+
<el-descriptions-item label="收款银行开户行" :span="2">
|
|
418
|
+
{{ detailRecord.pyeBankAgt }}
|
|
419
|
+
</el-descriptions-item>
|
|
420
|
+
<el-descriptions-item label="收款银行 SWIFTCODE">
|
|
421
|
+
{{ detailRecord.pyeaccBic }}
|
|
422
|
+
</el-descriptions-item>
|
|
423
|
+
<el-descriptions-item label="收款银行名称" :span="2">
|
|
424
|
+
{{ detailRecord.pyeBankName }}
|
|
425
|
+
</el-descriptions-item>
|
|
426
|
+
<el-descriptions-item label="最终收款行 SWIFTCODE">
|
|
427
|
+
{{ detailRecord.rdfibic }}
|
|
428
|
+
</el-descriptions-item>
|
|
429
|
+
<el-descriptions-item label="账户行信息" :span="3">
|
|
430
|
+
{{ detailRecord.nostro }}
|
|
431
|
+
</el-descriptions-item>
|
|
432
|
+
<el-descriptions-item label="是否退汇">
|
|
433
|
+
{{ getOptionLabel(returnFlagOptions, detailRecord.rtnFlag) }}
|
|
434
|
+
</el-descriptions-item>
|
|
435
|
+
<el-descriptions-item label="原汇入汇款业务编号" :span="2">
|
|
436
|
+
{{ displayValue(detailRecord.oriInnerrefno) }}
|
|
437
|
+
</el-descriptions-item>
|
|
438
|
+
<el-descriptions-item label="邮件通知服务">
|
|
439
|
+
{{ getOptionLabel(yesNoOptions, detailRecord.isEmail) }}
|
|
440
|
+
</el-descriptions-item>
|
|
441
|
+
<el-descriptions-item label="多币种汇款产品">
|
|
442
|
+
{{ getOptionLabel(yesNoOptions, detailRecord.mulcurflag) }}
|
|
443
|
+
</el-descriptions-item>
|
|
444
|
+
</el-descriptions>
|
|
445
|
+
</section>
|
|
446
|
+
|
|
447
|
+
<section class="detail-section is-last">
|
|
448
|
+
<h3>报备与授权信息</h3>
|
|
449
|
+
<el-descriptions :column="3" border size="small" class="detail-descriptions">
|
|
450
|
+
<el-descriptions-item label="报备人">{{ detailRecord.linkMan }}</el-descriptions-item>
|
|
451
|
+
<el-descriptions-item label="联系电话">{{ detailRecord.linkWay }}</el-descriptions-item>
|
|
452
|
+
<el-descriptions-item label="复核人">{{ detailRecord.supervisor }}</el-descriptions-item>
|
|
453
|
+
<el-descriptions-item label="授权人">
|
|
454
|
+
{{ displayValue(detailRecord.author) }}
|
|
455
|
+
</el-descriptions-item>
|
|
456
|
+
<el-descriptions-item label="报备说明" :span="2">
|
|
457
|
+
{{ displayValue(detailRecord.posRemark) }}
|
|
458
|
+
</el-descriptions-item>
|
|
459
|
+
</el-descriptions>
|
|
460
|
+
</section>
|
|
461
|
+
</div>
|
|
462
|
+
</section>
|
|
463
|
+
</main>
|
|
464
|
+
</template>
|
|
465
|
+
|
|
466
|
+
<style scoped>
|
|
467
|
+
.foreign-authorization-page {
|
|
468
|
+
--page-blue: #1f62d6;
|
|
469
|
+
--page-ink: #172033;
|
|
470
|
+
--page-muted: #667085;
|
|
471
|
+
--page-line: #dce3ec;
|
|
472
|
+
min-width: 0;
|
|
473
|
+
min-height: 100%;
|
|
474
|
+
color: var(--page-ink);
|
|
475
|
+
font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.query-panel,
|
|
479
|
+
.table-panel {
|
|
480
|
+
border: 1px solid var(--page-line);
|
|
481
|
+
border-radius: 7px;
|
|
482
|
+
background: #fff;
|
|
483
|
+
box-shadow: 0 3px 12px rgba(30, 55, 90, 0.045);
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.query-panel {
|
|
487
|
+
margin-bottom: 10px;
|
|
488
|
+
padding: 12px 16px 10px;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.query-grid {
|
|
492
|
+
display: grid;
|
|
493
|
+
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
494
|
+
gap: 8px 12px;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.query-form :deep(.el-form-item) {
|
|
498
|
+
min-width: 0;
|
|
499
|
+
margin-bottom: 0;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.query-form :deep(.el-form-item__label) {
|
|
503
|
+
height: 24px;
|
|
504
|
+
padding: 0;
|
|
505
|
+
color: #475467;
|
|
506
|
+
font-size: 12px;
|
|
507
|
+
font-weight: 600;
|
|
508
|
+
line-height: 24px;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.query-form :deep(.el-input),
|
|
512
|
+
.query-form :deep(.el-select),
|
|
513
|
+
.query-form :deep(.el-date-editor) {
|
|
514
|
+
width: 100%;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.query-form :deep(.el-input__wrapper),
|
|
518
|
+
.query-form :deep(.el-select__wrapper) {
|
|
519
|
+
min-height: var(--el-component-size-small, 24px);
|
|
520
|
+
border-radius: 5px;
|
|
521
|
+
box-shadow: 0 0 0 1px #d6dee9 inset;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.query-actions {
|
|
525
|
+
display: flex;
|
|
526
|
+
justify-content: flex-end;
|
|
527
|
+
gap: 8px;
|
|
528
|
+
margin-top: 10px;
|
|
529
|
+
padding-top: 10px;
|
|
530
|
+
border-top: 1px dashed #e2e8f0;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
.query-actions .el-button {
|
|
534
|
+
min-width: 86px;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.table-panel {
|
|
538
|
+
overflow: hidden;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.authorization-table {
|
|
542
|
+
width: 100%;
|
|
543
|
+
--el-table-header-bg-color: #f3f6fa;
|
|
544
|
+
--el-table-header-text-color: #344054;
|
|
545
|
+
--el-table-row-hover-bg-color: #f1f6ff;
|
|
546
|
+
--el-table-border-color: #e1e6ed;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.table-panel :deep(.el-table-plus__toolbar) {
|
|
550
|
+
flex-wrap: wrap;
|
|
551
|
+
gap: 8px;
|
|
552
|
+
min-height: 42px;
|
|
553
|
+
margin: 0;
|
|
554
|
+
padding: 7px 14px;
|
|
555
|
+
border-bottom: 1px solid #e5eaf1;
|
|
556
|
+
background: #fbfcfe;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.table-panel :deep(.el-table-plus__toolbar-left) {
|
|
560
|
+
flex: 1;
|
|
561
|
+
min-width: 0;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.table-panel :deep(.el-table-plus__toolbar-right) {
|
|
565
|
+
display: flex;
|
|
566
|
+
flex: 0 0 auto;
|
|
567
|
+
align-items: center;
|
|
568
|
+
gap: 10px;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.table-panel :deep(.el-table-plus__pagination) {
|
|
572
|
+
min-height: 52px;
|
|
573
|
+
margin: 0;
|
|
574
|
+
padding: 8px 14px;
|
|
575
|
+
border-top: 1px solid #e5eaf1;
|
|
576
|
+
background: #fff;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.result-heading {
|
|
580
|
+
display: flex;
|
|
581
|
+
align-items: center;
|
|
582
|
+
gap: 10px;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.result-heading strong {
|
|
586
|
+
color: #27364f;
|
|
587
|
+
font-size: 14px;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.result-heading span,
|
|
591
|
+
.table-tip {
|
|
592
|
+
color: var(--page-muted);
|
|
593
|
+
font-size: 12px;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.authorization-table :deep(.el-table__header th) {
|
|
597
|
+
height: 40px;
|
|
598
|
+
padding: 0;
|
|
599
|
+
font-size: 12px;
|
|
600
|
+
font-weight: 700;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.authorization-table :deep(.el-table__cell) {
|
|
604
|
+
padding: 6px 0;
|
|
605
|
+
font-size: 12px;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.authorization-table :deep(.el-table__row) {
|
|
609
|
+
height: 42px;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.money-cell,
|
|
613
|
+
.currency-code {
|
|
614
|
+
font-variant-numeric: tabular-nums;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.money-cell {
|
|
618
|
+
color: #27364f;
|
|
619
|
+
font-weight: 650;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.currency-code {
|
|
623
|
+
color: #174ea6;
|
|
624
|
+
letter-spacing: 0.03em;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
.detail-page {
|
|
628
|
+
overflow: hidden;
|
|
629
|
+
border: 1px solid var(--page-line);
|
|
630
|
+
border-radius: 7px;
|
|
631
|
+
background: #fff;
|
|
632
|
+
box-shadow: 0 3px 12px rgba(30, 55, 90, 0.045);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.detail-header {
|
|
636
|
+
display: flex;
|
|
637
|
+
align-items: center;
|
|
638
|
+
justify-content: space-between;
|
|
639
|
+
gap: 20px;
|
|
640
|
+
min-height: 68px;
|
|
641
|
+
padding: 12px 18px;
|
|
642
|
+
border-bottom: 1px solid #e5eaf1;
|
|
643
|
+
background: #fbfcfe;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
.detail-header__main {
|
|
647
|
+
display: flex;
|
|
648
|
+
align-items: center;
|
|
649
|
+
min-width: 0;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
.back-button {
|
|
653
|
+
flex: 0 0 auto;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
.detail-header__divider {
|
|
657
|
+
width: 1px;
|
|
658
|
+
height: 32px;
|
|
659
|
+
margin: 0 16px;
|
|
660
|
+
background: #d9e1eb;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
.detail-title {
|
|
664
|
+
min-width: 0;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.detail-title h2 {
|
|
668
|
+
margin: 0;
|
|
669
|
+
color: #27364f;
|
|
670
|
+
font-size: 17px;
|
|
671
|
+
line-height: 24px;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.detail-title p {
|
|
675
|
+
margin: 2px 0 0;
|
|
676
|
+
overflow: hidden;
|
|
677
|
+
color: var(--page-muted);
|
|
678
|
+
font-size: 12px;
|
|
679
|
+
line-height: 18px;
|
|
680
|
+
text-overflow: ellipsis;
|
|
681
|
+
white-space: nowrap;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
.detail-content {
|
|
685
|
+
padding: 18px;
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.detail-section {
|
|
689
|
+
margin-bottom: 18px;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.detail-section.is-last {
|
|
693
|
+
margin-bottom: 0;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
.detail-section h3 {
|
|
697
|
+
margin: 0 0 8px;
|
|
698
|
+
color: #27364f;
|
|
699
|
+
font-size: 14px;
|
|
700
|
+
font-weight: 700;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.detail-descriptions :deep(.el-descriptions__label) {
|
|
704
|
+
width: 126px;
|
|
705
|
+
color: #667085;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
.detail-descriptions :deep(.el-descriptions__content) {
|
|
709
|
+
color: #27364f;
|
|
710
|
+
word-break: break-word;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
@media (max-width: 1380px) {
|
|
714
|
+
.query-grid {
|
|
715
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
@media (max-width: 900px) {
|
|
720
|
+
.query-grid {
|
|
721
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.table-tip {
|
|
725
|
+
display: none;
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
@media (max-width: 560px) {
|
|
730
|
+
.query-grid {
|
|
731
|
+
grid-template-columns: minmax(0, 1fr);
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
</style>
|