Commit b0b8dfc7 authored by Mac's avatar Mac

1

parent a38c8f31
......@@ -94,7 +94,7 @@
<template>
<view class="brandInformation">
<view class="bottom-border" v-if="datas.CompanyStatus==-1">
<view class="label-text">关联品牌<span style='color: #E54D42;' >*</span></view>
<view class="label-text">关联品牌</view>
<view class="bottom-border_r" style="padding: 10px 0;height: 42px;display: flex;" @click="disabled==false? gobrandsearch():''">
<input type="text" v-model="glBrandName" :disabled="true" style="padding: 10px 0;width: 1px;flex:1" placeholder="请选择关联品牌" placeholder-style="color:#CECECE;">
<u-icon name="arrow" color="#A5A4AC" size="30" ></u-icon>
......@@ -132,6 +132,7 @@
</view>
<view class="label-text" style="margin-top:20px;margin-bottom: 30rpx;">
<text>Logo</text>
<span style='color: #E54D42;' >*</span>
</view>
<view @click="disabled?'':uploadcard()">
<view slot="addBtn" class="slot-btn" v-if="model.Logo==''" >
......@@ -144,6 +145,7 @@
</view>
<view class="label-text" style="margin-top:20px;margin-bottom: 30rpx;">
<text>介绍图</text>
<span style='color: #E54D42;' >*</span>
<text style="color:#999;font-weight: 400;">(最多9张,第一张为封面图)</text>
</view>
<view>
......@@ -214,7 +216,7 @@
</view>
</view>
<view class="bottom-border">
<view class="label-text">建筑面积(m²)</view>
<view class="label-text">建筑面积(m²)<span style='color: #E54D42;' >*</span></view>
<view class="bottom-border_r" style="padding: 10px 0;height: 42px;display: flex;">
<input type="number" v-model="model.BuiltUpArea" style="width: 1px;flex: 1;" placeholder="请填写建筑面积" :disabled="disabled" placeholder-style="color:#CECECE;">
<span style='margin: 0 10px;'>~</span>
......@@ -222,7 +224,7 @@
</view>
</view>
<view class="bottom-border">
<view class="label-text">需求面积(m²)</view>
<view class="label-text">需求面积(m²)<span style='color: #E54D42;' >*</span></view>
<view class="bottom-border_r" style="padding: 10px 0;height: 42px;display: flex;">
<input type="number" v-model="model.AreaRequirement" style="width: 1px;flex: 1;" placeholder="请填写需求面积" :disabled="disabled" placeholder-style="color:#CECECE;">
<span style='margin: 0 10px;'>~</span>
......@@ -230,19 +232,19 @@
</view>
</view>
<view class="bottom-border">
<view class="label-text">客群定位</view>
<view class="label-text">客群定位<span style='color: #E54D42;' >*</span></view>
<input type="text" v-model="model.CustomerType" style="padding: 10px 0;" placeholder="请填写客群定位" :disabled="disabled" placeholder-style="color:#CECECE;">
</view>
<view class="bottom-border">
<view class="label-text">品牌定位</view>
<view class="label-text">品牌定位<span style='color: #E54D42;' >*</span></view>
<input type="text" v-model="model.BrandType" style="padding: 10px 0;" placeholder="请填写品牌定位" :disabled="disabled" placeholder-style="color:#CECECE;">
</view>
<view class="bottom-border">
<view class="label-text">拓店区域</view>
<view class="label-text">拓店区域<span style='color: #E54D42;' >*</span></view>
<input type="text" v-model="model.StoreExpansion" style="padding: 10px 0;" placeholder="请填写拓店区域" :disabled="disabled" placeholder-style="color:#CECECE;">
</view>
<view class="bottom-border">
<view class="label-text">商铺性质</view>
<view class="label-text">商铺性质<span style='color: #E54D42;' >*</span></view>
<view class="con6" style="margin-top: 20px;">
<u-radio-group v-model="model.ProjectType">
<u-radio v-for="(item1, index1) in goodsType" :key="index1" :name="item1.Id" shape="circle" :disabled="disabled">
......@@ -758,6 +760,33 @@
this.model.ShopNum = 0
}
if(this.model.BuiltUpArea=='' ){//设为默认值
this.model.BuiltUpArea = 0
}
if( this.model.EndBuiltUpArea==''){
this.model.EndBuiltUpArea = 0
}
if(this.model.AreaRequirement=='' ){
this.model.AreaRequirement = 0
}
if( this.model.EndAreaRequirement==''){
this.model.EndAreaRequirement = 0
}
if(this.model.CustomerType=='' ){
uni.showToast({title: '客群定位不能为空',icon: 'none',})
return
}
if(this.model.BrandType=='' ){
uni.showToast({title: '品牌定位不能为空',icon: 'none',})
return
}
if(this.model.StoreExpansion=='' ){
uni.showToast({title: '扩店区域不能为空',icon: 'none',})
return
}
if(this.model.ProjectType == 0){
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