From 56b14926dc576ea94fac93872553bf0a2c6e72ef Mon Sep 17 00:00:00 2001 From: TengXF <302828528@qq.com> Date: Thu, 23 May 2024 13:20:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20update=20bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mes/workScheduling/addBasicItem/index.vue | 2 +- .../mes/workScheduling/inspectionItems.vue | 18 +++++++++--------- src/pages/mes/workScheduling/waitQuality.vue | 5 ++--- src/pages/mes/workScheduling/waitReport.vue | 4 ++-- .../mes/workScheduling/workScheduling.vue | 4 +--- 5 files changed, 15 insertions(+), 18 deletions(-) diff --git a/src/pages/mes/workScheduling/addBasicItem/index.vue b/src/pages/mes/workScheduling/addBasicItem/index.vue index 211a01c..f7c81ed 100644 --- a/src/pages/mes/workScheduling/addBasicItem/index.vue +++ b/src/pages/mes/workScheduling/addBasicItem/index.vue @@ -211,7 +211,7 @@ } }) onShow(() => { - getDictInfo() + // getDictInfo() getBasicItem() }) onReachBottom(() => { diff --git a/src/pages/mes/workScheduling/inspectionItems.vue b/src/pages/mes/workScheduling/inspectionItems.vue index 820a85c..81a524f 100644 --- a/src/pages/mes/workScheduling/inspectionItems.vue +++ b/src/pages/mes/workScheduling/inspectionItems.vue @@ -1,6 +1,6 @@ diff --git a/src/pages/mes/workScheduling/waitQuality.vue b/src/pages/mes/workScheduling/waitQuality.vue index bf000f7..0189969 100644 --- a/src/pages/mes/workScheduling/waitQuality.vue +++ b/src/pages/mes/workScheduling/waitQuality.vue @@ -65,8 +65,8 @@ const showWorker = ref(false) const workerList = ref([]) const nodeInfo = ref({ - planDayCode:'PO20240430-0011', - processCode:'QD_CY_01' + planDayCode:'', + processCode:'' }) const planCount = ref(100) const saveData = ref({ @@ -152,7 +152,6 @@ onLoad((option) => { if (option.obj) { paramData.value = JSON.parse(decodeURIComponent(option.obj)); // 将字符串转换为对象并存入paramData - console.log(paramData.value) nodeInfo.value.planDayCode = paramData.value.planNoDay nodeInfo.value.processCode = paramData.value.nodeCode saveData.value.processCode = paramData.value.nodeCode diff --git a/src/pages/mes/workScheduling/waitReport.vue b/src/pages/mes/workScheduling/waitReport.vue index e6f2556..fee0f50 100644 --- a/src/pages/mes/workScheduling/waitReport.vue +++ b/src/pages/mes/workScheduling/waitReport.vue @@ -90,8 +90,8 @@ const workerList = ref([]) const typeList = ref([{label:'是',value: '1'},{label:'否',value: '2'}]) const nodeInfo = ref({ - planDayCode:'PO20240430-0011', - processCode:'QD_CY_01' + planDayCode:'', + processCode:'' }) const rekey=ref(0) //变更计数器 const Quakey = ref(0) diff --git a/src/pages/mes/workScheduling/workScheduling.vue b/src/pages/mes/workScheduling/workScheduling.vue index 1d595ae..a83ef08 100644 --- a/src/pages/mes/workScheduling/workScheduling.vue +++ b/src/pages/mes/workScheduling/workScheduling.vue @@ -449,7 +449,6 @@ }) async function searchTable() { - console.log(searchValue.value) // tabParams.value.planMasterCode = searchValue.value list.value = [] tabParams.value.pageNo = 1 @@ -547,7 +546,6 @@ planCount:item.planCount } const objString = JSON.stringify(getParams); - console.log(objString) proxy.$tab.navigateTo(`/pages/mes/workScheduling/waitQuality?obj=${encodeURIComponent(objString)}`) } @@ -587,7 +585,7 @@ //SOP文件预览 function SOP(item) { - workSchedulingListApi.getWorkSchedulingPDF(JSON.stringify(item.planMasterCode)).then((res) => { + workSchedulingListApi.getWorkSchedulingPDF(item.planMasterCode).then((res) => { //加逻辑 }).catch(() => {