vue-if、for
<span v-if="scope.row.distribution==0">
否
</span>
<span v-else-if="scope.row.distribution==1">
是
</span>
<span v-else>
无
</span>
vue的if运用,经开发实践运用,无问题
<el-col :span="4">
<el-form-item label="项目">
<el-select placeholder="请选择费用类型" v-model="listQuery.projectId">
<el-option
v-for="item in selectproject"
:label="item.projectName"
:value="item.projectId"
:key="item.projectId"
>{{item.projectName}}</el-option>
</el-select>
</el-form-item>
</el-col>
后端所需要属性决定于 v-model