Authored by shuaiguo

fix(一件代发)

... ... @@ -76,25 +76,25 @@
<label>店铺地址:</label>
</div>
<div class="col-sm-2">
<select name="province" id="province" required
<select name="province" id="province"
class="form-control">
<option value="-1">请选择省/直辖市</option>
</select>
</div>
<div class="col-sm-2">
<select name="city" id="city" required
<select name="city" id="city"
class="form-control">
<option value="-1">请选择市</option>
</select>
</div>
<div class="col-sm-2">
<select name="country" id="country" required
<select name="country" id="country"
class="form-control">
<option value="-1">请选择区/县</option>
</select>
</div>
<div class="col-sm-2">
<select name="street" id="street" required
<select name="street" id="street"
class="form-control">
<option value="-1">请选择街道</option>
</select>
... ... @@ -103,7 +103,7 @@
<div class="input-group">
<input style="width: 350px;" type="text" name="shopsAddressInfo" id="detailAdd"
class="form-control" placeholder="详细地址"
aria-describedby="basic-addon2" required>
aria-describedby="basic-addon2">
</div>
<p style="margin-top: 10px"><span class="red">注:店铺地址为店铺最新可联系到的地址</span></p>
</div>
... ... @@ -116,7 +116,7 @@
<div class="input-group">
<input type="text" form="storeForm" name="customerTel" id="customerTel"
class="form-control" value="<%data.customerTel%>" placeholder="客服电话"
aria-describedby="basic-addon2" required>
aria-describedby="basic-addon2">
</div>
<p style="margin-top: 10px"><span class="red">注:请输入手机号或固定电话号码,固定电话格式为“区号-号码-分机”,支持400或800电话</span></p>
</div>
... ...
... ... @@ -494,6 +494,13 @@ 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;
if(+option.data.shopNature == 6) {
option.data.shopsAddressInfo = {
province: Region.selected.province.label,
... ...