277 lines
6.8 KiB
Vue
277 lines
6.8 KiB
Vue
<template>
|
||
<view>
|
||
<uni-nav-bar leftText=" " :fixed="true" :border="false" leftIcon="back" @clickLeft="leftClick" color="#000000" backgroundColor="#fff" :statusBar="true" title="客户资料"></uni-nav-bar>
|
||
<view class="content">
|
||
<view class="cell">
|
||
<view>客户称呼</view>
|
||
<view class="right">
|
||
<input placeholder="输入客户称呼" v-model="form.name" />
|
||
</view>
|
||
</view>
|
||
<u-divider text=""></u-divider>
|
||
<view class="cell">
|
||
<view>性别</view>
|
||
<view class="right">
|
||
<u-radio-group v-model="form.gender">
|
||
<u-radio name="男">男</u-radio>
|
||
<u-radio name="女">女</u-radio>
|
||
</u-radio-group>
|
||
</view>
|
||
</view>
|
||
<u-divider text=""></u-divider>
|
||
<view class="cell">
|
||
<view>联系方式 </view>
|
||
<view class="right">
|
||
<input placeholder="输入联系方式" v-model="form.phone" />
|
||
</view>
|
||
</view>
|
||
<u-divider text=""></u-divider>
|
||
<view class="cell">
|
||
<view>Email</view>
|
||
<view class="right">
|
||
<input placeholder="输入Email" v-model="form.phone" />
|
||
</view>
|
||
</view>
|
||
<u-divider text=""></u-divider>
|
||
<view class="cell">
|
||
<view>客户偏好</view>
|
||
<view class="right select" @click="showbrand = true">
|
||
<input placeholder="选择客户偏好" disabled v-model="brandname" />
|
||
<u-picker :show="showbrand" @cancel="cancel('showbrand')" :columns="brandList" keyName="name" @confirm="changeHandler"></u-picker>
|
||
<u-icon class="arrowright" name="arrow-right" size="18" color="#747474"></u-icon>
|
||
</view>
|
||
</view>
|
||
<u-divider text=""></u-divider>
|
||
<view class="cell">
|
||
<view>客户等级</view>
|
||
<view class="right select" @click="showtype = true">
|
||
<input placeholder="选择客户等级" disabled v-model="vehicle_type" />
|
||
<u-picker :show="showtype" @cancel="cancel('showtype')" :columns="typesList" keyName="name" @confirm="typesChange"></u-picker>
|
||
<u-icon class="arrowright" name="arrow-right" size="18" color="#747474"></u-icon>
|
||
</view>
|
||
</view>
|
||
<u-divider text=""></u-divider>
|
||
<view class="cell">
|
||
<view>公司</view>
|
||
<view class="right select" @click="showenergy = true">
|
||
<input placeholder="去定位" disabled v-model="vehicle_energy" />
|
||
<u-picker :show="showenergy" @cancel="cancel('showenergy')" :columns="energyList" keyName="name" @confirm="energyChange"></u-picker>
|
||
<u-icon class="arrowright" name="arrow-right" size="18" color="#747474"></u-icon>
|
||
</view>
|
||
</view>
|
||
<u-divider text=""></u-divider>
|
||
<view class="cell1">
|
||
<view>备注(非必填)</view>
|
||
<view class="">
|
||
<textarea auto-height v-model="form.condition_desc" placeholder="详细情况..."/>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<u-gap height="10" bgColor="#F6F6F6"></u-gap>
|
||
<view class="steps">
|
||
<view class="title">
|
||
跟进记录 <text class="status">跟进中</text>
|
||
</view>
|
||
<u-steps current="0" direction="column" dot>
|
||
<u-steps-item title="在线跟进">
|
||
<view slot="desc">
|
||
<view class="">
|
||
时间:2025-03-11 12:00:01
|
||
</view>
|
||
<view class="">
|
||
<image src="/static/image/customer/addr.png" mode=""></image>
|
||
</view>
|
||
</view>
|
||
</u-steps-item>
|
||
<u-steps-item title="拜访跟进">
|
||
<view slot="desc" class="desc">
|
||
<view class="">
|
||
<view class="">
|
||
时间:2025-03-11 12:00:01
|
||
</view>
|
||
<view class="">地址:迪拜某某地方</view>
|
||
<view class="">拜访内容:讨论需求</view>
|
||
</view>
|
||
<view class="">
|
||
<image src="/static/image/customer/addr.png" mode=""></image>
|
||
</view>
|
||
</view>
|
||
</u-steps-item>
|
||
<u-steps-item title="拜访跟进">
|
||
<view slot="desc" class="desc">
|
||
<view class="">
|
||
<view class="">
|
||
时间:2025-03-11 12:00:01
|
||
</view>
|
||
<view class="">地址:迪拜某某地方</view>
|
||
<view class="">拜访内容:讨论需求</view>
|
||
</view>
|
||
<view class="">
|
||
<image src="/static/image/customer/addr.png" mode=""></image>
|
||
</view>
|
||
</view>
|
||
</u-steps-item>
|
||
</u-steps>
|
||
<!-- <empty :list="brandList"></empty> -->
|
||
</view>
|
||
<view class="zw"></view>
|
||
<view class="foot">
|
||
<button class="btn" @click="nextFn">提交</button>
|
||
</view>
|
||
</view>
|
||
</template>
|
||
|
||
<script>
|
||
import { request,showToast } from '@/api/apiT.js'
|
||
export default {
|
||
data() {
|
||
return {
|
||
id:'',
|
||
brandList:[],
|
||
energyList:[],
|
||
typesList:[],
|
||
brandList1:[],
|
||
energyList1:[],
|
||
typesList1:[],
|
||
showbrand: false,
|
||
showtype: false,
|
||
showenergy: false,
|
||
defaultIndex1:[0],
|
||
defaultIndex2:[0],
|
||
defaultIndex3:[0],
|
||
brandname:'',
|
||
vehicle_type:'',
|
||
vehicle_energy:'',
|
||
form:{
|
||
name:'',
|
||
vin:'',
|
||
brand:'',
|
||
price:'',
|
||
vehicle_type:'',
|
||
vehicle_energy:'',
|
||
mileage :'',
|
||
vehicle_age:'',
|
||
condition_desc:'',
|
||
front_45_degree:'',
|
||
front_left_45_degree:'',
|
||
front_left_headlight:'',
|
||
front_view:'',
|
||
lower_front:'',
|
||
wheel_hub:'',
|
||
front_right_seat:'',
|
||
right_lower_side:'',
|
||
rear_right_taillight:'',
|
||
rear_right_45_degree:'',
|
||
lower_rear:'',
|
||
trunk:'',
|
||
left_lower_side:'',
|
||
rear_seats:'',
|
||
center_console:'',
|
||
control_panel:'',
|
||
gear_shift:'',
|
||
car_key:'',
|
||
steering_wheel:'',
|
||
dashboard:'',
|
||
odometer_reading:'',
|
||
front_left_door_panel:'',
|
||
front_left_door_function_area:'',
|
||
front_left_seat:'',
|
||
interior_ceiling:'',
|
||
}
|
||
|
||
}
|
||
},
|
||
onLoad(options) {
|
||
console.log(options);
|
||
var that = this
|
||
|
||
},
|
||
methods: {
|
||
leftClick(){
|
||
uni.navigateBack({})
|
||
}
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style lang="scss">
|
||
.u-divider{
|
||
margin: 0px 0px !important;
|
||
}
|
||
.zw{
|
||
height: 120px;
|
||
}
|
||
.uniui-right{
|
||
position: absolute;
|
||
top: 2px;
|
||
}
|
||
.content{
|
||
padding-top: 10px;
|
||
background: #FFFFFF;
|
||
}
|
||
.cell{
|
||
position: relative;
|
||
display: flex;
|
||
justify-content:space-between;
|
||
padding: 18px 20px;
|
||
align-items: center;
|
||
font-weight: 500;
|
||
}
|
||
.arrowright{
|
||
margin-right: -15px;
|
||
}
|
||
.cell1{
|
||
font-size: 32rpx;
|
||
padding: 18px 20px;
|
||
align-items: center;
|
||
font-weight: 500;
|
||
}
|
||
.right{
|
||
text-align: right;
|
||
}
|
||
.select{
|
||
display: flex;
|
||
position: relative;
|
||
margin-right: 10px;
|
||
}
|
||
.steps{
|
||
padding: 15px;
|
||
image{
|
||
width: 44px;
|
||
height:44px;
|
||
}
|
||
.desc{
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
color: #999999;
|
||
}
|
||
.title{
|
||
color: #666666;
|
||
font-size: 32rpx;
|
||
margin-bottom: 15px;
|
||
.status{
|
||
font-size: 28rpx;
|
||
color: #3471FF;
|
||
margin-left: 10px;
|
||
}
|
||
}
|
||
}
|
||
.foot{
|
||
position: fixed;
|
||
bottom: 0px;
|
||
width: 100%;
|
||
height: 160rpx;
|
||
background: #FFFFFF;
|
||
z-index: 1;
|
||
}
|
||
.btn{
|
||
background: linear-gradient(to right, #3471FF, #6776FF);
|
||
color: white;
|
||
border-radius: 50px;
|
||
width: 92%;
|
||
margin-bottom: 40px;
|
||
margin: 15px 4%;
|
||
}
|
||
</style>
|