|
@@ -13,6 +13,13 @@
|
|
|
|
|
|
|
|
<view class="info-box">
|
|
<view class="info-box">
|
|
|
<view class="info-item ddflex">
|
|
<view class="info-item ddflex">
|
|
|
|
|
+ <view class="info-item-label">订单编号</view>
|
|
|
|
|
+ <view class="ddflex">
|
|
|
|
|
+ <view class="info-item-data fflex tover">{{info.orderNo}}</view>
|
|
|
|
|
+ <view style="color: #2A82E4;margin-left: 10rpx;text-decoration: underline;" @click="copy(info.orderNo)">复制</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="info-item ddflex">
|
|
|
<view class="info-item-label">使用时长</view>
|
|
<view class="info-item-label">使用时长</view>
|
|
|
<view class="info-item-data fflex tover">{{info.type==2?'一次':info.lease.time?info.lease.time+'分钟':'-'}}</view>
|
|
<view class="info-item-data fflex tover">{{info.type==2?'一次':info.lease.time?info.lease.time+'分钟':'-'}}</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -110,10 +117,6 @@
|
|
|
<view class="info-item-label">用户</view>
|
|
<view class="info-item-label">用户</view>
|
|
|
<view class="info-item-data fflex tover">{{info.realName}} ({{info.phone}})</view>
|
|
<view class="info-item-data fflex tover">{{info.realName}} ({{info.phone}})</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="info-item ddflex">
|
|
|
|
|
- <view class="info-item-label">订单编号</view>
|
|
|
|
|
- <view class="info-item-data fflex tover">{{info.orderNo}}</view>
|
|
|
|
|
- </view>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
@@ -148,7 +151,15 @@
|
|
|
req.getRequest('/admin/v2/order/'+this.id,{},res=>{
|
|
req.getRequest('/admin/v2/order/'+this.id,{},res=>{
|
|
|
this.info = res
|
|
this.info = res
|
|
|
})
|
|
})
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ copy(val){
|
|
|
|
|
+ uni.setClipboardData({
|
|
|
|
|
+ data: val,
|
|
|
|
|
+ complete() {
|
|
|
|
|
+ req.msg('复制成功')
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
},
|
|
},
|
|
|
mounted() {
|
|
mounted() {
|
|
|
},
|
|
},
|