verce-vue-test 0.0.146 → 0.0.148
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 +9 -0
- package/src/components/element-rewrite/ElTablePro.vue +14 -5
- package/src/router/index.ts +5 -0
- package/src/views/city-bank-clearing-settlement/index.vue +11 -11
- package/src/views/foreign-currency-starting-amount-maintenance/api.ts +47 -0
- package/src/views/foreign-currency-starting-amount-maintenance/index.vue +994 -0
- package/src/views/foreign-currency-starting-amount-maintenance/options.ts +35 -0
- package/src/views/foreign-currency-starting-amount-maintenance/types.ts +137 -0
- package/src/views/rmb-position-forecast/detail.vue +8 -3
- package/src/views/rmb-position-forecast/index.vue +2 -3
- package/src/views/rmb-position-forecast/model.ts +13 -31
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -53,6 +53,7 @@ const searchableMenus: MenuSearchItem[] = [
|
|
|
53
53
|
{ value: '外币授权', path: '/foreign-currency-authorization' },
|
|
54
54
|
{ value: '外币手工核销', path: '/foreign-currency-settlement' },
|
|
55
55
|
{ value: '外币资金调拨', path: '/foreign-currency-fund-allocation' },
|
|
56
|
+
{ value: '起点金额维护', path: '/foreign-currency-starting-amount-maintenance' },
|
|
56
57
|
{ value: '城银清手工核销', path: '/city-bank-clearing-settlement' },
|
|
57
58
|
{ value: '自贸区机构管理', path: '/free-trade-zone-organization-management' },
|
|
58
59
|
{ value: '预报员页看板', path: '/position-forecast-execution' },
|
|
@@ -217,6 +218,14 @@ function toggleCollapse() {
|
|
|
217
218
|
<el-menu-item index="/foreign-currency-fund-allocation">
|
|
218
219
|
<span>外币资金调拨</span>
|
|
219
220
|
</el-menu-item>
|
|
221
|
+
<el-sub-menu index="foreign-currency-parameter-management">
|
|
222
|
+
<template #title>
|
|
223
|
+
<span>参数管理</span>
|
|
224
|
+
</template>
|
|
225
|
+
<el-menu-item index="/foreign-currency-starting-amount-maintenance">
|
|
226
|
+
<span>起点金额维护</span>
|
|
227
|
+
</el-menu-item>
|
|
228
|
+
</el-sub-menu>
|
|
220
229
|
</el-sub-menu>
|
|
221
230
|
<el-sub-menu index="city-bank-clearing-position">
|
|
222
231
|
<template #title>
|
|
@@ -32,8 +32,8 @@ const props = withDefaults(
|
|
|
32
32
|
defineProps<{
|
|
33
33
|
// 表格数据源
|
|
34
34
|
data: any[]
|
|
35
|
-
//
|
|
36
|
-
rowKey?: string
|
|
35
|
+
// 行唯一标识字段或复合键生成函数,与 Element Plus 的 row-key 保持一致
|
|
36
|
+
rowKey?: string | ((row: any) => string)
|
|
37
37
|
// 多表格区分 key(用于本地存储)
|
|
38
38
|
tableKey?: string
|
|
39
39
|
// 完全自定义缓存 key,优先级最高
|
|
@@ -817,6 +817,8 @@ initColumns()
|
|
|
817
817
|
</template>
|
|
818
818
|
|
|
819
819
|
<style scoped lang="scss">
|
|
820
|
+
$small-horizontal-scrollbar-height: 10px;
|
|
821
|
+
|
|
820
822
|
/**
|
|
821
823
|
* 主容器样式
|
|
822
824
|
*/
|
|
@@ -825,16 +827,18 @@ initColumns()
|
|
|
825
827
|
}
|
|
826
828
|
|
|
827
829
|
/**
|
|
828
|
-
*
|
|
830
|
+
* 小尺寸表格样式:统一文字尺寸、压缩单元格上下留白,并为底部横向滚动条预留空间。
|
|
829
831
|
*/
|
|
830
832
|
.el-table-plus :deep(.el-table--small) {
|
|
831
833
|
--el-table-text-color: #000;
|
|
832
834
|
--el-table-header-text-color: #000;
|
|
835
|
+
font-size: 15px;
|
|
833
836
|
color: #000;
|
|
834
837
|
}
|
|
835
838
|
|
|
836
839
|
.el-table-plus :deep(.el-table--small .el-table__cell) {
|
|
837
840
|
padding: 0 !important;
|
|
841
|
+
font-size: 15px !important;
|
|
838
842
|
}
|
|
839
843
|
|
|
840
844
|
.el-table-plus :deep(.el-table--small .cell) {
|
|
@@ -850,8 +854,13 @@ initColumns()
|
|
|
850
854
|
height: 20px;
|
|
851
855
|
}
|
|
852
856
|
|
|
853
|
-
.el-table-plus :deep(.el-table--small .el-table__body-wrapper .el-
|
|
854
|
-
|
|
857
|
+
.el-table-plus :deep(.el-table--small.el-table--scrollable-x .el-table__body-wrapper .el-scrollbar) {
|
|
858
|
+
box-sizing: border-box;
|
|
859
|
+
padding-bottom: $small-horizontal-scrollbar-height;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
.el-table-plus :deep(.el-table--small.el-table--scrollable-x .el-table__body-wrapper .el-scrollbar__bar.is-horizontal) {
|
|
863
|
+
height: $small-horizontal-scrollbar-height;
|
|
855
864
|
bottom: 0;
|
|
856
865
|
}
|
|
857
866
|
|
package/src/router/index.ts
CHANGED
|
@@ -101,6 +101,11 @@ const router = createRouter({
|
|
|
101
101
|
name: 'foreignCurrencyFundAllocation',
|
|
102
102
|
component: () => import('../views/foreign-currency-fund-allocation/index.vue'),
|
|
103
103
|
},
|
|
104
|
+
{
|
|
105
|
+
path: '/foreign-currency-starting-amount-maintenance',
|
|
106
|
+
name: 'foreignCurrencyStartingAmountMaintenance',
|
|
107
|
+
component: () => import('../views/foreign-currency-starting-amount-maintenance/index.vue'),
|
|
108
|
+
},
|
|
104
109
|
{
|
|
105
110
|
path: '/city-bank-clearing-settlement',
|
|
106
111
|
name: 'cityBankClearingSettlement',
|
|
@@ -1240,7 +1240,6 @@ onBeforeUnmount(cleanupPage)
|
|
|
1240
1240
|
<div><span>核销支出总金额(元)</span><strong>{{ preSelectionSummary.verifiedExpense }}</strong></div>
|
|
1241
1241
|
<div><span>核销轧差金额(元)</span><strong>{{ preSelectionSummary.verifiedNet }}</strong></div>
|
|
1242
1242
|
</div>
|
|
1243
|
-
<span v-else class="city-bank-clearing-settlement-toolbar-hint">请选择预报记录进行核销操作</span>
|
|
1244
1243
|
</template>
|
|
1245
1244
|
<template v-for="column in forecastTableColumns" :key="column.key">
|
|
1246
1245
|
<el-table-column v-bind="column.props">
|
|
@@ -1350,7 +1349,6 @@ onBeforeUnmount(cleanupPage)
|
|
|
1350
1349
|
<span>流水轧差金额(元)</span>
|
|
1351
1350
|
<strong>{{ flowSelectionSummary.totalNet }}</strong>
|
|
1352
1351
|
</div>
|
|
1353
|
-
<span v-else class="city-bank-clearing-settlement-toolbar-hint">请选择流水参与核销</span>
|
|
1354
1352
|
</template>
|
|
1355
1353
|
<template v-for="column in flowTableColumns" :key="column.key">
|
|
1356
1354
|
<el-table-column v-bind="column.props">
|
|
@@ -1408,10 +1406,12 @@ onBeforeUnmount(cleanupPage)
|
|
|
1408
1406
|
--app-header-height: 60px;
|
|
1409
1407
|
--app-footer-height: 0px;
|
|
1410
1408
|
--city-clearing-border: #a9c3df;
|
|
1411
|
-
--city-clearing-header: #
|
|
1412
|
-
--city-clearing-filter: #
|
|
1413
|
-
--city-clearing-toolbar: #
|
|
1409
|
+
--city-clearing-header: #f8fbff;
|
|
1410
|
+
--city-clearing-filter: #f8fbff;
|
|
1411
|
+
--city-clearing-toolbar: #f5f9fd;
|
|
1414
1412
|
--city-clearing-text: #102a43;
|
|
1413
|
+
--city-clearing-primary: #215def;
|
|
1414
|
+
--el-color-primary: #215def;
|
|
1415
1415
|
box-sizing: border-box;
|
|
1416
1416
|
display: grid;
|
|
1417
1417
|
height: calc(100vh - var(--app-header-height) - var(--app-footer-height));
|
|
@@ -1421,7 +1421,7 @@ onBeforeUnmount(cleanupPage)
|
|
|
1421
1421
|
margin: -20px;
|
|
1422
1422
|
overflow: hidden;
|
|
1423
1423
|
color: var(--city-clearing-text);
|
|
1424
|
-
background: #
|
|
1424
|
+
background: #eef5fc;
|
|
1425
1425
|
font-family: "宋体", "SimSun", "PingFang SC", sans-serif;
|
|
1426
1426
|
font-size: 12px;
|
|
1427
1427
|
}
|
|
@@ -1460,7 +1460,7 @@ onBeforeUnmount(cleanupPage)
|
|
|
1460
1460
|
min-height: 22px;
|
|
1461
1461
|
align-items: center;
|
|
1462
1462
|
justify-content: space-between;
|
|
1463
|
-
padding: 0 6px 0
|
|
1463
|
+
padding: 0 6px 0 4px;
|
|
1464
1464
|
border-bottom: 1px solid var(--city-clearing-border);
|
|
1465
1465
|
background: var(--city-clearing-header);
|
|
1466
1466
|
flex: 0 0 22px;
|
|
@@ -1474,7 +1474,7 @@ onBeforeUnmount(cleanupPage)
|
|
|
1474
1474
|
|
|
1475
1475
|
.city-bank-clearing-settlement-card__title {
|
|
1476
1476
|
margin: 0;
|
|
1477
|
-
color:
|
|
1477
|
+
color: var(--city-clearing-primary);
|
|
1478
1478
|
font-size: 12px;
|
|
1479
1479
|
font-weight: 700;
|
|
1480
1480
|
line-height: 22px;
|
|
@@ -1483,7 +1483,7 @@ onBeforeUnmount(cleanupPage)
|
|
|
1483
1483
|
.city-bank-clearing-settlement-fullscreen-button {
|
|
1484
1484
|
height: 18px;
|
|
1485
1485
|
padding: 0;
|
|
1486
|
-
color:
|
|
1486
|
+
color: var(--city-clearing-primary);
|
|
1487
1487
|
font-size: 12px;
|
|
1488
1488
|
}
|
|
1489
1489
|
|
|
@@ -1636,7 +1636,7 @@ onBeforeUnmount(cleanupPage)
|
|
|
1636
1636
|
min-height: 20px;
|
|
1637
1637
|
margin-left: 0;
|
|
1638
1638
|
padding: 0 5px;
|
|
1639
|
-
color:
|
|
1639
|
+
color: var(--city-clearing-primary);
|
|
1640
1640
|
font-size: 11px;
|
|
1641
1641
|
font-weight: 400;
|
|
1642
1642
|
white-space: nowrap;
|
|
@@ -1789,7 +1789,7 @@ onBeforeUnmount(cleanupPage)
|
|
|
1789
1789
|
|
|
1790
1790
|
.city-bank-clearing-settlement-table :deep(.el-table__body tr.current-row > td.el-table__cell),
|
|
1791
1791
|
.city-bank-clearing-settlement-table :deep(.el-table__body tr:hover > td.el-table__cell) {
|
|
1792
|
-
background: #
|
|
1792
|
+
background: #f4f8fc;
|
|
1793
1793
|
}
|
|
1794
1794
|
|
|
1795
1795
|
.city-bank-clearing-settlement-table :deep(.el-checkbox) {
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import baseHttpClient, { type HttpRequestOptions } from '@/utils/baseHttpClient'
|
|
2
|
+
import type {
|
|
3
|
+
StartingAmountBatchUpdateBody,
|
|
4
|
+
StartingAmountCreateBody,
|
|
5
|
+
StartingAmountDeleteBody,
|
|
6
|
+
StartingAmountFilter,
|
|
7
|
+
StartingAmountReviewBody,
|
|
8
|
+
StartingAmountUpdateBody,
|
|
9
|
+
} from './types'
|
|
10
|
+
|
|
11
|
+
/** 查询起点金额维护列表(140205003)。 */
|
|
12
|
+
export function queryStartingAmounts(
|
|
13
|
+
params: StartingAmountFilter,
|
|
14
|
+
options?: HttpRequestOptions,
|
|
15
|
+
) {
|
|
16
|
+
return baseHttpClient.post<any>('/TAM/0001/140205003', params, options)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/** 新增起点金额维护记录(120205007)。 */
|
|
20
|
+
export function createStartingAmount(params: StartingAmountCreateBody) {
|
|
21
|
+
return baseHttpClient.post<any>('/TAM/0001/120205007', params)
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** 修改单条起点金额维护记录(120205008)。 */
|
|
25
|
+
export function updateStartingAmount(params: StartingAmountUpdateBody) {
|
|
26
|
+
return baseHttpClient.post<any>('/TAM/0001/120205008', params)
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** 批量修改起点金额维护记录(120205008)。 */
|
|
30
|
+
export function batchUpdateStartingAmounts(params: StartingAmountBatchUpdateBody) {
|
|
31
|
+
return baseHttpClient.post<any>('/TAM/0001/120205008', params)
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/** 审批通过或拒绝起点金额维护记录(120205009)。 */
|
|
35
|
+
export function reviewStartingAmounts(params: StartingAmountReviewBody) {
|
|
36
|
+
return baseHttpClient.post<any>('/TAM/0001/120205009', params)
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/** 删除起点金额维护记录(120205010)。 */
|
|
40
|
+
export function deleteStartingAmounts(params: StartingAmountDeleteBody) {
|
|
41
|
+
return baseHttpClient.post<any>('/TAM/0001/120205010', params)
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** 查询机构选择数据,复用系统现有 UAA 机构树。 */
|
|
45
|
+
export function queryOrganizationTree(options?: HttpRequestOptions) {
|
|
46
|
+
return baseHttpClient.get<any>('/uaa/org/tree', options)
|
|
47
|
+
}
|