feat: 多页面新增功能与修复数据展示问题
1. 为PlanSheetList添加loading状态与容器绑定 2. 为拉矫报表系列页面新增仓库选项传递与参数绑定 3. 修复APS计划单表格字段映射路径错误 4. 优化wms报表模板接口调用参数与组件props定义 5. 完善crm订单详情提示信息与注释代码
This commit is contained in:
@@ -230,6 +230,10 @@ export default {
|
||||
reportType: {
|
||||
type: String,
|
||||
default: 'day', // day | month | year | all | team | out | loss
|
||||
},
|
||||
warehouseOptions: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
}
|
||||
},
|
||||
components: {
|
||||
@@ -480,8 +484,8 @@ export default {
|
||||
}
|
||||
|
||||
const [lossRes, outRes] = await Promise.all([
|
||||
listCoilWithIds({ ...this.queryParams, actionIds: lossActionIds.join(',') || '', startTime: '', endTime: '' }),
|
||||
listCoilWithIds({ ...this.queryParams, coilIds: outIds.join(',') || '', startTime: '', endTime: '' }),
|
||||
listCoilWithIds({ ...this.queryParams, actionIds: lossActionIds.join(',') || '', startTime: '', endTime: '', selectType: 'raw_material' }),
|
||||
listCoilWithIds({ ...this.queryParams, coilIds: outIds.join(',') || '', startTime: '', endTime: '', selectType: 'product' }),
|
||||
]);
|
||||
|
||||
// 根据 reportType 决定填充哪些数据
|
||||
|
||||
Reference in New Issue
Block a user