You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

269 lines
16 KiB

<view>
<view class="text_center">
<view style="position: relative">
<input placeholder="承租人姓名丶电话丶身份证号码" class="search_dv" bindinput="search"></input>
<image src="../../img/sousuo.png" class="search_img"></image>
<text bindtap="button_search" class="search_button">搜索</text>
</view>
<view class="center_head flex_between">
<view class="head_li flex_center {{swiper_index==0?'selection':''}}" bindtap="bidirectional" data-index="0">
初审
</view>
<view class="head_li flex_center {{swiper_index==1?'selection':''}}" bindtap="bidirectional" data-index="1">
终审
</view>
<!-- <view class="head_li flex_center {{swiper_index==4?'selection':''}}" bindtap="bidirectional" data-index="4">
GPS预约
</view>
<view class="head_li flex_center {{swiper_index==5?'selection':''}}" bindtap="bidirectional" data-index="5">
GPS安装
</view> -->
<view class="head_li flex_center {{swiper_index==2 ?'selection':''}}" bindtap="bidirectional" data-index="2">
请款
</view>
<view class="head_li flex_center {{swiper_index==3 ?'selection':''}}" bindtap="bidirectional" data-index="3">
草稿
</view>
</view>
<view class="page-section page-section-spacing swiper">
<!-- 初审 -->
<swiper duration="300" current="{{swiper_index}}" bindchange="swiperFun">
<swiper-item>
<scroll-view scroll-y="true" bindscrolltolower="scrollBottom">
<view class="tag_ul flex_between">
<view class="tag_li {{tag_id == index?'selection':''}}" wx:for="{{tag_arr}}" bindtap="tag" wx:key="{{index}}" data-id="{{item.id}}" data-index="{{index}}">
{{item.name}}
</view>
</view>
<view class="swiper-item">
<view class="list_li" wx:for="{{order_arr}}" wx:key="{{index}}">
<view class="list_head flex_between">
<view class="head_l">订单编号:
<text>{{item.number}}</text>
</view>
<view class="head_r lv" wx:if="{{item.examine == 0 && (item.examine_business == 1 || item.examine_business == 0)}}">
<text>审批中</text>
</view>
<view class="head_r lv" wx:if="{{item.examine == 1 && item.examine_business== 1}}">
<text>已通过</text>
</view>
<view class="head_r red" wx:if="{{item.examine == 2 || item.examine_business == 2}}">
<text>驳回</text>
</view>
<view class="head_r red" wx:if="{{item.examine == 3 || item.examine_business == 3}}">
<text>拒绝</text>
</view>
</view>
<view class="center_text flex_between">
<view class="text_l {{item.examine == 2 || item.examine_business == 2 || item.examine == 3 || item.examine_business == 3 ?'red':'lv'}} {{item.examine == 0 && (item.examine_business == 1 || item.examine_business == 0)?'approval':''}}">
<view class="title">承租人</view>
<view class="name">{{item.lessee_name}}</view>
<view class="icon_img">
<view class="image" bindtap="firstDetails" data-id="{{item.id}}" data-index="{{index}}">
<image src="../../img/dengdai1.png" mode="widthFix" wx:if="{{item.examine == 0 && (item.examine_business == 1 || item.examine_business == 0)}}"></image>
<image wx:if="{{item.examine == 1 && item.examine_business== 1}}" src="../../img/ok.png" mode="widthFix"></image>
<image src="../../img/fanbo1.png" mode="widthFix" wx:if="{{item.examine == 2 || item.examine_business == 2 || item.examine == 3 || item.examine_business == 3}}"></image>
</view>
<text>初审</text>
</view>
</view>
<view class="text_l text_center {{item.classB == 1 ?'lv':''}} {{item.classB == 2 ?'red':''}} {{item.examine == 1 && item.examine_business == 1?'approval':''}}">
<view class="title">车型</view>
<view class="name">{{item.car_model[0]}}</view>
<view class="icon_img" catchtap="end" data-type="{{item.examine}}" data-id="{{item.id}}" data-name="{{item.lessee_name}}" data-address="{{item.id_card_address}}" data-number="{{item.number}}">
<view class="image">
<image wx:if="{{item.classB == 0}}" src="../../img/dengdai2.png" mode="widthFix"></image>
<image wx:if="{{item.classB == 1}}" src="../../img/ok.png" mode="widthFix"></image>
<image wx:if="{{item.classB == 2}}" src="../../img/fanbo2.png" mode="widthFix"></image>
</view>
<text>终审</text>
</view>
</view>
<view class="text_l text_center {{item.classC == 1 ?'lv':''}} {{item.classC == 2 ?'red':''}}">
<view class="title">融资金额</view>
<view class="name">{{item.apply}}</view>
<view class="icon_img">
<view class="image">
<image wx:if="{{item.classC == 0}}" src="../../img/dengdai3.png" mode="widthFix"></image>
<image wx:if="{{item.classC == 1}}" src="../../img/ok.png" mode="widthFix"></image>
<image wx:if="{{item.classC == 2}}" src="../../img/fanbo3.png" mode="widthFix"></image>
</view>
<text>请款</text>
</view>
</view>
</view>
</view>
</view>
</scroll-view>
</swiper-item>
<!-- 终审 -->
<swiper-item>
<scroll-view scroll-y="true" bindscrolltolower="scrollBottom">
<view class="tag_ul flex_between">
<view class="tag_li {{tag_id == index?'selection':''}}" wx:for="{{tag_arr}}" bindtap="tag" wx:key="{{index}}" data-id="{{item.id}}" data-index="{{index}}">
{{item.name}}
</view>
</view>
<view class="swiper-item">
<view class="list_li" wx:for="{{order_arr}}" wx:key="{{index}}">
<view class="list_head flex_between">
<view class="head_l">订单编号:
<text>{{item.number}}</text>
</view>
<view class="head_r lv" wx:if="{{item.examine == 0 && (item.examine_business == 1 || item.examine_business == 0)}}">
<text>审批中</text>
</view>
<view class="head_r lv" wx:if="{{item.examine == 1 && item.examine_business== 1}}">
<text>已通过</text>
</view>
<view class="head_r red" wx:if="{{item.examine == 2 || item.examine_business == 2}}">
<text>驳回</text>
</view>
<view class="head_r red" wx:if="{{item.examine == 3 || item.examine_business == 3}}">
<text>拒绝</text>
</view>
</view>
<view class="center_text flex_between">
<view class="text_l {{item.classA == 1 ?'lv':''}} {{item.classA == 2 ?'red':''}}">
<view class="title">承租人</view>
<view class="name">{{item.lessee_name}}</view>
<view class="icon_img" data-id="{{item.id}}" data-index="{{index}}" catchtap="firstDetails" data-type='1'>
<view class="image">
<image wx:if="{{item.classA == 0}}" src="../../img/dengdai1.png" mode="widthFix"></image>
<image wx:if="{{item.classA == 1}}" src="../../img/ok.png" mode="widthFix"></image>
<image wx:if="{{item.classA == 2}}" src="../../img/fanbo1.png" mode="widthFix"></image>
</view>
<text>初审</text>
</view>
</view>
<view class="text_l text_center {{item.examine == 2 || item.examine_business == 2 || item.examine == 3 || item.examine_business == 3 ?'red':'lv'}} {{item.examine == 0 && (item.examine_business == 1 || item.examine_business == 0)?'approval':''}}">
<view class="title">车型</view>
<view class="name">{{item.car_model[0]}}</view>
<view class="icon_img" bindtap="endDetails" data-id="{{item.id}}" data-index="{{index}}">
<view class="image">
<image wx:if="{{item.examine == 0 && (item.examine_business == 1 || item.examine_business == 0)}}" src="../../img/dengdai2.png" mode="widthFix"></image>
<image wx:if="{{item.examine == 1 && item.examine_business== 1}}" src="../../img/ok.png" mode="widthFix"></image>
<image wx:if="{{item.examine == 2 || item.examine_business == 2 || item.examine == 3 || item.examine_business == 3}}" src="../../img/fanbo2.png" mode="widthFix"></image>
</view>
<text>终审</text>
</view>
</view>
<view class="text_l text_center {{item.classC == 1 ?'lv':''}} {{item.classC == 2 ?'red':''}} {{item.examine == 1 && item.examine_business == 1?'approval':''}}">
<view class="title">融资金额</view>
<view class="name">{{item.apply}}</view>
<view class="icon_img" catchtap="request" data-type="{{item.examine}}" data-id="{{item.id}}" data-number="{{item.number}}">
<view class="image">
<image wx:if="{{item.classC == 0}}" src="../../img/dengdai3.png" mode="widthFix"></image>
<image wx:if="{{item.classC == 1}}" src="../../img/ok.png" mode="widthFix"></image>
<image wx:if="{{item.classC == 2}}" src="../../img/fanbo3.png" mode="widthFix"></image>
</view>
<text>请款</text>
</view>
</view>
</view>
</view>
</view>
</scroll-view>
</swiper-item>
<!-- 请款 -->
<swiper-item>
<scroll-view scroll-y="true" bindscrolltolower="scrollBottom">
<view class="tag_ul flex_between">
<view class="tag_li {{tag_id == index?'selection':''}}" wx:for="{{tag_arr}}" bindtap="tag" wx:key="{{index}}" data-id="{{item.id}}" data-index="{{index}}">
{{item.name}}
</view>
</view>
<view class="swiper-item">
<view class="list_li" wx:for="{{order_arr}}" wx:key="{{index}}">
<view class="list_head flex_between">
<view class="head_l">订单编号:
<text>{{item.number}}</text>
</view>
<view class="head_r lv" wx:if="{{item.examine == 0 && (item.examine_business == 1 || item.examine_business == 0)}}">
<text>审批中</text>
</view>
<view class="head_r lv" wx:if="{{item.examine == 1 && item.examine_business== 1}}">
<text>已通过</text>
</view>
<view class="head_r red" wx:if="{{item.examine == 2 || item.examine_business == 2}}">
<text>驳回</text>
</view>
<view class="head_r red" wx:if="{{item.examine == 3 || item.examine_business == 3}}">
<text>拒绝</text>
</view>
</view>
<view class="center_text flex_between">
<view class="text_l {{item.classA == 1 ?'lv':''}} {{item.classA == 2 ?'red':''}}">
<view class="title">承租人</view>
<view class="name">{{item.lessee_name}}</view>
<view class="icon_img" data-id="{{item.id}}" data-index="{{index}}" catchtap="firstDetails" data-type='1'>
<view class="image">
<image wx:if="{{item.classA == 0}}" src="../../img/dengdai1.png" mode="widthFix"></image>
<image wx:if="{{item.classA == 1}}" src="../../img/ok.png" mode="widthFix"></image>
<image wx:if="{{item.classA == 2}}" src="../../img/fanbo1.png" mode="widthFix"></image>
</view>
<text>初审</text>
</view>
</view>
<view class="text_l text_center {{item.classB == 1 ?'lv':''}} {{item.classB == 2 ?'red':''}}">
<view class="title">车型</view>
<view class="name">{{item.car_model[0]}}</view>
<view class="icon_img" data-id="{{item.id}}" data-index="{{index}}" catchtap="endDetails" data-type='1'>
<view class="image">
<image wx:if="{{item.classB == 0}}" src="../../img/dengdai2.png" mode="widthFix"></image>
<image wx:if="{{item.classB == 1}}" src="../../img/ok.png" mode="widthFix"></image>
<image wx:if="{{item.classB == 2}}" src="../../img/fanbo2.png" mode="widthFix"></image>
</view>
<text>终审</text>
</view>
</view>
<view class="text_l text_center {{item.examine == 2 || item.examine_business == 2 || item.examine == 3 || item.examine_business == 3 ?'red':'lv'}} {{item.examine == 0 && (item.examine_business == 1 || item.examine_business == 0)?'approval':''}}">
<view class="title">融资金额</view>
<view class="name">{{item.apply}}</view>
<view class="icon_img">
<view class="image" bindtap="requestfunds" data-id="{{item.id}}" data-index="{{index}}">
<image wx:if="{{item.examine == 0 && (item.examine_business == 1 || item.examine_business == 0)}}" src="../../img/dengdai3.png" mode="widthFix"></image>
<image wx:if="{{item.examine == 1 && item.examine_business== 1}}" src="../../img/ok.png" mode="widthFix"></image>
<image wx:if="{{item.examine == 2 || item.examine_business == 2 || item.examine == 3 || item.examine_business == 3}}" src="../../img/fanbo3.png" mode="widthFix"></image>
</view>
<text>请款</text>
</view>
</view>
</view>
</view>
</view>
</scroll-view>
</swiper-item>
<!-- 草稿 -->
<swiper-item>
<scroll-view scroll-y="true" bindscrolltolower="scrollBottom">
<view class="swiper-item">
<view class="list_li" wx:for="{{list}}" wx:key="{{index}}" bindtap="draft" data-item="{{item}}" data-number="{{number}}">
<view wx:if="{{item.type == 1}}" class="type">初审</view>
<view wx:if="{{item.type == 2}}" class="type">终审</view>
<view wx:if="{{item.type == 3}}" class="type">请款</view>
<view class="list_head flex_between">
<view class="head_l">订单编号:
<text>{{item.number}}</text>
</view>
<view class="flex_start" wx:if="{{item.data_value.lessee_name || item.lessee_name}}">
<view class="title">承租人:</view>
<view class="name">{{item.lessee_name? item.lessee_name:item.data_value.lessee_name}}</view>
</view>
</view>
</view>
</view>
</scroll-view>
</swiper-item>
</swiper>
</view>
</view>
</view>