From feb27fa5e644037f042b2b6a5893189cdadc4ac8 Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期一, 22 一月 2024 10:15:51 +0800 Subject: [PATCH] modified: src/page/PackingLedgerDetails/index.vue modified: src/views/quality/Packaging_ledger/index.vue --- src/page/PackingLedgerDetails/index.vue | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/page/PackingLedgerDetails/index.vue b/src/page/PackingLedgerDetails/index.vue index 70e5bfd..28b7c71 100644 --- a/src/page/PackingLedgerDetails/index.vue +++ b/src/page/PackingLedgerDetails/index.vue @@ -1,6 +1,6 @@ <template> - <div > - <el-card class="box-card" v-for="(el,item) in testStandardParams" > + <div class="app"> + <el-card class="card" v-for="(el,item) in testStandardParams" > <div> <el-form :model="el" label-width="80px"> <el-form-item label="搴忓彿:"> @@ -53,11 +53,10 @@ }, created() { let aa = this.$route.query - console.log(this.$route.query,"id"); - this.chuaxun(aa) + this.details(aa) }, methods: { - chuaxun(aa){ + details(aa){ selById({id:aa.id}).then((res) =>{ this.testStandardParams = res.data.data }) @@ -68,7 +67,12 @@ </script> <style> -.box-card{ +.app{ + /* position: relative; */ + height: 100%; + overflow: auto; +} +.card{ margin: 20px; border-radius: 40px; } -- Gitblit v1.9.3