|
@@ -44,13 +44,13 @@
|
|
|
<view id="apply-info" class="m-t20 m-lr30 text-color-12" v-if="step === 2">
|
|
<view id="apply-info" class="m-t20 m-lr30 text-color-12" v-if="step === 2">
|
|
|
<view :id="`info${index}`" class="sys-background-fff r-20 p-20 m-b20" v-for="(applyItem,index) in appliesInfo.apply_data"
|
|
<view :id="`info${index}`" class="sys-background-fff r-20 p-20 m-b20" v-for="(applyItem,index) in appliesInfo.apply_data"
|
|
|
:key="index">
|
|
:key="index">
|
|
|
- <view class="sys-from-background-color p-20 r-20 size-26" v-if="!applyItem.is_edit">
|
|
|
|
|
|
|
+ <view class="sys-from-background-color p-20 r-20 size-26" v-if="editIndex!==index">
|
|
|
<view class="">
|
|
<view class="">
|
|
|
<view class="row-justify-sb center">
|
|
<view class="row-justify-sb center">
|
|
|
<text class="size-28 sys-weight-600">抵押信息({{index+1}})</text>
|
|
<text class="size-28 sys-weight-600">抵押信息({{index+1}})</text>
|
|
|
<view class="row-c sys-background-fff r-100 p-lr30 p-tb10">
|
|
<view class="row-c sys-background-fff r-100 p-lr30 p-tb10">
|
|
|
<image class="wh-30" src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/information/edit.png" mode="aspectFill"
|
|
<image class="wh-30" src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/information/edit.png" mode="aspectFill"
|
|
|
- @click="onEditInfo(applyItem)"></image>
|
|
|
|
|
|
|
+ @click="onEditInfo(index)"></image>
|
|
|
<view class="title-line m-lr20"></view>
|
|
<view class="title-line m-lr20"></view>
|
|
|
<image class="wh-30" src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/information/delete.png" mode="aspectFill"
|
|
<image class="wh-30" src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/information/delete.png" mode="aspectFill"
|
|
|
@click="onDeleteInfo(index)">
|
|
@click="onDeleteInfo(index)">
|
|
@@ -145,6 +145,11 @@
|
|
|
<text class="size-30 sys-weight-600'">绑定资产信息</text>
|
|
<text class="size-30 sys-weight-600'">绑定资产信息</text>
|
|
|
<property-select label="选择资产" v-model="applyItem.property_sns" :propertyList="propertyList"></property-select>
|
|
<property-select label="选择资产" v-model="applyItem.property_sns" :propertyList="propertyList"></property-select>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="m-t30">
|
|
|
|
|
+ <text class="size-30 sys-weight-600'">{{applyItem.apply_type*1===1?'还款信息':'监管银行卡信息'}}</text>
|
|
|
|
|
+ <en-input label="还款金额" type="number" placeholder="请输入还款金额" rightText="万元"></en-input>
|
|
|
|
|
+ <add-bank ></add-bank>
|
|
|
|
|
+ </view>
|
|
|
<view class="m-t30" v-for="(repaymentItem,repaymentIndex) in applyItem.repayment_data">
|
|
<view class="m-t30" v-for="(repaymentItem,repaymentIndex) in applyItem.repayment_data">
|
|
|
<text class="size-30 sys-weight-600'">{{applyItem.apply_type*1===1?'还款信息':'监管银行卡信息'}}</text>
|
|
<text class="size-30 sys-weight-600'">{{applyItem.apply_type*1===1?'还款信息':'监管银行卡信息'}}</text>
|
|
|
<en-input v-if="applyItem.apply_type*1===1" v-model="repaymentItem.money" label="还款金额" type="number" placeholder="请输入还款金额" rightText="万元"></en-input>
|
|
<en-input v-if="applyItem.apply_type*1===1" v-model="repaymentItem.money" label="还款金额" type="number" placeholder="请输入还款金额" rightText="万元"></en-input>
|
|
@@ -200,6 +205,7 @@
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ editIndex:0,
|
|
|
title: '',
|
|
title: '',
|
|
|
step: 1,
|
|
step: 1,
|
|
|
fixedHeight: 70,
|
|
fixedHeight: 70,
|
|
@@ -354,8 +360,8 @@
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
// 编辑单个信息
|
|
// 编辑单个信息
|
|
|
- onEditInfo(item) {
|
|
|
|
|
- item.is_edit = !item.is_edit
|
|
|
|
|
|
|
+ onEditInfo(index) {
|
|
|
|
|
+ this.editIndex =index
|
|
|
},
|
|
},
|
|
|
// 删除信息
|
|
// 删除信息
|
|
|
onDeleteInfo(index) {
|
|
onDeleteInfo(index) {
|