From c0dd890daf44e2ca6a719dd637dc57cdd00ba7d2 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Mon, 25 Mar 2024 11:54:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E5=B7=A5=E7=BB=84=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B911?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/reportWork/index.vue | 2 +- src/views/mes/reportWork/selectMaterial.vue | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/mes/reportWork/index.vue b/src/views/mes/reportWork/index.vue index e44e4af..f5ed8f8 100644 --- a/src/views/mes/reportWork/index.vue +++ b/src/views/mes/reportWork/index.vue @@ -1574,7 +1574,7 @@ export default { } this.$refs.itemSelectNewPrepare.showFlag = true; - this.$refs.itemSelectNewPrepare.init(rows[0].workorderCode); + this.$refs.itemSelectNewPrepare.init(rows[0].workorderCode,this.selectRow[0].workorderCode); }, //物料损耗表格--新增确认 onSelectNewPrepare(obj) { diff --git a/src/views/mes/reportWork/selectMaterial.vue b/src/views/mes/reportWork/selectMaterial.vue index 67e5fe1..0b46c52 100644 --- a/src/views/mes/reportWork/selectMaterial.vue +++ b/src/views/mes/reportWork/selectMaterial.vue @@ -111,7 +111,8 @@ export default { component : '', componentName : '', productGroupName:'', - workorderCode:'' + workorderCode:'', + parentOrder:'' }, selectionRows:[] }; @@ -127,9 +128,10 @@ export default { return cellValue.slice(7,18); //返回值 } }, - init(workorderCode){ + init(workorderCode,parentOrder){ this.workorderCode = workorderCode; this.queryParams.workorderCode = this.workorderCode; + this.queryParams.parentOrder = parentOrder; this.getList(); }, /** 查询表格列表*/