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() })