feat(crm): 订单项控制器添加分页功能并新增销售员和合同查询接口

- 将getCoilsByOrderId方法改为分页查询,返回TableDataInfo格式
- 新增getCoilsBySalesman接口,支持按销售员查询生产成果钢卷列表
- 新增getCoilsByContractIdPaginated接口,支持按合同ID分页查询生产成果
- 更新前端API调用适配分页参数传递
- 修改listOrderPackaging接口支持分页查询
- 更新相关Vue组件适配新的分页数据结构返回格式
This commit is contained in:
2026-06-29 17:08:24 +08:00
parent 272b29e54a
commit bc7b9d2454
11 changed files with 131 additions and 32 deletions

View File

@@ -310,8 +310,8 @@ export default {
});
}
case 'planDelivery':
return listDeliveryWaybillDetailBySaleman(dictValue).then(response => {
this.deliveryList = response;
return listDeliveryWaybillDetailBySaleman({ principal: dictValue, pageNum: 1, pageSize: 10000 }).then(response => {
this.deliveryList = response.rows || [];
this.loadedTabs.planDelivery = true;
this.rightLoading = false;
}).catch(() => {