소스 검색

整车/系统/零部件 基本信息页面 项目总监 项目经理为空时页面显示null

dongfeng 8 달 전
부모
커밋
89fede28f6

+ 2 - 2
src/views/componentsDVP/baseInfo/baseInfo/index.vue

@@ -76,13 +76,13 @@
           <!-- 项目总监 -->
           <a-col :xl="6" :lg="8" :md="12" :sm="24" :xs="24">
             <a-form-item :label="$t('base.info.project.director')">
-              <span  class="ml8">{{ baseInfo.projectDirector }}</span>
+              <span  class="ml8">{{ baseInfo.projectDirector !== "null" ? baseInfo.projectDirector : '--' }}</span>
             </a-form-item>
           </a-col>
           <!-- 项目经理 -->
           <a-col :xl="6" :lg="8" :md="12" :sm="24" :xs="24">
             <a-form-item :label="$t('base.info.project.manager')">
-              <span  class="ml8">{{ baseInfo.projectManager }}</span>
+              <span  class="ml8">{{ baseInfo.projectManager !== "null" ? baseInfo.projectManager : '--' }}</span>
             </a-form-item>
           </a-col>
           <!-- CPAC编码 -->

+ 2 - 2
src/views/fullVehicle/baseInfo/baseInfo/index.vue

@@ -82,13 +82,13 @@
           <!-- 项目总监 -->
           <a-col :xl="6" :lg="8" :md="12" :sm="24" :xs="24">
             <a-form-item :label="$t('base.info.project.director')">
-              <span  class="ml8">{{ baseInfo.projectDirector }}</span>
+              <span  class="ml8">{{ baseInfo.projectDirector !== "null" ? baseInfo.projectDirector : '--' }}</span>
             </a-form-item>
           </a-col>
           <!-- 项目经理 -->
           <a-col :xl="6" :lg="8" :md="12" :sm="24" :xs="24">
             <a-form-item :label="$t('base.info.project.manager')">
-              <span  class="ml8">{{ baseInfo.projectManager }}</span>
+              <span  class="ml8">{{ baseInfo.projectManager !== "null" ? baseInfo.projectManager : '--' }}</span>
             </a-form-item>
           </a-col>
           <!-- 计划完成时间 -->

+ 2 - 2
src/views/systemDVP/baseInfo/baseInfo/index.vue

@@ -82,13 +82,13 @@
           <!-- 项目总监 -->
           <a-col :xl="6" :lg="8" :md="12" :sm="24" :xs="24">
             <a-form-item :label="$t('base.info.project.director')">
-              <span  class="ml8">{{ baseInfo.projectDirector }}</span>
+              <span  class="ml8">{{ baseInfo.projectDirector !== "null" ? baseInfo.projectDirector : '--' }}</span>
             </a-form-item>
           </a-col>
           <!-- 项目经理 -->
           <a-col :xl="6" :lg="8" :md="12" :sm="24" :xs="24">
             <a-form-item :label="$t('base.info.project.manager')">
-              <span  class="ml8">{{ baseInfo.projectManager }}</span>
+              <span  class="ml8">{{ baseInfo.projectManager !== "null" ? baseInfo.projectManager : '--' }}</span>
             </a-form-item>
           </a-col>
           <!-- 计划完成时间 -->