@dongkboy vor 3 Monaten
Ursprung
Commit
ccc83c75a8

+ 2 - 1
src/views/quoteConfig/agreement/components/ruleFeeDialogEdit.vue

@@ -3,7 +3,7 @@
   <div>
     <el-drawer v-model="props.ruleFeeVisible" :direction="direction" :close-on-click-modal="true" size="57%" @close="close">
       <template #header>
-        <h4>{{ props.headerTitle }}费用编辑</h4>
+        <h4>{{ props.headerTitle }}{{ props.titleType || '费用编辑' }}</h4>
       </template>
       <template #default>
         <div class="rejectionReason flex a-start" v-if="costitemEditInfo.reviewDescription">
@@ -187,6 +187,7 @@ const props = defineProps<{
   RulesInfo: any,//费用信息
   costitemEditInfo: any,//编辑回显数据
   headerTitle?: string,//抽屉name
+  titleType?: string,//抽屉title类型
   operationType?: string,//操作类型
 }>();
 const emits = defineEmits(["cancel", 'save', 'auditOperation', 'rejectOperation']);

+ 1 - 1
src/views/representative/quoteApproval.vue

@@ -40,7 +40,7 @@
   <ruleFeeDialogEdit :ruleFeeVisible="ruleFeeEditVisible" :headerTitle="ruleFeeHeaderTitle"
     :agreementInfo="AgreementInfo" :RulesInfo="ruleInfo" :costitemEditInfo="costitemEditInfo" @save="ruleFeeEditSave"
     @cancel="ruleFeeEditVisible = false" :operationType="activeName == 'pendingReview' ? 'audit' : 'rejected'"
-    @rejectOperation="rejectOperation" @auditOperation="auditOperation" />
+    @rejectOperation="rejectOperation" @auditOperation="auditOperation" :titleType="activeName == 'pendingReview' ? '费用审核' : '费用详情'"  />
 </template>
 
 <script lang="ts" setup>