| | |
| | | </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> |
| | |
| | | } |
| | | }, |
| | | 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() |
| | | }) |
| | |
| | | method: 'GET', |
| | | success(res) { |
| | | res = res.data |
| | | console.log(res); |
| | | if (res.code === 200) { |
| | | that.detl = res.data |
| | | that.active = res.data.settle |
| | |
| | | case 5: |
| | | url = `/pages/business/plan/modiPlan2?id=${id}` |
| | | break |
| | | case 3: |
| | | case 6: |
| | | url = `/pages/business/plan/modiPlan3?id=${id}` |
| | | break |
| | | case 7: |