Commit 9260d01d authored by 罗超's avatar 罗超

1

parent b42d4f31
......@@ -1191,14 +1191,6 @@ export default {
uni.showToast({ title: "请输入载体名", icon: "none" });
return;
}
if (this.model.Logo == "") {
uni.showToast({ title: "请上传Logo", icon: "none" });
return;
}
if (this.model.BannerList.length == 0) {
uni.showToast({ title: "请上传品牌介绍图", icon: "none" });
return;
}
if (this.model.Developers == "") {
uni.showToast({ title: "请输入开发商", icon: "none" });
return;
......@@ -1207,19 +1199,12 @@ export default {
uni.showToast({ title: "请输入项目地址", icon: "none" });
return;
}
if (this.model.ProjectType == 0) {
uni.showToast({ title: "请选择项目类型", icon: "none" });
return;
}
if (this.model.CarrierSize == "") {
uni.showToast({ title: "请输入商业体量", icon: "none" });
if (this.model.YeJi == "" || this.model.YeJi === 0) {
uni.showToast({ title: "请输入去年业绩", icon: "none" });
return;
}
if (this.model.CarNum == "") {
this.model.CarNum = 0;
}
if (this.model.OpenTime == "") {
uni.showToast({ title: "请输入开业时间", icon: "none" });
if (this.model.Logo == "") {
uni.showToast({ title: "请上传Logo", icon: "none" });
return;
}
if (this.model.ShopNum == "" || this.model.ShopNum === 0) {
......@@ -1237,8 +1222,25 @@ export default {
uni.showToast({ title: "请输入可租赁面积", icon: "none" });
return;
}
if (this.model.YeJi == "" || this.model.YeJi === 0) {
uni.showToast({ title: "请输入去年业绩", icon: "none" });
if (this.model.BannerList.length == 0) {
uni.showToast({ title: "请上传品牌介绍图", icon: "none" });
return;
}
if (this.model.ProjectType == 0) {
uni.showToast({ title: "请选择项目类型", icon: "none" });
return;
}
if (this.model.CarNum == "") {
this.model.CarNum = 0;
}
if (this.model.OpenTime == "") {
uni.showToast({ title: "请输入开业时间", icon: "none" });
return;
}
if (this.model.CarrierSize == "") {
uni.showToast({ title: "请输入商业体量", icon: "none" });
return;
}
console.log(this.model, "保存");
......
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