From dd0838214cd86dcdec93c89687a7e6f457b58dc2 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 02 Jan 2023 11:24:24 +0800
Subject: [PATCH] 修改时间选择变为范围选择;新增发起事务前需完善企业信息

---
 src/views/work/process/audit/handle.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/views/work/process/audit/handle.vue b/src/views/work/process/audit/handle.vue
index fdb9618..f57eabb 100644
--- a/src/views/work/process/audit/handle.vue
+++ b/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)

--
Gitblit v1.9.3