138 lines
11 KiB
Plaintext
138 lines
11 KiB
Plaintext
<view class="data-v-e5a6e2f8">
|
|
<view class="tab_list data-v-e5a6e2f8" style="margin-top:0;">
|
|
<view data-event-opts="{{[['tap',[['changeFirTab',[0]]]]]}}" class="{{['tabli','data-v-e5a6e2f8',typeIndex==0?'tabliactive':'']}}" bindtap="__e">全部</view>
|
|
<view data-event-opts="{{[['tap',[['changeFirTab',[1]]]]]}}" class="{{['tabli','data-v-e5a6e2f8',typeIndex==1?'tabliactive':'']}}" bindtap="__e">我创建的</view>
|
|
<view data-event-opts="{{[['tap',[['changeFirTab',[2]]]]]}}" class="{{['tabli','data-v-e5a6e2f8',typeIndex==2?'tabliactive':'']}}" bindtap="__e">下属创建的</view>
|
|
</view>
|
|
<view class="select_warp data-v-e5a6e2f8">
|
|
<view class="searchbox data-v-e5a6e2f8">
|
|
<view data-event-opts="{{[['tap',[['toQuery',['$event']]]]]}}" class="searchtext data-v-e5a6e2f8" bindtap="__e">
|
|
<image style="width:30rpx;height:30rpx;margin-right:5rpx;" src="{{BASE_IMG_URL+'shaixuan2.png'}}" mode="scaleToFill" class="data-v-e5a6e2f8"></image>筛选</view>
|
|
</view>
|
|
<uni-popup vue-id="61167fc6-1" type="top" background-color="#fff" data-ref="screenpopup" class="data-v-e5a6e2f8 vue-ref" bind:__l="__l" vue-slots="{{['default']}}">
|
|
<view class="warpbox data-v-e5a6e2f8">
|
|
<scroll-view class="scrollbox data-v-e5a6e2f8" style="height:680rpx;background:#fff;" scroll-y="{{true}}">
|
|
<view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="screen_content data-v-e5a6e2f8" catchtap="__e">
|
|
<block wx:if="{{typeIndex==2}}">
|
|
<view class="fir_li data-v-e5a6e2f8">
|
|
<view class="li_label data-v-e5a6e2f8">归属人</view>
|
|
<picker value="{{ascripIndex}}" range="{{ascripList}}" range-key="name" data-event-opts="{{[['change',[['changeAscrip',['$event']]]]]}}" bindchange="__e" class="data-v-e5a6e2f8">
|
|
<view class="li_box data-v-e5a6e2f8">
|
|
<view class="form_right data-v-e5a6e2f8" style="text-align:center;">
|
|
<view class="{{['data-v-e5a6e2f8',ascripList[ascripIndex]?'valueactive':'']}}">{{''+(ascripList[ascripIndex]?ascripList[ascripIndex].name:'点击选择')+''}}</view>
|
|
</view>
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
</block>
|
|
<view class="fir_li data-v-e5a6e2f8">
|
|
<view class="li_label data-v-e5a6e2f8">关联客户</view>
|
|
<view data-event-opts="{{[['tap',[['toSelectCustomer',['$event']]]]]}}" class="li_box data-v-e5a6e2f8" bindtap="__e">
|
|
<view class="form_right data-v-e5a6e2f8" style="text-align:center;">
|
|
<view class="{{['data-v-e5a6e2f8',customerObj?'valueactive':'']}}">{{''+(customerObj?customerObj.name:'点击选择')+''}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="fir_li data-v-e5a6e2f8">
|
|
<view class="li_label data-v-e5a6e2f8">合同状态</view>
|
|
<picker value="{{status}}" range="{{statusList}}" data-event-opts="{{[['change',[['changeTab',['$event']]]]]}}" bindchange="__e" class="data-v-e5a6e2f8">
|
|
<view class="li_box data-v-e5a6e2f8">
|
|
<view class="form_right data-v-e5a6e2f8" style="text-align:center;">
|
|
<view class="{{['data-v-e5a6e2f8',statusList[status]?'valueactive':'']}}">{{''+(statusList[status]?statusList[status]:'点击选择')+''}}</view>
|
|
</view>
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
<view class="fir_li data-v-e5a6e2f8">
|
|
<view class="li_label data-v-e5a6e2f8">时间筛选</view>
|
|
<view class="li_box data-v-e5a6e2f8" style="display:flex;">
|
|
<picker style="width:50%;border-right:1rpx solid #CCCCCC;" mode="date" end="{{end_time}}" data-event-opts="{{[['change',[['changeStartTime',['$event']]]]]}}" bindchange="__e" class="data-v-e5a6e2f8">
|
|
<view class="form_right data-v-e5a6e2f8">
|
|
<view class="{{['data-v-e5a6e2f8',start_time?'valueactive':'']}}" style="flex:1;text-align:center;">{{''+(start_time?start_time:'开始时间')}}</view>
|
|
</view>
|
|
</picker>
|
|
<picker style="width:50%;" mode="date" start="{{start_time}}" data-event-opts="{{[['change',[['changeEndTime',['$event']]]]]}}" bindchange="__e" class="data-v-e5a6e2f8">
|
|
<view class="form_right data-v-e5a6e2f8">
|
|
<view class="{{['data-v-e5a6e2f8',end_time?'valueactive':'']}}" style="flex:1;text-align:center;">{{(end_time?end_time:'结束时间')+''}}</view>
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="fir_li data-v-e5a6e2f8">
|
|
<view class="li_label data-v-e5a6e2f8">关键词搜索</view>
|
|
<view class="li_box data-v-e5a6e2f8" style="display:flex;">
|
|
<input type="text" value="{{key_name}}" placeholder="请输入关键词" data-event-opts="{{[['change',[['bindKeyName',['$event']]]]]}}" bindchange="__e" class="key-input"/>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
<view class="button_bottom data-v-e5a6e2f8">
|
|
<view data-event-opts="{{[['tap',[['reset',['$event']]]]]}}" catchtap="__e" class="data-v-e5a6e2f8">重置</view>
|
|
<view data-event-opts="{{[['tap',[['sureQuery',['$event']]]]]}}" catchtap="__e" class="data-v-e5a6e2f8">确定</view>
|
|
</view>
|
|
</view>
|
|
</uni-popup>
|
|
</view>
|
|
<block wx:for="{{contract_list}}" wx:for-item="item" wx:for-index="index" wx:key="index">
|
|
<view data-event-opts="{{[['tap',[['toContractDetail',['$0'],[[['contract_list','',index,'id']]]]]]]}}" class="lxr_con_list data-v-e5a6e2f8" bindtap="__e">
|
|
<view class="name data-v-e5a6e2f8">{{item.name?item.name:'--'}}</view>
|
|
<view class="info data-v-e5a6e2f8">{{"关联客户:"+(item.customer?item.customer.name:'--')}}</view>
|
|
<view class="info data-v-e5a6e2f8">{{"合同编号:"+item.num}}</view>
|
|
<view class="info data-v-e5a6e2f8" wx:if="{{has_amount_view}}">{{"已回款:¥"+item.receivables.repayment_money}}</view>
|
|
<view class="info data-v-e5a6e2f8" wx:if="{{has_amount_view}}">{{"待回款:¥"+item.receivables.be_money}}</view>
|
|
<view class="proce_li data-v-e5a6e2f8" >
|
|
<view class="pro_li_left data-v-e5a6e2f8" wx:if="{{has_amount_view}}">
|
|
<view class="protext data-v-e5a6e2f8">回款进度:</view>
|
|
<view class="probox data-v-e5a6e2f8">
|
|
<view class="proin data-v-e5a6e2f8" style="{{'width:'+((item.receivables.ratio>=100?100:item.receivables.ratio)+'%')+';'}}"></view>
|
|
</view>
|
|
<view class="pronum data-v-e5a6e2f8">{{(item.receivables.ratio>=100?100:item.receivables.ratio)+"%"}}</view>
|
|
</view>
|
|
<view class="pro_li_right data-v-e5a6e2f8">{{"¥"+item.money}}</view>
|
|
</view>
|
|
<!-- <view class="info data-v-e5a6e2f8">{{"签约时间:"+item.order_date}}</view> -->
|
|
<block wx:if="{{item.check_status==0}}">
|
|
<view class="con_status data-v-e5a6e2f8"><label class="_span data-v-e5a6e2f8">待审核</label></view>
|
|
</block>
|
|
<block wx:if="{{item.check_status==1}}">
|
|
<view class="con_status data-v-e5a6e2f8"><label class="_span data-v-e5a6e2f8">审核中</label></view>
|
|
</block>
|
|
<block wx:if="{{item.check_status==2}}">
|
|
<view class="con_status pass data-v-e5a6e2f8"><label class="_span data-v-e5a6e2f8">审核通过</label></view>
|
|
</block>
|
|
<block wx:if="{{item.check_status==3}}">
|
|
<view class="con_status nopass data-v-e5a6e2f8"><label class="_span data-v-e5a6e2f8">审核未通过</label></view>
|
|
</block>
|
|
<block wx:if="{{item.check_status==4}}">
|
|
<view class="con_status nopass data-v-e5a6e2f8"><label class="_span data-v-e5a6e2f8">已撤回</label></view>
|
|
</block>
|
|
</view>
|
|
</block>
|
|
<block wx:if="{{$root.g0==0}}">
|
|
<u-empty vue-id="61167fc6-2" text="暂无更多" class="data-v-e5a6e2f8" bind:__l="__l"></u-empty>
|
|
</block>
|
|
<view style="height:200rpx;" class="data-v-e5a6e2f8"></view>
|
|
<view data-event-opts="{{[['tap',[['lookTotal',['$event']]]]]}}" class="bot_total data-v-e5a6e2f8" bindtap="__e">总金额合计></view>
|
|
<uni-popup vue-id="61167fc6-3" type="bottom" background-color="#fff" data-ref="popup" data-event-opts="{{[['^touchmove',[['',['$event']]]]]}}" catch:touchmove="__e" class="data-v-e5a6e2f8 vue-ref" bind:__l="__l" vue-slots="{{['default']}}">
|
|
<view class="botwarp data-v-e5a6e2f8">
|
|
<view class="wa_li data-v-e5a6e2f8">
|
|
<view class="wa_label data-v-e5a6e2f8">合同总金额</view>
|
|
<view class="wa_money data-v-e5a6e2f8"><text class="data-v-e5a6e2f8">{{moneyInfo.allmoney?moneyInfo.allmoney:'0'}}</text>元</view>
|
|
</view>
|
|
<view class="wa_li data-v-e5a6e2f8">
|
|
<view class="wa_label data-v-e5a6e2f8">已回款金额</view>
|
|
<view class="wa_money data-v-e5a6e2f8"><text class="data-v-e5a6e2f8">{{moneyInfo.repayment_money?moneyInfo.repayment_money:'0'}}</text>元</view>
|
|
</view>
|
|
<view class="wa_li data-v-e5a6e2f8">
|
|
<view class="wa_label data-v-e5a6e2f8">未回款金额</view>
|
|
<view class="wa_money data-v-e5a6e2f8"><text class="data-v-e5a6e2f8">{{moneyInfo.be_money?moneyInfo.be_money:'0'}}</text>元</view>
|
|
</view>
|
|
<view data-event-opts="{{[['tap',[['removeTotal',['$event']]]]]}}" class="wa_btn data-v-e5a6e2f8" bindtap="__e">取消</view>
|
|
</view>
|
|
</uni-popup>
|
|
<view data-event-opts="{{[['tap',[['toCreateContract',['$event']]]]]}}" class="icon_creat data-v-e5a6e2f8" bindtap="__e">
|
|
<image src="{{BASE_IMG_URL+'1.png'}}" mode="scaleToFill" class="data-v-e5a6e2f8"></image>
|
|
</view>
|
|
<select-customer bind:getCustomerinfo="__e" vue-id="61167fc6-4" data-ref="customerChild" data-event-opts="{{[['^getCustomerinfo',[['getCustomerinfo']]]]}}" class="data-v-e5a6e2f8 vue-ref" bind:__l="__l"></select-customer>
|
|
</view> |