ly 1 ano atrás
pai
commit
a7108bcf44
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/business/financial/collection/form.vue

+ 1 - 1
src/views/business/financial/collection/form.vue

@@ -183,7 +183,7 @@
                   <el-radio :label="0">项目</el-radio>
                   <el-radio :label="1">非项目</el-radio>
                 </el-radio-group>
-                <span v-else>{{ form.isProject === 0 ? '项目' : '非项目' }}</span>
+                {{ form.isProject !== undefined && form.isProject !== null ? (form.isProject === 0 ? '项目' : '非项目') : '' }}
               </el-form-item>
             </el-col>
             <el-col :span="6">