feat: 完成采购看板与异议管理模块功能升级
1. 新增报表下钻跳转支持,为供应商、RFQ、采购单、物料等页面添加路由参数解析 2. 优化异议管理模块:新增发货单关联、详情弹窗、审批流程优化 3. 完善采购看板功能:支持累计数据展示、图表导出、数据补全与趋势优化 4. 新增供应商评分历史趋势统计与品类分布聚合逻辑 5. 修复异议API路径与通知跳转路径问题,新增模拟测试数据
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
size="mini"
|
||||
placeholder="搜索分类"
|
||||
clearable
|
||||
style="width:140px" />
|
||||
class="tree-filter-input" />
|
||||
</div>
|
||||
<el-tree
|
||||
ref="categoryTree"
|
||||
@@ -369,6 +369,10 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
// 支持从报表下钻跳转,读取路由query中的categoryId
|
||||
if (this.$route.query.categoryId) {
|
||||
this.queryParams.categoryId = Number(this.$route.query.categoryId);
|
||||
}
|
||||
this.getList();
|
||||
this.loadCategories();
|
||||
this.loadBrands();
|
||||
@@ -576,12 +580,22 @@ export default {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: nowrap;
|
||||
white-space: nowrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.tree-title {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
white-space: nowrap;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tree-filter-input {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.category-tree {
|
||||
|
||||
Reference in New Issue
Block a user