Authored by shuaiguo

fix(一件代发):店铺新增地址选择

@@ -494,22 +494,21 @@ function submitForm(callback) { @@ -494,22 +494,21 @@ function submitForm(callback) {
494 option.data=$.extend({},option.data,_arr); 494 option.data=$.extend({},option.data,_arr);
495 option.data.shopIntro = UMshopintro.getContent(); 495 option.data.shopIntro = UMshopintro.getContent();
496 option.data.businessLicense = UMBusinessLicense.getContent(); 496 option.data.businessLicense = UMBusinessLicense.getContent();
497 - // 删除一件代发新增多余属  
498 - delete option.data.province;  
499 - delete option.data.city;  
500 - delete option.data.country;  
501 - delete option.data.street;  
502 - delete option.data.detailAdd; 497 + // 一件代发地址存储汉字
  498 + option.data.province = Region.selected.province.label;
  499 + option.data.city = Region.selected.city.label;
  500 + option.data.country = Region.selected.country.label;
  501 + option.data.street = Region.selected.street.label;
503 502
504 - if(+option.data.shopNature == 6) {  
505 - option.data.shopsAddressInfo = {  
506 - province: Region.selected.province.label,  
507 - city: Region.selected.city.label,  
508 - country: Region.selected.country.label,  
509 - street: Region.selected.street.label,  
510 - detailAdd: Region.selected.detailAdd  
511 - }  
512 - } 503 + // if(+option.data.shopNature == 6) {
  504 + // option.data.shopsAddressInfo = {
  505 + // province: Region.selected.province.label,
  506 + // city: Region.selected.city.label,
  507 + // country: Region.selected.country.label,
  508 + // street: Region.selected.street.label,
  509 + // detailAdd: Region.selected.detailAdd
  510 + // }
  511 + // }
513 console.log(option.data); 512 console.log(option.data);
514 option.success=function(res){ 513 option.success=function(res){
515 if(res.code=="200"){ 514 if(res.code=="200"){