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

优化提示

parent 838a9e75
......@@ -313,7 +313,7 @@
</view>
<view class="bottom-border">
<view class="label-text"
>经营面积(m²)<span style="color: #e54d42">*</span></view
>经营面积<span style="color: #e54d42">*</span></view
>
<view
class="bottom-border_r"
......@@ -322,16 +322,17 @@
<input
type="number"
v-model="model.BuiltUpArea"
style="width: 1px; flex: 1"
style="width: 1px; flex: 1;margin-right: 10px;"
placeholder="请填写经营面积"
:disabled="disabled"
placeholder-style="color:#CECECE;"
/>
<text></text>
</view>
</view>
<view class="bottom-border">
<view class="label-text"
>可租赁面积(m²)<span style="color: #e54d42">*</span></view
>可租赁面积<span style="color: #e54d42">*</span></view
>
<view
class="bottom-border_r"
......@@ -340,11 +341,12 @@
<input
type="number"
v-model="model.AreaRequirement"
style="width: 1px; flex: 1"
style="width: 1px; flex: 1;margin-right: 10px;"
placeholder="请填写可租赁面积"
:disabled="disabled"
placeholder-style="color:#CECECE;"
/>
<text></text>
</view>
</view>
<view class="bottom-border">
......@@ -935,17 +937,6 @@ export default {
uni.showToast({ title: "请上传Logo", icon: "none" });
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) {
uni.showToast({ title: "请上传品牌介绍图", icon: "none" });
return;
......@@ -962,6 +953,18 @@ export default {
uni.showToast({ title: "请选择载体类型", icon: "none" });
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) {
uni.showToast({ title: "请输入商业体量", icon: "none" });
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