Commit afa664eb authored by youjj's avatar youjj

commit

parent 005d621a
...@@ -656,7 +656,7 @@ ...@@ -656,7 +656,7 @@
</el-form-item> </el-form-item>
<el-form-item label="保养项目" prop="upkeepItems"> <el-form-item label="保养项目" prop="upkeepItems">
<el-checkbox-group v-model="upkeepForm.upkeepItems"> <el-checkbox-group v-model="upkeepForm.upkeepItems">
<el-checkbox v-for="item in allUpkeepItems" :label="item.id">{{item.name}}</el-checkbox> <el-checkbox v-for="item in allUpkeepItems" :label="item.id" :key="item.id">{{item.name}}</el-checkbox>
</el-checkbox-group> </el-checkbox-group>
</el-form-item> </el-form-item>
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<el-input v-model="form.branchCompanyName"></el-input> <el-input v-model="form.branchCompanyName"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="保养项目" prop="upkeepItems"> <el-form-item label="保养项目" prop="upkeepItems">
<el-checkbox v-for="item in form.upkeepItems" :label="item.id" checked>{{item.itemName}}</el-checkbox> <el-checkbox v-for="item in form.upkeepItems" :label="item.id" :key="item.id" checked>{{item.itemName}}</el-checkbox>
</el-form-item> </el-form-item>
</el-form> </el-form>
</el-dialog> </el-dialog>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment