From 373e1b24c1444c17f365f5a3185aea0016a1c01d Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Mon, 23 Mar 2020 17:36:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=8F=E9=97=B4=E5=A4=96=E5=8D=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Outsourcing/PreorderAssociation/index.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 }