From 51a5bfdebc3db369444ba23df9145c8b12384d16 Mon Sep 17 00:00:00 2001 From: TengXF <302828528@qq.com> Date: Fri, 24 May 2024 09:52:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20update=20=E6=90=9C=E7=B4=A2=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/mes/orderDayPlan/orderDayPlan.vue | 17 +++++++---------- src/pages/mes/workScheduling/workScheduling.vue | 2 +- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/pages/mes/orderDayPlan/orderDayPlan.vue b/src/pages/mes/orderDayPlan/orderDayPlan.vue index d8a9be8..18bf4dd 100644 --- a/src/pages/mes/orderDayPlan/orderDayPlan.vue +++ b/src/pages/mes/orderDayPlan/orderDayPlan.vue @@ -2,8 +2,8 @@ - + @@ -129,7 +129,8 @@ const tabParams = ref({ pageNo: 1, pageSize: 10, status: '', - flag: null + flag: null, + planNoDay:'' }) function stopPlan(item){ @@ -248,14 +249,10 @@ const searchTableParams = ref({ flag: null }) -async function searchTable() { +function searchTable() { list.value = [] - searchTableParams.value.planNoDay = this.searchValue - await orderDayPlanListApi.getOrderDayPage(searchTableParams.value).then((res) => { - if (res.data.list.length > 0) { - list.value = list.value.concat(res.data.list) - } - }) + tabParams.value.pageNo = 1 + getTabsList() } diff --git a/src/pages/mes/workScheduling/workScheduling.vue b/src/pages/mes/workScheduling/workScheduling.vue index 2fcddf5..5bc2c86 100644 --- a/src/pages/mes/workScheduling/workScheduling.vue +++ b/src/pages/mes/workScheduling/workScheduling.vue @@ -398,7 +398,7 @@ switch (index) { case 0: tabParams.value.status = ''; - tabParams.value.planMasterCode = '' + // tabParams.value.planMasterCode = '' break; case 1: tabParams.value.status = '-1';