From 960c49a8b3ac11dff27cad71137f986f90f00923 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期五, 26 四月 2024 19:16:32 +0800
Subject: [PATCH] 样书申请、详情页资源显示bug修改

---
 packageBookService/pages/bookServices/list/index.js |   37 ++++++++++++++++++++++++++++---------
 1 files changed, 28 insertions(+), 9 deletions(-)

diff --git a/packageBookService/pages/bookServices/list/index.js b/packageBookService/pages/bookServices/list/index.js
index 6cdf707..63cdf59 100644
--- a/packageBookService/pages/bookServices/list/index.js
+++ b/packageBookService/pages/bookServices/list/index.js
@@ -491,10 +491,34 @@
     // }
     await this.getBookList(path);
   },
-  // 浜岀骇鍒嗙被鍒囨崲
-  onChangeSecond(e) {
-
-    console.log(789);
+  // // 浜岀骇鍒嗙被鍒囨崲
+  // onChangeSecond(e) {
+  //   const pathList = [];
+  //   for (let index = 0; index < e.detail.value.length; index++) {
+  //     const element = e.detail.value[index];
+  //     pathList.push({
+  //       Path: element,
+  //       Type: "*",
+  //       StoreRefCode: app.config.goodsStore,
+  //     });
+  //   }
+  //   this.setData({
+  //     backTop: "#assort-title",
+  //     pathList: pathList,
+  //     "secondList.value": e.detail.value,
+  //   });
+  // },
+  // 浜岀骇鍒嗙被閲嶇疆
+  resetSecond() {
+    this.setData({
+      backTop: "#assort-title",
+      pathList: [],
+      "secondList.value": [],
+    });
+    this.getBookList(this.data.path);
+  },
+  // 浜岀骇鍒嗙被纭畾
+  onConfirmSecond(e) {
     const pathList = [];
     for (let index = 0; index < e.detail.value.length; index++) {
       const element = e.detail.value[index];
@@ -509,11 +533,6 @@
       pathList: pathList,
       "secondList.value": e.detail.value,
     });
-  },
-  //
-  onConfirmSecond() {
-
-
     this.getBookList(this.data.path);
   },
   // 閲嶇偣椤圭洰鏀瑰彉

--
Gitblit v1.9.1