|
|
@@ -5,6 +5,7 @@
|
|
|
<view class="result-view">
|
|
|
<view class="iconfont iconchenggong"></view>
|
|
|
<view class="result-title">账单已生成</view>
|
|
|
+ <view class="result-title">客户:{{customName}}</view>
|
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
|
<button class="admin-button-com big blue" style="width:45vw;" open-type="share">邀客户结账</button>
|
|
|
<!-- #endif -->
|
|
|
@@ -26,7 +27,8 @@ export default {
|
|
|
name: "success",
|
|
|
data() {
|
|
|
return {
|
|
|
- title:'点击查账和结账'
|
|
|
+ title:'点击查账和结账',
|
|
|
+ customName:''
|
|
|
}
|
|
|
},
|
|
|
onShareAppMessage(res) {
|
|
|
@@ -47,6 +49,7 @@ export default {
|
|
|
let num = res.data && res.data.num ? res.data.num : 0
|
|
|
let price = res.data.actPrice ? parseFloat(res.data.actPrice) : 0
|
|
|
this.title = name+' '+num+'笔 ¥'+price
|
|
|
+ this.customName = res.data.customName
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
@@ -152,7 +155,7 @@ export default {
|
|
|
color: $mainColor1;
|
|
|
}
|
|
|
.result-title {
|
|
|
- margin: 50upx 0 70upx;
|
|
|
+ margin: 30upx 0 30upx;
|
|
|
font-size: 32upx;
|
|
|
}
|
|
|
}
|