Commit 3ac51d02 authored by youjie's avatar youjie

no message

parent c4b77cfd
......@@ -59,6 +59,35 @@
height: auto;
}
}
.u-action-sheet-item {
display: flex;
line-height: 1;
justify-content: center;
align-items: center;
font-size: 14px;
padding: 34rpx 0;
}
.pubox{
width: 100%;
}
.pubox-top{
width: 100%;
height: 45px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 14px;
color: #111;
}
.u-gab {
height: 12rpx;
background-color: rgb(234, 234, 236);
}
.u-actionsheet-cancel {
color: $u-main-color;
}
}
</style>
......@@ -110,12 +139,12 @@
overflow: hidden;
margin-right: 5px;
"
v-if="model.Address != ''"
v-if="model.Address"
>{{ model.Address }}</text
>
<text
style="width: 1px; flex: 1; color: #cecece"
v-if="model.Address == ''"
v-if="!model.Address"
>请选择地址</text
>
<u-icon name="arrow" color="#A5A4AC" size="30"></u-icon>
......@@ -172,9 +201,16 @@
</view>
<view class="bottom-border">
<view class="label-text">楼宇等级<span style='color: #E54D42;' >*</span></view>
<view class="bottom-border_r" style="padding: 10px 0;height: 42px;display: flex;" @click="disabled || disabled2?'':showTypeStatus= true">
<input type="text" v-model="BrandClassName" :disabled="true" style="padding: 10px 0;width: 1px;flex:1"
placeholder="请选择楼宇等级" placeholder-style="color:#CECECE;">
<view class="bottom-border_r" style="padding: 10px 0;height: 42px;display: flex;"
@click="disabled || disabled2?'':showTypeStatus= true">
<view style="padding: 10px 0;width: 1px;flex:1">
<template v-if="CategoryName">
{{CategoryName}}
</template>
<text v-else style="color:#CECECE;">
请选择楼宇等级
</text>
</view>
<u-icon name="arrow" color="#A5A4AC" size="30" ></u-icon>
</view>
<u-popup v-model="showTypeStatus" mode="bottom" >
......@@ -343,15 +379,21 @@
</view>
<view class="bottom-border">
<view class="label-text">月租金</view>
<input
type="number"
v-model="model.RentFee"
:disabled="disabled"
style="padding: 10px 0"
placeholder="请填写月租金"
placeholder-style="color:#CECECE;"
/>
<span>元/m²</span>
<view
class="bottom-border_r"
style="padding: 10px 0; height: 42px; display: flex"
>
<input
type="number"
v-model="model.RentFee"
:disabled="disabled"
style="padding: 10px 0;flex: 1;margin-right: 10px;"
placeholder="请填写月租金"
placeholder-style="color:#CECECE;"
/>
<span>元/m²</span>
</view>
</view>
<view class="bottom-border">
<view class="label-text">产业方向</view>
......@@ -468,7 +510,7 @@ export default {
Other:"",// 其他需求
ContactName:"",// 联系人
ContactPhone:"",// 联系电话
BannerList:"",// 楼宇图片
BannerList:[],// 楼宇图片
CompanyId:"",// 认证id
},
showOpenTime: false,
......@@ -501,6 +543,7 @@ export default {
{value: 1,name:'是'},
{value: 0,name:'否'},
],
showTypeStatus: false,
};
},
onLoad(options) {
......@@ -523,6 +566,7 @@ export default {
) {
//判断是否填写过了
this.model = this.datas.buildingApplyForModel
this.CategoryName = this.model.CategoryName;
this.model.CompanyId = this.datas.CompanyId;
let data = this.datas.buildingApplyForModel;
// this.model = this.datas.CarrierModel
......@@ -557,17 +601,22 @@ export default {
this.disabled = true;
}
if (this.datas.CompanyStatus == 1) {
this.disabled2 = true;
// this.disabled2 = true;
}
if (this.model.ExistCarrierId > 0) {
this.disabled2 = true;
this.glCarrierName = this.model.CarrierName;
if (this.model.CategoryId > 0) {
// this.disabled2 = true;
}
} else {
this.model.CompanyId = this.datas.CompanyId
}
},
methods: {
clickItem(x) {//类型选择
this.model.CategoryId = x.ID
this.CategoryName = x.ClassName
this.showTypeStatus = false
},
radioChange(evt) {
for (let i = 0; i < this.OperateList; i++) {
if (this.OperateList[i].value === evt.detail.value) {
......
......@@ -390,7 +390,7 @@
model:{
ID:"",// 企业服务主键Id
Name:"",// 企业名称
BannerList:"",// 企业图片
BannerList: [],// 企业图片
Introduction:"",// 企业简介
DevIntention:"",// 企业发展意向
Address:"",// 楼宇位置
......@@ -624,7 +624,6 @@
uploadSuccessHandler(data, index, lists) {
let r = JSON.parse(data);
this.model.BannerList.push(r.data);
console.log(this.model.BannerList,'----333')
},
uploadcard(){
uni.chooseImage({
......
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