Browse Source

Merge branch 'develop_cuxiao' of http://git.chelingzhu.com/jianguan-web/jg-ocs-html into develop_cuxiao

lilei 1 year ago
parent
commit
77a5707ad1
1 changed files with 12 additions and 4 deletions
  1. 12 4
      src/views/promotionRulesManagement/dealerPromotions/detail.vue

+ 12 - 4
src/views/promotionRulesManagement/dealerPromotions/detail.vue

@@ -17,12 +17,10 @@
           <a-descriptions-item label="促销简称">{{ detailData.description || '--' }}</a-descriptions-item>
           <a-descriptions-item label="促销时间" v-if="detailData.promotionDateStart&& detailData.promotionDateEnd">{{ detailData.promotionDateStart }}-{{ detailData.promotionDateEnd }}</a-descriptions-item>
           <a-descriptions-item label="促销时间" v-else>--</a-descriptions-item>
-
           <a-descriptions-item label="费用所属部门">{{ detailData.expenseDepartmentName || '--' }}</a-descriptions-item>
-          <a-descriptions-item label="参与客户"><div @click="handleSee">共<span class="link-bule">{{ detailData.dealerQty }}</span>个</div></a-descriptions-item>
-
+          <a-descriptions-item label="参与客户" :span="2"><div @click="handleSee">共<span class="link-bule">{{ detailData.dealerQty }}</span>个</div></a-descriptions-item>
           <a-descriptions-item label="促销描述" :span="2">
-            <div>{{ detailData.content || '' }}</div>
+            <div class="descItem">{{ detailData.content || '' }}</div>
           </a-descriptions-item>
           <a-descriptions-item label="附件" :span="2">
             <div class="attachmentBox" v-if="detailData.attachmentList&&detailData.attachmentList.length>0">
@@ -328,5 +326,15 @@ export default {
     .attachmentBox>a:last-child::after{
       content:''
     }
+    /deep/.ant-descriptions-item-label .ant-descriptions-item-colon{
+       display:inline-block !important;
+       vertical-align: top;
+       max-width:10%;
+    }
+     /deep/.ant-descriptions-item-content{
+      display:inline-block !important;
+      max-width:89%;
+      vertical-align: top;
+    }
   }
 </style>