verce-vue-test 0.0.157 → 0.0.158
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
CHANGED
|
@@ -513,7 +513,10 @@ onBeforeUnmount(() => {
|
|
|
513
513
|
<el-descriptions-item label="记录ID">{{ detailRecord.id }}</el-descriptions-item>
|
|
514
514
|
<el-descriptions-item label="大额报备日期">{{ detailRecord.forecastDate }}</el-descriptions-item>
|
|
515
515
|
<el-descriptions-item label="计划汇款日期">{{ detailRecord.planDate }}</el-descriptions-item>
|
|
516
|
-
<el-descriptions-item
|
|
516
|
+
<el-descriptions-item>
|
|
517
|
+
<template #label>
|
|
518
|
+
<span class="detail-required-label">汇款起息日</span>
|
|
519
|
+
</template>
|
|
517
520
|
<el-date-picker
|
|
518
521
|
v-model="detailEditForm.valueDate"
|
|
519
522
|
class="detail-edit-control"
|
|
@@ -577,7 +580,10 @@ onBeforeUnmount(() => {
|
|
|
577
580
|
<el-descriptions-item label="最终收款行 SWIFTCODE">
|
|
578
581
|
{{ detailRecord.rdfibic }}
|
|
579
582
|
</el-descriptions-item>
|
|
580
|
-
<el-descriptions-item
|
|
583
|
+
<el-descriptions-item :span="4">
|
|
584
|
+
<template #label>
|
|
585
|
+
<span class="detail-required-label">账户行</span>
|
|
586
|
+
</template>
|
|
581
587
|
<el-select
|
|
582
588
|
v-model="detailEditForm.nostro"
|
|
583
589
|
class="detail-edit-control"
|
|
@@ -618,7 +624,10 @@ onBeforeUnmount(() => {
|
|
|
618
624
|
<el-descriptions-item label="报备人">{{ detailRecord.linkMan }}</el-descriptions-item>
|
|
619
625
|
<el-descriptions-item label="联系电话">{{ detailRecord.linkWay }}</el-descriptions-item>
|
|
620
626
|
<el-descriptions-item label="复核人">{{ detailRecord.supervisor }}</el-descriptions-item>
|
|
621
|
-
<el-descriptions-item
|
|
627
|
+
<el-descriptions-item>
|
|
628
|
+
<template #label>
|
|
629
|
+
<span class="detail-required-label">授权人</span>
|
|
630
|
+
</template>
|
|
622
631
|
<el-input
|
|
623
632
|
v-model="detailEditForm.author"
|
|
624
633
|
class="detail-edit-control"
|
|
@@ -651,25 +660,27 @@ onBeforeUnmount(() => {
|
|
|
651
660
|
<span class="detail-actions__hint">账户行、汇款起息日与授权人将在审核时一并保存</span>
|
|
652
661
|
<div class="detail-actions__buttons">
|
|
653
662
|
<el-button :icon="ArrowLeft" @click="returnToList">返回</el-button>
|
|
654
|
-
<
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
663
|
+
<template v-if="detailRecord.reviewStatus === 'pending'">
|
|
664
|
+
<el-button
|
|
665
|
+
type="primary"
|
|
666
|
+
:icon="CircleCheck"
|
|
667
|
+
:loading="reviewAction === 'approve'"
|
|
668
|
+
:disabled="reviewAction !== null && reviewAction !== 'approve'"
|
|
669
|
+
@click="handleReview('approve')"
|
|
670
|
+
>
|
|
671
|
+
通过
|
|
672
|
+
</el-button>
|
|
673
|
+
<el-button
|
|
674
|
+
type="danger"
|
|
675
|
+
plain
|
|
676
|
+
:icon="CircleClose"
|
|
677
|
+
:loading="reviewAction === 'reject'"
|
|
678
|
+
:disabled="reviewAction !== null && reviewAction !== 'reject'"
|
|
679
|
+
@click="handleReview('reject')"
|
|
680
|
+
>
|
|
681
|
+
驳回
|
|
682
|
+
</el-button>
|
|
683
|
+
</template>
|
|
673
684
|
</div>
|
|
674
685
|
</footer>
|
|
675
686
|
</section>
|
|
@@ -901,11 +912,20 @@ onBeforeUnmount(() => {
|
|
|
901
912
|
|
|
902
913
|
.detail-descriptions :deep(.el-descriptions__label) {
|
|
903
914
|
width: 126px;
|
|
904
|
-
color: #
|
|
915
|
+
color: #344054;
|
|
916
|
+
font-weight: 600;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
.detail-descriptions :deep(.detail-required-label)::after {
|
|
920
|
+
margin-left: 4px;
|
|
921
|
+
color: #d92d20;
|
|
922
|
+
content: "*";
|
|
923
|
+
font-weight: 700;
|
|
905
924
|
}
|
|
906
925
|
|
|
907
926
|
.detail-descriptions :deep(.el-descriptions__content) {
|
|
908
|
-
color: #
|
|
927
|
+
color: #1f2937;
|
|
928
|
+
font-weight: 500;
|
|
909
929
|
word-break: break-word;
|
|
910
930
|
}
|
|
911
931
|
|
|
@@ -913,6 +933,17 @@ onBeforeUnmount(() => {
|
|
|
913
933
|
width: 100%;
|
|
914
934
|
}
|
|
915
935
|
|
|
936
|
+
.detail-descriptions :deep(.detail-edit-control .el-input__inner),
|
|
937
|
+
.detail-descriptions :deep(.detail-edit-control .el-select__selected-item),
|
|
938
|
+
.detail-descriptions :deep(.detail-edit-control .el-textarea__inner) {
|
|
939
|
+
color: #1f2937;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
.detail-descriptions :deep(.detail-edit-control .el-input__inner::placeholder),
|
|
943
|
+
.detail-descriptions :deep(.detail-edit-control .el-textarea__inner::placeholder) {
|
|
944
|
+
color: #667085;
|
|
945
|
+
}
|
|
946
|
+
|
|
916
947
|
.detail-descriptions :deep(.detail-edit-control .el-input__wrapper),
|
|
917
948
|
.detail-descriptions :deep(.detail-edit-control .el-select__wrapper),
|
|
918
949
|
.detail-descriptions :deep(.detail-edit-control .el-textarea__inner) {
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
.forecast-info-page[data-page-scope="foreign-currency-settlement"] .forecast-info-filter__grid {
|
|
186
186
|
display: grid;
|
|
187
187
|
flex: 1 1 auto;
|
|
188
|
-
grid-template-columns: repeat(
|
|
188
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
189
189
|
align-items: center;
|
|
190
190
|
min-width: 0;
|
|
191
191
|
column-gap: 10px;
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
.forecast-info-page[data-page-scope="foreign-currency-settlement"] .forecast-info-filter:not(.forecast-info-filter--horizontal) .forecast-info-filter__grid {
|
|
196
196
|
flex: 1 1 auto;
|
|
197
197
|
max-width: none;
|
|
198
|
-
grid-template-columns: repeat(
|
|
198
|
+
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
199
199
|
column-gap: 6px;
|
|
200
200
|
}
|
|
201
201
|
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
font-weight: 600;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
/*
|
|
307
|
+
/* 左右卡片状态下保留三个快速筛选项,并与操作按钮保持同一行。 */
|
|
308
308
|
.forecast-info-page[data-page-scope="foreign-currency-settlement"] .forecast-info-filter--horizontal {
|
|
309
309
|
display: grid;
|
|
310
310
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
|
|
317
317
|
.forecast-info-page[data-page-scope="foreign-currency-settlement"] .forecast-info-filter--horizontal .forecast-info-filter__grid {
|
|
318
318
|
min-width: 0;
|
|
319
|
-
grid-template-columns: repeat(
|
|
319
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
320
320
|
column-gap: 8px;
|
|
321
321
|
row-gap: 8px;
|
|
322
322
|
}
|
|
@@ -815,12 +815,12 @@
|
|
|
815
815
|
}
|
|
816
816
|
|
|
817
817
|
.forecast-info-page[data-page-scope="foreign-currency-settlement"] .forecast-info-filter__grid {
|
|
818
|
-
grid-template-columns: repeat(
|
|
818
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
819
819
|
column-gap: 8px;
|
|
820
820
|
}
|
|
821
821
|
|
|
822
822
|
.forecast-info-page[data-page-scope="foreign-currency-settlement"] .forecast-info-filter:not(.forecast-info-filter--horizontal) .forecast-info-filter__grid {
|
|
823
|
-
grid-template-columns: repeat(
|
|
823
|
+
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
824
824
|
column-gap: 8px;
|
|
825
825
|
max-width: none;
|
|
826
826
|
}
|
|
@@ -850,11 +850,11 @@
|
|
|
850
850
|
|
|
851
851
|
.forecast-info-page[data-page-scope="foreign-currency-settlement"] .forecast-info-filter__grid {
|
|
852
852
|
flex-basis: 100%;
|
|
853
|
-
grid-template-columns: repeat(
|
|
853
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
854
854
|
}
|
|
855
855
|
|
|
856
856
|
.forecast-info-page[data-page-scope="foreign-currency-settlement"] .forecast-info-filter:not(.forecast-info-filter--horizontal) .forecast-info-filter__grid {
|
|
857
|
-
grid-template-columns: repeat(
|
|
857
|
+
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
858
858
|
}
|
|
859
859
|
|
|
860
860
|
.forecast-info-page[data-page-scope="foreign-currency-settlement"] .forecast-info-filter__item {
|
|
@@ -875,7 +875,7 @@
|
|
|
875
875
|
}
|
|
876
876
|
|
|
877
877
|
.forecast-info-page[data-page-scope="foreign-currency-settlement"] .forecast-info-filter--horizontal .forecast-info-filter__grid {
|
|
878
|
-
grid-template-columns: repeat(
|
|
878
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
879
879
|
}
|
|
880
880
|
|
|
881
881
|
.forecast-info-page[data-page-scope="foreign-currency-settlement"] .forecast-info-filter--horizontal .forecast-info-filter__actions {
|
|
@@ -42,6 +42,10 @@ const payDirectionOptions = [
|
|
|
42
42
|
{ value: 'I', label: '收入' },
|
|
43
43
|
{ value: 'O', label: '支出' },
|
|
44
44
|
]
|
|
45
|
+
const paymentTypeOptions = [
|
|
46
|
+
{ value: '1', label: '收款' },
|
|
47
|
+
{ value: '0', label: '付款' },
|
|
48
|
+
]
|
|
45
49
|
const verifyStatusOptions = [
|
|
46
50
|
{ value: 'VS01', label: '未核销' },
|
|
47
51
|
{ value: 'VS02', label: '部分核销' },
|
|
@@ -104,7 +108,7 @@ function orderColumns<T extends { prop: string }>(columns: T[], preferredProps:
|
|
|
104
108
|
}
|
|
105
109
|
|
|
106
110
|
const baseForecastColumns = [
|
|
107
|
-
{ prop: 'predRefNo', label: '预报流水号', minWidth: 146, defaultVisible:
|
|
111
|
+
{ prop: 'predRefNo', label: '预报流水号', minWidth: 146, defaultVisible: false },
|
|
108
112
|
{ prop: 'tranDate', label: '起息日期', minWidth: 108, format: 'date', defaultVisible: true },
|
|
109
113
|
{ prop: 'payDirec', label: '收支方向', minWidth: 94, format: 'direction', defaultVisible: true },
|
|
110
114
|
{ prop: 'ccy', label: '币种', minWidth: 176, defaultVisible: true, solt: true },
|
|
@@ -138,7 +142,7 @@ const baseFlowColumns = [
|
|
|
138
142
|
{ prop: 'tranDate', label: '交易录入日期', minWidth: 120, format: 'date', defaultVisible: true },
|
|
139
143
|
{ prop: 'valueDate', label: '起息日', minWidth: 106, format: 'date', defaultVisible: true },
|
|
140
144
|
{ prop: 'direction', label: '往来标志', minWidth: 94, format: 'direction', defaultVisible: true },
|
|
141
|
-
{ prop: 'paymentType', label: '收付款类型', minWidth: 108, defaultVisible: true },
|
|
145
|
+
{ prop: 'paymentType', label: '收付款类型', minWidth: 108, format: 'paymentType', defaultVisible: true },
|
|
142
146
|
{ prop: 'ccy', label: '币种', minWidth: 176, defaultVisible: true, solt: true },
|
|
143
147
|
{ prop: 'tranAmt', label: '交易金额(原币)', minWidth: 146, format: 'amount', defaultVisible: true },
|
|
144
148
|
{ prop: 'notVerifyAmt', label: '未核销金额(原币)', minWidth: 166, format: 'amount', defaultVisible: true },
|
|
@@ -234,6 +238,7 @@ const flowColumns = orderColumns(baseFlowColumns, [
|
|
|
234
238
|
// 将协议字段值转换为表格中的中文显示文本。
|
|
235
239
|
const optionMaps = {
|
|
236
240
|
direction: Object.fromEntries(payDirectionOptions.map((option) => [option.value, option.label])),
|
|
241
|
+
paymentType: Object.fromEntries(paymentTypeOptions.map((option) => [option.value, option.label])),
|
|
237
242
|
verifyStatus: Object.fromEntries(verifyStatusOptions.map((option) => [option.value, option.label])),
|
|
238
243
|
businessType: Object.fromEntries(businessTypeOptions.map((option) => [option.value, option.label])),
|
|
239
244
|
forecastWay: Object.fromEntries(forecastWayOptions.map((option) => [option.value, option.label])),
|
|
@@ -255,6 +260,8 @@ function createDefaultForeignSettlementFilter(multipleVerifyStatus = false): any
|
|
|
255
260
|
tradeDate: getLocalDateString(),
|
|
256
261
|
// 收支方向。
|
|
257
262
|
direction: '',
|
|
263
|
+
// 收付款类型。
|
|
264
|
+
paymentType: '',
|
|
258
265
|
// 币种列表。
|
|
259
266
|
currency: [],
|
|
260
267
|
// 客户名称。
|
|
@@ -322,6 +329,7 @@ function formatForeignSettlementCell(value: unknown, format: any = 'text') {
|
|
|
322
329
|
if (format === 'date') return formatDateValue(text)
|
|
323
330
|
if (format === 'dateTime') return formatDateValue(text, true)
|
|
324
331
|
if (format === 'direction') return optionMaps.direction[text] ?? text
|
|
332
|
+
if (format === 'paymentType') return optionMaps.paymentType[text] ?? text
|
|
325
333
|
if (format === 'verifyStatus') return optionMaps.verifyStatus[normalizeVerifyStatus(text)] ?? text
|
|
326
334
|
if (format === 'businessType') return optionMaps.businessType[text] ?? text
|
|
327
335
|
if (format === 'forecastWay') return optionMaps.forecastWay[text] ?? text
|
|
@@ -1212,7 +1220,7 @@ const flowAccountBankOptions = ref<any[]>([])
|
|
|
1212
1220
|
const flowAccountBankLoading = ref(false)
|
|
1213
1221
|
// 流水高级筛选已填写字段数量。
|
|
1214
1222
|
const flowActiveMoreFilterCount = computed(() => [
|
|
1215
|
-
flowFilterForm.
|
|
1223
|
+
flowFilterForm.paymentType,
|
|
1216
1224
|
flowFilterForm.currency.length ? 'currency' : '',
|
|
1217
1225
|
flowFilterForm.messageType.trim(),
|
|
1218
1226
|
flowFilterForm.verifyStatus.length ? 'verifyStatus' : '',
|
|
@@ -1274,8 +1282,8 @@ function buildFlowQuery(): any {
|
|
|
1274
1282
|
endAmt: toForeignSettlementAmountText(endAmount),
|
|
1275
1283
|
// 操作类型,普通查询为空。
|
|
1276
1284
|
opType: '',
|
|
1277
|
-
//
|
|
1278
|
-
|
|
1285
|
+
// 收付款类型。
|
|
1286
|
+
paydirection: flowFilterForm.paymentType,
|
|
1279
1287
|
// 流水查询不使用预报方式。
|
|
1280
1288
|
predWay: '',
|
|
1281
1289
|
// 金额下限。
|
|
@@ -1772,7 +1780,7 @@ onBeforeUnmount(() => {
|
|
|
1772
1780
|
/>
|
|
1773
1781
|
</label>
|
|
1774
1782
|
|
|
1775
|
-
<label class="forecast-info-filter__item">
|
|
1783
|
+
<label v-if="cardLayout === 'vertical'" class="forecast-info-filter__item">
|
|
1776
1784
|
<span>筛选FTU</span>
|
|
1777
1785
|
<el-select
|
|
1778
1786
|
v-model="forecastFilterForm.ftuFilter"
|
|
@@ -1867,31 +1875,6 @@ onBeforeUnmount(() => {
|
|
|
1867
1875
|
</el-select>
|
|
1868
1876
|
</label>
|
|
1869
1877
|
|
|
1870
|
-
<label v-if="cardLayout === 'vertical'" class="forecast-info-filter__item">
|
|
1871
|
-
<span>勾兑状态</span>
|
|
1872
|
-
<el-select
|
|
1873
|
-
v-model="forecastFilterForm.verifyStatus"
|
|
1874
|
-
:teleported="!isFullscreen"
|
|
1875
|
-
size="small"
|
|
1876
|
-
placeholder="请选择"
|
|
1877
|
-
multiple
|
|
1878
|
-
filterable
|
|
1879
|
-
collapse-tags
|
|
1880
|
-
clearable
|
|
1881
|
-
>
|
|
1882
|
-
<el-option
|
|
1883
|
-
v-for="option in matchingStatusOptions"
|
|
1884
|
-
:key="option.value"
|
|
1885
|
-
:label="option.label"
|
|
1886
|
-
:value="option.value"
|
|
1887
|
-
/>
|
|
1888
|
-
</el-select>
|
|
1889
|
-
</label>
|
|
1890
|
-
|
|
1891
|
-
<label v-if="cardLayout === 'vertical'" class="forecast-info-filter__item">
|
|
1892
|
-
<span>客户名称</span>
|
|
1893
|
-
<el-input v-model="forecastFilterForm.customerName" size="small" placeholder="请输入" clearable />
|
|
1894
|
-
</label>
|
|
1895
1878
|
</div>
|
|
1896
1879
|
|
|
1897
1880
|
<div class="forecast-info-filter__actions">
|
|
@@ -2333,16 +2316,16 @@ onBeforeUnmount(() => {
|
|
|
2333
2316
|
</label>
|
|
2334
2317
|
|
|
2335
2318
|
<label class="forecast-info-filter__item">
|
|
2336
|
-
<span
|
|
2319
|
+
<span>收付款类型</span>
|
|
2337
2320
|
<el-select
|
|
2338
|
-
v-model="flowFilterForm.
|
|
2321
|
+
v-model="flowFilterForm.paymentType"
|
|
2339
2322
|
:teleported="!isFullscreen"
|
|
2340
2323
|
size="small"
|
|
2341
2324
|
placeholder="请选择"
|
|
2342
2325
|
clearable
|
|
2343
2326
|
>
|
|
2344
2327
|
<el-option
|
|
2345
|
-
v-for="option in
|
|
2328
|
+
v-for="option in paymentTypeOptions"
|
|
2346
2329
|
:key="option.value"
|
|
2347
2330
|
:label="option.label"
|
|
2348
2331
|
:value="option.value"
|
|
@@ -2373,7 +2356,7 @@ onBeforeUnmount(() => {
|
|
|
2373
2356
|
</el-select>
|
|
2374
2357
|
</label>
|
|
2375
2358
|
|
|
2376
|
-
<label class="forecast-info-filter__item">
|
|
2359
|
+
<label v-if="cardLayout === 'vertical'" class="forecast-info-filter__item">
|
|
2377
2360
|
<span>核销状态</span>
|
|
2378
2361
|
<el-select
|
|
2379
2362
|
v-model="flowFilterForm.verifyStatus"
|
|
@@ -2409,31 +2392,6 @@ onBeforeUnmount(() => {
|
|
|
2409
2392
|
<el-input v-model="flowFilterForm.customerName" size="small" placeholder="请输入" clearable />
|
|
2410
2393
|
</label>
|
|
2411
2394
|
|
|
2412
|
-
<label v-if="cardLayout === 'vertical'" class="forecast-info-filter__item">
|
|
2413
|
-
<span>账户行</span>
|
|
2414
|
-
<el-select
|
|
2415
|
-
v-model="flowFilterForm.bankCode"
|
|
2416
|
-
:teleported="!isFullscreen"
|
|
2417
|
-
:loading="flowAccountBankLoading"
|
|
2418
|
-
size="small"
|
|
2419
|
-
placeholder="请选择账户行"
|
|
2420
|
-
filterable
|
|
2421
|
-
clearable
|
|
2422
|
-
@visible-change="handleFlowAccountBankVisibleChange"
|
|
2423
|
-
>
|
|
2424
|
-
<el-option
|
|
2425
|
-
v-for="option in flowAccountBankOptions"
|
|
2426
|
-
:key="`${option.bankAcct}-${option.bankName}`"
|
|
2427
|
-
:label="option.bankName"
|
|
2428
|
-
:value="option.bankAcct"
|
|
2429
|
-
/>
|
|
2430
|
-
</el-select>
|
|
2431
|
-
</label>
|
|
2432
|
-
|
|
2433
|
-
<label v-if="cardLayout === 'vertical'" class="forecast-info-filter__item">
|
|
2434
|
-
<span>机构代码</span>
|
|
2435
|
-
<el-input v-model="flowFilterForm.branchCode" size="small" placeholder="请输入" clearable />
|
|
2436
|
-
</label>
|
|
2437
2395
|
</div>
|
|
2438
2396
|
|
|
2439
2397
|
<div class="forecast-info-filter__actions">
|
|
@@ -2617,16 +2575,16 @@ onBeforeUnmount(() => {
|
|
|
2617
2575
|
</label>
|
|
2618
2576
|
|
|
2619
2577
|
<label class="forecast-info-filter__item">
|
|
2620
|
-
<span
|
|
2578
|
+
<span>收付款类型</span>
|
|
2621
2579
|
<el-select
|
|
2622
|
-
v-model="flowFilterForm.
|
|
2580
|
+
v-model="flowFilterForm.paymentType"
|
|
2623
2581
|
:teleported="!isFullscreen"
|
|
2624
2582
|
size="small"
|
|
2625
2583
|
placeholder="请选择"
|
|
2626
2584
|
clearable
|
|
2627
2585
|
>
|
|
2628
2586
|
<el-option
|
|
2629
|
-
v-for="option in
|
|
2587
|
+
v-for="option in paymentTypeOptions"
|
|
2630
2588
|
:key="option.value"
|
|
2631
2589
|
:label="option.label"
|
|
2632
2590
|
:value="option.value"
|