Commit 2b649859 authored by youjie's avatar youjie

no message

parent abd53adc
...@@ -614,23 +614,23 @@ ...@@ -614,23 +614,23 @@
}, },
brandSubmit(){ brandSubmit(){
if(this.model.BrandClassId== ''){ if(this.model.BrandClassId== ''||!this.model.BrandClassId){
uni.showToast({title: '请选择品牌分类',icon: 'none',}) uni.showToast({title: '请选择品牌分类',icon: 'none',})
return return
} }
if(this.model.BrandName == ''){ if(this.model.BrandName == ''||!this.model.BrandName){
uni.showToast({title: '请输入品牌名',icon: 'none',}) uni.showToast({title: '请输入品牌名',icon: 'none',})
return return
} }
if(this.model.FullBrandName == ''){ if(this.model.FullBrandName == ''||!this.model.FullBrandName){
uni.showToast({title: '请输入品牌全名',icon: 'none',}) uni.showToast({title: '请输入品牌全名',icon: 'none',})
return return
} }
if(this.model.Logo == ''){ if(this.model.Logo == ''||!this.model.Logo){
uni.showToast({title: '请上传Logo',icon: 'none',}) uni.showToast({title: '请上传Logo',icon: 'none',})
return return
} }
if(this.model.BannerList.length == 0){ if(this.model.BannerList.length == 0||!this.model.BannerList){
uni.showToast({title: '请上传品牌介绍图',icon: 'none',}) uni.showToast({title: '请上传品牌介绍图',icon: 'none',})
return return
} }
...@@ -638,14 +638,14 @@ ...@@ -638,14 +638,14 @@
this.model.ShopNum = 0 this.model.ShopNum = 0
} }
if(this.model.AreaRequirement=='' ){ if(this.model.AreaRequirement==''){
this.model.AreaRequirement = 0 this.model.AreaRequirement = 0
} }
if(this.model.CustomerType=='' ){ if(this.model.CustomerType==''||!this.model.CustomerType){
uni.showToast({title: '客群定位不能为空',icon: 'none',}) uni.showToast({title: '客群定位不能为空',icon: 'none',})
return return
} }
if(this.model.BrandType=='' ){ if(this.model.BrandType==''||!this.model.BrandType){
uni.showToast({title: '品牌定位不能为空',icon: 'none',}) uni.showToast({title: '品牌定位不能为空',icon: 'none',})
return return
} }
......
...@@ -843,15 +843,15 @@ export default { ...@@ -843,15 +843,15 @@ export default {
}); });
}, },
carrierSubmit() { carrierSubmit() {
if (this.model.Name == "") { if (this.model.Name == ""||!this.model.Name) {
uni.showToast({ title: "请输入楼宇名称", icon: "none" }); uni.showToast({ title: "请输入楼宇名称", icon: "none" });
return; return;
} }
if (this.model.Developers == "") { if (this.model.Developers == ""||!this.model.Developers) {
uni.showToast({ title: "请输入开发商", icon: "none" }); uni.showToast({ title: "请输入开发商", icon: "none" });
return; return;
} }
if (this.model.Address == "") { if (this.model.Address == ""||!this.model.Address) {
uni.showToast({ title: "请输入楼宇位置", icon: "none" }); uni.showToast({ title: "请输入楼宇位置", icon: "none" });
return; return;
} }
...@@ -859,16 +859,16 @@ export default { ...@@ -859,16 +859,16 @@ export default {
uni.showToast({ title: "请输入面积", icon: "none" }); uni.showToast({ title: "请输入面积", icon: "none" });
return; return;
} }
if (this.model.BannerList.length == 0) { if (this.model.BannerList.length == 0||!this.model.BannerList) {
uni.showToast({ title: "请上传品牌介绍图", icon: "none" }); uni.showToast({ title: "请上传品牌介绍图", icon: "none" });
return; return;
} }
if (!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 == "") { if (this.model.OperationTime == ""||!this.model.OperationTime) {
uni.showToast({ title: "请选择投运时间", icon: "none" }); uni.showToast({ title: "请选择投运时间", icon: "none" });
return; return;
} }
......
...@@ -919,19 +919,19 @@ export default { ...@@ -919,19 +919,19 @@ export default {
}); });
}, },
carrierSubmit() { carrierSubmit() {
if (this.model.CarrierName == "") { if (this.model.CarrierName == ""||!this.model.CarrierName) {
uni.showToast({ title: "请输入载体名", icon: "none" }); uni.showToast({ title: "请输入载体名", icon: "none" });
return; return;
} }
if (this.model.Developers == "") { if (this.model.Developers == ""||!this.model.Developers) {
uni.showToast({ title: "请输入开发商", icon: "none" }); uni.showToast({ title: "请输入开发商", icon: "none" });
return; return;
} }
if (this.model.Address == "") { if (this.model.Address == ""||!this.model.Address) {
uni.showToast({ title: "请输入项目地址", icon: "none" }); uni.showToast({ title: "请输入项目地址", icon: "none" });
return; return;
} }
if (this.model.Logo == "") { if (this.model.Logo == ""||!this.model.Logo) {
uni.showToast({ title: "请上传Logo", icon: "none" }); uni.showToast({ title: "请上传Logo", icon: "none" });
return; return;
} }
...@@ -946,7 +946,7 @@ export default { ...@@ -946,7 +946,7 @@ export default {
uni.showToast({ title: "请输入可租赁面积", icon: "none" }); uni.showToast({ title: "请输入可租赁面积", icon: "none" });
return; return;
} }
if (this.model.BannerList.length == 0) { if (this.model.BannerList.length == 0||!this.model.BannerList) {
uni.showToast({ title: "请上传品牌介绍图", icon: "none" }); uni.showToast({ title: "请上传品牌介绍图", icon: "none" });
return; return;
} }
...@@ -954,11 +954,11 @@ export default { ...@@ -954,11 +954,11 @@ export default {
// if (this.model.CarNum == "") { // if (this.model.CarNum == "") {
// this.model.CarNum = 0; // this.model.CarNum = 0;
// } // }
if (this.model.OpenTime == "") { if (this.model.OpenTime == ""||!this.model.OpenTime) {
uni.showToast({ title: "请输入开业时间", icon: "none" }); uni.showToast({ title: "请输入开业时间", icon: "none" });
return; return;
} }
if (this.model.CarrierSize == "") { if (this.model.CarrierSize == ""||!this.model.CarrierSize) {
uni.showToast({ title: "请输入商业体量", icon: "none" }); uni.showToast({ title: "请输入商业体量", icon: "none" });
return; return;
} }
......
...@@ -769,19 +769,19 @@ ...@@ -769,19 +769,19 @@
}) })
}, },
brandSubmit(){ brandSubmit(){
if(!this.model.EType){ if(this.model.EType==""||!this.model.EType){
uni.showToast({title: '请选择企业类别',icon: 'none',}) uni.showToast({title: '请选择企业类别',icon: 'none',})
return return
} }
if(this.model.Name == ''){ if(this.model.Name == ''||!this.model.Name){
uni.showToast({title: '请输入企业名称',icon: 'none',}) uni.showToast({title: '请输入企业名称',icon: 'none',})
return return
} }
if(this.model.BannerList.length == 0){ if(this.model.BannerList.length == 0||!this.model.BannerList){
uni.showToast({title: '请上传企业介绍图',icon: 'none',}) uni.showToast({title: '请上传企业介绍图',icon: 'none',})
return return
} }
if(!this.model.CategoryId){ if(this.model.CategoryId==""||!this.model.CategoryId){
uni.showToast({title: '请选择楼宇等级',icon: 'none',}) uni.showToast({title: '请选择楼宇等级',icon: 'none',})
return return
} }
...@@ -796,11 +796,11 @@ ...@@ -796,11 +796,11 @@
if( this.model.RentFee==''){ if( this.model.RentFee==''){
this.model.RentFee = 0 this.model.RentFee = 0
} }
if(!this.model.ContactName){ if(this.model.ContactName==""||!this.model.ContactName){
uni.showToast({title: '请填写联系人',icon: 'none',}) uni.showToast({title: '请填写联系人',icon: 'none',})
return return
} }
if(!this.model.ContactPhone){ if(this.model.ContactPhone==""||!this.model.ContactPhone){
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