瀏覽代碼

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

002390 1 年之前
父節點
當前提交
c68ec54ec7
共有 1 個文件被更改,包括 2 次插入1 次删除
  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>