大件运输联网系统前端代码
guoshilong
2023-01-02 29bf5936bf1da2eea81f3abe07dc738f5267c42c
src/views/work/process/audit/handle.vue
@@ -263,6 +263,14 @@
      cloneForm:{},
    }
  },
  watch:{
    'form.passTime':{
      handler(newVal){
        this.form.startPassTime = newVal[0]
        this.form.endPassTime = newVal[1]
      }
    }
  },
  created() {
    this.init();
  },
@@ -460,6 +468,7 @@
      let catId = car.id
      let goods = this.form.goodsEntity
      let goodsId = goods.id
      this.form.passTime = [basic.startPassTime,basic.endPassTime]
      let form = this.form
      //保留原form中的字段
      let common = Object.assign({}, form)