Sfoglia il codice sorgente

【物料基础档案】数值为0,不要为“--”,要展示为0;是空的,那就会变成“ ”

002390 1 anno fa
parent
commit
c68ec54ec7
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/views/material/basicFile/index.vue

+ 2 - 1
src/views/material/basicFile/index.vue

@@ -398,7 +398,8 @@ export default {
               :options="dict.type[h.dictId]"
             ></el-dict-tag>
 
-            <span v-else>{{ scope.row[h.prop] || "--" }}</span>
+            <!-- <span v-else>{{ scope.row[h.prop] || "--" }}</span> -->
+            <span v-else>{{ scope.row[h.prop] }}</span>
           </template>
         </ux-table-column>
       </ux-grid>