Quellcode durchsuchen

fix(查看):查看

sufan vor 2 Wochen
Ursprung
Commit
0321c6ade2

+ 2 - 1
src/views/capitalManage/components/RateConfig.vue

@@ -2,7 +2,7 @@
   <div class="rate-config">
     <cy-info-title style="margin-top: 10px; margin-bottom: 10px">
       <div>授信基本信息</div>
-      <div slot="right">
+      <div v-if="!disabled" slot="right">
         <el-button
           type="primary"
           @click="handlerOperate('add')"
@@ -118,6 +118,7 @@ export default {
         },
         {
           label: '操作',
+          show: this.disabled,
           render: (h, row, index) => {
             const btnList = [
               {

+ 3 - 0
src/views/capitalManage/details.vue

@@ -5,17 +5,20 @@
     <credit-info
       ref="creditInfoRef"
       :details-info="detailsInfo"
+      :disabled="$route.query.type === 'see'"
       @capitalFinancingTermBlur="capitalFinancingTermBlur"
     ></credit-info>
     <letters-info
       ref="lettersInfoRef"
       :details-info="detailsInfo"
+      :disabled="$route.query.type === 'see'"
       @financingRateBlur="financingRateBlur"
     ></letters-info>
     <rate-config
       ref="rateConfigRef"
       :details-info="detailsInfo"
       :financing-rate="financingRate || detailsInfo.financingRate"
+      :disabled="$route.query.type === 'see'"
     ></rate-config>
     <div class="submit-btn">
       <el-button @click="$router.go(-1)">关闭</el-button>