mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-04 19:26:41 +08:00
更改地址以及其它
This commit is contained in:
parent
a17b8204db
commit
3403570766
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -158,7 +158,7 @@ export default {
|
||||
if(data){
|
||||
this.$message({
|
||||
type: 'warning',
|
||||
message: '删除成功'
|
||||
message: '地址删除成功'
|
||||
});
|
||||
}
|
||||
this.editaddress();
|
||||
|
Loading…
Reference in New Issue
Block a user