|
@@ -28,60 +28,29 @@
|
|
|
<view class="sys-background-fff r-20 p-lr30 p-t30">
|
|
<view class="sys-background-fff r-20 p-lr30 p-t30">
|
|
|
<text class="size-30 sys-weight-600'">基本信息</text>
|
|
<text class="size-30 sys-weight-600'">基本信息</text>
|
|
|
<view class="m-t20">
|
|
<view class="m-t20">
|
|
|
- <view class="row-justify-sb center p-tb30 bor-bottom-1 size-28">
|
|
|
|
|
- <view class="wh-text"><text></text>贷款额度</view>
|
|
|
|
|
- <view class="row-c flex">
|
|
|
|
|
- <input class="wh-input sys-size-28 text-color-12 m-lr20 flex"
|
|
|
|
|
- placeholder-class="sys-size-28 text-color-999 sys-weight-400" placeholder="请输入"
|
|
|
|
|
- v-model="inputValue"></input>
|
|
|
|
|
- </view>
|
|
|
|
|
- <text>万元</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="row-justify-sb center p-tb30 bor-bottom-1 size-28">
|
|
|
|
|
- <view class="wh-text"><text></text>是否涉农</view>
|
|
|
|
|
- <view class="row-c">
|
|
|
|
|
- <view class="row-c radiu-item m-l20"
|
|
|
|
|
- :class="{'active-radiu':formData.is_farming === item.value}"
|
|
|
|
|
- v-for="(item,index) in farming" :key="index" @click="onSetFarming(item.value)">
|
|
|
|
|
- <image class="wh-30 m-r20"
|
|
|
|
|
- :src="formData.is_farming == item.value?'https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/information/correct.png':'https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/information/error.png'"
|
|
|
|
|
- mode="aspectFill"></image>
|
|
|
|
|
- <text>{{item.text}}</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <WhInput :name="'贷款形式'" disabled is_select></WhInput>
|
|
|
|
|
- <WhInput :name="'贷款类别'" disabled is_select></WhInput>
|
|
|
|
|
- <WhInput :name="'投向行业'" disabled is_select></WhInput>
|
|
|
|
|
- <WhInput :name="'企业类似'" disabled is_select></WhInput>
|
|
|
|
|
- <view class="row-justify-sb center p-tb30 size-28">
|
|
|
|
|
- <view class="wh-text"><text></text>材料费</view>
|
|
|
|
|
- <view class="row-c">
|
|
|
|
|
- <view class="row-c radiu-item m-l20"
|
|
|
|
|
- :class="{'active-radiu':formData.is_materials === item.value}"
|
|
|
|
|
- v-for="(item,index) in materials" :key="index" @click="onSetMaterials(item.value)">
|
|
|
|
|
- <image class="wh-30 m-r20"
|
|
|
|
|
- :src="formData.is_materials === item.value?'https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/information/correct.png':'https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/information/error.png'"
|
|
|
|
|
- mode="aspectFill"></image>
|
|
|
|
|
- <text>{{item.text}}</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <en-input label="贷款额度" v-if="verifyKey('quota')" v-model="appliesInfo.quota" type="digit" placeholder="请输入贷款金额" rightText="万元"></en-input>
|
|
|
|
|
+ <en-radio name="是否涉农" v-if="verifyKey('is_farming')" v-model="appliesInfo.is_farming" :list="farmingData"></en-radio>
|
|
|
|
|
+ <en-select label="贷款形式" v-if="verifyKey('loan_form')" v-model="appliesInfo.loan_form" :local-data="loanFormArr" placeholder="请选择贷款形式"></en-select>
|
|
|
|
|
+ <en-select label="贷款类别" v-if="verifyKey('loan_type')" v-model="appliesInfo.loan_type" :local-data="loanTypeArr" placeholder="请选择贷款类别"></en-select>
|
|
|
|
|
+ <en-select :valueType="'2'" :map="{ text: 'name', value: 'id'}" label="投向行业" v-if="verifyKey('loan_industry')" v-model="appliesInfo.loan_industry" :local-data="loanIndustryArr" placeholder="请选择投向行业"></en-select>
|
|
|
|
|
+ <en-select label="企业类型" v-if="verifyKey('enterprise_type')" v-model="appliesInfo.enterprise_type" :local-data="enterpriseTypeArr" placeholder="请选择企业类型"></en-select>
|
|
|
|
|
+ <en-date label="预计用款时间" v-if="verifyKey('use_date')" v-model="appliesInfo.use_date" placeholder="选择预计用款时间"></en-date>
|
|
|
|
|
+ <en-radio name="材料费" v-if="verifyKey('pay_status')" v-model="appliesInfo.pay_status" :list="payData" :no-box="true"></en-radio>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<!-- 基本信息end -->
|
|
<!-- 基本信息end -->
|
|
|
<!-- 抵押信息start -->
|
|
<!-- 抵押信息start -->
|
|
|
<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="(item,index) in applyList"
|
|
|
|
|
|
|
+ <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="item.is_edit">
|
|
|
|
|
|
|
+ <view class="sys-from-background-color p-20 r-20 size-26" v-if="!applyItem.is_edit">
|
|
|
<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(item)"></image>
|
|
|
|
|
|
|
+ @click="onEditInfo(applyItem)"></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)">
|
|
@@ -90,8 +59,30 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="row-c p-tb30">
|
|
<view class="row-c p-tb30">
|
|
|
<view class="text-color-666"><text></text>申请类型:</view>
|
|
<view class="text-color-666"><text></text>申请类型:</view>
|
|
|
- <text>抵押</text>
|
|
|
|
|
|
|
+ <text>{{applyItem.apply_type*1===1?'抵押':'买卖'}}</text>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="" v-if="applyItem.apply_type*1===2">
|
|
|
|
|
+ <view class="row-c p-tb30" v-if="verifyKey('transaction')">
|
|
|
|
|
+ <view class="text-color-666"><text></text>成交价:</view>
|
|
|
|
|
+ <text>{{applyItem.transaction}}万</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="row-c " v-if="verifyKey('pricing')">
|
|
|
|
|
+ <view class="text-color-666"><text></text>定金:</view>
|
|
|
|
|
+ <text>{{applyItem.pricing}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="row-c p-tb30" v-if="verifyKey('supervise')">
|
|
|
|
|
+ <view class="text-color-666"><text></text>资金监管:</view>
|
|
|
|
|
+ <text>{{applyItem.supervise}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="row-c p-tb30" v-if="verifyKey('reply_type')">
|
|
|
|
|
+ <view class="text-color-666"><text></text>批复类型:</view>
|
|
|
|
|
+ <text>{{applyItem.reply_type}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="row-c p-tb30" v-if="verifyKey('intermediary')" >
|
|
|
|
|
+ <view class="text-color-666"><text></text>成交中介:</view>
|
|
|
|
|
+ <text>{{applyItem.intermediary}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="">
|
|
<view class="">
|
|
|
<text class="size-28 sys-weight-600">绑定资产信息</text>
|
|
<text class="size-28 sys-weight-600">绑定资产信息</text>
|
|
@@ -100,115 +91,83 @@
|
|
|
<text>绑定资产</text>
|
|
<text>绑定资产</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+
|
|
|
<view class="">
|
|
<view class="">
|
|
|
- <text class="size-28 sys-weight-600">还款账户信息</text>
|
|
|
|
|
- <view class="row-c p-tb30">
|
|
|
|
|
- <view class="text-color-666"><text></text>还款金额:</view>
|
|
|
|
|
- <text>100万</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="row-c ">
|
|
|
|
|
- <view class="text-color-666"><text></text>银行卡号:</view>
|
|
|
|
|
- <text>4576476465498790878</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="row-c p-tb30">
|
|
|
|
|
- <view class="text-color-666"><text></text>所属银行:</view>
|
|
|
|
|
- <text>中国银行</text>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <view v-for="(repaymentItem,repaymentIndex) in applyItem.repayment_data">
|
|
|
|
|
+ <text class="size-28 sys-weight-600">{{applyItem.apply_type*1===1?'还款信息':'监管银行卡信息'}}</text>
|
|
|
|
|
+ <view class="row-c p-tb30">
|
|
|
|
|
+ <view class="text-color-666"><text></text>还款金额:</view>
|
|
|
|
|
+ <text>{{repaymentItem.money}}万</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="row-c ">
|
|
|
|
|
+ <view class="text-color-666"><text></text>银行卡号:</view>
|
|
|
|
|
+ <text>{{repaymentItem.bank_num}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="row-c p-tb30">
|
|
|
|
|
+ <view class="text-color-666"><text></text>所属银行:</view>
|
|
|
|
|
+ <text>{{repaymentItem.bank_name}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
<view class="">
|
|
<view class="">
|
|
|
- <text class="size-28 sys-weight-600">放款账户信息</text>
|
|
|
|
|
- <view class="row-c p-tb30">
|
|
|
|
|
- <view class="text-color-666"><text></text>批复金额:</view>
|
|
|
|
|
- <text>100万</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="row-c ">
|
|
|
|
|
- <view class="text-color-666"><text></text>银行卡号:</view>
|
|
|
|
|
- <text>4576476465498790878</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="row-c p-t30">
|
|
|
|
|
- <view class="text-color-666"><text></text>所属银行:</view>
|
|
|
|
|
- <text>中国银行</text>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <view v-for="(loanItem,loanIndex) in applyItem.loan_data">
|
|
|
|
|
+ <text class="size-28 sys-weight-600">放款账户信息</text>
|
|
|
|
|
+ <view class="row-c p-tb30">
|
|
|
|
|
+ <view class="text-color-666"><text></text>批复金额:</view>
|
|
|
|
|
+ <text>{{loanItem.money}}万</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="row-c ">
|
|
|
|
|
+ <view class="text-color-666"><text></text>银行卡号:</view>
|
|
|
|
|
+ <text>{{loanItem.bank_num}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="row-c p-t30">
|
|
|
|
|
+ <view class="text-color-666"><text></text>所属银行:</view>
|
|
|
|
|
+ <text>{{loanItem.bank_name}}</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view v-else>
|
|
<view v-else>
|
|
|
<view class="">
|
|
<view class="">
|
|
|
<text class="size-30 sys-weight-600'">抵押信息{{index+1}}</text>
|
|
<text class="size-30 sys-weight-600'">抵押信息{{index+1}}</text>
|
|
|
- <view class="row-justify-sb center p-tb30 bor-bottom-1 size-28">
|
|
|
|
|
- <view class="wh-text"><text></text>申请类型</view>
|
|
|
|
|
- <view class="row-c">
|
|
|
|
|
- <view class="row-c radiu-item m-l20"
|
|
|
|
|
- :class="{'active-radiu':formData.is_materials === item.value}"
|
|
|
|
|
- v-for="(item,index) in impawn" :key="index" @click="onSetMaterials(item.value)">
|
|
|
|
|
- <image class="wh-30 m-r20"
|
|
|
|
|
- :src="formData.is_materials === item.value?'https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/information/correct.png':'https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/information/error.png'"
|
|
|
|
|
- mode="aspectFill"></image>
|
|
|
|
|
- <text>{{item.text}}</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <en-radio name="申请类型" v-model="applyItem.apply_type" v-if="verifyKey('apply_type')" :list="applyData"></en-radio>
|
|
|
|
|
+ <view v-if="applyItem.apply_type*1===2">
|
|
|
|
|
+ <en-input label="成交价" v-model="applyItem.transaction" v-if="verifyKey('transaction')" type="digit" placeholder="请输入成交价" rightText="万元"></en-input>
|
|
|
|
|
+ <en-input label="定金" v-model="applyItem.pricing" v-if="verifyKey('pricing')" type="digit" placeholder="请输入定金" rightText="万元"></en-input>
|
|
|
|
|
+ <en-input label="资金监管" v-model="applyItem.supervise" v-if="verifyKey('supervise')" type="digit" placeholder="请输监管金额" rightText="万元"></en-input>
|
|
|
|
|
+ <en-radio propertyData="批复类型" v-model="applyItem.reply_type" v-if="verifyKey('reply_type')" :list="replyData"></en-radio>
|
|
|
|
|
+ <en-input label="成交中介" v-model="applyItem.intermediary" v-if="verifyKey('intermediary')" type="text" placeholder="请输入中介公司名称" ></en-input>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="m-t30">
|
|
<view class="m-t30">
|
|
|
<text class="size-30 sys-weight-600'">绑定资产信息</text>
|
|
<text class="size-30 sys-weight-600'">绑定资产信息</text>
|
|
|
- <WhInput :name="'绑定资产'" disabled is_select></WhInput>
|
|
|
|
|
|
|
+ <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'">还款账户信息</text>
|
|
|
|
|
- <view class="row-justify-sb center p-tb30 bor-bottom-1 size-28">
|
|
|
|
|
- <view class="wh-text"><text></text>还款金额</view>
|
|
|
|
|
- <view class="row-c flex">
|
|
|
|
|
- <input class="wh-input sys-size-28 text-color-12 m-lr20 flex"
|
|
|
|
|
- placeholder-class="sys-size-28 text-color-999 sys-weight-400" placeholder="请输入"
|
|
|
|
|
- v-model="inputValue"></input>
|
|
|
|
|
- </view>
|
|
|
|
|
- <text>万元</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="row-justify-sb center p-tb30 bor-bottom-1 size-28">
|
|
|
|
|
- <view class="wh-text"><text></text>银行卡</view>
|
|
|
|
|
- <view class="row-c flex">
|
|
|
|
|
- <input class="wh-input sys-size-28 text-color-12 m-lr20 flex"
|
|
|
|
|
- placeholder-class="sys-size-28 text-color-999 sys-weight-400"
|
|
|
|
|
- placeholder="请输入银行账号" v-model="inputValue"></input>
|
|
|
|
|
- </view>
|
|
|
|
|
- <uni-icons type="camera" size="30"></uni-icons>
|
|
|
|
|
- </view>
|
|
|
|
|
- <WhInput :is_border="false" :name="'所属银行'" disabled is_select></WhInput>
|
|
|
|
|
|
|
+ <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>
|
|
|
|
|
+ <en-input v-if="applyItem.apply_type*1===1" v-model="repaymentItem.money" label="还款金额" type="number" placeholder="请输入还款金额" rightText="万元"></en-input>
|
|
|
|
|
+ <add-bank :bank-name.sync="repaymentItem.bank_name" :bank-num.sync="repaymentItem.bank_num"></add-bank>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="m-t30">
|
|
|
|
|
|
|
+ <view class="m-t30" v-for="(loanItem,loanIndex) in applyItem.loan_data">
|
|
|
<text class="size-30 sys-weight-600'">放款账户信息</text>
|
|
<text class="size-30 sys-weight-600'">放款账户信息</text>
|
|
|
- <view class="row-justify-sb center p-tb30 bor-bottom-1 size-28">
|
|
|
|
|
- <view class="wh-text"><text></text>还款金额</view>
|
|
|
|
|
- <view class="row-c flex">
|
|
|
|
|
- <input class="wh-input sys-size-28 text-color-12 m-lr20 flex"
|
|
|
|
|
- placeholder-class="sys-size-28 text-color-999 sys-weight-400" placeholder="请输入"
|
|
|
|
|
- v-model="inputValue"></input>
|
|
|
|
|
- </view>
|
|
|
|
|
- <text>万元</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="row-justify-sb center p-tb30 bor-bottom-1 size-28">
|
|
|
|
|
- <view class="wh-text"><text></text>银行卡</view>
|
|
|
|
|
- <view class="row-c flex">
|
|
|
|
|
- <input class="wh-input sys-size-28 text-color-12 m-lr20 flex"
|
|
|
|
|
- placeholder-class="sys-size-28 text-color-999 sys-weight-400"
|
|
|
|
|
- placeholder="请输入银行账号" v-model="inputValue"></input>
|
|
|
|
|
- </view>
|
|
|
|
|
- <uni-icons type="camera" size="30"></uni-icons>
|
|
|
|
|
- </view>
|
|
|
|
|
- <WhInput :is_border="false" :name="'所属银行'" disabled is_select></WhInput>
|
|
|
|
|
|
|
+ <en-input label="批复金额" type="number" v-model="loanItem.money" placeholder="请输入批复金额" rightText="万元"></en-input>
|
|
|
|
|
+ <add-bank :bank-name.sync="loanItem.bank_name" :bank-num.sync="loanItem.bank_num"></add-bank>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="row-justify-sb">
|
|
<view class="row-justify-sb">
|
|
|
<view class="flex"></view>
|
|
<view class="flex"></view>
|
|
|
<view class="row-c m-tb20">
|
|
<view class="row-c m-tb20">
|
|
|
<button class="size-26 r-10 apply-button-delete m-r20" hover-class="is-hover"
|
|
<button class="size-26 r-10 apply-button-delete m-r20" hover-class="is-hover"
|
|
|
- @click="onDeleteInfo(index)">删除</button>
|
|
|
|
|
|
|
+ @click="onDeleteInfo()">删除</button>
|
|
|
<button class="size-26 r-10 button-color apply-button-save" hover-class="is-hover"
|
|
<button class="size-26 r-10 button-color apply-button-save" hover-class="is-hover"
|
|
|
- @click="onSaveInfo(item)">保存</button>
|
|
|
|
|
|
|
+ @click="onSaveInfo()">保存</button>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<button class="size-26 r-10 button-color apply-button m-t30" hover-class="is-hover"
|
|
<button class="size-26 r-10 button-color apply-button m-t30" hover-class="is-hover"
|
|
|
- @click="onAddInfo">+添加抵押信息</button>
|
|
|
|
|
|
|
+ @click="addApply">+添加申请信息</button>
|
|
|
</view>
|
|
</view>
|
|
|
<!-- 抵押信息end -->
|
|
<!-- 抵押信息end -->
|
|
|
</view>
|
|
</view>
|
|
@@ -221,9 +180,21 @@
|
|
|
<script>
|
|
<script>
|
|
|
import TaskImgTab from "@/common/task/task_ima_tab.vue"
|
|
import TaskImgTab from "@/common/task/task_ima_tab.vue"
|
|
|
import WhInput from "@/components/en-from/en-input/en-input.vue"
|
|
import WhInput from "@/components/en-from/en-input/en-input.vue"
|
|
|
|
|
+ import EnInput from "@/components/en-from/en-input/en-input.vue";
|
|
|
|
|
+ import EnSelect from "@/components/en-from/en-select/en-select.vue";
|
|
|
|
|
+ import EnDate from "@/components/en-from/en-date/en-date.vue";
|
|
|
|
|
+ import PropertySelect from "@/page_task/apply/components/property-select.vue";
|
|
|
|
|
+ import AddBank from "@/page_task/apply/components/add-bank.vue";
|
|
|
|
|
+ import {getTaskOptions} from "@/api/task";
|
|
|
|
|
+ import tools from "@/service/tools";
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
|
|
+ AddBank,
|
|
|
|
|
+ PropertySelect,
|
|
|
|
|
+ EnDate,
|
|
|
|
|
+ EnSelect,
|
|
|
|
|
+ EnInput,
|
|
|
TaskImgTab,
|
|
TaskImgTab,
|
|
|
WhInput
|
|
WhInput
|
|
|
},
|
|
},
|
|
@@ -235,39 +206,41 @@
|
|
|
scrollTop: 0,
|
|
scrollTop: 0,
|
|
|
stepOne: ['double', 'correct'],
|
|
stepOne: ['double', 'correct'],
|
|
|
stepTwo: ['two', 'double', 'correct'],
|
|
stepTwo: ['two', 'double', 'correct'],
|
|
|
- value: '',
|
|
|
|
|
- formData: {
|
|
|
|
|
- is_farming: null,
|
|
|
|
|
- is_materials: null
|
|
|
|
|
- },
|
|
|
|
|
- farming: [{
|
|
|
|
|
- text: '是',
|
|
|
|
|
- value: 1
|
|
|
|
|
- }, {
|
|
|
|
|
- text: '否',
|
|
|
|
|
- value: 0
|
|
|
|
|
- }],
|
|
|
|
|
- materials: [{
|
|
|
|
|
- text: '已缴纳',
|
|
|
|
|
- value: 1
|
|
|
|
|
- }, {
|
|
|
|
|
- text: '未缴纳',
|
|
|
|
|
- value: 0
|
|
|
|
|
- }],
|
|
|
|
|
- impawn: [{
|
|
|
|
|
- text: '抵押',
|
|
|
|
|
- value: 1
|
|
|
|
|
- }, {
|
|
|
|
|
- text: '买卖',
|
|
|
|
|
- value: 0
|
|
|
|
|
- }],
|
|
|
|
|
- applyList: [{
|
|
|
|
|
- is_edit: true,
|
|
|
|
|
- data: {}
|
|
|
|
|
- }, {
|
|
|
|
|
- is_edit: false,
|
|
|
|
|
- data: {}
|
|
|
|
|
- }]
|
|
|
|
|
|
|
+ payData: [{'value': 1, 'text': '已缴纳'}, {'value': 0, 'text': '未缴纳'}],
|
|
|
|
|
+ applyData: [{'value': 1, 'text': '抵押'}, {'value': 2, 'text': '买卖'}],
|
|
|
|
|
+ replyData: [{'value': 1, 'text': '商业'}, {'value': 2, 'text': '组合'}],
|
|
|
|
|
+ farmingData: [{'value': 1, 'text': '是'}, {'value': 0, 'text': '否'}],
|
|
|
|
|
+ loanFormArr: [], //贷款形式
|
|
|
|
|
+ loanTypeArr: [], //贷款类别
|
|
|
|
|
+ loanIndustryArr: [{'id': 1, 'name': 'no'}], //投向行业
|
|
|
|
|
+ enterpriseTypeArr: [], //企业类型
|
|
|
|
|
+ bank_name: '',
|
|
|
|
|
+ bank_num: '',
|
|
|
|
|
+ appliesInfo:{
|
|
|
|
|
+ "is_farming": '1',
|
|
|
|
|
+ "loan_form": '',
|
|
|
|
|
+ "loan_type": '',
|
|
|
|
|
+ "loan_industry": [],
|
|
|
|
|
+ "enterprise_type": "",
|
|
|
|
|
+ "use_date": "",
|
|
|
|
|
+ "pay_status": '1',
|
|
|
|
|
+ "quota": "",
|
|
|
|
|
+ "apply_data":[]
|
|
|
|
|
+ },
|
|
|
|
|
+ applyItem:{
|
|
|
|
|
+ "apply_type": '1',
|
|
|
|
|
+ "property_sns": [],
|
|
|
|
|
+ "repayment_data": [],
|
|
|
|
|
+ "loan_data": [],
|
|
|
|
|
+ "transaction": "",
|
|
|
|
|
+ "pricing": "",
|
|
|
|
|
+ "supervise": "",
|
|
|
|
|
+ "reply_type": '1',
|
|
|
|
|
+ "intermediary": "",
|
|
|
|
|
+ "is_edit": true,
|
|
|
|
|
+ },
|
|
|
|
|
+ showKeys: [],
|
|
|
|
|
+ propertyList: [],
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
onPageScroll(res) {
|
|
onPageScroll(res) {
|
|
@@ -275,8 +248,80 @@
|
|
|
},
|
|
},
|
|
|
onLoad(options) {
|
|
onLoad(options) {
|
|
|
this.title = options.title
|
|
this.title = options.title
|
|
|
|
|
+ let appliesInfo = uni.getStorageSync('appliesData')
|
|
|
|
|
+ let appliesKey = uni.getStorageSync('appliesKey')
|
|
|
|
|
+ let propertyList = uni.getStorageSync('propertyData')
|
|
|
|
|
+ this.appliesInfo=appliesInfo
|
|
|
|
|
+ this.showKeys=appliesKey
|
|
|
|
|
+ this.propertyList=propertyList
|
|
|
|
|
+ this.getTaskOptions()
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ showBankItem(applyType,bankType){
|
|
|
|
|
+ // applyType*=1
|
|
|
|
|
+ // if(applyType===1){
|
|
|
|
|
+ // if(bankType===1){
|
|
|
|
|
+ // return this.showIds.indexOf(80)>=0;
|
|
|
|
|
+ // }else {
|
|
|
|
|
+ // return this.showIds.indexOf(81)>=0;
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }else {
|
|
|
|
|
+ // if(bankType===1){
|
|
|
|
|
+ // return this.showIds.indexOf(84)>=0;
|
|
|
|
|
+ // }else {
|
|
|
|
|
+ // return this.showIds.indexOf(85)>=0;
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ delApplyItem(applyKey){
|
|
|
|
|
+ this.appliesInfo.apply_data.splice(applyKey,1)
|
|
|
|
|
+ },
|
|
|
|
|
+ delBank(applyKey,itemKey,type){
|
|
|
|
|
+ if(type===1){
|
|
|
|
|
+ this.appliesInfo.apply_data[applyKey].repayment_data.splice(itemKey,1)
|
|
|
|
|
+ }else {
|
|
|
|
|
+ this.appliesInfo.apply_data[applyKey].loan_data.splice(itemKey,1)
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ addBank(applyKey,type){
|
|
|
|
|
+ if(type===1){
|
|
|
|
|
+ this.appliesInfo.apply_data[applyKey].repayment_data.push({'money':'','bank_name':'','bank_num':''})
|
|
|
|
|
+ }else {
|
|
|
|
|
+ this.appliesInfo.apply_data[applyKey].loan_data.push({'money':'','bank_name':'','bank_num':''})
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ addApply(){
|
|
|
|
|
+ tools.success('aaaaaaaaaaaaa')
|
|
|
|
|
+ if(!this.appliesInfo.apply_data){
|
|
|
|
|
+ this.appliesInfo.apply_data=[]
|
|
|
|
|
+ }
|
|
|
|
|
+ this.appliesInfo.apply_data.push(this.applyItem)
|
|
|
|
|
+ },
|
|
|
|
|
+ verifyKey(field) {
|
|
|
|
|
+ return this.showKeys.indexOf(field) >= 0
|
|
|
|
|
+ },
|
|
|
|
|
+ async getTaskOptions() {
|
|
|
|
|
+ const res = await getTaskOptions()
|
|
|
|
|
+ if (res.code === 1) {
|
|
|
|
|
+ this.enterpriseTypeArr = res.data.enterpriseTypeArr
|
|
|
|
|
+ this.enterpriseTypeArr.map((val) => {
|
|
|
|
|
+ val.text = val.name;
|
|
|
|
|
+ });
|
|
|
|
|
+ this.loanFormArr = res.data.loanFormArr
|
|
|
|
|
+ this.loanFormArr.map((val) => {
|
|
|
|
|
+ val.text = val.name;
|
|
|
|
|
+ });
|
|
|
|
|
+ this.loanIndustryArr = res.data.loanIndustryArr
|
|
|
|
|
+ this.loanIndustryArr.map((val) => {
|
|
|
|
|
+ val.text = val.name;
|
|
|
|
|
+ });
|
|
|
|
|
+ this.loanTypeArr = res.data.loanTypeArr
|
|
|
|
|
+ this.loanTypeArr.map((val) => {
|
|
|
|
|
+ val.text = val.name;
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
// 身份认证
|
|
// 身份认证
|
|
|
onAuthentication(item) {
|
|
onAuthentication(item) {
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|