Просмотр исходного кода

费用审核增加入口手续费比例查看

@dongkboy 3 месяцев назад
Родитель
Сommit
6181710a61
1 измененных файлов с 10 добавлено и 3 удалено
  1. 10 3
      src/views/quoteConfig/agreement/components/ruleFeeDialogEdit.vue

+ 10 - 3
src/views/quoteConfig/agreement/components/ruleFeeDialogEdit.vue

@@ -1,7 +1,7 @@
 <!-- 模板区域 -->
 <template>
   <div>
-    <el-drawer v-model="props.ruleFeeVisible" :direction="direction" :close-on-click-modal="true" size="57%" @close="close">
+    <el-drawer v-model="props.ruleFeeVisible" :direction="direction" :close-on-click-modal="true" size="62%" @close="close">
       <template #header>
         <h4>{{ props.headerTitle }}{{ props.titleType || '费用编辑' }}</h4>
       </template>
@@ -95,7 +95,14 @@
               </div>
             </template>
             <el-table-column prop="costType" label="类型"></el-table-column>
-            <el-table-column prop="inlet" label="入口比例" width="180" align="center">
+            <el-table-column prop="costType" label="入口手续费比例" width="150" align="center" v-if="costitemEditInfo.jqEntranceFeeRatio  || costitemEditInfo.syEntranceFeeRatio || costitemEditInfo.jyEntranceFeeRatio">
+              <template #default="scope">
+                  <span v-if="scope.$index == 0">{{costitemEditInfo.jqEntranceFeeRatio}}%</span>
+                  <span v-if="scope.$index == 1">{{costitemEditInfo.syEntranceFeeRatio}}%</span>
+                  <span v-if="scope.$index == 2">{{costitemEditInfo.jyEntranceFeeRatio}}%</span>
+              </template>
+            </el-table-column>
+            <el-table-column prop="inlet" label="入口比例" width="160" align="center">
               <template #default="scope">
                 <el-input-number v-model="scope.row.inlet" :disabled="disabledShow" :precision="2"
                   controls-position="right" style="width: 100%;" :min="0" :max="100" @change="handelRK(scope)">
@@ -103,7 +110,7 @@
                 </el-input-number>
               </template>
             </el-table-column>
-            <el-table-column prop="export" label="出口比例" width="180" align="center">
+            <el-table-column prop="export" label="出口比例" width="160" align="center">
               <template #default="scope">
                 <el-input-number v-model="scope.row.export" :disabled="disabledShow" :precision="2"
                   controls-position="right" style="width: 100%;" :min="0" :max="100" @change="handelCK(scope)">