Merge branch 'new' of https://gitea.lihaink.cn/mkm/nk-shop2.0 into new
This commit is contained in:
commit
22aacdfcdd
@ -69,66 +69,72 @@
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<view class="card-content" :style="{height:isOpen[0]?'0':'700rpx',padding: isOpen[0]?'0':'20rpx' } "
|
||||
<!-- :style="{height:isOpen[0]?'0':getFormHeight('#formheight')+'px',padding: isOpen[0]?'0':'20rpx' } " -->
|
||||
<view class="card-content" :style="{height:isOpen[0]?'0':domHeight[0],padding: isOpen[0]?'0':'20rpx' } "
|
||||
style="height: 0;padding: 0;">
|
||||
<view class="form-tit">
|
||||
<view class="" :style="{color:SaveList[0]?'#FF5E0C':'' }">
|
||||
房子出租需求
|
||||
<view id="formheight1">
|
||||
<view class="form-tit">
|
||||
<view class="" :style="{color:SaveList[0]?'#FF5E0C':'' }">
|
||||
房子出租需求
|
||||
</view>
|
||||
<view class="submit" v-if='!SaveList[0]' @click="sava(0,'house_rent_info')">
|
||||
保存
|
||||
</view>
|
||||
<view class="edit-btn" v-if='SaveList[0]' @click="edit(0)">
|
||||
编辑
|
||||
</view>
|
||||
</view>
|
||||
<view class="submit" v-if='!SaveList[0]' @click="sava(0,'house_rent_info')">
|
||||
保存
|
||||
</view>
|
||||
<view class="edit-btn" v-if='SaveList[0]' @click="edit(0)">
|
||||
编辑
|
||||
</view>
|
||||
</view>
|
||||
<view class="form">
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
面积
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_rent_info.area" :readonly='SaveList[0]' color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
出租年限
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_rent_info.ageLimit" :readonly='SaveList[0]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
出租要求
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_rent_info.request" :readonly='SaveList[0]' color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
主题结构是否完整
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_rent_info.isFinish" :readonly='SaveList[0]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
是否允许装修
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input :readonly='SaveList[0]' v-model="formData.house_rent_info.fitment" color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
<view class="form">
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
面积
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_rent_info.area" :readonly='SaveList[0]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
出租年限
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_rent_info.ageLimit" :readonly='SaveList[0]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
出租要求
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_rent_info.request" :readonly='SaveList[0]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
主题结构是否完整
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_rent_info.isFinish" :readonly='SaveList[0]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
是否允许装修
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input :readonly='SaveList[0]' v-model="formData.house_rent_info.fitment"
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<!-- content -->
|
||||
@ -154,93 +160,97 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="card-content" :style="{height:isOpen[1]?'0':'980rpx',padding: isOpen[1]?'0':'20rpx' } "
|
||||
<view class="card-content" :style="{height:isOpen[1]?'0':domHeight[1],padding: isOpen[1]?'0':'20rpx' } "
|
||||
style="height: 0;padding: 0;">
|
||||
<view class="form-tit">
|
||||
<view class="">
|
||||
空闲土地出租需求
|
||||
<view id="formheight2">
|
||||
<view class="form-tit">
|
||||
<view class="">
|
||||
空闲土地出租需求
|
||||
</view>
|
||||
<view class="submit" v-if='!SaveList[1]' @click="sava(1,'land_rent_info')">
|
||||
保存
|
||||
</view>
|
||||
<view class="submit" v-if='SaveList[1]' @click="edit(1)">
|
||||
编辑
|
||||
</view>
|
||||
</view>
|
||||
<view class="submit" v-if='!SaveList[1]' @click="sava(1,'land_rent_info')">
|
||||
保存
|
||||
</view>
|
||||
<view class="submit" v-if='SaveList[1]' @click="edit(1)">
|
||||
编辑
|
||||
</view>
|
||||
</view>
|
||||
<view class="form">
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
是否可以种养
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.isBreeding" :readonly='SaveList[1]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
面积
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.area" :readonly='SaveList[1]' color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
种养要求
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.request" :readonly='SaveList[1]' color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
租金和支付方式
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.payInfo" :readonly='SaveList[1]' color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
土地优势
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.advantage" :readonly='SaveList[1]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
土地缺点
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.shortcoming" color='#7A7A7A'
|
||||
:readonly='SaveList[1]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
闲置原因
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.reson" color='#7A7A7A' :readonly='SaveList[1]'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
使用年限
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.ageLimit" :readonly='SaveList[1]' color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
<view class="form">
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
是否可以种养
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.isBreeding" :readonly='SaveList[1]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
面积
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.area" :readonly='SaveList[1]' color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
种养要求
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.request" :readonly='SaveList[1]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
租金和支付方式
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.payInfo" :readonly='SaveList[1]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
土地优势
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.advantage" :readonly='SaveList[1]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
土地缺点
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.shortcoming" color='#7A7A7A'
|
||||
:readonly='SaveList[1]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
闲置原因
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.reson" color='#7A7A7A'
|
||||
:readonly='SaveList[1]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
使用年限
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.land_rent_info.ageLimit" :readonly='SaveList[1]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<!-- content -->
|
||||
@ -265,165 +275,167 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="card-content" :style="{height:isOpen[2]?'0':'1880rpx',padding: isOpen[2]?'0':'20rpx' } "
|
||||
<view class="card-content" :style="{height:isOpen[2]?'0':domHeight[2],padding: isOpen[2]?'0':'20rpx' } "
|
||||
style="height: 0;padding: 0;">
|
||||
<view id='formheight3'>
|
||||
<view class="form-tit">
|
||||
<view class="">
|
||||
农副产品出售需求
|
||||
</view>
|
||||
<view class="submit" v-if='!SaveList[2]' @click="sava(2,'product_info')">
|
||||
保存
|
||||
</view>
|
||||
<view class="submit" v-if='SaveList[2]' @click="edit(2)">
|
||||
编辑
|
||||
</view>
|
||||
</view>
|
||||
<view class="form">
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
种养类型
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.type" color='#7A7A7A' border="none"
|
||||
:readonly='SaveList[2]'></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
种养面积
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.area" :readonly='SaveList[2]' color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
土地性质
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.quality" :readonly='SaveList[2]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
种养方式
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.manner" :readonly='SaveList[2]' color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
成熟周期
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.maturationCycle" :readonly='SaveList[2]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
最近成熟时间
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.maturationTime" :readonly='SaveList[2]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
年产量
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.yield" color='#7A7A7A' :readonly='SaveList[2]'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
自己消化/市场销售
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.sellType" color='#7A7A7A'
|
||||
:readonly='SaveList[2]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
销售方式
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.sellMethods" :readonly='SaveList[2]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
年销量
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.Sales" :readonly='SaveList[2]' color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
产品名称
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.productName" :readonly='SaveList[2]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
优势
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.advantage" :readonly='SaveList[2]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
产品有无品牌
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input :readonly='SaveList[2]' v-model="formData.product_info.isBrand"
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
是否进行粗加工
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input :readonly='SaveList[2]' v-model="formData.product_info.isProcessing"
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
产品诉求
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.isDemands" color='#7A7A7A'
|
||||
:readonly='SaveList[2]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
急需解决的问题
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.quesition" color='#7A7A7A'
|
||||
:readonly='SaveList[2]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="form-tit">
|
||||
<view class="">
|
||||
农副产品出售需求
|
||||
</view>
|
||||
<view class="submit" v-if='!SaveList[2]' @click="sava(2,'product_info')">
|
||||
保存
|
||||
</view>
|
||||
<view class="submit" v-if='SaveList[2]' @click="edit(2)">
|
||||
编辑
|
||||
</view>
|
||||
</view>
|
||||
<view class="form">
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
种养类型
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.type" color='#7A7A7A' border="none"
|
||||
:readonly='SaveList[2]'></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
种养面积
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.area" :readonly='SaveList[2]' color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
土地性质
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.quality" :readonly='SaveList[2]' color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
种养方式
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.manner" :readonly='SaveList[2]' color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
成熟周期
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.maturationCycle" :readonly='SaveList[2]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
最近成熟时间
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.maturationTime" :readonly='SaveList[2]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
年产量
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.yield" color='#7A7A7A' :readonly='SaveList[2]'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
自己消化/市场销售
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.sellType" color='#7A7A7A' :readonly='SaveList[2]'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
销售方式
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.sellMethods" :readonly='SaveList[2]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
年销量
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.Sales" :readonly='SaveList[2]' color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
产品名称
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.productName" :readonly='SaveList[2]'
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
优势
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.advantage" :readonly='SaveList[2]' color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
产品有无品牌
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input :readonly='SaveList[2]' v-model="formData.product_info.isBrand" color='#7A7A7A'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
是否进行粗加工
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input :readonly='SaveList[2]' v-model="formData.product_info.isProcessing"
|
||||
color='#7A7A7A' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
产品诉求
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.isDemands" color='#7A7A7A' :readonly='SaveList[2]'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
急需解决的问题
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.product_info.quesition" color='#7A7A7A' :readonly='SaveList[2]'
|
||||
border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@ -451,67 +463,71 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="card-content" :style="{height:isOpen[3]?'0':'770rpx',padding: isOpen[3]?'0':'20rpx' } "
|
||||
<view class="card-content" :style="{height:isOpen[3]?'0':domHeight[3],padding: isOpen[3]?'0':'20rpx' } "
|
||||
style="height: 0;padding: 0;">
|
||||
<view id='formheight4'>
|
||||
<view class="form-tit">
|
||||
<view class="">
|
||||
空闲资产出租/出售需求
|
||||
</view>
|
||||
<view class="submit" v-if='!SaveList[3]' @click="sava(3,'idle_asset_rent_info')">
|
||||
保存
|
||||
</view>
|
||||
<view class="submit" v-if='SaveList[3]' @click="edit(3)">
|
||||
编辑
|
||||
</view>
|
||||
</view>
|
||||
<view class="form">
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
资产名称
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.idle_asset_rent_info.area" color='#7A7A7A'
|
||||
:readonly='SaveList[3]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
资产优势
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.idle_asset_rent_info.advantage" color='#7A7A7A'
|
||||
:readonly='SaveList[3]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
数量
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.idle_asset_rent_info.num" color='#7A7A7A'
|
||||
:readonly='SaveList[3]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
增收方式 <text style="font-size: 24rpx;">(出租、出售、置换、捐赠) </text>
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.idle_asset_rent_info.type" color='#7A7A7A'
|
||||
:readonly='SaveList[3]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
其他可变现
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.idle_asset_rent_info.other" color='#7A7A7A'
|
||||
:readonly='SaveList[3]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="form-tit">
|
||||
<view class="">
|
||||
空闲资产出租/出售需求
|
||||
</view>
|
||||
<view class="submit" v-if='!SaveList[3]' @click="sava(3,'idle_asset_rent_info')">
|
||||
保存
|
||||
</view>
|
||||
<view class="submit" v-if='SaveList[3]' @click="edit(3)">
|
||||
编辑
|
||||
</view>
|
||||
</view>
|
||||
<view class="form">
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
资产名称
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.idle_asset_rent_info.area" color='#7A7A7A'
|
||||
:readonly='SaveList[3]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
资产优势
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.idle_asset_rent_info.advantage" color='#7A7A7A'
|
||||
:readonly='SaveList[3]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
数量
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.idle_asset_rent_info.num" color='#7A7A7A'
|
||||
:readonly='SaveList[3]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
增收方式 <text style="font-size: 24rpx;">(出租、出售、置换、捐赠) </text>
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.idle_asset_rent_info.type" color='#7A7A7A'
|
||||
:readonly='SaveList[3]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
其他可变现
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.idle_asset_rent_info.other" color='#7A7A7A'
|
||||
:readonly='SaveList[3]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<!-- content -->
|
||||
@ -537,75 +553,79 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="card-content" :style="{height:isOpen[4]?'0':'790rpx',padding: isOpen[4]?'0':'20rpx' } "
|
||||
<view class="card-content" :style="{height:isOpen[4]?'0':domHeight[4],padding: isOpen[4]?'0':'20rpx' } "
|
||||
style="height: 0;padding: 0;">
|
||||
<view class="form-tit">
|
||||
<view class="">
|
||||
房屋装饰建设/出售
|
||||
<view id='formheight5'>
|
||||
<view class="form-tit">
|
||||
<view class="">
|
||||
房屋装饰建设/出售
|
||||
</view>
|
||||
<view class="submit" v-if='!SaveList[4]' @click="sava(4,'house_decoration_construction')">
|
||||
保存
|
||||
</view>
|
||||
<view class="submit" v-if='SaveList[4]' @click="edit(4)">
|
||||
编辑
|
||||
</view>
|
||||
</view>
|
||||
<view class="submit" v-if='!SaveList[4]' @click="sava(4,'house_decoration_construction')">
|
||||
保存
|
||||
</view>
|
||||
<view class="submit" v-if='SaveList[4]' @click="edit(4)">
|
||||
编辑
|
||||
</view>
|
||||
</view>
|
||||
<view class="form">
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
施工地点
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_decoration_construction.area" color='#7A7A7A'
|
||||
:readonly='SaveList[4]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
开始时间
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_decoration_construction.startTime" color='#7A7A7A'
|
||||
:readonly='SaveList[4]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
修/建标准
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_decoration_construction.standard" color='#7A7A7A'
|
||||
:readonly='SaveList[4]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
事主要求
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_decoration_construction.ask" color='#7A7A7A'
|
||||
:readonly='SaveList[4]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
房屋建设时长
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_decoration_construction.time" color='#7A7A7A'
|
||||
:readonly='SaveList[4]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
设计服务
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_decoration_construction.serve" color='#7A7A7A'
|
||||
:readonly='SaveList[4]' border="none"></u--input>
|
||||
</view>
|
||||
<view class="form">
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
施工地点
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_decoration_construction.area" color='#7A7A7A'
|
||||
:readonly='SaveList[4]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
开始时间
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_decoration_construction.startTime" color='#7A7A7A'
|
||||
:readonly='SaveList[4]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
修/建标准
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_decoration_construction.standard" color='#7A7A7A'
|
||||
:readonly='SaveList[4]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
事主要求
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_decoration_construction.ask" color='#7A7A7A'
|
||||
:readonly='SaveList[4]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
房屋建设时长
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_decoration_construction.time" color='#7A7A7A'
|
||||
:readonly='SaveList[4]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="lable">
|
||||
设计服务
|
||||
</view>
|
||||
<view class="value">
|
||||
<u--input v-model="formData.house_decoration_construction.serve" color='#7A7A7A'
|
||||
:readonly='SaveList[4]' border="none"></u--input>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<!-- content -->
|
||||
@ -646,6 +666,7 @@
|
||||
showOverly: false,
|
||||
isOpen: [true, true, true, true, true],
|
||||
SaveList: [false, false, false, false, false],
|
||||
domHeight: [],
|
||||
columns: [
|
||||
['是', '否']
|
||||
],
|
||||
@ -741,6 +762,12 @@
|
||||
return this.SaveList.filter(item => item === true).length;
|
||||
},
|
||||
},
|
||||
onReady() {
|
||||
for (let i = 1; i < 6; i++) {
|
||||
this.domHeight[i - 1] = this.getFormHeight(`#formheight` + i)
|
||||
}
|
||||
},
|
||||
|
||||
onLoad() {
|
||||
let user = this.$store.state.app.userInfo;
|
||||
if (typeof user == 'string') user = JSON.parse(user);
|
||||
@ -781,6 +808,18 @@
|
||||
|
||||
},
|
||||
methods: {
|
||||
getFormHeight(dom) {
|
||||
let height
|
||||
const query = uni.createSelectorQuery().in(this);
|
||||
query
|
||||
.select(dom)
|
||||
.boundingClientRect((data) => {
|
||||
height = (data.height + 20)
|
||||
})
|
||||
.exec()
|
||||
return height + 'px'
|
||||
|
||||
},
|
||||
back() {
|
||||
uni.navigateBack();
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user