|
|
@@ -3,7 +3,8 @@
|
|
|
<view class="billing_box_bg">
|
|
|
<view class="top-view"> </view>
|
|
|
<view class="result-view">
|
|
|
- <button v-if="showButton" class="admin-button-com big blue" style="width:45vw;" @click="showCgOrder()">点我查看订单</button>
|
|
|
+ <view style="text-align:center;margin-top:20upx;margin-bottom:60upx;font-size:30upx;">编号:{{id}}</view>
|
|
|
+ <button v-if="showButton" class="admin-button-com big blue" style="width:45vw;" @click="showCgOrder()">点击查看订单</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -15,7 +16,8 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
getAppIdList:{},
|
|
|
- showButton:false
|
|
|
+ showButton:false,
|
|
|
+ id:0
|
|
|
};
|
|
|
},
|
|
|
onLoad() {
|
|
|
@@ -25,7 +27,17 @@ export default {
|
|
|
that.showButton = true
|
|
|
})
|
|
|
},
|
|
|
+ onShow() {
|
|
|
+ if(this.option.id){
|
|
|
+ this.id = this.option.id
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
+ init(){
|
|
|
+ if(this.option.id){
|
|
|
+ this.id = this.option.id
|
|
|
+ }
|
|
|
+ },
|
|
|
showCgOrder() {
|
|
|
let that = this
|
|
|
console.log('pagesPurchase/purDetails?id='+that.option.id)
|