From 187cd383e4362059795d0f48b96ca0037f19da6d Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期五, 12 一月 2024 10:56:19 +0800 Subject: [PATCH] 包装台账修改 --- src/views/quality/Packaging_ledger/index.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/views/quality/Packaging_ledger/index.vue b/src/views/quality/Packaging_ledger/index.vue index 9427849..1e66617 100644 --- a/src/views/quality/Packaging_ledger/index.vue +++ b/src/views/quality/Packaging_ledger/index.vue @@ -183,7 +183,6 @@ multipleSelection: [], isCheck: false, dataway:{}, - goid:'', datalist:[], testStandardParams: [], packageBoxId:{}, @@ -345,6 +344,8 @@ } }, methods: { + //鍖呰璇︽儏 + //鎵撳嵃鎸夐挳 printFun() { this.diaPrintTab = false; @@ -374,7 +375,6 @@ }, handleSelectionChange(val){ this.multipleSelection = val - console.log(this.multipleSelection[0].id,"鏁版嵁"); let lastRow = val[val.length - 1] this.handleCurrentChange(lastRow) }, @@ -412,18 +412,19 @@ }) }, handleCurrentChange(row){ - if(row.state=='宸叉姤妫�'){ + if(row.state=='鏈姤妫�'){ + this.isCheck = false + }else{ this.isCheck = true } this.dataway = row this.packageBoxId = { packageBoxId:row.id } - this.goid = row.id this.rightquery() }, rightquery(){ - list({packageBoxId:this.goid}).then((res) =>{ + list({packageBoxId:this.packageBoxId.packageBoxId}).then((res) =>{ this.testStandardParams = res.data.data }) }, @@ -443,7 +444,7 @@ //鍙宠竟淇濆瓨 addpreserve(){ this.datalist.forEach(el => { - el.packageBoxId =this.goid + el.packageBoxId =this.packageBoxId.packageBoxId }); console.log(this.datalist); // return -- Gitblit v1.9.3