Pārlūkot izejas kodu

检查记录里检查计划为空增加横杠字段

pm 8 mēneši atpakaļ
vecāks
revīzija
2afd596c4c
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      src/views/mes/material/Inspectionrecords/index.vue

+ 2 - 1
src/views/mes/material/Inspectionrecords/index.vue

@@ -171,7 +171,8 @@
       <!--      <el-table-column type="selection" width="55" align="center"/>-->
       <el-table-column label="计划名称" align="center" prop="planName" width="200">
         <template slot-scope="scope">
-          {{ scope.row.planName }}
+          <span v-if="scope.row.planName">{{scope.row.planName}}</span>
+          <span v-else>-</span>
         </template>
       </el-table-column>
       <el-table-column label="物资柜" align="center" prop="cabinetName">