Browse Source

账户流水明细样式调整

qymljy 1 year ago
parent
commit
92be97c5f1
1 changed files with 11 additions and 11 deletions
  1. 11 11
      src/HDrpManagement/AccountMoney/modules/detail.vue

+ 11 - 11
src/HDrpManagement/AccountMoney/modules/detail.vue

@@ -1,10 +1,10 @@
 <template>
   <div>
     <el-button size="mini" type="text" @click="editBtn">明 细</el-button>
-    <el-drawer title="账户流水明细" append-to-body :visible.sync="dialogFormVisible" size="1300px">
+    <el-drawer title="账户流水明细" append-to-body :visible.sync="dialogFormVisible" size="60%">
       <div class="container">
         <el-input type="text" size="small" class="inline-16" style="width:200px;margin-bottom:10px" clearable @clear="getList" v-model="params.content.where.condition" placeholder="请输入搜索内容" @keyup.native.enter="getList(params.content.pageNumber=1)"></el-input>
-        <tableLayout :layout="tablecols" :data="list" :opwidth="200" :custom="true" :fixedName="'operation'" height="600px">
+        <tableNewLayout :layout="tablecols" :data="list" :opwidth="200" :custom="true" :width="true" :fixedName="'operation'" height="calc(100vh - 195px)">
           <template v-slot:customcol="scope">
             <div v-if="scope.column.columnname == 'type'">
               <span>{{scope.column.data[[scope.column.columnname]] ? '收入' : '支出'}}</span>
@@ -15,16 +15,16 @@
           </template>
           <template v-slot:opreation="scope">
             <editPrice v-if="tool.checkAuth($route.name,'update')" class="inline-16" :data="scope.data"/>
-            <delete-btn 
-              @deleteCreate="deleteCreate" 
-              v-if="tool.checkAuth($route.name,'delete')" 
-              :id="scope.data.sa_itempriceadjust_itemsid" 
-              @deleteSuccess="$refs.basicLayout.listData()" 
-              nameId="20221025095404" 
+            <delete-btn
+              @deleteCreate="deleteCreate"
+              v-if="tool.checkAuth($route.name,'delete')"
+              :id="scope.data.sa_itempriceadjust_itemsid"
+              @deleteSuccess="$refs.basicLayout.listData()"
+              nameId="20221025095404"
               nameKey="sa_itempriceadjust_itemsids"
             />
           </template>
-        </tableLayout>
+        </tableNewLayout>
         <div style="margin-top:16px;text-align:right">
           <el-pagination
             background
@@ -40,7 +40,7 @@
       </div>
 
     </el-drawer>
-    
+
   </div>
 </template>
 
@@ -103,4 +103,4 @@ export default {
 
 <style scoped>
 
-</style>
+</style>