Commit d1aebb35 by 张立顺

fix 权益战败推荐人员参数scene错误

1 parent 98fc5634
<view class="main"> <view class="main">
<view class="createData"> <view class="createData">
<view class="label">战败时间</view> <view class="label">战败时间</view>
<calendar id="calender" class="calendar" allowSameDay shortcut bindselect="rangeSelect" rangeAll dateType="single" calenderColor="#347BFF" vertical minDate="2020-10-01" maxDate="{{ dateObj.maxDate }}" isComponents> <calendar
<view class="calendarItem text-center dateNum"> id="calender"
{{dateObj.todayShow}} class="calendar"
<image class="solidArrow" src="/tabIndex/images/arrSolid.png" /> allowSameDay
</view> shortcut
</calendar> bindselect="rangeSelect"
</view> rangeAll
<view class="wrapper"> dateType="single"
<view class="cell"> calenderColor="#347BFF"
<gl-cell border valueAlign="right" label="推荐人员" requiredAfter labelWidth="var(--fontSize140)" required haveArrow bindclick="showPopup" data-show-name="selesBox" placeholder="点击选择"> vertical
<view class="between"> minDate="2020-10-01"
<view class="start text-hide {{orderObj.employeeName?'':'placeholder-class'}}">{{orderObj.employeeName || '请选择'}}</view> maxDate="{{ dateObj.maxDate }}"
</view> isComponents
</gl-cell> >
</view> <view class="calendarItem text-center dateNum">
<view class="cell two-cell"> {{dateObj.todayShow}}
<gl-cell border valueAlign="right" label="车主姓名" titleBtn="客户档案" bindtitleClick="showCustomPop" data-index="{{ ind }}" requiredAfter labelWidth="var(--fontSize390)" required> <image class="solidArrow" src="/tabIndex/images/arrSolid.png" />
<input placeholder="点击输入" class="input" placeholder-class="placeholder-class" maxlength="16" value="{{ customer.customerName }}" bindinput="input" data-index="{{ ind }}" data-name="customer.customerName" always-embed></input> </view>
</gl-cell> </calendar>
<gl-cell border valueAlign="right" label="手机号" requiredAfter labelWidth="var(--fontSize140)" required> </view>
<input placeholder="点击输入" class="input" type="number" maxlength="11" placeholder-class="placeholder-class" value="{{ customer.customerPhone }}" bindinput="input" data-index="{{ ind }}" data-name="customer.customerPhone" always-embed></input> <view class="wrapper">
</gl-cell> <view class="cell">
<gl-cell border valueAlign="right" label="客户来源" requiredAfter labelWidth="var(--fontSize140)" required haveArrow bindclick="showPopup" data-show-name="salesTypeShow" placeholder="点击选择"> <gl-cell
<view class="between"> border
<view class="start text-hide">{{customer.salesType?'售后':'售前'}}</view> valueAlign="right"
</view> label="推荐人员"
</gl-cell> requiredAfter
</view> labelWidth="var(--fontSize140)"
<view class="cell cell-textarea"> required
<view class="label">战败原因</view> haveArrow
<view class="inner"> bindclick="showPopup"
<textarea class="cus-textarea" bindinput="intReason" value="{{deafeatReason}}" placeholder="请输入" placeholder-class="textarea-placeholder" maxlength="30"></textarea> data-show-name="selesBox"
<text class="maxCount">{{deafeatReason.length || 0}}/30</text> placeholder="点击选择"
</view> >
<view class="select-content"> <view class="between">
<block wx:for="{{reasonList}}" wx:key="index"> <view class="start text-hide {{ orderObj.employeeName?'':'placeholder-class' }}">{{orderObj.employeeName || '请选择'}}</view>
<view bind:tap="toSelectReason" data-item="{{item}}" data-index="{{index}}" class="reason"> </view>
{{item.name}} </gl-cell>
</view> </view>
</block> <view class="cell two-cell">
</view> <gl-cell
</view> border
<view class="btn-group"> valueAlign="right"
<view bind:tap="toSumbit" class="btn-class primary">立即提交</view> label="车主姓名"
<view bind:tap="toContinueSumbit" class="btn-class">提交后继续添加</view> titleBtn="客户档案"
</view> bindtitleClick="showCustomPop"
</view> data-index="{{ ind }}"
requiredAfter
labelWidth="var(--fontSize390)"
required
>
<input
placeholder="点击输入"
class="input"
placeholder-class="placeholder-class"
maxlength="16"
value="{{ customer.customerName }}"
bindinput="input"
data-index="{{ ind }}"
data-name="customer.customerName"
always-embed
></input>
</gl-cell>
<gl-cell border valueAlign="right" label="手机号" requiredAfter labelWidth="var(--fontSize140)" required>
<input
placeholder="点击输入"
class="input"
type="number"
maxlength="11"
placeholder-class="placeholder-class"
value="{{ customer.customerPhone }}"
bindinput="input"
data-index="{{ ind }}"
data-name="customer.customerPhone"
always-embed
></input>
</gl-cell>
<gl-cell
border
valueAlign="right"
label="客户来源"
requiredAfter
labelWidth="var(--fontSize140)"
required
haveArrow
bindclick="showPopup"
data-show-name="salesTypeShow"
placeholder="点击选择"
>
<view class="between">
<view class="start text-hide">{{customer.salesType?'售后':'售前'}}</view>
</view>
</gl-cell>
</view>
<view class="cell cell-textarea">
<view class="label">战败原因</view>
<view class="inner">
<textarea
class="cus-textarea"
bindinput="intReason"
value="{{ deafeatReason }}"
placeholder="请输入"
placeholder-class="textarea-placeholder"
maxlength="30"
></textarea>
<text class="maxCount">{{deafeatReason.length || 0}}/30</text>
</view>
<view class="select-content">
<block wx:for="{{ reasonList }}" wx:key="index">
<view bind:tap="toSelectReason" data-item="{{ item }}" data-index="{{ index }}" class="reason">{{item.name}}</view>
</block>
</view>
</view>
<view class="btn-group">
<view bind:tap="toSumbit" class="btn-class primary">立即提交</view>
<view bind:tap="toContinueSumbit" class="btn-class">提交后继续添加</view>
</view>
</view>
</view> </view>
<merchant-seles show="{{ selesBox }}" title="选择合作门店" sub-title="选择销售顾问" orderObj="{{ orderObj }}" userInfo="{{ userInfo }}" singleSeller="{{ true }}" type="1" /> <merchant-seles
show="{{ selesBox }}"
title="选择合作门店"
sub-title="选择销售顾问"
orderObj="{{ orderObj }}"
userInfo="{{ userInfo }}"
singleSeller="{{ true }}"
scene="0"
type="1"
/>
<customerInfo show="{{ customerInfoBox }}" bindconfirm="chooseCustomerInfo" /> <customerInfo show="{{ customerInfoBox }}" bindconfirm="chooseCustomerInfo" />
<van-popup show="{{ salesTypeShow }}" position="bottom" bind:close="onCloseSaleType"> <van-popup show="{{ salesTypeShow }}" position="bottom" bind:close="onCloseSaleType">
<van-picker show-toolbar columns="{{ saleTypesList }}" value-key="name" bind:cancel="onCloseSaleType" bind:confirm="onChangeSaleType" /> <van-picker
show-toolbar
columns="{{ saleTypesList }}"
value-key="name"
bind:cancel="onCloseSaleType"
bind:confirm="onChangeSaleType"
/>
</van-popup> </van-popup>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!