zhangzeli
2022-01-05 7220683e68d6cdccd1a7358aee7824b37f2b8e98
src/views/your/car-manage/carManage.vue
@@ -80,6 +80,9 @@
        <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>
@@ -377,6 +380,12 @@
        {
          title: "购置年份",
          key: "buyYear",
          minWidth: 120,
          sortable: true,
        },
        {
          title: "加油卡号",
          key: "addOilCode",
          minWidth: 120,
          sortable: true,
        },
@@ -750,6 +759,7 @@
                this.$Message.success("操作成功");
                this.getDataList();
                this.roleModalVisible = false;
                this.carForm={};
              }
            });
          } else {
@@ -760,6 +770,7 @@
                this.$Message.success("操作成功");
                this.getDataList();
                this.roleModalVisible = false;
                this.carForm={};
              }
            });
          }
@@ -780,6 +791,7 @@
                this.getEquipmentList(this.carId);
                this.addEquipmentVisible = false;
                this.getEquipmentList(this.carId);
                this.equipmentForm={};
              }
            });
          } else {
@@ -790,6 +802,7 @@
                this.$Message.success("操作成功");
                this.getEquipmentList(this.carId);
                this.addEquipmentVisible = false;
                this.equipmentForm={};
              }
            });
          }