| | |
| | | <FormItem label="加油卡号" prop="addOilCode"> |
| | | <Input v-model="carForm.addOilCode" /> |
| | | </FormItem> |
| | | <FormItem label="车辆编号" prop="code"> |
| | | <Input v-model="carForm.code" /> |
| | | </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> |
| | |
| | | sortable: true, |
| | | render: (h, params) => { |
| | | return h("div",params.row.addOilCode=="undefined" ? '':params.row.addOilCode); |
| | | } |
| | | }, |
| | | { |
| | | title: "编号", |
| | | key: "code", |
| | | minWidth: 120, |
| | | sortable: true, |
| | | render: (h, params) => { |
| | | return h("div",params.row.code=="undefined" ? '':params.row.code); |
| | | } |
| | | }, |
| | | { |
| | |
| | | this.equipmentVisible = true; |
| | | }, |
| | | addCar() { |
| | | this.carForm={}; |
| | | this.getAllUser(); |
| | | this.modalType = 0; |
| | | this.modalTitle = "添加车辆"; |