1 |
- <view><wm-watermark vue-id="3ca8ba24-1" text="{{userInfo2.phone}}" num="{{50}}" bind:__l="__l"></wm-watermark><view class="scoped-list"><block wx:if="{{$root.g0==0}}"><view class="empty-wrap"><u-empty vue-id="3ca8ba24-2" mode="list" text="暂无成交单" bind:__l="__l"></u-empty></view></block><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="sl-item"><block wx:if="{{item.$orig.trade_state==2}}"><view class="{{['sli-top t4']}}">{{"["+tradeStateObj[item.$orig.trade_state]+"]["+thtObj[item.$orig.house_type]+"] "+item.$orig.deal_item+item.$orig.house_no+''}}</view></block><block wx:else><view class="{{['sli-top t'+item.$orig.deal_type]}}">{{"["+tradeStateObj[item.$orig.trade_state]+"]["+thtObj[item.$orig.house_type]+"] "+item.$orig.deal_item+item.$orig.house_no+''}}<block wx:if="{{item.$orig.create_by===userInfo2.id}}"><view data-event-opts="{{[['tap',[['pageTo',['/pages/trade/create',['o',['info',item.$orig]]]]]]]}}" class="r2" bindtap="__e">编辑</view></block><block wx:if="{{item.$orig.deal_type==3}}"><view data-event-opts="{{[['tap',[['copyTextHandle',['$0',index],[[['customerList','',index]]]]]]]}}" class="r" bindtap="__e">{{item.$orig.user_dept_total?item.$orig.user_dept_total+'/'+item.$orig.month_dept_total:'显示统计'}}</view></block><block wx:else><view data-event-opts="{{[['tap',[['copyTextHandle',['$0','$1'],[[['customerList','',index]],'indx']]]]]}}" class="r" bindtap="__e">喜报</view></block></view></block><view data-event-opts="{{[['tap',[['pageTo',['/pages/trade/record?id='+item.$orig.id]]]]]}}" class="sli-body" bindtap="__e"><view class="sli-p2">总价:<view class="n">{{item.$orig.price+"元"}}</view>{{'=> '+item.g1+"元|"}}<view class="n">{{item.$orig.area+"㎡"}}</view></view><block wx:if="{{item.$orig.discount}}"><view class="sli-p4">{{"折扣:"+(item.$orig.discount||'未知')}}</view></block><view class="sli-p1">{{"客户:"+item.$orig.customer_name+"("+item.$orig.customer_phone+")"}}</view><view class="sli-p1">{{"业务:"+item.$orig.deal_clerk+"报备至"+item.$orig.report_dept+"("+tdtObj[item.$orig.deal_type]+")"}}</view><view class="sli-p1">佣金:<view class="n">{{item.$orig.brokerage||'0'}}</view>元 | 返佣<view class="n">{{item.$orig.rebate||'0'}}</view>元</view><view class="sli-p3">{{"成交日期:"+item.$orig.deal_at}}</view></view></view></block></view><view data-event-opts="{{[['tap',[['pageTo',['/pages/trade/create']]]]]}}" class="float-search2" bindtap="__e"><u-icon vue-id="3ca8ba24-3" name="plus" size="42" color="#fff" bind:__l="__l"></u-icon></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="float-search" bindtap="__e"><u-icon vue-id="3ca8ba24-4" name="search" size="42" color="#fff" bind:__l="__l"></u-icon></view><u-popup bind:input="__e" vue-id="3ca8ba24-5" mode="center" width="80%" height="860rpx" border-radius="20" value="{{searchPopupShow}}" data-event-opts="{{[['^input',[['__set_model',['','searchPopupShow','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="bwin-popup"><view class="popup-header">成交单搜索</view><view class="popup-body"><u-radio-group bind:input="__e" vue-id="{{('3ca8ba24-6')+','+('3ca8ba24-5')}}" active-color="#2979ff" value="{{searchFormData.house_type}}" data-event-opts="{{[['^input',[['__set_model',['$0','house_type','$event',[]],['searchFormData']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><u-radio vue-id="{{('3ca8ba24-7')+','+('3ca8ba24-6')}}" name=" " bind:__l="__l" vue-slots="{{['default']}}">全部</u-radio><u-radio vue-id="{{('3ca8ba24-8')+','+('3ca8ba24-6')}}" name="1" bind:__l="__l" vue-slots="{{['default']}}">新房</u-radio><u-radio vue-id="{{('3ca8ba24-9')+','+('3ca8ba24-6')}}" name="2" bind:__l="__l" vue-slots="{{['default']}}">二手房</u-radio></u-radio-group><u-divider vue-id="{{('3ca8ba24-10')+','+('3ca8ba24-5')}}" marginTop="10" marginBottom="10" bind:__l="__l" vue-slots="{{['default']}}">或</u-divider><u-input bind:input="__e" vue-id="{{('3ca8ba24-11')+','+('3ca8ba24-5')}}" border="{{true}}" placeholder="请输入成交项目(支持模糊搜索)" value="{{searchFormData.deal_item}}" data-event-opts="{{[['^input',[['__set_model',['$0','deal_item','$event',[]],['searchFormData']]]]]}}" bind:__l="__l"></u-input><u-divider vue-id="{{('3ca8ba24-12')+','+('3ca8ba24-5')}}" marginTop="10" marginBottom="10" bind:__l="__l" vue-slots="{{['default']}}">或</u-divider><u-input bind:input="__e" vue-id="{{('3ca8ba24-13')+','+('3ca8ba24-5')}}" border="{{true}}" placeholder="请输入成交业务员姓名(支持模糊搜索)" value="{{searchFormData.deal_clerk}}" data-event-opts="{{[['^input',[['__set_model',['$0','deal_clerk','$event',[]],['searchFormData']]]]]}}" bind:__l="__l"></u-input><u-divider vue-id="{{('3ca8ba24-14')+','+('3ca8ba24-5')}}" marginTop="10" marginBottom="10" bind:__l="__l" vue-slots="{{['default']}}">或</u-divider><u-input bind:input="__e" vue-id="{{('3ca8ba24-15')+','+('3ca8ba24-5')}}" border="{{true}}" placeholder="请输入客户姓名(支持模糊搜索)" value="{{searchFormData.customer_name}}" data-event-opts="{{[['^input',[['__set_model',['$0','customer_name','$event',[]],['searchFormData']]]]]}}" bind:__l="__l"></u-input><u-divider vue-id="{{('3ca8ba24-16')+','+('3ca8ba24-5')}}" marginTop="10" marginBottom="10" bind:__l="__l" vue-slots="{{['default']}}">或</u-divider><u-input bind:input="__e" vue-id="{{('3ca8ba24-17')+','+('3ca8ba24-5')}}" border="{{true}}" placeholder="请输入客户手机号(可仅输入一部分)" value="{{searchFormData.customer_phone}}" data-event-opts="{{[['^input',[['__set_model',['$0','customer_phone','$event',[]],['searchFormData']]]]]}}" bind:__l="__l"></u-input></view><view class="popup-footer" style="position:absolute;"><u-button vue-id="{{('3ca8ba24-18')+','+('3ca8ba24-5')}}" size="medium" data-event-opts="{{[['^click',[['e1']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">取消</u-button><u-button vue-id="{{('3ca8ba24-19')+','+('3ca8ba24-5')}}" size="medium" type="primary" data-event-opts="{{[['^click',[['searchHandle']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">搜索</u-button></view></view></u-popup><block wx:if="{{$root.g2>0}}"><u-loadmore vue-id="3ca8ba24-20" marginTop="32" line="{{true}}" status="{{loadmore.status}}" loading-text="{{loadmore.loadingText}}" loadmore-text="{{loadmore.defaultText}}" nomore-text="{{loadmore.nomoreText}}" bind:__l="__l"></u-loadmore></block></view>
|