Commit 16b0f569 by 张立顺

feat 功能开发

1 parent 8779b3df
// packageIndex/pages/salesSummary/salesSummary.js // packageIndex/pages/salesSummary/salesSummary.js
import IndexApi from '~/api/index/index' import IndexApi from '~/api/index/index'
import { tsFormatTime } from '~/utils/format' import { tsFormatTime } from '~/utils/format'
// dayjs(infoDetail.expectedOperationDate).format('YYYY-MM-DD')
const app = getApp() const app = getApp()
Page({ Page({
/** /**
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<scroll-view class="scrollView" scroll-y style="height: calc(100vh - 80px);"> <scroll-view class="scrollView" scroll-y style="height: calc(100vh - 80px);">
<block wx:if="{{ activeIndex==0 }}"> <block wx:if="{{ activeIndex==0 }}">
<view class="list"> <view class="list">
<view class="box" bindtap="goCustomer" data-item="{{item}}" wx:for="{{ list }}" wx:key="index"> <view class="box" bindtap="goCustomer" data-item="{{ item }}" wx:for="{{ list }}" wx:key="index">
<view class="header"> <view class="header">
<view class="name">{{item.personName}}</view> <view class="name">{{item.personName}}</view>
<view class="phone">{{item.personPhone}}</view> <view class="phone">{{item.personPhone}}</view>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</block> </block>
<block wx:if="{{ activeIndex ==1 }}"> <block wx:if="{{ activeIndex ==1 }}">
<view class="list"> <view class="list">
<view class="box" bindtap="goPotentialDetail" data-target="{{item}}" wx:for="{{ list }}" wx:key="index"> <view class="box" bindtap="goPotentialDetail" data-target="{{ item }}" wx:for="{{ list }}" wx:key="index">
<view class="merchant"> <view class="merchant">
<view class="merchantName text-hide">{{item.potentialCustomerName}}</view> <view class="merchantName text-hide">{{item.potentialCustomerName}}</view>
<view class="status">跟进中</view> <view class="status">跟进中</view>
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<view class="introduction merchantInfo"> <view class="introduction merchantInfo">
<view class="item"> <view class="item">
<view class="label">拜访次数</view> <view class="label">拜访次数</view>
<view class="content">{{item.visitCount?item.visitCount+'次':'-'}}</view> <view class="content">{{item.visitTimes != null ? item.visitTimes : '-'}}次</view>
</view> </view>
<view class="item"> <view class="item">
<view class="label person">跟进人</view> <view class="label person">跟进人</view>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<view class="item"> <view class="item">
<!-- <view class="left children"> --> <!-- <view class="left children"> -->
<view class="label">拜访次数</view> <view class="label">拜访次数</view>
<view class="content">{{item.visitTimes?item.visitTimes+'次':'-'}}</view> <view class="content">{{item.visitTimes != null ? item.visitTimes : '-'}}次</view>
<!-- </view> --> <!-- </view> -->
<!-- <view class="right children"> <!-- <view class="right children">
<view class="label">销售人员</view> <view class="label">销售人员</view>
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</view> </view>
<view class="item"> <view class="item">
<view class="label person">展业时间</view> <view class="label person">展业时间</view>
<view class="content">{{item.expectedOperationDate||'-'}}</view> <view class="content">{{item.expectedOperationDateFormatted||'-'}}</view>
</view> </view>
<view class="item"> <view class="item">
<view class="label person">门店地址</view> <view class="label person">门店地址</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!