bug
zhangzeli
2022-01-11 80e514ca619fbb1fdc1559db4e97f24d61c68b46
bug
3个文件已修改
22 ■■■■ 已修改文件
src/views/your/area-manage/areaManage.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/your/car-manage/carManage.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/your/suggest-manage/suggestManage.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/your/area-manage/areaManage.vue
@@ -68,6 +68,7 @@
        </FormItem>
        <FormItem label="配送员" prop="userId">
          <Select v-model="areaForm.userId" filterable>
            <Option :value="0" :key="0" selected>请选择</Option>
            <Option v-for="item in userList" :value="item.id">{{ item.nickname }}</Option>
          </Select>
        </FormItem>
@@ -761,6 +762,12 @@
      this.roleModalVisible = false;
    },
    submitArea() {
      if(this.areaForm.userId==undefined){
        this.areaForm.userId=0;
      }
      if(this.areaForm.description==undefined){
        this.areaForm.description="";
      }
      this.$refs.areaForm.validate((valid) => {
        if (valid) {
          if (this.modalType == 0) {
src/views/your/car-manage/carManage.vue
@@ -88,11 +88,13 @@
        </FormItem>
        <FormItem label="司机" prop="userId">
          <Select v-model="carForm.userId" filterable>
            <Option :value="0">请选择</Option>
            <Option v-for="item in userList" :value="item.id" :key="item.id">{{ item.nickname }}</Option>
          </Select>
        </FormItem>
        <FormItem label="配送员" prop="followUserId">
          <Select v-model="carForm.followUserId" filterable>
            <Option :value="0" :key="0">请选择</Option>
            <Option v-for="item in driverList" :value="item.id" :key="item.id">{{ item.nickname }}</Option>
          </Select>
        </FormItem>
@@ -767,6 +769,12 @@
      this.roleModalVisible = false;
    },
    submitCar() {
      if(this.carForm.userId==undefined || this.carForm.userId==0){
        this.carForm.userId="";
      }
      if(this.carForm.followUserId==undefined || this.carForm.followUserId==0){
        this.carForm.followUserId="";
      }
      this.carForm.buyYear = this.buyYear;
      this.$refs.carForm.validate((valid) => {
        if (valid) {
src/views/your/suggest-manage/suggestManage.vue
@@ -235,8 +235,7 @@
          {
            title: "反馈时间",
            key: "createTime",
            width: 200,
            sortable: true,
            width: 110,
            render: (h, params) => {
              return h("div",params.row.createTime.substr(0,10));
            }
@@ -244,18 +243,20 @@
          {
            title: "反馈商户",
            key: "name",
            tooltip:true,
            width: 260,
          },
          {
            title: "回复内容",
            key: "replyContent",
            tooltip:true,
            width: 260,
            width: 300,
          },
          {
            title: "操作",
            key: "action",
            align: "center",
            width: 150,
            render: (h, params) => {
              return h("div", [
                h(