Commit 0f260cfd authored by youjie's avatar youjie

修复bug

parent 4e667601
...@@ -394,7 +394,6 @@ ...@@ -394,7 +394,6 @@
this.mainColor = this.$uiConfig.mainColor; this.mainColor = this.$uiConfig.mainColor;
this.GetProjectTypeEnumList()//载体性质 this.GetProjectTypeEnumList()//载体性质
this.getbrandList() this.getbrandList()
this.model.CompanyId = this.datas.CompanyId
if(this.datas.CompanyStatus!=undefined && this.datas.IsComplete != undefined){//判断是否填写过了 if(this.datas.CompanyStatus!=undefined && this.datas.IsComplete != undefined){//判断是否填写过了
let data = this.datas.BrandModel let data = this.datas.BrandModel
......
...@@ -507,7 +507,7 @@ export default { ...@@ -507,7 +507,7 @@ export default {
this.mainColor = this.$uiConfig.mainColor; this.mainColor = this.$uiConfig.mainColor;
this.GetAuthenticationCategoryEnumList(); //首店类别 this.GetAuthenticationCategoryEnumList(); //首店类别
this.GetProjectTypeEnumList(); //载体性质 this.GetProjectTypeEnumList(); //载体性质
this.model.CompanyId = this.datas.CompanyId;
if ( if (
this.datas.CompanyStatus != undefined && this.datas.CompanyStatus != undefined &&
...@@ -515,6 +515,7 @@ export default { ...@@ -515,6 +515,7 @@ export default {
) { ) {
//判断是否填写过了 //判断是否填写过了
this.model = this.datas.buildingApplyForModel this.model = this.datas.buildingApplyForModel
this.model.CompanyId = this.datas.CompanyId;
let data = this.datas.buildingApplyForModel; let data = this.datas.buildingApplyForModel;
// this.model = this.datas.CarrierModel // this.model = this.datas.CarrierModel
......
...@@ -139,12 +139,12 @@ ...@@ -139,12 +139,12 @@
overflow: hidden; overflow: hidden;
margin-right: 5px; margin-right: 5px;
" "
v-if="model.Address != ''" v-if="model.Address"
>{{ model.Address }}</text >{{ model.Address }}</text
> >
<text <text
style="width: 1px; flex: 1; color: #cecece" style="width: 1px; flex: 1; color: #cecece"
v-if="model.Address == ''" v-if="!model.Address"
>请选择地址</text >请选择地址</text
> >
<u-icon name="arrow" color="#A5A4AC" size="30"></u-icon> <u-icon name="arrow" color="#A5A4AC" size="30"></u-icon>
...@@ -249,7 +249,7 @@ ...@@ -249,7 +249,7 @@
position: relative; position: relative;
margin-right: 20px; margin-right: 20px;
" "
v-if="model.VideoUrl != ''" v-if="model.VideoUrl"
> >
<video <video
id="myVideo" id="myVideo"
...@@ -272,7 +272,7 @@ ...@@ -272,7 +272,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
" "
@tap.stop="model.VideoUrl = ''" @tap.stop="!model.VideoUrl"
v-if="!disabled" v-if="!disabled"
> >
<u-icon <u-icon
...@@ -283,7 +283,7 @@ ...@@ -283,7 +283,7 @@
></u-icon> ></u-icon>
</view> </view>
</view> </view>
<view v-if="model.VideoUrl == ''"> <view v-if="!model.VideoUrl">
<view slot="addBtn" class="slot-btn" @click="disabled ? '' : upvideo()"> <view slot="addBtn" class="slot-btn" @click="disabled ? '' : upvideo()">
<image <image
class="image" class="image"
...@@ -536,9 +536,9 @@ export default { ...@@ -536,9 +536,9 @@ export default {
Developers: "", //开发商 Developers: "", //开发商
OpenTime: "", //开业时间 OpenTime: "", //开业时间
// ProjectType: 0, //项目类型 // ProjectType: 0, //项目类型
CarrierSize: 0, //商业体量 CarrierSize: null, //商业体量
LayersNum: "", //商业层数 LayersNum: "", //商业层数
CarNum: 0, //车位数量 CarNum: null, //车位数量
CarrierPlan: "", //业态规划 CarrierPlan: "", //业态规划
// CarrierTarget: "", //招引目标 // CarrierTarget: "", //招引目标
Location: "", //定位 Location: "", //定位
...@@ -558,8 +558,8 @@ export default { ...@@ -558,8 +558,8 @@ export default {
// FirstShow: "", //首秀政策 // FirstShow: "", //首秀政策
// FirstExhibition: "", //首展政策 // FirstExhibition: "", //首展政策
// ShopNum: 0, //店铺数量 // ShopNum: 0, //店铺数量
BuiltUpArea: 0, //经营面积 BuiltUpArea: null, //经营面积
AreaRequirement: 0, //可租赁面积 AreaRequirement: null, //可租赁面积
// YeJi: 0, //去年业绩 // YeJi: 0, //去年业绩
Ascription: "",//资产权属 Ascription: "",//资产权属
VisitorsFlowrate: "",//人流量参数 VisitorsFlowrate: "",//人流量参数
...@@ -614,7 +614,7 @@ export default { ...@@ -614,7 +614,7 @@ export default {
this.mainColor = this.$uiConfig.mainColor; this.mainColor = this.$uiConfig.mainColor;
this.GetAuthenticationCategoryEnumList(); //首店类别 this.GetAuthenticationCategoryEnumList(); //首店类别
this.GetProjectTypeEnumList(); //载体性质 this.GetProjectTypeEnumList(); //载体性质
this.model.CompanyId = this.datas.CompanyId;
if ( if (
this.datas.CompanyStatus != undefined && this.datas.CompanyStatus != undefined &&
...@@ -623,7 +623,8 @@ export default { ...@@ -623,7 +623,8 @@ export default {
//判断是否填写过了 //判断是否填写过了
let data = this.datas.CarrierModel let data = this.datas.CarrierModel
this.model = this.datas.CarrierModel this.model = this.datas.CarrierModel
// this.BrandClassName = data.ClassName this.model.CompanyId = this.datas.CompanyId;
this.BrandClassName = data.CategoryName
if (this.model.BannerList && this.model.BannerList.length > 0) { if (this.model.BannerList && this.model.BannerList.length > 0) {
this.model.BannerList.forEach((x) => { this.model.BannerList.forEach((x) => {
...@@ -941,14 +942,9 @@ export default { ...@@ -941,14 +942,9 @@ export default {
return; return;
} }
if (this.model.ProjectType == 0) { // if (this.model.CarNum == "") {
uni.showToast({ title: "请选择载体类型", icon: "none" }); // this.model.CarNum = 0;
return; // }
}
if (this.model.CarNum == "") {
this.model.CarNum = 0;
}
if (this.model.OpenTime == "") { if (this.model.OpenTime == "") {
uni.showToast({ title: "请输入开业时间", icon: "none" }); uni.showToast({ title: "请输入开业时间", icon: "none" });
return; return;
......
...@@ -449,13 +449,12 @@ ...@@ -449,13 +449,12 @@
this.mainColor = this.$uiConfig.mainColor; this.mainColor = this.$uiConfig.mainColor;
this.GetProjectTypeEnumList()//载体性质 this.GetProjectTypeEnumList()//载体性质
this.getbrandList() this.getbrandList()
this.model.CompanyId = this.datas.CompanyId
if(this.datas.CompanyStatus!=undefined && this.datas.IsComplete != undefined){//判断是否填写过了 if(this.datas.CompanyStatus!=undefined && this.datas.IsComplete != undefined){//判断是否填写过了
this.model = this.datas.EnterpriseServicesModel this.model = this.datas.EnterpriseServicesModel
this.model.CompanyId = this.datas.CompanyId this.model.CompanyId = this.datas.CompanyId
let data = this.datas.EnterpriseServicesModel let data = this.datas.EnterpriseServicesModel
this.glBrandName = data.Name this.glBrandName = data.Name
if(this.model.BannerList && this.model.BannerList.length>0){ if(this.model.BannerList && this.model.BannerList.length>0){
this.model.BannerList.forEach(x=>{ this.model.BannerList.forEach(x=>{
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
:src="dataOne.BusinessLicense" :src="dataOne.BusinessLicense"
v-if="businessLicenseUploadIsSuccess" v-if="businessLicenseUploadIsSuccess"
class="conImage" class="conImage"
mode="heightFix" mode="aspectFill"
></image> ></image>
<view <view
class="reupload" class="reupload"
......
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