|
|
|
@ -180,28 +180,32 @@ |
|
|
|
if(this.query.consignee.consignee==''){ |
|
|
|
uni.showToast({ |
|
|
|
icon:'none', |
|
|
|
title:'Please fill Fall name' |
|
|
|
title:'Please fill Fall name', |
|
|
|
duration: 2000 |
|
|
|
}) |
|
|
|
return |
|
|
|
} |
|
|
|
if(this.query.consignee.mobile==''){ |
|
|
|
uni.showToast({ |
|
|
|
icon:'none', |
|
|
|
title:'Please fill Phone Number' |
|
|
|
title:'Please fill Phone Number', |
|
|
|
duration: 2000 |
|
|
|
}) |
|
|
|
return |
|
|
|
} |
|
|
|
if(this.address==''){ |
|
|
|
uni.showToast({ |
|
|
|
icon:'none', |
|
|
|
title:'Please fill Stree adderss or P.O.Box' |
|
|
|
title:'Please fill Stree adderss or P.O.Box', |
|
|
|
duration: 2000 |
|
|
|
}) |
|
|
|
return |
|
|
|
} |
|
|
|
if(this.query.consignee.sign_building==''){ |
|
|
|
uni.showToast({ |
|
|
|
icon:'none', |
|
|
|
title:'Please fill Appartment,suite,unit,etc.' |
|
|
|
title:'Please fill Appartment,suite,unit,etc.', |
|
|
|
duration: 2000 |
|
|
|
}) |
|
|
|
return |
|
|
|
} |
|
|
|
@ -209,7 +213,8 @@ |
|
|
|
if(this.city==''){ |
|
|
|
uni.showToast({ |
|
|
|
icon:'none', |
|
|
|
title:'Please fill in City/Town' |
|
|
|
title:'Please fill in City/Town', |
|
|
|
duration: 2000 |
|
|
|
}) |
|
|
|
return |
|
|
|
} |
|
|
|
@ -222,7 +227,8 @@ |
|
|
|
if(this.query.consignee.city==0){ |
|
|
|
uni.showToast({ |
|
|
|
icon:'none', |
|
|
|
title:'Please Select City/Town' |
|
|
|
title:'Please Select City/Town', |
|
|
|
duration: 2000 |
|
|
|
}) |
|
|
|
|
|
|
|
return |
|
|
|
@ -232,7 +238,8 @@ |
|
|
|
if(this.province==''){ |
|
|
|
uni.showToast({ |
|
|
|
icon:'none', |
|
|
|
title:'Please fill in State/Province' |
|
|
|
title:'Please fill in State/Province', |
|
|
|
duration: 2000 |
|
|
|
}) |
|
|
|
return |
|
|
|
} |
|
|
|
@ -242,7 +249,8 @@ |
|
|
|
if(this.query.consignee.province==0){ |
|
|
|
uni.showToast({ |
|
|
|
icon:'none', |
|
|
|
title:'Please Select State/Province' |
|
|
|
title:'Please Select State/Province', |
|
|
|
duration: 2000 |
|
|
|
}) |
|
|
|
return |
|
|
|
} |
|
|
|
@ -250,7 +258,8 @@ |
|
|
|
if(this.query.consignee.zipcode==''){ |
|
|
|
uni.showToast({ |
|
|
|
icon:'none', |
|
|
|
title:'Please fill Zip code/Postcode/PLZ/Eircode' |
|
|
|
title:'Please fill Zip code/Postcode/PLZ/Eircode', |
|
|
|
duration: 2000 |
|
|
|
}) |
|
|
|
return |
|
|
|
} |
|
|
|
@ -262,7 +271,8 @@ |
|
|
|
if(res.error==0){ |
|
|
|
uni.showToast({ |
|
|
|
icon:'none', |
|
|
|
title:res.message |
|
|
|
title:res.message, |
|
|
|
duration: 2000 |
|
|
|
}) |
|
|
|
uni.navigateBack() |
|
|
|
} |
|
|
|
|