From e680ee8cc2c34ec2d21c238e8110e4f1501eb8bc Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期五, 24 十一月 2023 11:06:37 +0800
Subject: [PATCH] #
---
pages/business/plan/planDetails.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/pages/business/plan/planDetails.vue b/pages/business/plan/planDetails.vue
index 4cd8759..9ed69a2 100644
--- a/pages/business/plan/planDetails.vue
+++ b/pages/business/plan/planDetails.vue
@@ -31,8 +31,8 @@
</view>
<!-- 鍏朵粬淇℃伅 -->
- <view class="container">
- <view><y-title title="鍏朵粬淇℃伅"></y-title></view><view></view>
+ <view class="container" v-show="info.length > 0">
+ <view><y-title title="涓�у寲"></y-title></view><view></view>
</view>
<view class="detail-box">
<plan-detail :info="info"></plan-detail>
@@ -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
@@ -315,7 +316,7 @@
case 5:
url = `/pages/business/plan/modiPlan2?id=${id}`
break
- case 3:
+ case 6:
url = `/pages/business/plan/modiPlan3?id=${id}`
break
case 7:
--
Gitblit v1.9.1