|
@@ -287,15 +287,10 @@ Page({
|
|
let errorList = []
|
|
let errorList = []
|
|
const {
|
|
const {
|
|
user_name,
|
|
user_name,
|
|
- shop_name,
|
|
|
|
user_card,
|
|
user_card,
|
|
shop_phone,
|
|
shop_phone,
|
|
country_msg,
|
|
country_msg,
|
|
- user_code_url,
|
|
|
|
- user_wechat_code,
|
|
|
|
- shop_img_url,
|
|
|
|
shop_address,
|
|
shop_address,
|
|
- shop_remark
|
|
|
|
} = this.getForm()
|
|
} = this.getForm()
|
|
|
|
|
|
if (!user_name) {
|
|
if (!user_name) {
|
|
@@ -310,24 +305,10 @@ Page({
|
|
if (!country_msg) {
|
|
if (!country_msg) {
|
|
errorList.push('请输入村信息')
|
|
errorList.push('请输入村信息')
|
|
}
|
|
}
|
|
- if (!user_code_url) {
|
|
|
|
- errorList.push('请上传个人二维码')
|
|
|
|
- }
|
|
|
|
- if (!user_wechat_code) {
|
|
|
|
- errorList.push('请输入微信号')
|
|
|
|
- }
|
|
|
|
- if (!shop_name) {
|
|
|
|
- errorList.push('请输入店铺名称')
|
|
|
|
- }
|
|
|
|
- if (!shop_img_url) {
|
|
|
|
- errorList.push('请上传店铺图片')
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
if (!shop_address.address_name) {
|
|
if (!shop_address.address_name) {
|
|
errorList.push('请选择详细地址')
|
|
errorList.push('请选择详细地址')
|
|
}
|
|
}
|
|
- if (!shop_remark) {
|
|
|
|
- errorList.push('请输入备注')
|
|
|
|
- }
|
|
|
|
|
|
|
|
return errorList
|
|
return errorList
|
|
},
|
|
},
|