|
|
@@ -154,12 +154,16 @@ var app = new Vue({
|
|
|
$.toast('手机号格式错误','text');
|
|
|
return false;
|
|
|
}
|
|
|
- _this.shopInfo.address = $("#city-picker").val();
|
|
|
- if(_this.shopInfo.address == '' || _this.shopInfo.address == null){
|
|
|
+ _this.shopInfo.area = $("#city-picker").val();
|
|
|
+ if(_this.shopInfo.area == '' || _this.shopInfo.area == null){
|
|
|
$.toast('请选择所在地区','text');
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
+ if(_this.shopInfo.address == '' || _this.shopInfo.address == null){
|
|
|
+ $.toast('请选择所在地址','text');
|
|
|
+ return false;
|
|
|
+ }
|
|
|
|
|
|
var formData = new FormData();
|
|
|
_this.shopInfo.city_codes = $("#city-picker").attr('data-codes');
|