From 8a4ff541849f5cb1255ad79928c873b3a7e9f635 Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期三, 26 三月 2025 17:54:32 +0800
Subject: [PATCH] 11

---
 src/views/system/comp/index.vue |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/src/views/system/comp/index.vue b/src/views/system/comp/index.vue
index 2e9b8d3..c4f13cb 100644
--- a/src/views/system/comp/index.vue
+++ b/src/views/system/comp/index.vue
@@ -329,7 +329,7 @@
 
           <el-col :span="15" :xs="24">
             <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="46px"
-              style="height: 35px" @submit.native.prevent>
+              style="height: 50px" @submit.native.prevent>
               <el-form-item label="鍘熶环">
                 <el-input ref="inputName" v-model="queryParams.price" placeholder="鍚堣" clearable style="width: 140px" />
               </el-form-item>
@@ -345,7 +345,7 @@
                 <el-button icon="el-icon-refresh" size="mini" @click="resetQuerys">閲嶇疆</el-button>
               </el-form-item>
             </el-form>
-            <el-table border v-loading="loading" :data="OnenewpacName" :row-class-name="tableRowClassName" height="478">
+            <el-table border v-loading="loading" :data="OnenewpacName" :row-class-name="tableRowClassName" height="478" :cell-style="{ padding: '5px 0' }">
               <el-table-column label="椤圭洰鍚嶇О" align="center" prop="proName" width="410">
 
                 <template slot-scope="scope">
@@ -357,7 +357,7 @@
                 <template slot-scope="scope">
                   <!-- 鍙緭鍏ョ函鏁板瓧鎶樻墸 -->
                   <el-input-number v-model.number="scope.row.limits" @input="validateDiscount(scope.row)"
-                    @change="handleManualChange(scope.row)" placeholder="杈撳叆鎶樻墸" size="small" type="number" :min="0"
+                    @change="handleManualChange(scope.row)" placeholder="杈撳叆鎶樻墸" size="mini" type="number" :min="0"
                     :step="0.1" :precision="1" :max="20">
                   </el-input-number>
                 </template>
@@ -373,7 +373,7 @@
             <div style="font-size: 16px;margin-top: 10px;">褰撳墠椤圭洰鏉℃暟锛�<span style="font-weight: 700;">{{ OnenewpacName.length }}</span>鏉�</div>
       
           </el-col>
-          <el-col :span="2" :xs="24">
+          <!-- <el-col :span="2" :xs="24">
             <div style="margin: 240% 16%" class="btntoleft">
               <el-button type="primary" size="medium"
                 style="writing-mode: vertical-rl; text-align: center; letter-spacing: 5px;" @click="resetright">
@@ -382,7 +382,7 @@
                 <i class="el-icon-back"></i>
               </el-button>
             </div>
-          </el-col>
+          </el-col> -->
           <el-col :span="7" :xs="24">
             <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"
               label-width="68px" @submit.native.prevent>
@@ -444,7 +444,7 @@
                 <el-button icon="el-icon-refresh" size="mini" @click="resetQuerys">閲嶇疆</el-button>
               </el-form-item>
             </el-form>
-            <el-table border v-loading="loading" :data="OnenewpacName" :row-class-name="tableRowClassName" height="478">
+            <el-table border v-loading="loading" :data="OnenewpacName" :row-class-name="tableRowClassName" height="478" :cell-style="{ padding: '5px 0' }">
               <el-table-column label="椤圭洰鍚嶇О" align="center" prop="proName" width="170">
 
                 <template slot-scope="scope">
@@ -462,13 +462,13 @@
             <div style="font-size: 16px;margin-top: 10px;">褰撳墠椤圭洰鏉℃暟锛�<span style="font-weight: 700;">{{ OnenewpacName.length }}</span>鏉�</div>
            
           </el-col>
-          <el-col :span="2" :xs="24">
+          <!-- <el-col :span="2" :xs="24">
             <div style="margin: 240% 16%">
               <el-button type="primary" size="medium " icon="el-icon-back"
                 style="writing-mode: vertical-rl; text-align: center;letter-spacing: 10px;" @click="resetright">纭�
                 璁�</el-button>
             </div>
-          </el-col>
+          </el-col> -->
           <el-col :span="8" :xs="24">
             <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch"
               label-width="68px" @submit.native.prevent>
@@ -1127,6 +1127,7 @@
     handleChangesingle(selection) {
       if (selection) {
         this.dataList = selection;
+        this.resetright()
       }
     },
     resetright() {
@@ -1617,7 +1618,7 @@
 }
 
 ::v-deep .el-dialog {
-  height: 750px;
+  // height: 750px;
   overflow-y: auto;
 }
 

--
Gitblit v1.8.0