verce-vue-test 0.0.64 → 0.0.66

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verce-vue-test",
3
- "version": "0.0.64",
3
+ "version": "0.0.66",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { reactive, ref, type Component } from 'vue'
2
+ import { onBeforeUnmount, onDeactivated, reactive, ref, type Component } from 'vue'
3
3
  import { storeToRefs } from 'pinia'
4
4
  import { ElMessage } from 'element-plus'
5
5
  import { Search } from '@element-plus/icons-vue'
@@ -33,6 +33,8 @@ type TableColumn = {
33
33
  defineProps<{
34
34
  layout: ForecastInfoCardLayout
35
35
  layoutOptions: LayoutOption[]
36
+ /** 页面级局部浮层容器,防止抽屉直接挂到 Layout 的 body 节点。 */
37
+ overlayContainer: HTMLElement | null
36
38
  }>()
37
39
 
38
40
  const emit = defineEmits<{
@@ -101,6 +103,17 @@ const forecastInfoStore = useForecastInfoStore()
101
103
  /** 分页、列表和最近一次查询参数从 Pinia 读取,翻页时不依赖组件局部状态。 */
102
104
  const { flowRows, flowTotal, flowPage, flowPageSize, flowLoading, flowQueryParams } = storeToRefs(forecastInfoStore)
103
105
 
106
+ /**
107
+ * 关闭流水卡片的更多筛选抽屉。
108
+ * 抽屉挂到页面专属容器后,在 KeepAlive 或路由过渡中仍需提前关闭,避免遮罩遗留到其他页面。
109
+ */
110
+ function closeFlowTransientOverlays() {
111
+ flowDrawerVisible.value = false
112
+ }
113
+
114
+ onDeactivated(closeFlowTransientOverlays)
115
+ onBeforeUnmount(closeFlowTransientOverlays)
116
+
104
117
  /** 恢复筛选表单初始值,不会立即请求列表。 */
105
118
  function resetFlowForm() {
106
119
  Object.assign(flowForm, defaultFlowForm())
@@ -170,11 +183,11 @@ function getFlowSequence(index: number) {
170
183
  </script>
171
184
 
172
185
  <template>
173
- <section class="business-card" aria-labelledby="flow-info-title">
186
+ <section class="forecast-info-card" aria-labelledby="flow-info-title">
174
187
  <!-- 卡片标题和页面级布局切换;操作会同步影响预报卡片。 -->
175
- <header class="card-header">
176
- <h2 id="flow-info-title" class="section-title">流水信息</h2>
177
- <div class="layout-switch" role="radiogroup" aria-label="切换流水信息卡片排列方式">
188
+ <header class="forecast-info-card__header">
189
+ <h2 id="flow-info-title" class="forecast-info-card__title">流水信息</h2>
190
+ <div class="forecast-info-layout-switch" role="radiogroup" aria-label="切换流水信息卡片排列方式">
178
191
  <el-tooltip
179
192
  v-for="option in layoutOptions"
180
193
  :key="option.value"
@@ -184,7 +197,7 @@ function getFlowSequence(index: number) {
184
197
  >
185
198
  <button
186
199
  type="button"
187
- class="layout-switch__button"
200
+ class="forecast-info-layout-switch__button"
188
201
  :class="{ 'is-active': layout === option.value }"
189
202
  role="radio"
190
203
  :aria-label="option.label"
@@ -200,9 +213,9 @@ function getFlowSequence(index: number) {
200
213
  </header>
201
214
 
202
215
  <!-- 水平布局收敛为一个快速筛选项,完整条件通过抽屉提供。 -->
203
- <div class="forecast-filter-panel" :class="{ 'forecast-filter-panel--horizontal': layout === 'horizontal' }">
204
- <div class="forecast-filter-panel__grid">
205
- <label class="forecast-filter-panel__item">
216
+ <div class="forecast-info-filter" :class="{ 'forecast-info-filter--horizontal': layout === 'horizontal' }">
217
+ <div class="forecast-info-filter__grid">
218
+ <label class="forecast-info-filter__item">
206
219
  <span>交易日期</span>
207
220
  <el-date-picker
208
221
  v-model="flowForm.tranDate"
@@ -215,7 +228,7 @@ function getFlowSequence(index: number) {
215
228
  />
216
229
  </label>
217
230
 
218
- <label v-if="layout === 'vertical'" class="forecast-filter-panel__item">
231
+ <label v-if="layout === 'vertical'" class="forecast-info-filter__item">
219
232
  <span>收支方向</span>
220
233
  <el-select v-model="flowForm.payDirec" size="small" placeholder="请选择" clearable>
221
234
  <el-option v-for="option in directionOptions" :key="option.value" v-bind="option" />
@@ -223,7 +236,7 @@ function getFlowSequence(index: number) {
223
236
  </label>
224
237
  </div>
225
238
 
226
- <div class="forecast-filter-panel__actions">
239
+ <div class="forecast-info-filter__actions">
227
240
  <el-button type="primary" size="small" :icon="Search" @click="handleFlowQuery">查询</el-button>
228
241
  <el-button size="small" @click="handleFlowReset">重置</el-button>
229
242
  <el-button size="small" @click="flowDrawerVisible = true">更多筛选</el-button>
@@ -231,7 +244,7 @@ function getFlowSequence(index: number) {
231
244
  </div>
232
245
 
233
246
  <!-- 表格填满卡片余高;多选值直接写入 Pinia,供预报核销与匡算联动读取。 -->
234
- <section class="table-area" aria-label="流水信息列表">
247
+ <section class="forecast-info-table-area" aria-label="流水信息列表">
235
248
  <ElTablePro
236
249
  v-model:page="flowPage"
237
250
  v-model:page-size="flowPageSize"
@@ -244,7 +257,7 @@ function getFlowSequence(index: number) {
244
257
  stripe
245
258
  size="small"
246
259
  height="100%"
247
- class="business-table-pro flow-table-pro"
260
+ class="forecast-info-table forecast-info-table--flow"
248
261
  pagination-size="small"
249
262
  @selection-change="forecastInfoStore.handleFlowSelectionChange"
250
263
  @pagination-change="handleFlowPaginationChange"
@@ -293,11 +306,13 @@ function getFlowSequence(index: number) {
293
306
  v-model="flowDrawerVisible"
294
307
  title="流水更多筛选"
295
308
  size="520px"
296
- append-to-body
297
- class="forecast-filter-drawer"
309
+ :append-to="overlayContainer || undefined"
310
+ destroy-on-close
311
+ :lock-scroll="false"
312
+ class="forecast-info-filter-drawer"
298
313
  >
299
- <div class="forecast-filter-panel__drawer-grid">
300
- <label class="forecast-filter-panel__item">
314
+ <div class="forecast-info-filter__drawer-grid">
315
+ <label class="forecast-info-filter__item">
301
316
  <span>交易日期</span>
302
317
  <el-date-picker
303
318
  v-model="flowForm.tranDate"
@@ -310,23 +325,23 @@ function getFlowSequence(index: number) {
310
325
  />
311
326
  </label>
312
327
 
313
- <label class="forecast-filter-panel__item">
328
+ <label class="forecast-info-filter__item">
314
329
  <span>收支方向</span>
315
330
  <el-select v-model="flowForm.payDirec" size="small" placeholder="请选择" clearable>
316
331
  <el-option v-for="option in directionOptions" :key="option.value" v-bind="option" />
317
332
  </el-select>
318
333
  </label>
319
334
 
320
- <label class="forecast-filter-panel__item">
335
+ <label class="forecast-info-filter__item">
321
336
  <span>支付渠道</span>
322
337
  <el-input v-model="flowForm.payChannel" size="small" placeholder="请输入" clearable />
323
338
  </label>
324
339
 
325
- <label class="forecast-filter-panel__item forecast-filter-panel__item--range">
340
+ <label class="forecast-info-filter__item forecast-info-filter__item--range">
326
341
  <span>金额范围(万元)</span>
327
342
  <NumberRange
328
343
  v-model="flowForm.transAmtRange"
329
- class="forecast-filter-panel__number-range"
344
+ class="forecast-info-filter__number-range"
330
345
  separator="至"
331
346
  min-placeholder="最小值"
332
347
  max-placeholder="最大值"
@@ -336,24 +351,24 @@ function getFlowSequence(index: number) {
336
351
  />
337
352
  </label>
338
353
 
339
- <label class="forecast-filter-panel__item">
354
+ <label class="forecast-info-filter__item">
340
355
  <span>核销状态</span>
341
356
  <el-select v-model="flowForm.verifyStatus" size="small" placeholder="请选择" clearable>
342
357
  <el-option v-for="option in statusOptions" :key="option.value" v-bind="option" />
343
358
  </el-select>
344
359
  </label>
345
360
 
346
- <label class="forecast-filter-panel__item">
361
+ <label class="forecast-info-filter__item">
347
362
  <span>我方户名</span>
348
363
  <el-input v-model="flowForm.clientName" size="small" placeholder="请输入" clearable />
349
364
  </label>
350
365
 
351
- <label class="forecast-filter-panel__item">
366
+ <label class="forecast-info-filter__item">
352
367
  <span>对方户名</span>
353
368
  <el-input v-model="flowForm.competName" size="small" placeholder="请输入" clearable />
354
369
  </label>
355
370
 
356
- <label class="forecast-filter-panel__item">
371
+ <label class="forecast-info-filter__item">
357
372
  <span>我方机构</span>
358
373
  <el-select v-model="flowForm.groundBranch" size="small" placeholder="请选择" clearable>
359
374
  <el-option v-for="option in groundBranchOptions" :key="option.value" v-bind="option" />
@@ -362,7 +377,7 @@ function getFlowSequence(index: number) {
362
377
  </div>
363
378
 
364
379
  <template #footer>
365
- <div class="forecast-filter-panel__drawer-actions">
380
+ <div class="forecast-info-filter__drawer-actions">
366
381
  <el-button size="small" @click="flowDrawerVisible = false">取消</el-button>
367
382
  <el-button size="small" @click="handleFlowReset">重置</el-button>
368
383
  <el-button type="primary" size="small" :icon="Search" @click="handleFlowQuery">查询</el-button>
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { reactive, ref, type Component } from 'vue'
2
+ import { onBeforeUnmount, onDeactivated, reactive, ref, type Component } from 'vue'
3
3
  import { storeToRefs } from 'pinia'
4
4
  import { ElMessage, ElMessageBox } from 'element-plus'
5
5
  import {
@@ -55,6 +55,8 @@ const amountColumnProps = new Set(['predAmt', 'verifyAmt'])
55
55
  defineProps<{
56
56
  layout: ForecastInfoCardLayout
57
57
  layoutOptions: LayoutOption[]
58
+ /** 页面级局部浮层容器,防止抽屉与弹窗直接污染 Layout 的 body 节点。 */
59
+ overlayContainer: HTMLElement | null
58
60
  }>()
59
61
 
60
62
  /** 任一业务卡片点击布局图标时,将新布局回传给页面容器。 */
@@ -186,6 +188,21 @@ const {
186
188
  calculationDialogVisible,
187
189
  } = storeToRefs(forecastInfoStore)
188
190
 
191
+ /**
192
+ * 关闭预报卡片创建的所有临时浮层。
193
+ *
194
+ * 抽屉和弹窗挂到页面专属容器后,仍在停用和卸载阶段主动关闭,
195
+ * 防止路由缓存和过渡期间残留遮罩或焦点锁定。
196
+ */
197
+ function closeForecastTransientOverlays() {
198
+ forecastDrawerVisible.value = false
199
+ modifyDialogVisible.value = false
200
+ calculationDialogVisible.value = false
201
+ }
202
+
203
+ onDeactivated(closeForecastTransientOverlays)
204
+ onBeforeUnmount(closeForecastTransientOverlays)
205
+
189
206
  /** 将筛选项恢复为默认值,不会自动触发查询。 */
190
207
  function resetForecastForm() {
191
208
  Object.assign(forecastForm, defaultForecastForm())
@@ -273,7 +290,7 @@ async function showModifyWarning(message: string) {
273
290
  await ElMessageBox.alert(message, '提示', {
274
291
  type: 'warning',
275
292
  confirmButtonText: '确定',
276
- customClass: 'forecast-modify-warning',
293
+ customClass: 'forecast-info-modify-warning',
277
294
  }).catch(() => undefined)
278
295
  }
279
296
 
@@ -324,11 +341,11 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
324
341
  </script>
325
342
 
326
343
  <template>
327
- <section class="business-card" aria-labelledby="forecast-info-title">
344
+ <section class="forecast-info-card" aria-labelledby="forecast-info-title">
328
345
  <!-- 卡片标题与布局切换;两个面板使用相同的切换事件。 -->
329
- <header class="card-header">
330
- <h2 id="forecast-info-title" class="section-title">预报信息</h2>
331
- <div class="layout-switch" role="radiogroup" aria-label="切换预报信息卡片排列方式">
346
+ <header class="forecast-info-card__header">
347
+ <h2 id="forecast-info-title" class="forecast-info-card__title">预报信息</h2>
348
+ <div class="forecast-info-layout-switch" role="radiogroup" aria-label="切换预报信息卡片排列方式">
332
349
  <el-tooltip
333
350
  v-for="option in layoutOptions"
334
351
  :key="option.value"
@@ -338,7 +355,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
338
355
  >
339
356
  <button
340
357
  type="button"
341
- class="layout-switch__button"
358
+ class="forecast-info-layout-switch__button"
342
359
  :class="{ 'is-active': layout === option.value }"
343
360
  role="radio"
344
361
  :aria-label="option.label"
@@ -354,9 +371,9 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
354
371
  </header>
355
372
 
356
373
  <!-- 水平布局仅显示交易日期,其他筛选统一放在抽屉;垂直布局额外显示收支方向。 -->
357
- <div class="forecast-filter-panel" :class="{ 'forecast-filter-panel--horizontal': layout === 'horizontal' }">
358
- <div class="forecast-filter-panel__grid">
359
- <label class="forecast-filter-panel__item">
374
+ <div class="forecast-info-filter" :class="{ 'forecast-info-filter--horizontal': layout === 'horizontal' }">
375
+ <div class="forecast-info-filter__grid">
376
+ <label class="forecast-info-filter__item">
360
377
  <span>交易日期</span>
361
378
  <el-date-picker
362
379
  v-model="forecastForm.tradeDate"
@@ -369,7 +386,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
369
386
  />
370
387
  </label>
371
388
 
372
- <label v-if="layout === 'vertical'" class="forecast-filter-panel__item">
389
+ <label v-if="layout === 'vertical'" class="forecast-info-filter__item">
373
390
  <span>收支方向</span>
374
391
  <el-select v-model="forecastForm.direction" size="small" placeholder="请选择" clearable>
375
392
  <el-option v-for="option in directionOptions" :key="option.value" v-bind="option" />
@@ -377,7 +394,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
377
394
  </label>
378
395
  </div>
379
396
 
380
- <div class="forecast-filter-panel__actions">
397
+ <div class="forecast-info-filter__actions">
381
398
  <el-button type="primary" size="small" :icon="Search" @click="handleForecastQuery">查询</el-button>
382
399
  <el-button size="small" @click="handleForecastReset">重置</el-button>
383
400
  <el-button size="small" @click="forecastDrawerVisible = true">更多筛选</el-button>
@@ -385,7 +402,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
385
402
  </div>
386
403
 
387
404
  <!-- 表格区域占据卡片剩余高度,ElTablePro 管理分页和工具栏。 -->
388
- <section class="table-area" aria-label="预报信息列表">
405
+ <section class="forecast-info-table-area" aria-label="预报信息列表">
389
406
  <ElTablePro
390
407
  v-model:page="forecastPage"
391
408
  v-model:page-size="forecastPageSize"
@@ -398,7 +415,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
398
415
  stripe
399
416
  size="small"
400
417
  height="100%"
401
- class="business-table-pro forecast-table-pro"
418
+ class="forecast-info-table forecast-info-table--forecast"
402
419
  pagination-size="small"
403
420
  @selection-change="forecastInfoStore.handleForecastSelectionChange"
404
421
  @pagination-change="handleForecastPaginationChange"
@@ -486,7 +503,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
486
503
  fixed="right"
487
504
  >
488
505
  <template #default="{ row }">
489
- <div class="forecast-row-actions">
506
+ <div class="forecast-info-row-actions">
490
507
  <el-button
491
508
  v-if="isForecastVerified(row)"
492
509
  type="primary"
@@ -510,66 +527,68 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
510
527
  <el-dialog
511
528
  v-model="calculationDialogVisible"
512
529
  width="520px"
513
- append-to-body
514
- class="forecast-calculation-dialog"
530
+ :append-to="overlayContainer || undefined"
531
+ destroy-on-close
532
+ :lock-scroll="false"
533
+ class="forecast-info-calculation-dialog"
515
534
  >
516
535
  <template #header>
517
- <div class="forecast-calculation-dialog__title">
518
- <span class="forecast-calculation-dialog__title-bar"></span>
536
+ <div class="forecast-info-calculation-dialog__title">
537
+ <span class="forecast-info-calculation-dialog__title-bar"></span>
519
538
  <span>汇总</span>
520
539
  </div>
521
540
  </template>
522
541
 
523
- <div class="forecast-calculation-summary-card">
524
- <section class="forecast-calculation-section">
525
- <h3 class="forecast-calculation-section__title">
526
- <span class="forecast-calculation-section__icon">
542
+ <div class="forecast-info-calculation-summary-card">
543
+ <section class="forecast-info-calculation-section">
544
+ <h3 class="forecast-info-calculation-section__title">
545
+ <span class="forecast-info-calculation-section__icon">
527
546
  <el-icon><Tickets /></el-icon>
528
547
  </span>
529
548
  <span>预报信息汇总</span>
530
549
  </h3>
531
550
 
532
- <div class="forecast-calculation-metrics">
533
- <div class="forecast-calculation-metric">
534
- <span class="forecast-calculation-metric__label">预报金额</span>
535
- <strong class="forecast-calculation-metric__value">{{ calculationSummary.forecastAmount }}</strong>
536
- <span class="forecast-calculation-metric__unit">(元)</span>
551
+ <div class="forecast-info-calculation-metrics">
552
+ <div class="forecast-info-calculation-metric">
553
+ <span class="forecast-info-calculation-metric__label">预报金额</span>
554
+ <strong class="forecast-info-calculation-metric__value">{{ calculationSummary.forecastAmount }}</strong>
555
+ <span class="forecast-info-calculation-metric__unit">(元)</span>
537
556
  </div>
538
- <div class="forecast-calculation-metric">
539
- <span class="forecast-calculation-metric__label">预报已核销金额</span>
540
- <strong class="forecast-calculation-metric__value">{{ calculationSummary.forecastVerifiedAmount }}</strong>
541
- <span class="forecast-calculation-metric__unit">(元)</span>
557
+ <div class="forecast-info-calculation-metric">
558
+ <span class="forecast-info-calculation-metric__label">预报已核销金额</span>
559
+ <strong class="forecast-info-calculation-metric__value">{{ calculationSummary.forecastVerifiedAmount }}</strong>
560
+ <span class="forecast-info-calculation-metric__unit">(元)</span>
542
561
  </div>
543
- <div class="forecast-calculation-metric">
544
- <span class="forecast-calculation-metric__label">预报未核销金额</span>
545
- <strong class="forecast-calculation-metric__value">
562
+ <div class="forecast-info-calculation-metric">
563
+ <span class="forecast-info-calculation-metric__label">预报未核销金额</span>
564
+ <strong class="forecast-info-calculation-metric__value">
546
565
  {{ calculationSummary.forecastUnverifiedAmount }}
547
566
  </strong>
548
- <span class="forecast-calculation-metric__unit">(元)</span>
567
+ <span class="forecast-info-calculation-metric__unit">(元)</span>
549
568
  </div>
550
569
  </div>
551
570
  </section>
552
571
 
553
- <section class="forecast-calculation-section">
554
- <h3 class="forecast-calculation-section__title">
555
- <span class="forecast-calculation-section__icon">
572
+ <section class="forecast-info-calculation-section">
573
+ <h3 class="forecast-info-calculation-section__title">
574
+ <span class="forecast-info-calculation-section__icon">
556
575
  <el-icon><Money /></el-icon>
557
576
  </span>
558
577
  <span>交易信息汇总</span>
559
578
  </h3>
560
579
 
561
- <div class="forecast-calculation-metrics">
562
- <div class="forecast-calculation-metric">
563
- <span class="forecast-calculation-metric__label">交易金额</span>
564
- <strong class="forecast-calculation-metric__value">{{ calculationSummary.flowAmount }}</strong>
565
- <span class="forecast-calculation-metric__unit">(元)</span>
580
+ <div class="forecast-info-calculation-metrics">
581
+ <div class="forecast-info-calculation-metric">
582
+ <span class="forecast-info-calculation-metric__label">交易金额</span>
583
+ <strong class="forecast-info-calculation-metric__value">{{ calculationSummary.flowAmount }}</strong>
584
+ <span class="forecast-info-calculation-metric__unit">(元)</span>
566
585
  </div>
567
586
  </div>
568
587
  </section>
569
588
  </div>
570
589
 
571
590
  <template #footer>
572
- <div class="forecast-calculation-dialog__footer">
591
+ <div class="forecast-info-calculation-dialog__footer">
573
592
  <el-button type="primary" size="large" @click="calculationDialogVisible = false">确定</el-button>
574
593
  </div>
575
594
  </template>
@@ -580,18 +599,19 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
580
599
  v-model="modifyDialogVisible"
581
600
  title="修改"
582
601
  width="520px"
583
- append-to-body
602
+ :append-to="overlayContainer || undefined"
584
603
  destroy-on-close
604
+ :lock-scroll="false"
585
605
  :close-on-click-modal="false"
586
- class="forecast-modify-dialog"
606
+ class="forecast-info-modify-dialog"
587
607
  @closed="handleModifyDialogClosed"
588
608
  >
589
- <div class="forecast-modify-dialog__section-title">
609
+ <div class="forecast-info-modify-dialog__section-title">
590
610
  <el-icon><EditPen /></el-icon>
591
611
  <span>修改记录</span>
592
612
  </div>
593
613
 
594
- <el-form class="forecast-modify-form" label-width="104px" size="small">
614
+ <el-form class="forecast-info-modify-form" label-width="104px" size="small">
595
615
  <el-form-item label="交易日期">
596
616
  <el-input v-model="modifyForm.tranDate" disabled />
597
617
  </el-form-item>
@@ -604,7 +624,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
604
624
  </el-form>
605
625
 
606
626
  <template #footer>
607
- <div class="forecast-modify-dialog__footer">
627
+ <div class="forecast-info-modify-dialog__footer">
608
628
  <el-button type="primary" size="small" @click="handleModifyConfirm">确认</el-button>
609
629
  <el-button size="small" @click="modifyDialogVisible = false">关闭</el-button>
610
630
  </div>
@@ -616,11 +636,13 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
616
636
  v-model="forecastDrawerVisible"
617
637
  title="预报更多筛选"
618
638
  size="520px"
619
- append-to-body
620
- class="forecast-filter-drawer"
639
+ :append-to="overlayContainer || undefined"
640
+ destroy-on-close
641
+ :lock-scroll="false"
642
+ class="forecast-info-filter-drawer"
621
643
  >
622
- <div class="forecast-filter-panel__drawer-grid">
623
- <label class="forecast-filter-panel__item">
644
+ <div class="forecast-info-filter__drawer-grid">
645
+ <label class="forecast-info-filter__item">
624
646
  <span>交易日期</span>
625
647
  <el-date-picker
626
648
  v-model="forecastForm.tradeDate"
@@ -633,25 +655,25 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
633
655
  />
634
656
  </label>
635
657
 
636
- <label class="forecast-filter-panel__item">
658
+ <label class="forecast-info-filter__item">
637
659
  <span>收支方向</span>
638
660
  <el-select v-model="forecastForm.direction" size="small" placeholder="请选择" clearable>
639
661
  <el-option v-for="option in directionOptions" :key="option.value" v-bind="option" />
640
662
  </el-select>
641
663
  </label>
642
664
 
643
- <label class="forecast-filter-panel__item">
665
+ <label class="forecast-info-filter__item">
644
666
  <span>业务类型</span>
645
667
  <el-select v-model="forecastForm.businessType" size="small" placeholder="请选择" clearable>
646
668
  <el-option v-for="option in businessTypeOptions" :key="option.value" v-bind="option" />
647
669
  </el-select>
648
670
  </label>
649
671
 
650
- <label class="forecast-filter-panel__item forecast-filter-panel__item--range">
672
+ <label class="forecast-info-filter__item forecast-info-filter__item--range">
651
673
  <span>预报金额(万元)</span>
652
674
  <NumberRange
653
675
  v-model="forecastForm.amountRange"
654
- class="forecast-filter-panel__number-range"
676
+ class="forecast-info-filter__number-range"
655
677
  separator="至"
656
678
  min-placeholder="最小值"
657
679
  max-placeholder="最大值"
@@ -661,41 +683,41 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
661
683
  />
662
684
  </label>
663
685
 
664
- <label class="forecast-filter-panel__item">
686
+ <label class="forecast-info-filter__item">
665
687
  <span>支付渠道</span>
666
688
  <el-select v-model="forecastForm.channel" size="small" placeholder="请选择" clearable>
667
689
  <el-option v-for="option in channelOptions" :key="option.value" v-bind="option" />
668
690
  </el-select>
669
691
  </label>
670
692
 
671
- <label class="forecast-filter-panel__item">
693
+ <label class="forecast-info-filter__item">
672
694
  <span>核销状态</span>
673
695
  <el-select v-model="forecastForm.verification" size="small" placeholder="请选择" clearable>
674
696
  <el-option v-for="option in statusOptions" :key="option.value" v-bind="option" />
675
697
  </el-select>
676
698
  </label>
677
699
 
678
- <label class="forecast-filter-panel__item">
700
+ <label class="forecast-info-filter__item">
679
701
  <span>客户名</span>
680
702
  <el-input v-model="forecastForm.clientName" size="small" placeholder="请输入" clearable />
681
703
  </label>
682
704
 
683
- <label class="forecast-filter-panel__item">
705
+ <label class="forecast-info-filter__item">
684
706
  <span>对手名</span>
685
707
  <el-input v-model="forecastForm.counterpartyName" size="small" placeholder="请输入" clearable />
686
708
  </label>
687
709
 
688
- <label class="forecast-filter-panel__item">
710
+ <label class="forecast-info-filter__item">
689
711
  <span>我方账号</span>
690
712
  <el-input v-model="forecastForm.ourAccount" size="small" placeholder="请输入" clearable />
691
713
  </label>
692
714
 
693
- <label class="forecast-filter-panel__item">
715
+ <label class="forecast-info-filter__item">
694
716
  <span>机构关键字</span>
695
717
  <el-input v-model="forecastForm.organizationKeyword" size="small" placeholder="请输入" clearable />
696
718
  </label>
697
719
 
698
- <label class="forecast-filter-panel__item">
720
+ <label class="forecast-info-filter__item">
699
721
  <span>机构</span>
700
722
  <el-select v-model="forecastForm.organization" size="small" placeholder="请选择" clearable>
701
723
  <el-option v-for="option in organizationOptions" :key="option.value" v-bind="option" />
@@ -704,7 +726,7 @@ function handleForecastPaginationChange(_value: { page: number; pageSize: number
704
726
  </div>
705
727
 
706
728
  <template #footer>
707
- <div class="forecast-filter-panel__drawer-actions">
729
+ <div class="forecast-info-filter__drawer-actions">
708
730
  <el-button size="small" @click="forecastDrawerVisible = false">取消</el-button>
709
731
  <el-button size="small" @click="handleForecastReset">重置</el-button>
710
732
  <el-button type="primary" size="small" :icon="Search" @click="handleForecastQuery">查询</el-button>