diff --git a/src/pages/mes/workScheduling/callMaterial.vue b/src/pages/mes/workScheduling/callMaterial.vue index 4c341d8..aed1668 100644 --- a/src/pages/mes/workScheduling/callMaterial.vue +++ b/src/pages/mes/workScheduling/callMaterial.vue @@ -59,7 +59,7 @@ const status = ref('loadmore') //是否显示没有更多了 const workingNodeStr = ref('') const planMasterCodeStr = ref('') const schedulingCodeStr = ref('') -const planCountStr = ref('') +const planCountStr = ref() const workroomCodeStr = ref('') const list = ref([]) diff --git a/src/pages/mes/workScheduling/workScheduling.vue b/src/pages/mes/workScheduling/workScheduling.vue index 3fa8152..dd49b39 100644 --- a/src/pages/mes/workScheduling/workScheduling.vue +++ b/src/pages/mes/workScheduling/workScheduling.vue @@ -328,7 +328,8 @@ status.value = 'loading' getViewList() } - else { + + if (falg.value == 'call') { status.value = 'loading' getRequestList() } @@ -394,7 +395,7 @@ tabParams.value.flagDo = ''; current.value = index; tabParams.value.pageNo = 1; - + falg.value == 'tab' switch (index) { case 0: tabParams.value.status = ''; @@ -410,6 +411,7 @@ tabParams.value.status = '1'; break; case 4: + falg.value == 'call' list.value = []; status.value = 'loading'; tabParams.value.status = '0';