|
|
@@ -2,31 +2,33 @@
|
|
|
<view class="app-select_user">
|
|
|
<view class="title">请选客户</view>
|
|
|
<view class="app-userList_box">
|
|
|
-<block v-for="(item,index) in list" :key="item.id">
|
|
|
- <block v-if="index == 6">
|
|
|
- <view class="userList-item_box" @click.stop="fastKd()"
|
|
|
- style="background-color:green;border:1upx solid green;text-align:center;">
|
|
|
- <view class="head-box">
|
|
|
- <view class="name" style="color:white;font-size:20upx;font-weight:bold;">快捷开单</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </block>
|
|
|
- <view @click="selectCustomer(item)" class="userList-item_box" >
|
|
|
- <view class="head-box">
|
|
|
- <view class="name">{{item.name}}</view>
|
|
|
- </view>
|
|
|
- <view class="footer-box">
|
|
|
- <view style="padding-left:3upx;"> {{item.debtAmount && Number(item.debtAmount)>0 ? '-¥'+parseFloat(item.debtAmount) : '-'}} </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
-</block>
|
|
|
|
|
|
- <view class="userList-item_box" @click.stop="fastKd()"
|
|
|
- style="background-color:green;border:1upx solid green;text-align:center;">
|
|
|
- <view class="head-box">
|
|
|
- <view class="name" style="color:white;font-size:20upx;font-weight:bold;">快捷开单</view>
|
|
|
+ <block v-for="(item,index) in list" :key="item.id">
|
|
|
+ <block v-if="index == 6">
|
|
|
+ <view class="userList-item_box" @click.stop="fastKd()"
|
|
|
+ style="background-color:green;border:1upx solid green;text-align:center;">
|
|
|
+ <view class="head-box">
|
|
|
+ <view class="name" style="color:white;font-size:20upx;font-weight:bold;">快捷开单</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
+ <view @click="selectCustomer(item)" class="userList-item_box" >
|
|
|
+ <view class="head-box">
|
|
|
+ <view class="name">{{item.name}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="footer-box">
|
|
|
+ <view style="padding-left:3upx;"> {{item.debtAmount && Number(item.debtAmount)>0 ? '-¥'+parseFloat(item.debtAmount) : '-'}} </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
+ <block v-if="list.length && list.length < 6">
|
|
|
+ <view class="userList-item_box" @click.stop="fastKd()"
|
|
|
+ style="background-color:green;border:1upx solid green;text-align:center;">
|
|
|
+ <view class="head-box">
|
|
|
+ <view class="name" style="color:white;font-size:20upx;font-weight:bold;">快捷开单</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </block>
|
|
|
|
|
|
</view>
|
|
|
<input disabled class="input-serach_box" style="margin-bottom:5upx;" v-model="searchUser" type="text" @change="changSearch" placeholder-class="input-placeholder" placeholder="请输入"/>
|