This commit is contained in:
952108534@qq.com 2022-01-22 21:58:34 +08:00
parent 09ed52dcfc
commit bfa62a1cd9
2 changed files with 17 additions and 2 deletions

View File

@ -146,6 +146,7 @@
<script>
import Myheader from "~/components/header.vue";
import { mapMutations } from "vuex";
import { userin} from "../../ajax/getData";
import MyFooter from '~/components/rc-footer.vue'
import {selectaddress,canceldanhao,generateOrderWX} from "../../ajax/getData";
@ -168,6 +169,7 @@ export default {
usersalesAmount:'',
leftico: require("../../assets/image/rc-left.png"),
orderNumber:'',
userdata:"",
usermessage:null,
userid: null,
useralllist:[],
@ -196,7 +198,11 @@ export default {
};
},
methods: {
...mapMutations(["checkIsLogin"]),
refreshDesktopNav:function(){
RCDL.navigation.currentState=null;
RCDL.navigation.rebuild();
},
//
async canceldanhao(orderNumber) {
let data = await canceldanhao(this.userphone,this.orderNumber);
@ -221,6 +227,12 @@ userpay(){
if(this.goldastates==0){
this.canceldanhao();
}
else if( this.customer='联系客服申请售后'){
var option = {
customer: {id: '', name: '', email: '', mobile: '', memberId: this.userdata.data.id}
}
dis_livchat(option);
}
},
//
onceagain(){
@ -317,6 +329,9 @@ if(data){
},
mounted() {
this.checkIsLogin();
this.userdata=this.$store.state.userInfo;
console.log(this.userdata);
this.usermessage = JSON.parse(localStorage.getItem("userInfo"));
this.userid = this.usermessage.data.id;
this.userphone=this.usermessage.data.mobile;

View File

@ -54,7 +54,7 @@
</div>
<div class="rc-userbottom">
<span>数量:{{ item.pcs }}</span>
<i>{{ }}</i>
<i>10</i>
</div>
<div class="rc-userbottomm">
<i>{{ item.userprice }}</i>