From df85764203947543c0ced0a0cdf8b7299f6b40ff Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期二, 28 五月 2024 13:28:22 +0800
Subject: [PATCH] 优化
---
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