|
@@ -17,10 +17,11 @@
|
|
|
<div class="labelTit"><label><i>*</i>店铺名称:</label></div>
|
|
|
<input type="text" v-model="personalForm.shopName" placeholder="请输入店铺名称">
|
|
|
</div>
|
|
|
- <div class="inputItem">
|
|
|
+ <!-- 去除客服电话,但是在提交信息的时候对客服电话赋值为负责人电话 -->
|
|
|
+ <!-- <div class="inputItem">
|
|
|
<div class="labelTit"><label><i>*</i>客服电话:</label></div>
|
|
|
<input type="text" v-model="personalForm.servicePhone" placeholder="请输入客服电话">
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<div class="inputItem">
|
|
|
<div class="labelTit"><label><i>*</i>店铺负责人:</label></div>
|
|
|
<input type="text" v-model="personalForm.chargePersonName" placeholder="请输入店铺负责人">
|
|
@@ -685,19 +686,20 @@ export default {
|
|
|
subData.shopAdress = ''
|
|
|
let reg = /^1[13456789]\d{9}$/
|
|
|
var idReg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/
|
|
|
- subData.shopPhone = subData.servicePhone
|
|
|
+ // 赋值为负责人电话
|
|
|
+ subData.shopPhone = subData.chargePersonPhone
|
|
|
subData.shopAdress = `${self.shopAdress},${subData.storeAddressDetail}`
|
|
|
if (subData.shopName === '') {
|
|
|
Toast.fail('请输入店铺名称')
|
|
|
return false
|
|
|
}
|
|
|
- if (subData.servicePhone === '') {
|
|
|
- Toast.fail('请输入客服电话')
|
|
|
- return false
|
|
|
- } else if (!reg.test(subData.servicePhone)) {
|
|
|
- Toast.fail('客服电话号格式错误')
|
|
|
- return false
|
|
|
- }
|
|
|
+ // if (subData.servicePhone === '') {
|
|
|
+ // Toast.fail('请输入客服电话')
|
|
|
+ // return false
|
|
|
+ // } else if (!reg.test(subData.servicePhone)) {
|
|
|
+ // Toast.fail('客服电话号格式错误')
|
|
|
+ // return false
|
|
|
+ // }
|
|
|
if (subData.shopType === '1') {
|
|
|
if (!subData.classificationIdMall) {
|
|
|
Toast.fail('请选择商城店铺所属分类')
|
|
@@ -746,6 +748,8 @@ export default {
|
|
|
Toast.fail('请输入店铺负责人')
|
|
|
return false
|
|
|
}
|
|
|
+ // 客服电话和负责人电话一致
|
|
|
+ subData.servicePhone = subData.chargePersonPhone
|
|
|
if (subData.chargePersonPhone === '') {
|
|
|
Toast.fail('请输入负责人电话')
|
|
|
return false
|