mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-05 03:36:39 +08:00
更改地址以及其它
This commit is contained in:
parent
a17b8204db
commit
3403570766
@ -289,6 +289,9 @@ export default {
|
|||||||
this.goldmedal = data;
|
this.goldmedal = data;
|
||||||
this.alllist=[];
|
this.alllist=[];
|
||||||
this.useralllist=[];
|
this.useralllist=[];
|
||||||
|
this.obligation=[];
|
||||||
|
this.receiving=[];
|
||||||
|
this.pending=[];
|
||||||
for (let i = 0; i < this.goldmedal.length; i++) {
|
for (let i = 0; i < this.goldmedal.length; i++) {
|
||||||
this.useralllist.push(this.goldmedal[i].orderDetailList[0]);
|
this.useralllist.push(this.goldmedal[i].orderDetailList[0]);
|
||||||
this.alllist.push(this.goldmedal[i].orderDetailList[0])
|
this.alllist.push(this.goldmedal[i].orderDetailList[0])
|
||||||
@ -425,6 +428,7 @@ export default {
|
|||||||
let list=[]
|
let list=[]
|
||||||
this.activeIndex = index;
|
this.activeIndex = index;
|
||||||
console.log(this.obligation)
|
console.log(this.obligation)
|
||||||
|
debugger
|
||||||
if(item.title=='待付款'){
|
if(item.title=='待付款'){
|
||||||
list=this.obligation
|
list=this.obligation
|
||||||
}
|
}
|
||||||
|
@ -104,23 +104,23 @@ export default {
|
|||||||
|
|
||||||
register(){
|
register(){
|
||||||
console.log(this.tel)
|
console.log(this.tel)
|
||||||
if (!/^[1][3,4,5,7,8][0-9]{9}$/.test(this.tel) || this.tel === "") {
|
if ( this.alladdress==='') {
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
message: '手机号码输入有误'
|
message: '请输入详细地址 '
|
||||||
});
|
});
|
||||||
return
|
return
|
||||||
}else if(this.alladdress===''){
|
}if(!/^[1][3,4,5,7,8][0-9]{9}$/.test(this.tel) || this.tel === ""){
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
message: '请输入详细地址'
|
message: '手机号码输入有误'
|
||||||
});
|
});
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
else if(this.userpeople===''){
|
else if(this.userpeople===''){
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
message: '请输入姓名'
|
message: '请填写收货人'
|
||||||
});
|
});
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -158,7 +158,7 @@ export default {
|
|||||||
if(data){
|
if(data){
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
message: '删除成功'
|
message: '地址删除成功'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.editaddress();
|
this.editaddress();
|
||||||
|
Loading…
Reference in New Issue
Block a user