From 86b785a72acce757a5e752302427028f62b7c04d Mon Sep 17 00:00:00 2001 From: gaojs <757918719@qq.com> Date: Fri, 10 May 2024 15:37:05 +0800 Subject: [PATCH] =?UTF-8?q?MES=E2=80=94=E2=80=94>=20PDA=E6=8A=A5=E5=B7=A5?= =?UTF-8?q?=E8=B4=A8=E6=A3=80=E6=8C=89=E9=92=AE=E6=98=AF=E5=90=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workScheduling/workSchedulingDetail.vue | 60 +++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/src/pages/mes/workScheduling/workSchedulingDetail.vue b/src/pages/mes/workScheduling/workSchedulingDetail.vue index 8323a3e..baa8171 100644 --- a/src/pages/mes/workScheduling/workSchedulingDetail.vue +++ b/src/pages/mes/workScheduling/workSchedulingDetail.vue @@ -1,77 +1,78 @@ @@ -120,7 +121,6 @@ const list = ref([]) const current = ref(0) const schedulingId = ref('') - const params = ref({ schedulingCode: '', nodeCode: '' @@ -132,10 +132,10 @@ function getWorkSchedulingDetail() { proxy.$modal.loading('加载中') workSchedulingListApi.getWorkSchedulingDetail(params.value).then((res) => { proxy.$modal.closeLoading() - data.value = res.data - // if (res.data.length > 0) { - // list.value = list.value.concat(res.data) - // } + + if (res.data.length > 0) { + list.value = list.value.concat(res.data) + } }).catch(() => { proxy.$modal.closeLoading() })