imeik-bizui 2.6.1 → 2.6.3
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/dist/bizui/src/FieldFloorPriceBoard/assets/icon-blocked.png +0 -0
- package/dist/bizui/src/FieldFloorPriceBoard/assets/icon-exempt.png +0 -0
- package/dist/bizui/src/FieldFloorPriceBoard/assets/icon-pass.png +0 -0
- package/dist/bizui/src/FieldFloorPriceBoard/core/FloorPriceBoard.vue +21 -14
- package/dist/bizui/src/FieldFloorPriceBoard/core/FloorPriceDetailDialog.vue +11 -48
- package/dist/imeik-bizui.common.js +170 -147
- package/dist/imeik-bizui.common.js.gz +0 -0
- package/dist/imeik-bizui.css +1 -1
- package/dist/imeik-bizui.css.gz +0 -0
- package/dist/imeik-bizui.umd.js +170 -147
- package/dist/imeik-bizui.umd.js.gz +0 -0
- package/dist/imeik-bizui.umd.min.js +6 -6
- package/dist/imeik-bizui.umd.min.js.gz +0 -0
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -17,7 +17,12 @@
|
|
|
17
17
|
<div class="fpb-result">
|
|
18
18
|
<div class="fpb-result__main">
|
|
19
19
|
<div class="fpb-result__heading">
|
|
20
|
-
<
|
|
20
|
+
<img
|
|
21
|
+
class="fpb-mark"
|
|
22
|
+
:src="statusIconSrc"
|
|
23
|
+
:alt="resolvedStatusLabel"
|
|
24
|
+
aria-hidden="true"
|
|
25
|
+
>
|
|
21
26
|
<h2 class="fpb-result__title">{{ resolvedResultTitle }}</h2>
|
|
22
27
|
<span class="fpb-badge">{{ resolvedStatusLabel }}</span>
|
|
23
28
|
<button
|
|
@@ -134,6 +139,15 @@ import {
|
|
|
134
139
|
formatNumber
|
|
135
140
|
} from './utils'
|
|
136
141
|
import FloorPriceSectionPager from './FloorPriceSectionPager.vue'
|
|
142
|
+
import iconBlocked from '../assets/icon-blocked.png'
|
|
143
|
+
import iconPass from '../assets/icon-pass.png'
|
|
144
|
+
import iconExempt from '../assets/icon-exempt.png'
|
|
145
|
+
|
|
146
|
+
const STATUS_ICON = {
|
|
147
|
+
[PANEL_STATE.BLOCKED]: iconBlocked,
|
|
148
|
+
[PANEL_STATE.PASS]: iconPass,
|
|
149
|
+
[PANEL_STATE.EXEMPT]: iconExempt
|
|
150
|
+
}
|
|
137
151
|
|
|
138
152
|
export default {
|
|
139
153
|
name: 'FloorPriceBoard',
|
|
@@ -272,10 +286,8 @@ export default {
|
|
|
272
286
|
productCount: this.displayProducts.length
|
|
273
287
|
}).description
|
|
274
288
|
},
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
if (this.resolvedStatus === PANEL_STATE.BLOCKED) return '!'
|
|
278
|
-
return 'i'
|
|
289
|
+
statusIconSrc() {
|
|
290
|
+
return STATUS_ICON[this.resolvedStatus] || STATUS_ICON[PANEL_STATE.PASS]
|
|
279
291
|
},
|
|
280
292
|
panelThemeClass() {
|
|
281
293
|
return `fpb-panel--${this.resolvedStatus}`
|
|
@@ -468,18 +480,13 @@ export default {
|
|
|
468
480
|
}
|
|
469
481
|
|
|
470
482
|
.fpb-mark {
|
|
471
|
-
display:
|
|
472
|
-
place-items: center;
|
|
483
|
+
display: block;
|
|
473
484
|
flex: none;
|
|
474
485
|
width: 28px;
|
|
475
486
|
height: 28px;
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
border-radius: 50%;
|
|
480
|
-
font-size: 15px;
|
|
481
|
-
font-weight: 700;
|
|
482
|
-
line-height: 1;
|
|
487
|
+
object-fit: contain;
|
|
488
|
+
user-select: none;
|
|
489
|
+
pointer-events: none;
|
|
483
490
|
}
|
|
484
491
|
|
|
485
492
|
.fpb-result__title {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
通用「底价明细」弹窗(纯展示,无接口依赖)
|
|
3
3
|
- 顶部汇总:由 Dashboard 传入概览产品行
|
|
4
4
|
- 下方三区(销售订单 / 非销出库 / 销售费用)等分三列并排
|
|
5
|
-
-
|
|
6
|
-
- 分区数据前端分页(pageSize
|
|
5
|
+
- 三列明细等高:固定表格高度 + 预留分页条高度
|
|
6
|
+
- 分区数据前端分页(pageSize);无底部关闭按钮,右上角关闭即可
|
|
7
7
|
-->
|
|
8
8
|
<template>
|
|
9
9
|
<el-dialog
|
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
border
|
|
76
76
|
size="small"
|
|
77
77
|
class="fpd-table"
|
|
78
|
+
:height="tableHeight"
|
|
78
79
|
:header-cell-style="headerCellStyle"
|
|
79
80
|
>
|
|
80
81
|
<el-table-column
|
|
@@ -132,10 +133,6 @@
|
|
|
132
133
|
</div>
|
|
133
134
|
</template>
|
|
134
135
|
</div>
|
|
135
|
-
|
|
136
|
-
<span slot="footer" class="fpd-dialog-footer">
|
|
137
|
-
<button type="button" class="fpd-dialog-close-btn" @click="onClose">关闭</button>
|
|
138
|
-
</span>
|
|
139
136
|
</el-dialog>
|
|
140
137
|
</template>
|
|
141
138
|
|
|
@@ -203,12 +200,10 @@ export default {
|
|
|
203
200
|
type: Array,
|
|
204
201
|
default: null
|
|
205
202
|
},
|
|
206
|
-
/**
|
|
207
|
-
* @deprecated 三区表格已改为按内容撑开,不再使用固定高度(保留 prop 以免业务侧报错)
|
|
208
|
-
*/
|
|
203
|
+
/** 三列表格统一高度,保证等高 */
|
|
209
204
|
tableHeight: {
|
|
210
205
|
type: [Number, String],
|
|
211
|
-
default:
|
|
206
|
+
default: 260
|
|
212
207
|
},
|
|
213
208
|
/** 分区前端分页大小 */
|
|
214
209
|
pageSize: {
|
|
@@ -386,15 +381,15 @@ export default {
|
|
|
386
381
|
|
|
387
382
|
.el-dialog__body {
|
|
388
383
|
padding: 18px 20px 16px;
|
|
389
|
-
max-height: calc(92vh -
|
|
384
|
+
max-height: calc(92vh - 64px);
|
|
390
385
|
overflow: auto;
|
|
391
386
|
background: #f7f8fa;
|
|
392
387
|
}
|
|
393
388
|
|
|
394
389
|
.el-dialog__footer {
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
border
|
|
390
|
+
display: none;
|
|
391
|
+
padding: 0;
|
|
392
|
+
border: none;
|
|
398
393
|
}
|
|
399
394
|
}
|
|
400
395
|
</style>
|
|
@@ -404,38 +399,6 @@ export default {
|
|
|
404
399
|
min-width: 0;
|
|
405
400
|
}
|
|
406
401
|
|
|
407
|
-
.fpd-dialog-footer {
|
|
408
|
-
display: flex;
|
|
409
|
-
justify-content: flex-end;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
.fpd-dialog-close-btn {
|
|
413
|
-
min-width: 80px;
|
|
414
|
-
height: 34px;
|
|
415
|
-
padding: 0 16px;
|
|
416
|
-
color: #1f2329;
|
|
417
|
-
background: #fff;
|
|
418
|
-
border: 1px solid #d3d7de;
|
|
419
|
-
border-radius: 6px;
|
|
420
|
-
cursor: pointer;
|
|
421
|
-
font-size: 14px;
|
|
422
|
-
line-height: 1;
|
|
423
|
-
|
|
424
|
-
&:hover {
|
|
425
|
-
color: #3370ff;
|
|
426
|
-
border-color: #8babff;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
&:focus {
|
|
430
|
-
outline: none;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
&:focus-visible {
|
|
434
|
-
outline: 2px solid #3370ff;
|
|
435
|
-
outline-offset: 2px;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
|
|
439
402
|
.fpd-msg {
|
|
440
403
|
padding: 12px 16px;
|
|
441
404
|
font-size: 13px;
|
|
@@ -462,14 +425,14 @@ export default {
|
|
|
462
425
|
grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.05fr) minmax(0, 0.9fr);
|
|
463
426
|
gap: 12px;
|
|
464
427
|
margin-bottom: 12px;
|
|
465
|
-
|
|
466
|
-
align-items: start;
|
|
428
|
+
align-items: stretch;
|
|
467
429
|
}
|
|
468
430
|
|
|
469
431
|
.fpd-section {
|
|
470
432
|
display: flex;
|
|
471
433
|
flex-direction: column;
|
|
472
434
|
min-width: 0;
|
|
435
|
+
min-height: 100%;
|
|
473
436
|
border: 1px solid #e5e7eb;
|
|
474
437
|
border-radius: 8px;
|
|
475
438
|
overflow: hidden;
|