...
|
...
|
@@ -494,22 +494,21 @@ function submitForm(callback) { |
|
|
option.data=$.extend({},option.data,_arr);
|
|
|
option.data.shopIntro = UMshopintro.getContent();
|
|
|
option.data.businessLicense = UMBusinessLicense.getContent();
|
|
|
// 删除一件代发新增多余属
|
|
|
delete option.data.province;
|
|
|
delete option.data.city;
|
|
|
delete option.data.country;
|
|
|
delete option.data.street;
|
|
|
delete option.data.detailAdd;
|
|
|
// 一件代发地址存储汉字
|
|
|
option.data.province = Region.selected.province.label;
|
|
|
option.data.city = Region.selected.city.label;
|
|
|
option.data.country = Region.selected.country.label;
|
|
|
option.data.street = Region.selected.street.label;
|
|
|
|
|
|
if(+option.data.shopNature == 6) {
|
|
|
option.data.shopsAddressInfo = {
|
|
|
province: Region.selected.province.label,
|
|
|
city: Region.selected.city.label,
|
|
|
country: Region.selected.country.label,
|
|
|
street: Region.selected.street.label,
|
|
|
detailAdd: Region.selected.detailAdd
|
|
|
}
|
|
|
}
|
|
|
// if(+option.data.shopNature == 6) {
|
|
|
// option.data.shopsAddressInfo = {
|
|
|
// province: Region.selected.province.label,
|
|
|
// city: Region.selected.city.label,
|
|
|
// country: Region.selected.country.label,
|
|
|
// street: Region.selected.street.label,
|
|
|
// detailAdd: Region.selected.detailAdd
|
|
|
// }
|
|
|
// }
|
|
|
console.log(option.data);
|
|
|
option.success=function(res){
|
|
|
if(res.code=="200"){
|
...
|
...
|
|