Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
2b649859
Commit
2b649859
authored
Dec 13, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
abd53adc
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
27 deletions
+27
-27
brandInformation.vue
pages/kotra/BrandEnterSetIn/components/brandInformation.vue
+8
-8
buildingInformation.vue
.../kotra/BrandEnterSetIn/components/buildingInformation.vue
+6
-6
carrierInformation.vue
...s/kotra/BrandEnterSetIn/components/carrierInformation.vue
+7
-7
enterInformation.vue
pages/kotra/BrandEnterSetIn/components/enterInformation.vue
+6
-6
No files found.
pages/kotra/BrandEnterSetIn/components/brandInformation.vue
View file @
2b649859
...
@@ -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
}
}
...
...
pages/kotra/BrandEnterSetIn/components/buildingInformation.vue
View file @
2b649859
...
@@ -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
;
}
}
...
...
pages/kotra/BrandEnterSetIn/components/carrierInformation.vue
View file @
2b649859
...
@@ -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
;
}
}
...
...
pages/kotra/BrandEnterSetIn/components/enterInformation.vue
View file @
2b649859
...
@@ -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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment