From d8d2a594ea59f0cc1554c4304214514f801c375c Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Wed, 11 Dec 2024 17:02:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E9=A5=B0=E5=AE=A1=E6=A0=B8=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../repair/scrapManage/component/homeApply.vue | 16 ++++++++-------- src/views/material/repair/scrapManage/index.vue | 4 ++-- .../testExamine/component/addToolsApply.vue | 5 +++-- src/views/material/repair/testExamine/index.vue | 3 +-- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/views/material/repair/scrapManage/component/homeApply.vue b/src/views/material/repair/scrapManage/component/homeApply.vue index 39d5fa6b..4d8b90e5 100644 --- a/src/views/material/repair/scrapManage/component/homeApply.vue +++ b/src/views/material/repair/scrapManage/component/homeApply.vue @@ -65,7 +65,7 @@ - + + { - // this.typeList = response.rows; - // this.total = response.total; + getListTestExamineApply(this.addDateRange(params)).then((response) => { + this.typeList = response.rows; + this.total = response.total; this.loading = false; - // }); + }); }, /** 搜索按钮操作 */ handleQuery() { diff --git a/src/views/material/repair/scrapManage/index.vue b/src/views/material/repair/scrapManage/index.vue index 7d3ea7d7..8c2fdaea 100644 --- a/src/views/material/repair/scrapManage/index.vue +++ b/src/views/material/repair/scrapManage/index.vue @@ -38,7 +38,7 @@ export default { data() { return { isShowComponent: "Home", - pageContent: "领料申请", + pageContent: "报废审核", isEdit: false, editTaskId: "", editId: "", @@ -54,7 +54,7 @@ export default { /* 编辑工机具 */ addTools(taskId, id,row) { this.isEdit = true; - this.pageContent = "审核"; + this.pageContent = "报废审核"; this.queryTaskId = taskId; this.queryId = id; this.param = row; diff --git a/src/views/material/repair/testExamine/component/addToolsApply.vue b/src/views/material/repair/testExamine/component/addToolsApply.vue index 77cd7ef8..a8d32e86 100644 --- a/src/views/material/repair/testExamine/component/addToolsApply.vue +++ b/src/views/material/repair/testExamine/component/addToolsApply.vue @@ -276,15 +276,16 @@ export default { selection.forEach((item) => { this.passTemp.push({ id: item.id, status: "1",specificationType: item.specificationType,machineTypeName:item.machineTypeName, unitName:item.unitName,repairNum:item.repairNum,repairedNum:item.repairedNum,typeId:item.typeId,taskId:item.taskId, - auditId:row.id,repairId:row.repairId,maId:row.maId, }); + auditId:item.id,repairId:item.repairId,maId:item.maId, }); }); selection.forEach((item) => { this.failTemp.push({ id: item.id, status: "2",specificationType: item.specificationType,machineTypeName:item.machineTypeName, unitName:item.unitName,repairNum:item.repairNum,repairedNum:item.repairedNum,typeId:item.typeId,taskId:item.taskId, - auditId:row.id,repairId:row.repairId,maId:row.maId, }); + auditId:item.id,repairId:item.repairId,maId:item.maId, }); }); this.single = selection.length != 1; this.multiple = !selection.length; + console.log(this.multiple) }, //获取任务详情-列表数据 getTaskInfo() { diff --git a/src/views/material/repair/testExamine/index.vue b/src/views/material/repair/testExamine/index.vue index 9280bab7..9e2078ec 100644 --- a/src/views/material/repair/testExamine/index.vue +++ b/src/views/material/repair/testExamine/index.vue @@ -16,8 +16,7 @@ :param="param" :isView="isView" :codingTaskId="codingTaskId" - @addTools="addTools" - @editTools="editTools" + @addTools="addTools" @queryTools="queryTools" />