更改地址以及其它

This commit is contained in:
952108534@qq.com 2022-01-22 22:54:24 +08:00
parent a17b8204db
commit 3403570766
3 changed files with 10 additions and 6 deletions

View File

@ -289,6 +289,9 @@ export default {
this.goldmedal = data;
this.alllist=[];
this.useralllist=[];
this.obligation=[];
this.receiving=[];
this.pending=[];
for (let i = 0; i < this.goldmedal.length; i++) {
this.useralllist.push(this.goldmedal[i].orderDetailList[0]);
this.alllist.push(this.goldmedal[i].orderDetailList[0])
@ -425,6 +428,7 @@ export default {
let list=[]
this.activeIndex = index;
console.log(this.obligation)
debugger
if(item.title=='待付款'){
list=this.obligation
}

View File

@ -104,23 +104,23 @@ export default {
register(){
console.log(this.tel)
if (!/^[1][3,4,5,7,8][0-9]{9}$/.test(this.tel) || this.tel === "") {
if ( this.alladdress==='') {
this.$message({
type: 'warning',
message: '手机号码输入有误'
message: '请输入详细地址 '
});
return
}else if(this.alladdress===''){
}if(!/^[1][3,4,5,7,8][0-9]{9}$/.test(this.tel) || this.tel === ""){
this.$message({
type: 'warning',
message: '请输入详细地址'
message: '手机号码输入有误'
});
return
}
else if(this.userpeople===''){
this.$message({
type: 'warning',
message: '请输入姓名'
message: '请填写收货人'
});
return
}

View File

@ -158,7 +158,7 @@ export default {
if(data){
this.$message({
type: 'warning',
message: '删除成功'
message: '地址删除成功'
});
}
this.editaddress();