修改商家入驻请求方法时的参数校验

This commit is contained in:
赵毅 2025-08-27 18:18:50 +08:00
parent 7f122c9754
commit 44d2447744

View File

@ -42,7 +42,7 @@
</view> </view>
<view class="row"> <view class="row">
<view class="row_label">手机号</view> <view class="row_label">手机号</view>
<view class="row_con nonebor"> <view class="row_con">
<input type="text" v-model="contact_phone" placeholder="请输入联系方式"> <input type="text" v-model="contact_phone" placeholder="请输入联系方式">
</view> </view>
</view> </view>
@ -242,12 +242,6 @@ export default {
duration: 2000 duration: 2000
}); });
} }
if (!that.bank_card) {
return uni.showToast({
title: '请输入银行卡号',
duration: 2000
});
}
if (!that.store_name) { if (!that.store_name) {
return uni.showToast({ return uni.showToast({
title: '请输入门店名称', title: '请输入门店名称',
@ -278,6 +272,12 @@ export default {
duration: 2000 duration: 2000
}); });
} }
if (!that.imgList6.length) {
return uni.showToast({
title: '请上传营业执照',
duration: 2000
});
}
let interior_photo = that.imgList4.join(",") let interior_photo = that.imgList4.join(",")
let facade_photo = that.imgList2.join(",") let facade_photo = that.imgList2.join(",")