Kaynağa Gözat

外部费用审核表格费用描述展示形式优化

@dongkboy 1 hafta önce
ebeveyn
işleme
03418ead35

+ 4 - 1
src/views/representative/externalCostApproval.vue

@@ -29,6 +29,9 @@
             已选: <span class="text-red">{{ sysUpAndDownList.length }}</span> 条
             已选: <span class="text-red">{{ sysUpAndDownList.length }}</span> 条
           </span>
           </span>
         </template>
         </template>
+          <template #costDescribe="{ data, bodyCell }">
+        <div class="whitespace-normal">{{ data.costDescribe }}</div>
+      </template>
         <template v-slot:operation="scope">
         <template v-slot:operation="scope">
           <el-button v-if="scope.operationData.auditStatus == '0'" type="primary" link
           <el-button v-if="scope.operationData.auditStatus == '0'" type="primary" link
             @click="agreemenUpdate(scope.operationData.id)"> 审核
             @click="agreemenUpdate(scope.operationData.id)"> 审核
@@ -220,7 +223,7 @@ const columns = [
       }
       }
     }
     }
   },
   },
-  { prop: "costDescribe", label: "费用描述", width: '500', },
+  { prop: "costDescribe", label: "费用描述", width: '500',component: 'customSlot',  },
   { prop: "priorityLevel", label: "优先级", width: '120', },
   { prop: "priorityLevel", label: "优先级", width: '120', },
   {
   {
     prop: "isEnabled", label: "费用状态", width: '100', component: "Tag",
     prop: "isEnabled", label: "费用状态", width: '100', component: "Tag",