大件运输联网系统前端代码
guoshilong
2023-01-02 dd0838214cd86dcdec93c89687a7e6f457b58dc2
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,7 +468,7 @@
      let catId = car.id
      let goods = this.form.goodsEntity
      let goodsId = goods.id
      this.form.endPassTime = basic.endPassTime
      this.form.passTime = [basic.startPassTime,basic.endPassTime]
      let form = this.form
      //保留原form中的字段
      let common = Object.assign({}, form)