我的客户,我的订单
This commit is contained in:
@@ -21,6 +21,7 @@ Page({
|
||||
v_id:'',//车型级别id
|
||||
cfrom:'',//客户来源
|
||||
o_type:'',//排序类型
|
||||
ismy:'',//只显示自己订单 1是
|
||||
},
|
||||
onLoad(options) {
|
||||
for (let key in options) {
|
||||
@@ -48,6 +49,9 @@ Page({
|
||||
let params = {};
|
||||
params['page'] = this.data.pageNo;
|
||||
params['size'] = 10;
|
||||
if(this.data.ismy != ''){
|
||||
params['ismy'] = this.data.ismy;
|
||||
}
|
||||
if(this.data.istop != ''){
|
||||
params['istop'] = this.data.istop;
|
||||
}
|
||||
|
||||
@@ -15,14 +15,14 @@
|
||||
<view class="mt40 inner30 pt40 bg-fff box-shadow-000-10-10 ulib-r10">
|
||||
<view class="font-36">客户代办事项</view>
|
||||
<view class="fn-flex pt20 pb20 color-fff">
|
||||
<view class="fn-flex-item relative mr15 pt25 pb25 pl110 bg-1c89fd-8058fe ulib-r10" bindtap="pushLink" data-url="/pages/customer/filterList/index?iscall=0&title=未联系潜客" >
|
||||
<view class="fn-flex-item relative mr15 pt25 pb25 pl110 bg-1c89fd-8058fe ulib-r10" bindtap="pushLink" data-url="/pages/customer/filterList/index?iscall=0&title=未联系潜客&ismy=1" >
|
||||
<i class="absolute left-0 box-middle ml35 iconfont icon-qianke font-60"></i>
|
||||
<view>
|
||||
<view class="font-40">{{userCal.wl_count}}</view>
|
||||
<view class="font-22">未联系潜客(人)</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="fn-flex-item relative ml15 pt25 pb25 pl110 bg-fe606c-ff9026 ulib-r10" bindtap="pushLink" data-url="/pages/customer/filterList/index?istop=1&title=特别关注客户">
|
||||
<view class="fn-flex-item relative ml15 pt25 pb25 pl110 bg-fe606c-ff9026 ulib-r10" bindtap="pushLink" data-url="/pages/customer/filterList/index?istop=1&title=特别关注客户&ismy=1">
|
||||
<i class="absolute left-0 box-middle ml35 iconfont icon-guanzhu font-60"></i>
|
||||
<view>
|
||||
<view class="font-40">{{userCal.gz_count}}</view>
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<view class="text-bold font-32">
|
||||
<!-- <open-data type="userNickName"></open-data> -->
|
||||
{{userInfo.uname}}
|
||||
<text class="font-22 color-666">({{userInfo.group_name}})</text>
|
||||
</view>
|
||||
<view class="mt10 font-22 color-666">{{userInfo.biz_name}}</view>
|
||||
</view>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<view class="text-bold font-32">
|
||||
<!-- <open-data type="userNickName"></open-data> -->
|
||||
{{userInfo.uname}}
|
||||
<text class="font-22 color-666">({{userInfo.group_name}})</text>
|
||||
</view>
|
||||
<view class="mt10 font-22 color-666">{{userInfo.biz_name}}</view>
|
||||
</view>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<view class="text-bold font-32">
|
||||
<!-- <open-data type="userNickName"></open-data> -->
|
||||
{{userInfo.uname}}
|
||||
<text class="font-22 color-666">({{userInfo.group_name}})</text>
|
||||
</view>
|
||||
<view class="mt10 font-22 color-666">{{userInfo.biz_name}}</view>
|
||||
</view>
|
||||
|
||||
@@ -17,7 +17,7 @@ Page({
|
||||
isShowSelectContract:false,
|
||||
banksIndex:-1,//分期银行
|
||||
yearsIndex:-1,//分期年限
|
||||
money:'',//首付金额
|
||||
money:'',//贷款金额
|
||||
submitFlag:false,
|
||||
frontUrl:{},
|
||||
backUrl:{},
|
||||
@@ -225,7 +225,7 @@ Page({
|
||||
})
|
||||
}else if(that.data.money == '' ){
|
||||
wx.showToast({
|
||||
title: '请填写首付金额',
|
||||
title: '请填写贷款金额',
|
||||
icon: 'none'
|
||||
})
|
||||
}else{
|
||||
@@ -271,7 +271,7 @@ Page({
|
||||
})
|
||||
}else if(that.data.money == '' && that.data.info.loan_data.money == '0.00'){
|
||||
wx.showToast({
|
||||
title: '请填写首付金额',
|
||||
title: '请填写贷款金额',
|
||||
icon: 'none'
|
||||
})
|
||||
}else{
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="relative bbs-1-eb pl190 pr40">
|
||||
<view class="absolute left-0 box-middle font-28 color-333">首付金额</view>
|
||||
<view class="absolute left-0 box-middle font-28 color-333">贷款金额</view>
|
||||
<view>
|
||||
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="text" placeholder="请输入金额" bindinput='inputTx' data-key="money" name="money" value="{{money || (info.loan_data.money != '0.00'?info.loan_data.money:'')}}" />
|
||||
</view>
|
||||
@@ -89,7 +89,7 @@
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">{{info.loan_data.year}}</view>
|
||||
</view>
|
||||
<view class="relative bbs-1-eb pl140 font-28">
|
||||
<view class="absolute left-0 box-middle font-28 color-333">首付金额</view>
|
||||
<view class="absolute left-0 box-middle font-28 color-333">贷款金额</view>
|
||||
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">{{info.loan_data.money}}元</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -12,6 +12,7 @@ Page({
|
||||
isShowMessage:false,//是否显示短信弹窗
|
||||
content:'',//短信内容
|
||||
isRefresh:false,//判断返回是否需要刷新
|
||||
ismy:'',//只显示自己订单 1是
|
||||
},
|
||||
onLoad: function (options) {
|
||||
for (let key in options) {
|
||||
@@ -26,7 +27,7 @@ Page({
|
||||
})
|
||||
},
|
||||
|
||||
//获取客户列表
|
||||
//获取订单列表
|
||||
getAppCusorderList() {
|
||||
this.setData({
|
||||
load: false,
|
||||
@@ -36,6 +37,9 @@ Page({
|
||||
params['page'] = this.data.pageNo;
|
||||
params['size'] = 10;
|
||||
params['status'] = this.data.key;
|
||||
if(this.data.ismy != ''){
|
||||
params['ismy'] = this.data.ismy;
|
||||
}
|
||||
_.apiQuery.getAppCusorderList(params).then(res => {
|
||||
this.setData({
|
||||
pageNo: this.data.pageNo + 1,
|
||||
|
||||
@@ -66,6 +66,8 @@ Page({
|
||||
let params = {};
|
||||
params['page'] = this.data.pageNo;
|
||||
params['size'] = 20;
|
||||
params['status'] = 2;
|
||||
params['ismy'] = 1;
|
||||
_.apiQuery.getAppCustomersList(params).then(res => {
|
||||
this.setData({
|
||||
pageNo: this.data.pageNo + 1,
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
<view class="font-32">用户信息</view>
|
||||
<view class="absolute right-0 box-middle font-22 color-666">销售顾问:<text class="color-36afa2">{{userInfo.uname}}</text></view>
|
||||
</view>
|
||||
<view class="mt20 pl40 pr40 pt10 pb10 relative ulib-r10 box-shadow-000-10-10 overflowhidden" bindtap="showSelectCustomer">
|
||||
<view class="pt50 pb50 font-28" wx:if="{{customerIndex == -1}}">请选择客户</view>
|
||||
<view class="mt20 pl40 pr40 pt10 pb10 relative ulib-r10 box-shadow-000-10-10 overflowhidden" bindtap="{{customer.length>0?'showSelectCustomer':''}}">
|
||||
<view class="pt50 pb50 font-28" wx:if="{{customerIndex == -1}}">{{customer.length>0?'请选择客户':'暂无可选客户'}}</view>
|
||||
<view class="pt30 pb30 font-28" wx:else>
|
||||
<view class="font-32">{{customer[customerIndex].name}}</view>
|
||||
<view class="mt5 font-22 color-666">手机号:{{customer[customerIndex].mobile}}</view>
|
||||
|
||||
Reference in New Issue
Block a user