Commit 4818e9a2 authored by youjie's avatar youjie

no message

parent 5d57e77e
...@@ -842,27 +842,30 @@ export default { ...@@ -842,27 +842,30 @@ export default {
uni.showToast({ title: "请输入楼宇位置", icon: "none" }); uni.showToast({ title: "请输入楼宇位置", icon: "none" });
return; return;
} }
if (this.model.Areas == "" || this.model.Areas === 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;
} }
if (this.model.OperationTime == ""||!this.model.OperationTime) {
uni.showToast({ title: "请选择投运时间", icon: "none" });
return;
}
if (this.model.CategoryId==""||!this.model.CategoryId) { if (this.model.CategoryId==""||!this.model.CategoryId) {
uni.showToast({ title: "请选择楼宇等级", icon: "none" }); uni.showToast({ title: "请选择楼宇等级", icon: "none" });
return; return;
} }
if (this.model.OperationTime == ""||!this.model.OperationTime) { if (this.model.Areas == "" || this.model.Areas === 0) {
uni.showToast({ title: "请选择投运时间", icon: "none" }); uni.showToast({ title: "请输入面积", icon: "none" });
return; return;
} }
if (this.model.PropertyComp == ""||!this.model.PropertyComp) { if (this.model.PropertyComp == ""||!this.model.PropertyComp) {
uni.showToast({ title: "请填写物业公司", icon: "none" }); uni.showToast({ title: "请填写物业公司", icon: "none" });
return; return;
} }
if (this.model.ConstructionTime == ""||!this.model.ConstructionTime) {
uni.showToast({ title: "请选择建设时间", icon: "none" });
return;
}
console.log(this.model, "保存"); console.log(this.model, "保存");
uni.showLoading({ uni.showLoading({
title: "提交中...", title: "提交中...",
......
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