[核销tags样式调整及企业信息完善页面加入经营范围]

This commit is contained in:
2021-10-20 10:59:09 +08:00
parent 163df819ac
commit a450e594b4
4 changed files with 174 additions and 102 deletions

View File

@@ -32,6 +32,10 @@
<uni-icons class="picker-icon" type="arrowdown"></uni-icons>
</view>
</view>
<view class="inputs" v-if="is_range">
<label>经营范围</label>
<textarea :auto-height='true' v-model="range" placeholder="输入经营范围" />
</view>
<view class="inputs">
<label>法人姓名</label>
<input type="text" v-model="corporate" placeholder="输入法人姓名" />
@@ -93,7 +97,9 @@
industryIndex: 0,
reason : '',
category : [],
categorys : []
categorys : [],
range : "",
is_range :false,
};
},
created(){
@@ -103,6 +109,7 @@
this.industry = res.industries
this.formType = this.$Route.query.formType
this.name = res.info.name
this.is_range = res.is_range
this.industryIndex = res.industries.findIndex(val => val.industry_id === res.info.industry.industry_id) || 0
if(this.formType === 'put'){
appliesInfo().then(formValue => {
@@ -159,7 +166,8 @@
id_card : this.identity,
code : this.org,
industry_id : this.industry[this.industryIndex].industry_id,
categories : this.categorys
categories : this.categorys,
range : this.range
}, method).then(res => {
uni.showModal({
title : '提示',
@@ -252,6 +260,8 @@
padding-left: 200rpx;
line-height: 90rpx;
min-height: 90rpx;
display: flex;
flex-direction: row;
label{
position: absolute;
top: 0;
@@ -259,12 +269,15 @@
width: 200rpx;
font-size: $title-size;
}
input{
input,textarea,picker{
flex: 1;
height: 90rpx;
line-height: 90rpx;
font-size: $title-size;
}
.picker-text{
flex: 1;
font-size: $title-size;
position: relative;
padding-right: 90rpx;
.picker-icon{