吉安感知网项目-前端
罗广辉
2026-01-21 d38770f158cd4b9efe2a37bdc357824136e02ffe
applications/task-work-order/src/views/orderView/orderDataManage/supplyAdd/FormDiaLog.vue
@@ -7,7 +7,7 @@
      destroy-on-close
   >
      <div class="detail-container" v-if="dialogReadonly">
         <el-row>
         <el-row class="detail-row-view">
            <el-col :span="12">
               <div class="label">需求名称</div>
               <div class="val">{{ formData.demandName }}</div>
@@ -259,7 +259,7 @@
function getDeptNameById(deptId, deptList) {
   // 处理类型转换,确保比较的是相同类型
   const targetId = String(deptId)
   // 递归遍历部门树
   function findDept(deptList) {
      for (const dept of deptList) {
@@ -273,11 +273,11 @@
      }
      return ''
   }
   if (!targetId || !Array.isArray(deptList) || deptList.length === 0) {
      return ''
   }
   return findDept(deptList)
}
// 提交新增/编辑