From 47357215fdcf9886d0106004405f4cd759a9fe09 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期四, 04 九月 2025 19:27:32 +0800
Subject: [PATCH] 解决源单选择页面 多源单模式时,因过早关闭 单据选择页面内的单据缓存没有被正常清理造成的bug

---
 manifest.json                              |    4 ++--
 components/BillListPopup/BillListPopup.vue |   27 ++++++++++++++-------------
 2 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/components/BillListPopup/BillListPopup.vue b/components/BillListPopup/BillListPopup.vue
index a42ea13..22716d1 100644
--- a/components/BillListPopup/BillListPopup.vue
+++ b/components/BillListPopup/BillListPopup.vue
@@ -107,27 +107,28 @@
             popupChangeHandler(e) {
                 if (e.show === true) {
                     this.getBillList()
-
-                } else {
-                    // 娓呯悊璧勬簮
-                    this.size = 20
-                    this.curPage = 1
-                    this.length = 0
-                    this.page = 0
-                    this.HSourceBillNo = ''
-                    this.HMater = ''
-                    this.HCustom = ''
-                    this.HBillList = []
-                    this.enablefocus = false
                 }
             },
-            exit() {
+            async exit() {
+                this.size = 20
+                this.curPage = 1
+                this.length = 0
+                this.page = 0
+                this.HSourceBillNo = ''
+                this.HMater = ''
+                this.HCustom = ''
+                this.HBillList = []
+                this.enablefocus = false
+                this.multiSouceBillList = []
+                // 闇�瑕佺瓑寰呴〉闈㈠唴鐨勬暟鎹祴鍊煎畬姣�
+                await this.$nextTick()
                 this.$refs.popup.close();
             },
             search() {
                 this.getBillList()
             },
             ret() {
+                console.log('this.MultiSourceBill: ',this.MultiSourceBill);
                 uni.$emit('BillSelectComplete', {
                     HInterID: 0,
                     HBillNo: 0,
diff --git a/manifest.json b/manifest.json
index 12656ff..4c2de09 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,8 +2,8 @@
     "name" : "鏅轰簯LMES",
     "appid" : "__UNI__B002F49",
     "description" : "",
-    "versionName" : "1.0.65",
-    "versionCode" : 165,
+    "versionName" : "1.0.67",
+    "versionCode" : 167,
     "transformPx" : false,
     /* 5+App鐗规湁鐩稿叧 */
     "app-plus" : {

--
Gitblit v1.9.1