|
@@ -379,12 +379,27 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
onShow() {
|
|
onShow() {
|
|
|
- this.qiPhone=uni.getStorageSync('mobile')
|
|
|
|
|
|
|
+ let shopId = uni.getStorageSync('shopId');
|
|
|
|
|
+ if(shopId){
|
|
|
|
|
+ this.getPhone(shopId)
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
this.shopId = uni.getStorageSync('shopId');
|
|
this.shopId = uni.getStorageSync('shopId');
|
|
|
this.getOrderList();
|
|
this.getOrderList();
|
|
|
this.clearOrderMsg();
|
|
this.clearOrderMsg();
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ getPhone(shopId){
|
|
|
|
|
+ let data = {
|
|
|
|
|
+ shopId
|
|
|
|
|
+ }
|
|
|
|
|
+ this.$Request.postT("/user/selectShopPhoneByShopId", data).then((res)=>{
|
|
|
|
|
+ // console.log(res,"res");
|
|
|
|
|
+ if(res.code == 0){
|
|
|
|
|
+ this.qiPhone = res.data
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
//联系用户
|
|
//联系用户
|
|
|
onPhone(phone){
|
|
onPhone(phone){
|
|
|
uni.makePhoneCall({
|
|
uni.makePhoneCall({
|