Authored by shuaiguo

fix(一件代发)

@@ -76,25 +76,25 @@ @@ -76,25 +76,25 @@
76 <label>店铺地址:</label> 76 <label>店铺地址:</label>
77 </div> 77 </div>
78 <div class="col-sm-2"> 78 <div class="col-sm-2">
79 - <select name="province" id="province" required 79 + <select name="province" id="province"
80 class="form-control"> 80 class="form-control">
81 <option value="-1">请选择省/直辖市</option> 81 <option value="-1">请选择省/直辖市</option>
82 </select> 82 </select>
83 </div> 83 </div>
84 <div class="col-sm-2"> 84 <div class="col-sm-2">
85 - <select name="city" id="city" required 85 + <select name="city" id="city"
86 class="form-control"> 86 class="form-control">
87 <option value="-1">请选择市</option> 87 <option value="-1">请选择市</option>
88 </select> 88 </select>
89 </div> 89 </div>
90 <div class="col-sm-2"> 90 <div class="col-sm-2">
91 - <select name="country" id="country" required 91 + <select name="country" id="country"
92 class="form-control"> 92 class="form-control">
93 <option value="-1">请选择区/县</option> 93 <option value="-1">请选择区/县</option>
94 </select> 94 </select>
95 </div> 95 </div>
96 <div class="col-sm-2"> 96 <div class="col-sm-2">
97 - <select name="street" id="street" required 97 + <select name="street" id="street"
98 class="form-control"> 98 class="form-control">
99 <option value="-1">请选择街道</option> 99 <option value="-1">请选择街道</option>
100 </select> 100 </select>
@@ -103,7 +103,7 @@ @@ -103,7 +103,7 @@
103 <div class="input-group"> 103 <div class="input-group">
104 <input style="width: 350px;" type="text" name="shopsAddressInfo" id="detailAdd" 104 <input style="width: 350px;" type="text" name="shopsAddressInfo" id="detailAdd"
105 class="form-control" placeholder="详细地址" 105 class="form-control" placeholder="详细地址"
106 - aria-describedby="basic-addon2" required> 106 + aria-describedby="basic-addon2">
107 </div> 107 </div>
108 <p style="margin-top: 10px"><span class="red">注:店铺地址为店铺最新可联系到的地址</span></p> 108 <p style="margin-top: 10px"><span class="red">注:店铺地址为店铺最新可联系到的地址</span></p>
109 </div> 109 </div>
@@ -116,7 +116,7 @@ @@ -116,7 +116,7 @@
116 <div class="input-group"> 116 <div class="input-group">
117 <input type="text" form="storeForm" name="customerTel" id="customerTel" 117 <input type="text" form="storeForm" name="customerTel" id="customerTel"
118 class="form-control" value="<%data.customerTel%>" placeholder="客服电话" 118 class="form-control" value="<%data.customerTel%>" placeholder="客服电话"
119 - aria-describedby="basic-addon2" required> 119 + aria-describedby="basic-addon2">
120 </div> 120 </div>
121 <p style="margin-top: 10px"><span class="red">注:请输入手机号或固定电话号码,固定电话格式为“区号-号码-分机”,支持400或800电话</span></p> 121 <p style="margin-top: 10px"><span class="red">注:请输入手机号或固定电话号码,固定电话格式为“区号-号码-分机”,支持400或800电话</span></p>
122 </div> 122 </div>
@@ -494,6 +494,13 @@ function submitForm(callback) { @@ -494,6 +494,13 @@ 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;
  503 +
497 if(+option.data.shopNature == 6) { 504 if(+option.data.shopNature == 6) {
498 option.data.shopsAddressInfo = { 505 option.data.shopsAddressInfo = {
499 province: Region.selected.province.label, 506 province: Region.selected.province.label,