Преглед изворни кода

1.table列单独的样式添加
2.项目的币种渲染

chenj пре 1 месец
родитељ
комит
64e2463d5b
1 измењених фајлова са 7 додато и 6 уклоњено
  1. 7 6
      ruoyi-ui-vue2/src/views/crmManagement/project/view.vue

+ 7 - 6
ruoyi-ui-vue2/src/views/crmManagement/project/view.vue

@@ -443,7 +443,7 @@
               <div class="card-item follow-list">
                 <div style="height: 22px;margin-bottom: 20px;">{{ $t('account.follow') }}</div>
                 <el-table :data="followList" border v-loading="followLoading" height="33vh" max-height="70%"
-                          :header-cell-style="{ background: '#F4F6F8', color: '#92A2B5' }">
+                          :header-cell-style="{ background: '#F4F6F8', color: '#92A2B5' }" class="custom-table">
                   <el-table-column label="No" type="index" width="50" align="center" />
                   <!-- <el-table-column :label="$t('follow.followNo')" prop="followNo" width="200px"></el-table-column> -->
                   <el-table-column :label="$t('follow.followTime')" prop="followTime" width="150px">
@@ -457,7 +457,7 @@
                   <!-- <el-table-column prop="createByName" :label="$t('account.followPerson')" show-overflow-tooltip
                                    width="120px"></el-table-column> -->
                   <el-table-column :label="$t('follow.followDesc')" prop="followDesc" width="200" show-overflow-tooltip></el-table-column>
-                  <el-table-column fixed="right" :label="$t('common.operate')" align="center">
+                  <el-table-column fixed="right" :label="$t('common.operate')" align="center" >
                     <template slot-scope="{ row }">
                       <el-button size="small" type="text" @click.native.prevent="handleViewFollow(row)">
                         {{ $t('common.view') }}
@@ -473,14 +473,14 @@
               <div class="card-item quotation-list">
                 <div style="margin-bottom: 20px;">{{ $t('engineering.quotation') }}</div>
                 <el-table :data="quotationList" height="33vh" border row-key="id" children="children"
-                          :header-cell-style="{ background: '#F4F6F8', color: '#92A2B5' }">
+                          :header-cell-style="{ background: '#F4F6F8', color: '#92A2B5' }" class="custom-table">
                   <!--<el-table-column label="No" type="index" width="50" align="center" />-->
                   <!--报价编号-->
                   <Column :label="$t('quotation.quotationNo')" prop="quotationNo" :min-width="200"/>
                   <!--版本号-->
                   <Column :label="$t('common.version')" prop="version"/>
                   <!--币种-->
-                  <Column :label="$t('project.currency')" prop="currencyId" width="200px"/>
+                  <Column :label="$t('project.currency')" prop="currencyId" width="200px" searchType="select" :searchDict="dict.type.currency_type"/>
                   <!--梯形-->
                   <Column :label="$t('quotation.suitModel')" prop="elevatorModel"/>
                   <!--报价者-->
@@ -518,7 +518,7 @@
               <div class="card-item plot-list">
                 <div style="margin-bottom: 20px;">{{ $t('engineering.associatedPlot') }}</div>
                 <el-table :data="engineeringList" height="33vh" border
-                          :header-cell-style="{ background: '#F4F6F8', color: '#92A2B5' }">
+                          :header-cell-style="{ background: '#F4F6F8', color: '#92A2B5' }" class="custom-table">
                   <el-table-column label="No" type="index" width="50" align="center" />
                   <Column :label="$t('engineering.no')" prop="civilEngineeringNo" width="200px"/>
                   <Column :label="$t('quotation.quotationNo')" prop="quotationNo" width="200px"/>
@@ -1564,9 +1564,10 @@ export default {
 
 
 //表头fixed列导致的不整洁
-::v-deep  .el-table--medium .el-table__cell{
+::v-deep  .custom-table.el-table--medium .el-table__cell{
   padding: 0px !important;
 }
 
+
 </style>