verce-vue-test 0.0.63 → 0.0.65
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/views/ForecastInfo/components/FlowInfoPanel.vue +24 -24
- package/src/views/ForecastInfo/components/ForecastInfoPanel.vue +72 -66
- package/src/views/ForecastInfo/forecast-info.css +130 -159
- package/src/views/ForecastInfo/index.vue +2 -2
- package/src/views/ForecastInfo/store.ts +60 -8
package/package.json
CHANGED
|
@@ -170,11 +170,11 @@ function getFlowSequence(index: number) {
|
|
|
170
170
|
</script>
|
|
171
171
|
|
|
172
172
|
<template>
|
|
173
|
-
<section class="
|
|
173
|
+
<section class="forecast-info-card" aria-labelledby="flow-info-title">
|
|
174
174
|
<!-- 卡片标题和页面级布局切换;操作会同步影响预报卡片。 -->
|
|
175
|
-
<header class="
|
|
176
|
-
<h2 id="flow-info-title" class="
|
|
177
|
-
<div class="layout-switch" role="radiogroup" aria-label="切换流水信息卡片排列方式">
|
|
175
|
+
<header class="forecast-info-card__header">
|
|
176
|
+
<h2 id="flow-info-title" class="forecast-info-card__title">流水信息</h2>
|
|
177
|
+
<div class="forecast-info-layout-switch" role="radiogroup" aria-label="切换流水信息卡片排列方式">
|
|
178
178
|
<el-tooltip
|
|
179
179
|
v-for="option in layoutOptions"
|
|
180
180
|
:key="option.value"
|
|
@@ -184,7 +184,7 @@ function getFlowSequence(index: number) {
|
|
|
184
184
|
>
|
|
185
185
|
<button
|
|
186
186
|
type="button"
|
|
187
|
-
class="layout-switch__button"
|
|
187
|
+
class="forecast-info-layout-switch__button"
|
|
188
188
|
:class="{ 'is-active': layout === option.value }"
|
|
189
189
|
role="radio"
|
|
190
190
|
:aria-label="option.label"
|
|
@@ -200,9 +200,9 @@ function getFlowSequence(index: number) {
|
|
|
200
200
|
</header>
|
|
201
201
|
|
|
202
202
|
<!-- 水平布局收敛为一个快速筛选项,完整条件通过抽屉提供。 -->
|
|
203
|
-
<div class="forecast-filter
|
|
204
|
-
<div class="forecast-
|
|
205
|
-
<label class="forecast-
|
|
203
|
+
<div class="forecast-info-filter" :class="{ 'forecast-info-filter--horizontal': layout === 'horizontal' }">
|
|
204
|
+
<div class="forecast-info-filter__grid">
|
|
205
|
+
<label class="forecast-info-filter__item">
|
|
206
206
|
<span>交易日期</span>
|
|
207
207
|
<el-date-picker
|
|
208
208
|
v-model="flowForm.tranDate"
|
|
@@ -215,7 +215,7 @@ function getFlowSequence(index: number) {
|
|
|
215
215
|
/>
|
|
216
216
|
</label>
|
|
217
217
|
|
|
218
|
-
<label v-if="layout === 'vertical'" class="forecast-
|
|
218
|
+
<label v-if="layout === 'vertical'" class="forecast-info-filter__item">
|
|
219
219
|
<span>收支方向</span>
|
|
220
220
|
<el-select v-model="flowForm.payDirec" size="small" placeholder="请选择" clearable>
|
|
221
221
|
<el-option v-for="option in directionOptions" :key="option.value" v-bind="option" />
|
|
@@ -223,7 +223,7 @@ function getFlowSequence(index: number) {
|
|
|
223
223
|
</label>
|
|
224
224
|
</div>
|
|
225
225
|
|
|
226
|
-
<div class="forecast-
|
|
226
|
+
<div class="forecast-info-filter__actions">
|
|
227
227
|
<el-button type="primary" size="small" :icon="Search" @click="handleFlowQuery">查询</el-button>
|
|
228
228
|
<el-button size="small" @click="handleFlowReset">重置</el-button>
|
|
229
229
|
<el-button size="small" @click="flowDrawerVisible = true">更多筛选</el-button>
|
|
@@ -231,7 +231,7 @@ function getFlowSequence(index: number) {
|
|
|
231
231
|
</div>
|
|
232
232
|
|
|
233
233
|
<!-- 表格填满卡片余高;多选值直接写入 Pinia,供预报核销与匡算联动读取。 -->
|
|
234
|
-
<section class="table-area" aria-label="流水信息列表">
|
|
234
|
+
<section class="forecast-info-table-area" aria-label="流水信息列表">
|
|
235
235
|
<ElTablePro
|
|
236
236
|
v-model:page="flowPage"
|
|
237
237
|
v-model:page-size="flowPageSize"
|
|
@@ -244,7 +244,7 @@ function getFlowSequence(index: number) {
|
|
|
244
244
|
stripe
|
|
245
245
|
size="small"
|
|
246
246
|
height="100%"
|
|
247
|
-
class="
|
|
247
|
+
class="forecast-info-table forecast-info-table--flow"
|
|
248
248
|
pagination-size="small"
|
|
249
249
|
@selection-change="forecastInfoStore.handleFlowSelectionChange"
|
|
250
250
|
@pagination-change="handleFlowPaginationChange"
|
|
@@ -294,10 +294,10 @@ function getFlowSequence(index: number) {
|
|
|
294
294
|
title="流水更多筛选"
|
|
295
295
|
size="520px"
|
|
296
296
|
append-to-body
|
|
297
|
-
class="forecast-filter-drawer"
|
|
297
|
+
class="forecast-info-filter-drawer"
|
|
298
298
|
>
|
|
299
|
-
<div class="forecast-
|
|
300
|
-
<label class="forecast-
|
|
299
|
+
<div class="forecast-info-filter__drawer-grid">
|
|
300
|
+
<label class="forecast-info-filter__item">
|
|
301
301
|
<span>交易日期</span>
|
|
302
302
|
<el-date-picker
|
|
303
303
|
v-model="flowForm.tranDate"
|
|
@@ -310,23 +310,23 @@ function getFlowSequence(index: number) {
|
|
|
310
310
|
/>
|
|
311
311
|
</label>
|
|
312
312
|
|
|
313
|
-
<label class="forecast-
|
|
313
|
+
<label class="forecast-info-filter__item">
|
|
314
314
|
<span>收支方向</span>
|
|
315
315
|
<el-select v-model="flowForm.payDirec" size="small" placeholder="请选择" clearable>
|
|
316
316
|
<el-option v-for="option in directionOptions" :key="option.value" v-bind="option" />
|
|
317
317
|
</el-select>
|
|
318
318
|
</label>
|
|
319
319
|
|
|
320
|
-
<label class="forecast-
|
|
320
|
+
<label class="forecast-info-filter__item">
|
|
321
321
|
<span>支付渠道</span>
|
|
322
322
|
<el-input v-model="flowForm.payChannel" size="small" placeholder="请输入" clearable />
|
|
323
323
|
</label>
|
|
324
324
|
|
|
325
|
-
<label class="forecast-
|
|
325
|
+
<label class="forecast-info-filter__item forecast-info-filter__item--range">
|
|
326
326
|
<span>金额范围(万元)</span>
|
|
327
327
|
<NumberRange
|
|
328
328
|
v-model="flowForm.transAmtRange"
|
|
329
|
-
class="forecast-
|
|
329
|
+
class="forecast-info-filter__number-range"
|
|
330
330
|
separator="至"
|
|
331
331
|
min-placeholder="最小值"
|
|
332
332
|
max-placeholder="最大值"
|
|
@@ -336,24 +336,24 @@ function getFlowSequence(index: number) {
|
|
|
336
336
|
/>
|
|
337
337
|
</label>
|
|
338
338
|
|
|
339
|
-
<label class="forecast-
|
|
339
|
+
<label class="forecast-info-filter__item">
|
|
340
340
|
<span>核销状态</span>
|
|
341
341
|
<el-select v-model="flowForm.verifyStatus" size="small" placeholder="请选择" clearable>
|
|
342
342
|
<el-option v-for="option in statusOptions" :key="option.value" v-bind="option" />
|
|
343
343
|
</el-select>
|
|
344
344
|
</label>
|
|
345
345
|
|
|
346
|
-
<label class="forecast-
|
|
346
|
+
<label class="forecast-info-filter__item">
|
|
347
347
|
<span>我方户名</span>
|
|
348
348
|
<el-input v-model="flowForm.clientName" size="small" placeholder="请输入" clearable />
|
|
349
349
|
</label>
|
|
350
350
|
|
|
351
|
-
<label class="forecast-
|
|
351
|
+
<label class="forecast-info-filter__item">
|
|
352
352
|
<span>对方户名</span>
|
|
353
353
|
<el-input v-model="flowForm.competName" size="small" placeholder="请输入" clearable />
|
|
354
354
|
</label>
|
|
355
355
|
|
|
356
|
-
<label class="forecast-
|
|
356
|
+
<label class="forecast-info-filter__item">
|
|
357
357
|
<span>我方机构</span>
|
|
358
358
|
<el-select v-model="flowForm.groundBranch" size="small" placeholder="请选择" clearable>
|
|
359
359
|
<el-option v-for="option in groundBranchOptions" :key="option.value" v-bind="option" />
|
|
@@ -362,7 +362,7 @@ function getFlowSequence(index: number) {
|
|
|
362
362
|
</div>
|
|
363
363
|
|
|
364
364
|
<template #footer>
|
|
365
|
-
<div class="forecast-
|
|
365
|
+
<div class="forecast-info-filter__drawer-actions">
|
|
366
366
|
<el-button size="small" @click="flowDrawerVisible = false">取消</el-button>
|
|
367
367
|
<el-button size="small" @click="handleFlowReset">重置</el-button>
|
|
368
368
|
<el-button type="primary" size="small" :icon="Search" @click="handleFlowQuery">查询</el-button>
|
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
CircleCheck,
|
|
7
7
|
CirclePlus,
|
|
8
8
|
DataAnalysis,
|
|
9
|
-
Download,
|
|
10
9
|
EditPen,
|
|
11
10
|
Money,
|
|
12
11
|
RefreshLeft,
|
|
@@ -244,7 +243,7 @@ function handleForecastReset() {
|
|
|
244
243
|
ElMessage.info('预报筛选条件已重置')
|
|
245
244
|
}
|
|
246
245
|
|
|
247
|
-
/**
|
|
246
|
+
/** 新增等尚未对接接口的工具栏操作统一使用临时提示。 */
|
|
248
247
|
function handleToolbarAction(action: string) {
|
|
249
248
|
ElMessage.info(`${action}功能待接入`)
|
|
250
249
|
}
|
|
@@ -274,7 +273,7 @@ async function showModifyWarning(message: string) {
|
|
|
274
273
|
await ElMessageBox.alert(message, '提示', {
|
|
275
274
|
type: 'warning',
|
|
276
275
|
confirmButtonText: '确定',
|
|
277
|
-
customClass: 'forecast-modify-warning',
|
|
276
|
+
customClass: 'forecast-info-modify-warning',
|
|
278
277
|
}).catch(() => undefined)
|
|
279
278
|
}
|
|
280
279
|
|
|
@@ -325,11 +324,11 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
325
324
|
</script>
|
|
326
325
|
|
|
327
326
|
<template>
|
|
328
|
-
<section class="
|
|
327
|
+
<section class="forecast-info-card" aria-labelledby="forecast-info-title">
|
|
329
328
|
<!-- 卡片标题与布局切换;两个面板使用相同的切换事件。 -->
|
|
330
|
-
<header class="
|
|
331
|
-
<h2 id="forecast-info-title" class="
|
|
332
|
-
<div class="layout-switch" role="radiogroup" aria-label="切换预报信息卡片排列方式">
|
|
329
|
+
<header class="forecast-info-card__header">
|
|
330
|
+
<h2 id="forecast-info-title" class="forecast-info-card__title">预报信息</h2>
|
|
331
|
+
<div class="forecast-info-layout-switch" role="radiogroup" aria-label="切换预报信息卡片排列方式">
|
|
333
332
|
<el-tooltip
|
|
334
333
|
v-for="option in layoutOptions"
|
|
335
334
|
:key="option.value"
|
|
@@ -339,7 +338,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
339
338
|
>
|
|
340
339
|
<button
|
|
341
340
|
type="button"
|
|
342
|
-
class="layout-switch__button"
|
|
341
|
+
class="forecast-info-layout-switch__button"
|
|
343
342
|
:class="{ 'is-active': layout === option.value }"
|
|
344
343
|
role="radio"
|
|
345
344
|
:aria-label="option.label"
|
|
@@ -355,9 +354,9 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
355
354
|
</header>
|
|
356
355
|
|
|
357
356
|
<!-- 水平布局仅显示交易日期,其他筛选统一放在抽屉;垂直布局额外显示收支方向。 -->
|
|
358
|
-
<div class="forecast-filter
|
|
359
|
-
<div class="forecast-
|
|
360
|
-
<label class="forecast-
|
|
357
|
+
<div class="forecast-info-filter" :class="{ 'forecast-info-filter--horizontal': layout === 'horizontal' }">
|
|
358
|
+
<div class="forecast-info-filter__grid">
|
|
359
|
+
<label class="forecast-info-filter__item">
|
|
361
360
|
<span>交易日期</span>
|
|
362
361
|
<el-date-picker
|
|
363
362
|
v-model="forecastForm.tradeDate"
|
|
@@ -370,7 +369,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
370
369
|
/>
|
|
371
370
|
</label>
|
|
372
371
|
|
|
373
|
-
<label v-if="layout === 'vertical'" class="forecast-
|
|
372
|
+
<label v-if="layout === 'vertical'" class="forecast-info-filter__item">
|
|
374
373
|
<span>收支方向</span>
|
|
375
374
|
<el-select v-model="forecastForm.direction" size="small" placeholder="请选择" clearable>
|
|
376
375
|
<el-option v-for="option in directionOptions" :key="option.value" v-bind="option" />
|
|
@@ -378,7 +377,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
378
377
|
</label>
|
|
379
378
|
</div>
|
|
380
379
|
|
|
381
|
-
<div class="forecast-
|
|
380
|
+
<div class="forecast-info-filter__actions">
|
|
382
381
|
<el-button type="primary" size="small" :icon="Search" @click="handleForecastQuery">查询</el-button>
|
|
383
382
|
<el-button size="small" @click="handleForecastReset">重置</el-button>
|
|
384
383
|
<el-button size="small" @click="forecastDrawerVisible = true">更多筛选</el-button>
|
|
@@ -386,7 +385,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
386
385
|
</div>
|
|
387
386
|
|
|
388
387
|
<!-- 表格区域占据卡片剩余高度,ElTablePro 管理分页和工具栏。 -->
|
|
389
|
-
<section class="table-area" aria-label="预报信息列表">
|
|
388
|
+
<section class="forecast-info-table-area" aria-label="预报信息列表">
|
|
390
389
|
<ElTablePro
|
|
391
390
|
v-model:page="forecastPage"
|
|
392
391
|
v-model:page-size="forecastPageSize"
|
|
@@ -399,15 +398,19 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
399
398
|
stripe
|
|
400
399
|
size="small"
|
|
401
400
|
height="100%"
|
|
402
|
-
class="
|
|
401
|
+
class="forecast-info-table forecast-info-table--forecast"
|
|
403
402
|
pagination-size="small"
|
|
404
403
|
@selection-change="forecastInfoStore.handleForecastSelectionChange"
|
|
405
404
|
@pagination-change="handleForecastPaginationChange"
|
|
406
405
|
>
|
|
407
406
|
<!-- 批量操作依赖 Pinia 的跨表多选状态;核销规则由 store 统一校验。 -->
|
|
408
407
|
<template #toolbar>
|
|
409
|
-
<el-button size="small" :icon="CirclePlus" @click="handleToolbarAction('新增')"
|
|
408
|
+
<el-button type="primary" plain size="small" :icon="CirclePlus" @click="handleToolbarAction('新增')">
|
|
409
|
+
新增
|
|
410
|
+
</el-button>
|
|
410
411
|
<el-button
|
|
412
|
+
type="primary"
|
|
413
|
+
plain
|
|
411
414
|
size="small"
|
|
412
415
|
:icon="DataAnalysis"
|
|
413
416
|
:disabled="!forecastHasSelectedRows"
|
|
@@ -416,6 +419,8 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
416
419
|
匡算
|
|
417
420
|
</el-button>
|
|
418
421
|
<el-button
|
|
422
|
+
type="success"
|
|
423
|
+
plain
|
|
419
424
|
size="small"
|
|
420
425
|
:icon="CircleCheck"
|
|
421
426
|
:disabled="!forecastHasSelectedRows"
|
|
@@ -424,6 +429,8 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
424
429
|
核销
|
|
425
430
|
</el-button>
|
|
426
431
|
<el-button
|
|
432
|
+
type="danger"
|
|
433
|
+
plain
|
|
427
434
|
size="small"
|
|
428
435
|
:icon="RefreshLeft"
|
|
429
436
|
:disabled="!forecastHasSelectedRows"
|
|
@@ -431,7 +438,6 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
431
438
|
>
|
|
432
439
|
撤销核销
|
|
433
440
|
</el-button>
|
|
434
|
-
<el-button size="small" :icon="Download" @click="handleToolbarAction('导出')">导出</el-button>
|
|
435
441
|
</template>
|
|
436
442
|
|
|
437
443
|
<!-- 勾选结果通过 selection-change 写入 Pinia,供匡算与核销跨表复用。 -->
|
|
@@ -480,7 +486,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
480
486
|
fixed="right"
|
|
481
487
|
>
|
|
482
488
|
<template #default="{ row }">
|
|
483
|
-
<div class="forecast-row-actions">
|
|
489
|
+
<div class="forecast-info-row-actions">
|
|
484
490
|
<el-button
|
|
485
491
|
v-if="isForecastVerified(row)"
|
|
486
492
|
type="primary"
|
|
@@ -505,65 +511,65 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
505
511
|
v-model="calculationDialogVisible"
|
|
506
512
|
width="520px"
|
|
507
513
|
append-to-body
|
|
508
|
-
class="forecast-calculation-dialog"
|
|
514
|
+
class="forecast-info-calculation-dialog"
|
|
509
515
|
>
|
|
510
516
|
<template #header>
|
|
511
|
-
<div class="forecast-calculation-dialog__title">
|
|
512
|
-
<span class="forecast-calculation-dialog__title-bar"></span>
|
|
517
|
+
<div class="forecast-info-calculation-dialog__title">
|
|
518
|
+
<span class="forecast-info-calculation-dialog__title-bar"></span>
|
|
513
519
|
<span>汇总</span>
|
|
514
520
|
</div>
|
|
515
521
|
</template>
|
|
516
522
|
|
|
517
|
-
<div class="forecast-calculation-summary-card">
|
|
518
|
-
<section class="forecast-calculation-section">
|
|
519
|
-
<h3 class="forecast-calculation-section__title">
|
|
520
|
-
<span class="forecast-calculation-section__icon">
|
|
523
|
+
<div class="forecast-info-calculation-summary-card">
|
|
524
|
+
<section class="forecast-info-calculation-section">
|
|
525
|
+
<h3 class="forecast-info-calculation-section__title">
|
|
526
|
+
<span class="forecast-info-calculation-section__icon">
|
|
521
527
|
<el-icon><Tickets /></el-icon>
|
|
522
528
|
</span>
|
|
523
529
|
<span>预报信息汇总</span>
|
|
524
530
|
</h3>
|
|
525
531
|
|
|
526
|
-
<div class="forecast-calculation-metrics">
|
|
527
|
-
<div class="forecast-calculation-metric">
|
|
528
|
-
<span class="forecast-calculation-metric__label">预报金额</span>
|
|
529
|
-
<strong class="forecast-calculation-metric__value">{{ calculationSummary.forecastAmount }}</strong>
|
|
530
|
-
<span class="forecast-calculation-metric__unit">(元)</span>
|
|
532
|
+
<div class="forecast-info-calculation-metrics">
|
|
533
|
+
<div class="forecast-info-calculation-metric">
|
|
534
|
+
<span class="forecast-info-calculation-metric__label">预报金额</span>
|
|
535
|
+
<strong class="forecast-info-calculation-metric__value">{{ calculationSummary.forecastAmount }}</strong>
|
|
536
|
+
<span class="forecast-info-calculation-metric__unit">(元)</span>
|
|
531
537
|
</div>
|
|
532
|
-
<div class="forecast-calculation-metric">
|
|
533
|
-
<span class="forecast-calculation-metric__label">预报已核销金额</span>
|
|
534
|
-
<strong class="forecast-calculation-metric__value">{{ calculationSummary.forecastVerifiedAmount }}</strong>
|
|
535
|
-
<span class="forecast-calculation-metric__unit">(元)</span>
|
|
538
|
+
<div class="forecast-info-calculation-metric">
|
|
539
|
+
<span class="forecast-info-calculation-metric__label">预报已核销金额</span>
|
|
540
|
+
<strong class="forecast-info-calculation-metric__value">{{ calculationSummary.forecastVerifiedAmount }}</strong>
|
|
541
|
+
<span class="forecast-info-calculation-metric__unit">(元)</span>
|
|
536
542
|
</div>
|
|
537
|
-
<div class="forecast-calculation-metric">
|
|
538
|
-
<span class="forecast-calculation-metric__label">预报未核销金额</span>
|
|
539
|
-
<strong class="forecast-calculation-metric__value">
|
|
543
|
+
<div class="forecast-info-calculation-metric">
|
|
544
|
+
<span class="forecast-info-calculation-metric__label">预报未核销金额</span>
|
|
545
|
+
<strong class="forecast-info-calculation-metric__value">
|
|
540
546
|
{{ calculationSummary.forecastUnverifiedAmount }}
|
|
541
547
|
</strong>
|
|
542
|
-
<span class="forecast-calculation-metric__unit">(元)</span>
|
|
548
|
+
<span class="forecast-info-calculation-metric__unit">(元)</span>
|
|
543
549
|
</div>
|
|
544
550
|
</div>
|
|
545
551
|
</section>
|
|
546
552
|
|
|
547
|
-
<section class="forecast-calculation-section">
|
|
548
|
-
<h3 class="forecast-calculation-section__title">
|
|
549
|
-
<span class="forecast-calculation-section__icon">
|
|
553
|
+
<section class="forecast-info-calculation-section">
|
|
554
|
+
<h3 class="forecast-info-calculation-section__title">
|
|
555
|
+
<span class="forecast-info-calculation-section__icon">
|
|
550
556
|
<el-icon><Money /></el-icon>
|
|
551
557
|
</span>
|
|
552
558
|
<span>交易信息汇总</span>
|
|
553
559
|
</h3>
|
|
554
560
|
|
|
555
|
-
<div class="forecast-calculation-metrics">
|
|
556
|
-
<div class="forecast-calculation-metric">
|
|
557
|
-
<span class="forecast-calculation-metric__label">交易金额</span>
|
|
558
|
-
<strong class="forecast-calculation-metric__value">{{ calculationSummary.flowAmount }}</strong>
|
|
559
|
-
<span class="forecast-calculation-metric__unit">(元)</span>
|
|
561
|
+
<div class="forecast-info-calculation-metrics">
|
|
562
|
+
<div class="forecast-info-calculation-metric">
|
|
563
|
+
<span class="forecast-info-calculation-metric__label">交易金额</span>
|
|
564
|
+
<strong class="forecast-info-calculation-metric__value">{{ calculationSummary.flowAmount }}</strong>
|
|
565
|
+
<span class="forecast-info-calculation-metric__unit">(元)</span>
|
|
560
566
|
</div>
|
|
561
567
|
</div>
|
|
562
568
|
</section>
|
|
563
569
|
</div>
|
|
564
570
|
|
|
565
571
|
<template #footer>
|
|
566
|
-
<div class="forecast-calculation-dialog__footer">
|
|
572
|
+
<div class="forecast-info-calculation-dialog__footer">
|
|
567
573
|
<el-button type="primary" size="large" @click="calculationDialogVisible = false">确定</el-button>
|
|
568
574
|
</div>
|
|
569
575
|
</template>
|
|
@@ -577,15 +583,15 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
577
583
|
append-to-body
|
|
578
584
|
destroy-on-close
|
|
579
585
|
:close-on-click-modal="false"
|
|
580
|
-
class="forecast-modify-dialog"
|
|
586
|
+
class="forecast-info-modify-dialog"
|
|
581
587
|
@closed="handleModifyDialogClosed"
|
|
582
588
|
>
|
|
583
|
-
<div class="forecast-modify-
|
|
589
|
+
<div class="forecast-info-modify-dialog__forecast-info-card__title">
|
|
584
590
|
<el-icon><EditPen /></el-icon>
|
|
585
591
|
<span>修改记录</span>
|
|
586
592
|
</div>
|
|
587
593
|
|
|
588
|
-
<el-form class="forecast-modify-form" label-width="104px" size="small">
|
|
594
|
+
<el-form class="forecast-info-modify-form" label-width="104px" size="small">
|
|
589
595
|
<el-form-item label="交易日期">
|
|
590
596
|
<el-input v-model="modifyForm.tranDate" disabled />
|
|
591
597
|
</el-form-item>
|
|
@@ -598,7 +604,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
598
604
|
</el-form>
|
|
599
605
|
|
|
600
606
|
<template #footer>
|
|
601
|
-
<div class="forecast-modify-dialog__footer">
|
|
607
|
+
<div class="forecast-info-modify-dialog__footer">
|
|
602
608
|
<el-button type="primary" size="small" @click="handleModifyConfirm">确认</el-button>
|
|
603
609
|
<el-button size="small" @click="modifyDialogVisible = false">关闭</el-button>
|
|
604
610
|
</div>
|
|
@@ -611,10 +617,10 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
611
617
|
title="预报更多筛选"
|
|
612
618
|
size="520px"
|
|
613
619
|
append-to-body
|
|
614
|
-
class="forecast-filter-drawer"
|
|
620
|
+
class="forecast-info-filter-drawer"
|
|
615
621
|
>
|
|
616
|
-
<div class="forecast-
|
|
617
|
-
<label class="forecast-
|
|
622
|
+
<div class="forecast-info-filter__drawer-grid">
|
|
623
|
+
<label class="forecast-info-filter__item">
|
|
618
624
|
<span>交易日期</span>
|
|
619
625
|
<el-date-picker
|
|
620
626
|
v-model="forecastForm.tradeDate"
|
|
@@ -627,25 +633,25 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
627
633
|
/>
|
|
628
634
|
</label>
|
|
629
635
|
|
|
630
|
-
<label class="forecast-
|
|
636
|
+
<label class="forecast-info-filter__item">
|
|
631
637
|
<span>收支方向</span>
|
|
632
638
|
<el-select v-model="forecastForm.direction" size="small" placeholder="请选择" clearable>
|
|
633
639
|
<el-option v-for="option in directionOptions" :key="option.value" v-bind="option" />
|
|
634
640
|
</el-select>
|
|
635
641
|
</label>
|
|
636
642
|
|
|
637
|
-
<label class="forecast-
|
|
643
|
+
<label class="forecast-info-filter__item">
|
|
638
644
|
<span>业务类型</span>
|
|
639
645
|
<el-select v-model="forecastForm.businessType" size="small" placeholder="请选择" clearable>
|
|
640
646
|
<el-option v-for="option in businessTypeOptions" :key="option.value" v-bind="option" />
|
|
641
647
|
</el-select>
|
|
642
648
|
</label>
|
|
643
649
|
|
|
644
|
-
<label class="forecast-
|
|
650
|
+
<label class="forecast-info-filter__item forecast-info-filter__item--range">
|
|
645
651
|
<span>预报金额(万元)</span>
|
|
646
652
|
<NumberRange
|
|
647
653
|
v-model="forecastForm.amountRange"
|
|
648
|
-
class="forecast-
|
|
654
|
+
class="forecast-info-filter__number-range"
|
|
649
655
|
separator="至"
|
|
650
656
|
min-placeholder="最小值"
|
|
651
657
|
max-placeholder="最大值"
|
|
@@ -655,41 +661,41 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
655
661
|
/>
|
|
656
662
|
</label>
|
|
657
663
|
|
|
658
|
-
<label class="forecast-
|
|
664
|
+
<label class="forecast-info-filter__item">
|
|
659
665
|
<span>支付渠道</span>
|
|
660
666
|
<el-select v-model="forecastForm.channel" size="small" placeholder="请选择" clearable>
|
|
661
667
|
<el-option v-for="option in channelOptions" :key="option.value" v-bind="option" />
|
|
662
668
|
</el-select>
|
|
663
669
|
</label>
|
|
664
670
|
|
|
665
|
-
<label class="forecast-
|
|
671
|
+
<label class="forecast-info-filter__item">
|
|
666
672
|
<span>核销状态</span>
|
|
667
673
|
<el-select v-model="forecastForm.verification" size="small" placeholder="请选择" clearable>
|
|
668
674
|
<el-option v-for="option in statusOptions" :key="option.value" v-bind="option" />
|
|
669
675
|
</el-select>
|
|
670
676
|
</label>
|
|
671
677
|
|
|
672
|
-
<label class="forecast-
|
|
678
|
+
<label class="forecast-info-filter__item">
|
|
673
679
|
<span>客户名</span>
|
|
674
680
|
<el-input v-model="forecastForm.clientName" size="small" placeholder="请输入" clearable />
|
|
675
681
|
</label>
|
|
676
682
|
|
|
677
|
-
<label class="forecast-
|
|
683
|
+
<label class="forecast-info-filter__item">
|
|
678
684
|
<span>对手名</span>
|
|
679
685
|
<el-input v-model="forecastForm.counterpartyName" size="small" placeholder="请输入" clearable />
|
|
680
686
|
</label>
|
|
681
687
|
|
|
682
|
-
<label class="forecast-
|
|
688
|
+
<label class="forecast-info-filter__item">
|
|
683
689
|
<span>我方账号</span>
|
|
684
690
|
<el-input v-model="forecastForm.ourAccount" size="small" placeholder="请输入" clearable />
|
|
685
691
|
</label>
|
|
686
692
|
|
|
687
|
-
<label class="forecast-
|
|
693
|
+
<label class="forecast-info-filter__item">
|
|
688
694
|
<span>机构关键字</span>
|
|
689
695
|
<el-input v-model="forecastForm.organizationKeyword" size="small" placeholder="请输入" clearable />
|
|
690
696
|
</label>
|
|
691
697
|
|
|
692
|
-
<label class="forecast-
|
|
698
|
+
<label class="forecast-info-filter__item">
|
|
693
699
|
<span>机构</span>
|
|
694
700
|
<el-select v-model="forecastForm.organization" size="small" placeholder="请选择" clearable>
|
|
695
701
|
<el-option v-for="option in organizationOptions" :key="option.value" v-bind="option" />
|
|
@@ -698,7 +704,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
|
|
|
698
704
|
</div>
|
|
699
705
|
|
|
700
706
|
<template #footer>
|
|
701
|
-
<div class="forecast-
|
|
707
|
+
<div class="forecast-info-filter__drawer-actions">
|
|
702
708
|
<el-button size="small" @click="forecastDrawerVisible = false">取消</el-button>
|
|
703
709
|
<el-button size="small" @click="handleForecastReset">重置</el-button>
|
|
704
710
|
<el-button type="primary" size="small" :icon="Search" @click="handleForecastQuery">查询</el-button>
|