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