|
@@ -6,6 +6,7 @@
|
|
|
<view class="iconfont iconchenggong"></view>
|
|
<view class="iconfont iconchenggong"></view>
|
|
|
<view class="result-title">账单已生成</view>
|
|
<view class="result-title">账单已生成</view>
|
|
|
<view class="result-title">客户:{{customName}}</view>
|
|
<view class="result-title">客户:{{customName}}</view>
|
|
|
|
|
+ <view v-if="hasNoticeCustom == 1" style="margin-bottom:30upx;font-weight:bold;color:#049E2C;font-size:30upx;">【客户已收到新账单提醒】</view>
|
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
|
<button class="admin-button-com big blue" style="width:45vw;" open-type="share">邀客户结账</button>
|
|
<button class="admin-button-com big blue" style="width:45vw;" open-type="share">邀客户结账</button>
|
|
|
<!-- #endif -->
|
|
<!-- #endif -->
|
|
@@ -28,7 +29,8 @@ export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
title:'点击查账和结账',
|
|
title:'点击查账和结账',
|
|
|
- customName:''
|
|
|
|
|
|
|
+ customName:'',
|
|
|
|
|
+ hasNoticeCustom:0
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
onShareAppMessage(res) {
|
|
onShareAppMessage(res) {
|
|
@@ -42,7 +44,7 @@ export default {
|
|
|
computed: {
|
|
computed: {
|
|
|
...mapGetters({ dictInfo:"getDictionariesInfo" })
|
|
...mapGetters({ dictInfo:"getDictionariesInfo" })
|
|
|
},
|
|
},
|
|
|
- onLoad(option) {
|
|
|
|
|
|
|
+ onLoad() {
|
|
|
getCustomDetail(this.option.id).then(res=>{
|
|
getCustomDetail(this.option.id).then(res=>{
|
|
|
if(res.code == 1){
|
|
if(res.code == 1){
|
|
|
let name = res.data && res.data.ghsShopName ? res.data.ghsShopName : '';
|
|
let name = res.data && res.data.ghsShopName ? res.data.ghsShopName : '';
|
|
@@ -52,6 +54,9 @@ export default {
|
|
|
this.customName = res.data.customName
|
|
this.customName = res.data.customName
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
+ if(this.option.hasNoticeCustom){
|
|
|
|
|
+ this.hasNoticeCustom = this.option.hasNoticeCustom
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
inviteClear(){
|
|
inviteClear(){
|