| | |
| | | <FormItem label="牌照" prop="carNo"> |
| | | <Input v-model="carForm.carNo" /> |
| | | </FormItem> |
| | | <FormItem label="加油卡号" prop="addOilCode"> |
| | | <Input v-model="carForm.addOilCode" type="number"/> |
| | | </FormItem> |
| | | <FormItem label="驾驶人" prop="userId"> |
| | | <Select v-model="carForm.userId" filterable> |
| | | <Option v-for="item in userList" :value="item.id" :key="item.id">{{ item.nickname }}</Option> |
| | |
| | | { |
| | | title: "购置年份", |
| | | key: "buyYear", |
| | | minWidth: 120, |
| | | sortable: true, |
| | | }, |
| | | { |
| | | title: "加油卡号", |
| | | key: "addOilCode", |
| | | minWidth: 120, |
| | | sortable: true, |
| | | }, |
| | |
| | | this.$Message.success("操作成功"); |
| | | this.getDataList(); |
| | | this.roleModalVisible = false; |
| | | this.carForm={}; |
| | | } |
| | | }); |
| | | } else { |
| | |
| | | this.$Message.success("操作成功"); |
| | | this.getDataList(); |
| | | this.roleModalVisible = false; |
| | | this.carForm={}; |
| | | } |
| | | }); |
| | | } |
| | |
| | | this.getEquipmentList(this.carId); |
| | | this.addEquipmentVisible = false; |
| | | this.getEquipmentList(this.carId); |
| | | this.equipmentForm={}; |
| | | } |
| | | }); |
| | | } else { |
| | |
| | | this.$Message.success("操作成功"); |
| | | this.getEquipmentList(this.carId); |
| | | this.addEquipmentVisible = false; |
| | | this.equipmentForm={}; |
| | | } |
| | | }); |
| | | } |