luobisheng
2022-11-16 0027df1e43c4e1bdfc2646987e85210a695647e1
src/views/operate/car/myIndex/create/law/index.vue
@@ -193,7 +193,6 @@
    // 添加车辆
    handleCar() {
      this.$refs.user.validate((valid) => {
          debugger;
        if (valid) {
          const { car } = this;
          this.$axios({
@@ -201,7 +200,6 @@
            url: "sccg/car_Manage/addition_enforce",
            data: car,
          }).then((res) => {
            console.log(res);
            if (res.code === 200) {
              this.$message({
                type: "success",
@@ -225,8 +223,6 @@
    },
    // 部门修改
    handleCheck(data, checked) {
      console.log(data);
      // this.car.belong = data.departName
      this.car.departId = data.id;
      this.car.departName = data.departName;
      // 获取当前选择的id在数组中的索引