Explorar o código

报价费用审核-所属协议筛选修改成协议名称拼接出单账号

@dongkboy hai 1 mes
pai
achega
327ec0b00b
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      src/views/representative/quoteApproval.vue

+ 5 - 2
src/views/representative/quoteApproval.vue

@@ -17,6 +17,9 @@
       <template #costRules="{ data, bodyCell }">
         <div class="whitespace-normal">{{ data.costRules }}</div>
       </template>
+      <template #costDescribe="{ data, bodyCell }">
+        <div class="whitespace-normal">{{ data.costDescribe }}</div>
+      </template>
       <template v-slot:table-title-btn>
         <el-dropdown placement="bottom-start" v-if="activeName == 'pendingReview'">
           <el-button> 批量审核<el-icon>
@@ -174,7 +177,7 @@ const fields = ref([
   {
     label: "所属协议", model: "agreementIds", type: "select", multiple: true, placeholder: "输入代码,名称,简称查找", options: agreementListALL,
     props: {
-      label: 'agreementTitle',
+      label: (item: any) => `${item.agreementCode}--${item.userAbbr}`,
       value: 'id'
     }, filterable: true
   },
@@ -305,7 +308,7 @@ const columns = [
     prop: "ruleDescription", label: "承保规则", component: 'customSlot', width: '800'
   },
   { prop: "productName", label: "险种", width: '120', },
-  { prop: "costDescribe", label: "费用描述", width: '500', },
+  { prop: "costDescribe", label: "费用描述", width: '500',component: 'customSlot', },
   {
     prop: "costRules", label: "费用规则", component: 'customSlot', width: '500',
   },