Commit 07406cef authored by 罗超's avatar 罗超

优化提示

parent 838a9e75
...@@ -313,7 +313,7 @@ ...@@ -313,7 +313,7 @@
</view> </view>
<view class="bottom-border"> <view class="bottom-border">
<view class="label-text" <view class="label-text"
>经营面积(m²)<span style="color: #e54d42">*</span></view >经营面积<span style="color: #e54d42">*</span></view
> >
<view <view
class="bottom-border_r" class="bottom-border_r"
...@@ -322,16 +322,17 @@ ...@@ -322,16 +322,17 @@
<input <input
type="number" type="number"
v-model="model.BuiltUpArea" v-model="model.BuiltUpArea"
style="width: 1px; flex: 1" style="width: 1px; flex: 1;margin-right: 10px;"
placeholder="请填写经营面积" placeholder="请填写经营面积"
:disabled="disabled" :disabled="disabled"
placeholder-style="color:#CECECE;" placeholder-style="color:#CECECE;"
/> />
<text></text>
</view> </view>
</view> </view>
<view class="bottom-border"> <view class="bottom-border">
<view class="label-text" <view class="label-text"
>可租赁面积(m²)<span style="color: #e54d42">*</span></view >可租赁面积<span style="color: #e54d42">*</span></view
> >
<view <view
class="bottom-border_r" class="bottom-border_r"
...@@ -340,11 +341,12 @@ ...@@ -340,11 +341,12 @@
<input <input
type="number" type="number"
v-model="model.AreaRequirement" v-model="model.AreaRequirement"
style="width: 1px; flex: 1" style="width: 1px; flex: 1;margin-right: 10px;"
placeholder="请填写可租赁面积" placeholder="请填写可租赁面积"
:disabled="disabled" :disabled="disabled"
placeholder-style="color:#CECECE;" placeholder-style="color:#CECECE;"
/> />
<text></text>
</view> </view>
</view> </view>
<view class="bottom-border"> <view class="bottom-border">
...@@ -935,17 +937,6 @@ export default { ...@@ -935,17 +937,6 @@ export default {
uni.showToast({ title: "请上传Logo", icon: "none" }); uni.showToast({ title: "请上传Logo", icon: "none" });
return; return;
} }
if (this.model.BuiltUpArea == "" || this.model.BuiltUpArea === 0) {
uni.showToast({ title: "请输入经营面积", icon: "none" });
return;
}
if (
this.model.AreaRequirement == "" ||
this.model.AreaRequirement === 0
) {
uni.showToast({ title: "请输入可租赁面积", icon: "none" });
return;
}
if (this.model.BannerList.length == 0||!this.model.BannerList) { if (this.model.BannerList.length == 0||!this.model.BannerList) {
uni.showToast({ title: "请上传品牌介绍图", icon: "none" }); uni.showToast({ title: "请上传品牌介绍图", icon: "none" });
return; return;
...@@ -962,6 +953,18 @@ export default { ...@@ -962,6 +953,18 @@ export default {
uni.showToast({ title: "请选择载体类型", icon: "none" }); uni.showToast({ title: "请选择载体类型", icon: "none" });
return; return;
} }
if (this.model.BuiltUpArea == "" || this.model.BuiltUpArea === 0|| !this.model.BuiltUpArea) {
uni.showToast({ title: "请输入经营面积", icon: "none" });
return;
}
if (
this.model.AreaRequirement == "" ||
this.model.AreaRequirement === 0 ||
!this.model.AreaRequirement
) {
uni.showToast({ title: "请输入可租赁面积", icon: "none" });
return;
}
if (this.model.CarrierSize == ""||!this.model.CarrierSize) { if (this.model.CarrierSize == ""||!this.model.CarrierSize) {
uni.showToast({ title: "请输入商业体量", icon: "none" }); uni.showToast({ title: "请输入商业体量", icon: "none" });
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment