From d0c71250306600d2e844602fd25a71d5d9841198 Mon Sep 17 00:00:00 2001
From: zuozhengqing <a13193816592@163.com>
Date: 星期三, 03 一月 2024 09:44:36 +0800
Subject: [PATCH] 修改出入库查看和编辑时从...至...的编辑问题

---
 src/views/overview/OverviewListView.vue |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/views/overview/OverviewListView.vue b/src/views/overview/OverviewListView.vue
index 19b3bd4..d25c0ca 100644
--- a/src/views/overview/OverviewListView.vue
+++ b/src/views/overview/OverviewListView.vue
@@ -273,7 +273,12 @@
         item.fromLocationId=item.fromLocation.jointName
         item.toLocationId=item.toLocation.jointName
       })
+      row.location={
+        value:row.location.id||row.location.value,
+        label:row.location.jointName||row.location.jointName
+      }
       row.locationID=row.location.jointName
+      row.locationId=row.location.value
       this.editConfig.infomation = { ...row }
     },
     // 鏂板缓
@@ -282,7 +287,9 @@
       this.addName = this.params.name
       this.editConfig.operationTypeId = this.params.id
       this.editConfig.code = this.params.code
-      this.editConfig.infomation = {}
+      this.editConfig.infomation = {
+        location:{jointName:""}
+      }
       this.editConfig.visible = true
     },
     // 鐘舵��

--
Gitblit v1.8.0