diff --git a/src/views/Outsourcing/PreorderAssociation/index.vue b/src/views/Outsourcing/PreorderAssociation/index.vue index 3d1c9ba5..f671c51c 100644 --- a/src/views/Outsourcing/PreorderAssociation/index.vue +++ b/src/views/Outsourcing/PreorderAssociation/index.vue @@ -207,6 +207,7 @@ export default { this.tableData2 = [] this.index2 = row.index searchTable2(row.工艺计划流水号).then(response => { + // 工序流水号 206794 工序状态 null this.num1 = row.工艺计划流水号 if (response.data.length === 0) { this.loading0 = false @@ -219,9 +220,9 @@ export default { } } for (let i = 0; i < response.data.length; i++) { - response.data[i].机加工开始时间 = response.data[i].机加工开始时间.split(' ')[0] - response.data[i].机加工结束时间 = response.data[i].机加工结束时间.split(' ')[0] - response.data[i].计划日期 = response.data[i].计划日期.split(' ')[0] + response.data[i].机加工开始时间 ? response.data[i].机加工开始时间.split(' ')[0] : '' + response.data[i].机加工结束时间 ? response.data[i].机加工结束时间.split(' ')[0] : '' + response.data[i].计划日期 ? response.data[i].计划日期 = response.data[i].计划日期.split(' ')[0] : '' } this.tableData2 = response.data }