From 0bf139554d19e520522e9ef927f9ea475da02bd6 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 22 十一月 2023 18:59:40 +0800
Subject: [PATCH] #
---
pages/business/plan/planDetails.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/pages/business/plan/planDetails.vue b/pages/business/plan/planDetails.vue
index 9029525..0f88b35 100644
--- a/pages/business/plan/planDetails.vue
+++ b/pages/business/plan/planDetails.vue
@@ -120,13 +120,15 @@
}
},
onLoad(option) {
- if (option != '') {
+ console.log(option);
+ if (JSON.stringify(option) != "{}") {
this.id = option.id
this.init()
} else {
let _this = this
const eventChannel = this.getOpenerEventChannel();
eventChannel.on('saleManage', function(data) {
+ console.log(data);
_this.id = data.data
_this.init()
})
@@ -142,7 +144,6 @@
method: 'GET',
success(res) {
res = res.data
- console.log(res);
if (res.code === 200) {
that.detl = res.data
that.active = res.data.settle
--
Gitblit v1.9.1