feat(crm): 添加销售员详情页数据加载功能

- 新增按销售员查询订单明细卷的API接口
- 为CoilTable和DeliveryTable组件添加高度属性
- 实现销售员详情页各标签页数据懒加载功能
- 优化销售员卡片点击和标签页切换时的数据加载逻辑
This commit is contained in:
2026-04-27 18:14:54 +08:00
parent dc170c77d9
commit b85971d532
4 changed files with 185 additions and 56 deletions

View File

@@ -4,7 +4,7 @@
<span style="margin-right: 20px;"><strong>已发货{{ deliveryCountFinished }}</strong></span>
<span><strong>总单据数{{ deliveryCountTotal }}</strong></span>
</div>
<el-table border :data="data" highlight-current-row>
<el-table border :data="data" highlight-current-row :height="tableHeight">
<el-table-column label="发货单唯一ID" align="center" prop="waybillId" v-if="false" />
<el-table-column label="发货单名称" align="center" prop="waybillName" />
<el-table-column label="车牌" align="center" prop="licensePlate" width="100" />
@@ -43,6 +43,10 @@ export default {
data: {
type: Array,
default: () => []
},
tableHeight: {
type: [String, Number],
default: ''
}
},