wang-hao-jie
2022-01-05 3a9879dfcf271846605c7f896d0397472cf5e839
src/views/your/car-manage/carManage.vue
@@ -81,14 +81,14 @@
          <Input v-model="carForm.carNo" />
        </FormItem>
        <FormItem label="加油卡号" prop="addOilCode">
          <Input v-model="carForm.addOilCode" type="number"/>
          <Input v-model="carForm.addOilCode" />
        </FormItem>
        <FormItem label="驾驶人" prop="userId">
        <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>
          </Select>
        </FormItem>
        <FormItem label="跟车人" prop="followUserId">
        <FormItem label="配送员" prop="followUserId">
          <Select v-model="carForm.followUserId" filterable>
            <Option v-for="item in driverList" :value="item.id" :key="item.id">{{ item.nickname }}</Option>
          </Select>
@@ -352,12 +352,12 @@
          sortable: true,
        },
        {
          title: "驾驶人",
          title: "司机",
          key: "nickName",
          width: 100,
        },
        {
          title: "跟车人",
          title: "配送员",
          key: "followNickName",
          width: 100,
        },
@@ -378,15 +378,21 @@
          sortable: true,
        },
        {
          title: "加油卡号",
          key: "addOilCode",
          minWidth: 120,
          sortable: true,
        },
        {
          title: "购置年份",
          key: "buyYear",
          minWidth: 120,
          sortable: true,
        },
        {
          title: "加油卡号",
          key: "addOilCode",
          minWidth: 120,
          title: "登记日期",
          key: "createTime",
          minWidth: 180,
          sortable: true,
        },
        {
@@ -759,7 +765,6 @@
                this.$Message.success("操作成功");
                this.getDataList();
                this.roleModalVisible = false;
                this.carForm={};
              }
            });
          } else {
@@ -770,7 +775,6 @@
                this.$Message.success("操作成功");
                this.getDataList();
                this.roleModalVisible = false;
                this.carForm={};
              }
            });
          }
@@ -791,7 +795,6 @@
                this.getEquipmentList(this.carId);
                this.addEquipmentVisible = false;
                this.getEquipmentList(this.carId);
                this.equipmentForm={};
              }
            });
          } else {
@@ -802,7 +805,6 @@
                this.$Message.success("操作成功");
                this.getEquipmentList(this.carId);
                this.addEquipmentVisible = false;
                this.equipmentForm={};
              }
            });
          }