From a1b85ef72062ca80db35546e4216dd564f3e0f57 Mon Sep 17 00:00:00 2001 From: WangHan <wwh_work@126,com> Date: 星期四, 03 四月 2025 15:58:19 +0800 Subject: [PATCH] 问题与漏洞修改 --- admin-web/src/views/dashboard/index.vue | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/admin-web/src/views/dashboard/index.vue b/admin-web/src/views/dashboard/index.vue index e210eb0..c22c2a6 100644 --- a/admin-web/src/views/dashboard/index.vue +++ b/admin-web/src/views/dashboard/index.vue @@ -13,7 +13,7 @@ </el-radio-group> <div class="to-more" @click="nav('/stock/transfer/transferissue')">鏌ョ湅鏇村 ></div> </div> - <el-table v-loading="waitLoading" :data="waitWorkData" class="top-tb" height="265" :show-header="false" + <el-table v-loading="waitLoading" :data="waitWorkData" class="top-tb" height="220" :show-header="false" size="medium"> <el-table-column prop="businessFormCode" align="center" width="130"></el-table-column> <el-table-column prop="inWarehouseName" align="left" min-width="130"> @@ -34,7 +34,7 @@ </el-table-column> <el-table-column prop="date" label="鎿嶄綔" fixed="right" align="center" width="80"> <template slot-scope="scope"> - <el-button @click.native.prevent="aduitThis(scope.row)" size="mini" type="primary">澶勭悊</el-button> + <el-button style="padding: 4px 15px" @click.native.prevent="aduitThis(scope.row)" size="mini" type="primary">澶勭悊</el-button> </template> </el-table-column> <el-empty slot="empty" description="鏆傛棤鏁版嵁"></el-empty> @@ -54,7 +54,7 @@ </el-radio-group> <div class="to-more" @click="nav('/stock/ledger/alertQuery')">鏌ョ湅鏇村 ></div> </div> - <el-table v-loading="earlyLoading" :data="earlyWarningData" class="top-tb" height="265" :show-header="false" + <el-table v-loading="earlyLoading" :data="earlyWarningData" class="top-tb" height="220" :show-header="false" size="medium"> <el-table-column prop="baseGoodsTemplateName" align="left" min-width="130"> <template slot-scope="{row}"> @@ -185,7 +185,10 @@ this.getAuditList() this.getWarningList() getGoodsNumPrice().then(res => { - this.goodsNumPrice = res + if(res){ + this.goodsNumPrice = res + } + }) }, methods: { @@ -334,9 +337,10 @@ .total-item { width: 19%; padding: 12px 20px; - border-radius: 8px; + border-radius: 4px; margin-right: 1%; background-color: #FFFFFF; + border-left: 4px solid #fb6260; } .total-item:last-child { -- Gitblit v1.9.1