Files
lcb/pages/order/register/index.wxml
T
2024-05-26 17:02:46 +08:00

729 lines
46 KiB
Plaintext

<view class="container">
<view class="pl30 pr30 pb200" wx:if="{{!isPreview}}">
<view class="height-100">
<view class="fixed top-0 left-0 right-0 height-100 fn-flex pt30 pl20 pr20 bg-fff text-center z-index-1">
<view class="pl40 pr40" wx:for="{{tab}}" wx:key="index">
<view class="inline-block {{step==item.step?'font-40 color-1a':'pt10 font-32'}} {{step>item.step?'color-666':''}} {{step<item.step?'color-999':''}}" bindtap="{{item.step < step?'optstep':''}}" data-step="{{item.step}}">
{{item.title}}
</view>
</view>
</view>
</view>
<view class="pb200">
<view wx:if="{{step == 1}}">
<view class="mt40 font-32">购车信息</view>
<view class="mt30 pt10 pb10 pl30 pr30 bg-fff ulib-r10 box-shadow-000-10-10">
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28 color-333">购车主体<text class="color-f9394d">*</text></view>
<view class="pt30 pb30 text-right font-28 color-666">
<radio-group bindchange="changeMain">
<label class="inline-block ml40" wx:for="{{main}}" wx:key="index">
<view class="inline-block text-middle">
<radio value="{{item.value}}" checked="{{item.value==main_type?true:false}}"/>
</view>
<text class="inline-block text-middle">{{item.title}}</text>
</label>
</radio-group>
</view>
</view>
<block>
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle">客户手机号码<text class="color-f9394d">*</text></view>
<view>
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="number" placeholder="请输入客户手机号码" model:value='{{mobile}}' disabled='{{isShowIntenMoney||isShowAddress?true:false}}' always-embed='{{true}}' />
</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 pr60 font-28">
<view class="absolute left-0 box-middle">客户身份证<text class="color-f9394d">*</text></view>
<view>
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="idcard" placeholder="请输入客户身份证" model:value='{{cardid}}' disabled='{{isShowIntenMoney||isShowAddress?true:false}}' always-embed='{{true}}' />
</view>
<view class="absolute right-0 box-middle font-50 iconfont icon-cardid color-666" bindtap="chooseImg" data-type="customer"></view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle">客户姓名<text class="color-f9394d">*</text></view>
<view>
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="text" placeholder="请输入客户姓名" model:value='{{name}}' disabled='{{isShowIntenMoney||isShowAddress?true:false}}' always-embed='{{true}}' />
</view>
</view>
</block>
</view>
<block wx:if="{{main_type==0&&0}}">
<view class="mt40 fn-clear">
<view class="fn-fl mt10 font-32">车主信息</view>
<view class="fn-fr">
<button bindtap="synchroCustomer" class="inline-block font-22 color-fff ulib-r10 btn-36afa2" hover-class="btn-36afa2-hover">一键同步购车人</button>
</view>
</view>
<view class="mt20 pt10 pb10 pl30 pr30 bg-fff ulib-r10 box-shadow-000-10-10">
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle">车主手机号码<text class="color-f9394d">*</text></view>
<view>
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="number" placeholder="请输入车主手机号码" model:value='{{owner_mobile}}' disabled='{{isShowIntenMoney||isShowAddress?true:false}}' always-embed='{{true}}' />
</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 pr60 font-28">
<view class="absolute left-0 box-middle">车主身份证<text class="color-f9394d">*</text></view>
<view>
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="idcard" placeholder="请输入车主身份证" model:value='{{owner_cardid}}' disabled='{{isShowIntenMoney||isShowAddress?true:false}}' always-embed='{{true}}' />
</view>
<view class="absolute right-0 box-middle font-50 iconfont icon-cardid color-666" bindtap="chooseImg" data-type="owner"></view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle">车主姓名<text class="color-f9394d">*</text></view>
<view>
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="text" placeholder="请输入车主姓名" model:value='{{owner_name}}' disabled='{{isShowIntenMoney||isShowAddress?true:false}}' always-embed='{{true}}' />
</view>
</view>
<!-- <view class="relative bbs-1-eb last-b-none pl180 font-28" >
<view class="absolute left-0 box-middle">车主地址<text class="color-f9394d">*</text></view>
<view class="relative">
<view class="absolute right-0 box-middle font-28 color-ccc" wx:if="{{!address&&!addressFocus}}">请输入详细地址</view>
<textarea class="wp100 inner20 font-28 ulib-r10" style="height:105rpx;" bindfocus='focusAddress' bindblur='blurAddress' placeholder-class="color-ccc" type="text" placeholder="" model:value='{{address}}' />
</view>
</view> -->
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28 color-333">上牌城市<text class="color-f9394d">*</text></view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker bindchange="changeOncard" value="{{oncardIndex}}" range="{{oncardArray}}">
<text class="color-ccc" wx:if="{{oncardIndex == -1}}">请选择</text>
<text wx:else>{{oncardArray[oncardIndex]}}</text>
<i class="iconfont ml5 icon-gengduo"></i>
</picker>
</view>
</view>
</view>
</block>
<block wx:elif="{{main_type==1}}">
<view class="mt40 font-32">企业信息</view>
<view class="mt30 pt10 pb10 pl30 pr30 bg-fff ulib-r10 box-shadow-000-10-10">
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle">企业名称<text class="color-f9394d">*</text></view>
<view>
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="text" placeholder="请输入企业名称" model:value='{{company}}' disabled='{{isShowIntenMoney||isShowAddress?true:false}}' always-embed='{{true}}' />
</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle">企业信用代码<text class="color-f9394d">*</text></view>
<view>
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="text" placeholder="请输入企业信用代码" model:value='{{credit}}' disabled='{{isShowIntenMoney||isShowAddress?true:false}}' always-embed='{{true}}' />
</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28 color-333">上牌城市<text class="color-f9394d">*</text></view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker bindchange="changeOncard" value="{{oncardIndex}}" range="{{oncardArray}}">
<text class="color-ccc" wx:if="{{oncardIndex == -1}}">请选择</text>
<text wx:else>{{oncardArray[oncardIndex]}}</text>
<i class="iconfont ml5 icon-gengduo"></i>
</picker>
</view>
</view>
</view>
</block>
<view class="mt40 font-22 color-666 text-center">
<label class="inline-block text-middle statement fn-clear"><checkbox class="fn-fl" value="cb" /><text class="pt3 fn-fl">我已阅读并同意</text></label>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/registration/index">《理车用户注册协议》</text>
<text class="text-middle">和</text>
<text class="text-middle color-36afa2" bindtap="pushLink" data-url="/pages/statement/privacy/index">《理车用户隐私政策》</text>
</view>
</view>
<view wx:if="{{step == 2}}">
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28 color-333">车辆品牌<text class="color-f9394d">*</text></view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker bindchange="changeBrand" value="{{brandIndex}}" range="{{brandArray}}">
<text class="color-ccc" wx:if="{{brandIndex == -1}}">请选择</text>
<text wx:else>{{brandArray[brandIndex]}}</text>
<i class="iconfont ml5 icon-gengduo"></i>
</picker>
</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{brandIndex != -1}}">
<view class="absolute left-0 box-middle font-28 color-333">车系车型<text class="color-f9394d">*</text></view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker bindchange="changeModel" value="{{modelIndex}}" range="{{modelArray}}">
<text class="color-ccc" wx:if="{{modelIndex == -1}}">请选择</text>
<text wx:else>{{modelArray[modelIndex]}}</text>
<i class="iconfont ml5 icon-gengduo"></i>
</picker>
</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{modelIndex != -1}}">
<view class="absolute left-0 box-middle font-28 color-333">车辆版本<text class="color-f9394d">*</text></view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker bindchange="changeLevel" value="{{levelIndex}}" range="{{levelArray}}">
<text class="color-ccc" wx:if="{{levelIndex == -1}}">请选择</text>
<text wx:else>{{levelArray[levelIndex]}}</text>
<i class="iconfont ml5 icon-gengduo"></i>
</picker>
</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{levelIndex != -1}}">
<view class="absolute left-0 box-middle font-28 color-333">车身颜色</view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker bindchange="changeColor" value="{{colorIndex}}" range="{{colorArray}}">
<text class="color-ccc" wx:if="{{colorIndex == -1}}">请选择</text>
<text wx:else>{{colorArray[colorIndex]}}</text>
<i class="iconfont ml5 icon-gengduo"></i>
</picker>
</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{colorIndex != -1}}">
<view class="absolute left-0 box-middle font-28 color-333">内饰颜色</view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker bindchange="changeInterior" value="{{interiorIndex}}" range="{{interiorArray}}">
<text class="color-ccc" wx:if="{{interiorIndex == -1}}">请选择</text>
<text wx:else>{{interiorArray[interiorIndex]}}</text>
<i class="iconfont ml5 icon-gengduo"></i>
</picker>
</view>
</view>
<!--选装-->
<block wx:if="{{packageList.length>0&&interiorIndex != -1}}">
<view class="pt30 pb30 font-32">选装</view>
<checkbox-group bindchange="choosePackage">
<block wx:for='{{packageList}}' wx:key='index' wx:key="index">
<label class="block inner40 pb5 relative ulib-r10 box-shadow-000-10-10 mb30 overflowhidden">
<view class="relative pr100">
<view class="font-30">{{item.title}}</view>
<checkbox class="absolute top-0 right-0 font-30" value="{{item.id}}" checked="{{item.checked}}"/>
</view>
<view class="mt15 text-middle font-28 color-666">¥{{item.price}}</view>
<view class="mt15 font-24 color-666 text-break line-height-18" >
<rich-text nodes="{{item.descrip}}"></rich-text>
</view>
</label>
</block>
</checkbox-group>
</block>
</view>
<view wx:if="{{step == 3}}">
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28 color-333">付款方式<text class="color-f9394d">*</text></view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker bindchange="changePayment" value="{{paymentIndex}}" range="{{payment}}">
<text class="color-ccc" wx:if="{{paymentIndex == -1}}">请选择</text>
<text wx:else>{{payment[paymentIndex]}}</text>
<i class="iconfont ml5 icon-gengduo"></i>
</picker>
</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle">期望交付时间</view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker mode="date" value="{{delry_time}}" bindchange="delryTime">
<text class="color-ccc" wx:if="{{delry_time == ''}}">请选择</text>
<text wx:else>{{delry_time}}</text>
<i class="iconfont ml10 icon-gengduo"></i>
</picker>
</view>
</view>
<!-- <view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.price}}">
<view class="absolute left-0 box-middle color-333">平台售价</view>
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.price}}</text>元</view>
</view> -->
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.price_color}}">
<view class="absolute left-0 box-middle color-333">颜色加价</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.price_color}}</text>元</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.price_coplus}}">
<view class="absolute left-0 box-middle color-333">公司加价</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.price_coplus}}</text>元</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{paymentIndex == 1}}">
<view class="absolute left-0 box-middle font-28 color-333">首付类型</view>
<view class="pt30 pb30 text-right font-28 color-666">
<picker bindchange="changeFirstPay" value="{{firstPayIndex}}" range="{{firstPayArr}}">
<text class="color-ccc" wx:if="{{firstPayIndex == -1}}">请选择</text>
<text wx:else>{{firstPayArr[firstPayIndex]}}</text>
<i class="iconfont ml5 icon-gengduo"></i>
</picker>
</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{if_zero_firstpay==1&&firstPayArr[firstPayIndex]=='按揭'}}">
<view class="absolute left-0 box-middle">首付按揭金额</view>
<view>
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="digit" placeholder="请输入首付按揭金额" model:value='{{price_loan0}}' always-embed='{{true}}' />
</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{priceinfo.deposit_list&&paymentIndex != -1&&if_zero_firstpay!=1}}">
<view class="absolute left-0 box-middle font-28 color-333">定金<text class="color-f9394d">*</text></view>
<view class="pt30 pb30 text-right font-28 color-666">
<view class="fn-clear">
<block wx:for="{{priceinfo.deposit_list}}" wx:key='index'>
<view class="inline-block ml5 mr5 pt10 pb10 pl15 pr15 text-middle font-24 ulib-r10 {{priceinfo.sdeposit == item?'bg-36afa2 color-fff':'bg-f8'}}" bindtap="fillDeposit" data-deposit="{{item}}">
{{item}}
</view>
</block>
<input class="inline-block ml5 mr5 text-middle bg-fff bds-1-eb text-center font-24 ulib-r10" style="width:100rpx;height:52rpx;" placeholder-class="color-ccc" type="digit" placeholder="金额" bindinput='inputDeposit' bindblur='inputBlurDeposit' value="{{priceinfo.sdeposit}}" always-embed='{{true}}' />
</view>
</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.dis_money}}">
<view class="absolute left-0 box-middle font-28 color-333">车身优惠</view>
<view class="pt30 pb30 text-right font-28 color-666">
<view class="fn-clear">
<block wx:for="{{priceinfo.dis_money_list}}" wx:key='index'>
<view class="inline-block ml5 mr5 pt10 pb10 pl15 pr15 text-middle font-24 ulib-r10 {{priceinfo.sdisc_money == item?'bg-36afa2 color-fff':'bg-f8'}}" bindtap="fillDisc_money" data-disc_money="{{item}}">
{{item}}
</view>
</block>
<input class="inline-block ml5 mr5 text-middle bg-fff bds-1-eb text-center font-24 ulib-r10" style="width:100rpx;height:52rpx;" placeholder-class="color-ccc" type="digit" placeholder="金额" bindinput='inputDisc_money' bindblur='inputBlurDisc_money' value="{{priceinfo.sdisc_money}}" always-embed='{{true}}' />
</view>
</view>
</view>
<!-- <view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.fine_money}}">
<view class="absolute left-0 box-middle">精品尊享包<text class="ml10 font-24">{{priceinfo.fine_money}}元</text></view>
<view class="relative pt30 pb30 text-right" bindtap="changeFineBag">
<checkbox value="{{if_fine}}" checked="{{if_fine}}"/>
</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{if_fine&&priceinfo.dis_fine_money}}">
<view class="absolute left-0 box-middle font-28 color-333">精品优惠</view>
<view class="pt30 pb30 text-right font-28 color-666">
<view class="fn-clear">
<block wx:for="{{priceinfo.dis_fine_money_list}}" wx:key='index'>
<view class="inline-block ml5 mr5 pt10 pb10 pl15 pr15 text-middle font-24 ulib-r10 {{priceinfo.sdisc_fine_money == item?'bg-36afa2 color-fff':'bg-f8'}}" bindtap="fillDisc_fine_money" data-disc_fine_money="{{item}}">
{{item}}
</view>
</block>
<input class="inline-block ml5 mr5 text-middle bg-fff bds-1-eb text-center font-24 ulib-r10" style="width:100rpx;height:52rpx;" placeholder-class="color-ccc" type="digit" placeholder="金额" bindinput='inputDisc_fine_money' bindblur='inputBlurDisc_fine_money' value="{{priceinfo.sdisc_fine_money}}" always-embed='{{true}}' />
</view>
</view>
</view> -->
<block wx:if="{{userInfo.biz_type == 1}}">
<view class="bbs-1-eb last-b-none" wx:if="{{agencyList.length>0&&0}}">
<view class="relative pl190">
<view class="absolute left-0 box-middle font-28 color-333">委托代办</view>
<view class="pt30 pb30 text-right font-28 color-666">
总计:<text class="mr10 color-f9394d">{{srv_total}}</text>元
</view>
</view>
<view class="pb10">
<checkbox-group bindchange="changeAgency">
<block wx:for="{{agencyList}}" wx:key='index'>
<view class="mb20 block relative height-100 pl220 pr20 bg-f6 font-28 ulib-r10">
<label class="absolute box-middle left-0 ml30">
<checkbox class="text-middle mr5" value="{{item.id}}" checked="{{item.checked}}" />
<text class="text-middle">{{item.title}}</text>
</label>
<view class="pt25 text-right" wx:if="{{item.checked&&item.price>0}}">
<block wx:for="{{item.price_list}}" wx:for-item='price_list' wx:for-index='i' wx:key='i'>
<text class="inline-block ml5 mr5 pt10 pb10 pl15 pr15 text-middle font-24 ulib-r10 {{item.sprice == price_list?'bg-36afa2 color-fff':'bg-e4 color-666'}}" bindtap="fillAgency" data-index="{{index}}" data-sprice="{{price_list}}">{{price_list}}</text>
</block>
<input class="inline-block ml5 mr5 text-middle bg-fff bds-1-eb text-center font-24 ulib-r10" style="width:100rpx;height:52rpx;" placeholder-class="color-ccc" type="digit" placeholder="价格" bindinput='inputAgency' data-index="{{index}}" value="{{item.sprice}}" always-embed='{{true}}' />
</view>
<view class="pt30 text-right color-666" wx:elif="{{item.text}}">{{item.text}}</view>
</view>
</block>
</checkbox-group>
</view>
</view>
<view class="bbs-1-eb last-b-none" wx:if="{{0}}">
<view class="relative pl190">
<view class="absolute left-0 box-middle font-28 color-333">精品选装</view>
<view class="pt30 pb30 text-right font-28 color-666">
总计:<text class="mr10 color-f9394d">{{fine_total}}</text>元
</view>
</view>
<view class="pb10">
<block wx:for="{{fines}}" wx:key='index'>
<view class="fn-clear mb20 relative pl30 pr80 bg-f6 ulib-r10">
<view class="fn-fl wp70">
<input class="wp100 height-100 font-28" placeholder-class="color-ccc" type="text" placeholder="精品名称" bindinput='inputFines' data-index="{{index}}" data-type="txt" value="{{item.txt}}" always-embed='{{true}}' />
</view>
<view class="fn-fr wp25">
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="digit" placeholder="精品价格" bindinput='inputFines' data-index="{{index}}" data-type="price" value="{{item.price}}" always-embed='{{true}}' />
</view>
<i class="absolute box-middle right-0 mr20 iconfont icon-guanbi1 font-30 color-666" bindtap="delFine" data-index="{{index}}"></i>
</view>
</block>
<picker class="mb20 inner20 bds-2-36afa2 text-center font-28 color-36afa2 ulib-r10" bindchange="changeFine" value="{{finedIndex}}" range="{{fineArr}}">
<i class="iconfont mr10 font-24 icon-jia1"></i>添加
</picker>
</view>
</view>
</block>
<block wx:if="{{userInfo.biz_type != 1}}">
<block wx:for="{{fines}}" wx:key='index'>
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle">{{item.txt}}</view>
<view>
<input class="wp100 height-100 text-right font-28" placeholder-class="color-ccc" type="digit" placeholder="请输入服务费" bindinput='inputFines' data-index="{{index}}" data-type="price" value="{{item.price}}" always-embed='{{true}}' />
</view>
</view>
</block>
</block>
<block wx:if="{{userInfo.show_sa}}">
<view class="relative pt30 font-28 color-333">特别约定</view>
<textarea class="wp100 mt20 inner20 line-height-16 bg-f6 font-28 ulib-r10" style="height:180rpx;" placeholder-class="color-ccc" placeholder="请填写特别约定" model:value='{{sa}}' always-embed='{{true}}' />
</block>
<!-- 20240526 新增是否店内上牌 ,非必填 新增是否店内投保, 非必填-->
<block>
<view class="bbs-1-eb last-b-none">
<view class="relative pl190">
<view class="absolute left-0 box-middle font-28 color-333">是否店内上牌</view>
<view class="pb10 pt10 text-right">
<switch checked="{{is_get_brand}}" bindchange="changeIsGetBrand"></switch>
</view>
</view>
</view>
<view class="bbs-1-eb last-b-none">
<view class="relative pl190">
<view class="absolute left-0 box-middle font-28 color-333">是否店内投保</view>
<view class="pb10 pt10 text-right">
<switch checked="{{is_get_insure}}" bindchange="changeIsGetInsure"></switch>
</view>
</view>
</view>
</block>
<!-- 20240526 -->
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.show_local_bill}}">
<view class="absolute left-0 box-middle">需开具本地发票</view>
<view class="relative pt30 pb30 text-right">
<switch checked="{{if_local_bill}}" bindchange="switchAddrDef" type="switch" color='#36afa2' style="zoom:0.8" />
</view>
</view>
</view>
</view>
<view class="fixed left-0 right-0 bottom-0 bg-fff-op90 inner40 fn-flex safe-pb">
<block wx:if="{{step==1}}">
<block wx:if="{{!isFill&&0}}">
<button class="wp100 bds-2-36afa2 bg-fff mr20 pt10 pb10 text-center font-32 color-36afa2 ulib-r750" bindtap="createV2Inten">收取意向金</button>
</block>
<button class="wp100 btn-36afa2 pt10 pb10 text-center font-32 color-fff ulib-r750" hover-class="btn-36afa2-hover" bindtap="nextstep">下一步</button>
</block>
<block wx:if="{{step==2}}">
<button class="wp100 bds-2-36afa2 bg-fff mr20 pt10 pb10 text-center font-32 color-36afa2 ulib-r750" hover-class="btn-36afa2-hover" bindtap="optstep" data-step="{{step-1}}">上一步</button>
<button class="wp100 btn-36afa2 pt10 pb10 text-center font-32 color-fff ulib-r750" hover-class="btn-36afa2-hover" bindtap="nextstep" wx:if="{{business_type==0||business_type==2}}">下一步</button>
<button class="wp100 btn-36afa2 pt10 pb10 text-center font-32 color-fff ulib-r750" hover-class="btn-36afa2-hover" wx:elif="{{business_type==1}}">下一步</button>
<button class="wp100 btn-36afa2 pt10 pb10 text-center font-32 color-fff ulib-r750" hover-class="btn-36afa2-hover" bindtap="getAppBusiness" wx:elif="{{business_type==3}}">下一步</button>
</block>
<block wx:if="{{step==3}}">
<button class="wp100 bds-2-36afa2 bg-fff mr20 pt10 pb10 text-center font-32 color-36afa2 ulib-r750" hover-class="btn-36afa2-hover" bindtap="optstep" data-step="{{step-1}}">上一步</button>
<button class="wp100 btn-36afa2 pt10 pb10 text-center font-32 color-fff ulib-r750" hover-class="btn-36afa2-hover" bindtap="nextstep">登记预览</button>
</block>
</view>
<!-- <view class="fixed left-0 right-0 bottom-0 bg-fff-op90 inner40 fn-flex safe-pb">
<block wx:if="{{isFill}}">
<block wx:if="{{step>1}}">
<button class="wp100 bds-2-36afa2 bg-fff mr20 pt10 pb10 text-center font-32 color-36afa2 ulib-r750" hover-class="btn-36afa2-hover" bindtap="optstep" data-step="{{step-1}}">上一步</button>
</block>
<button class="wp100 btn-36afa2 pt10 pb10 text-center font-32 color-fff ulib-r750" hover-class="btn-36afa2-hover" bindtap="nextstep">{{step==3?'登记预览':'下一步'}}</button>
</block>
<block wx:else>
<block wx:if="{{step==1}}">
<button class="wp100 bds-2-36afa2 bg-fff mr20 pt10 pb10 text-center font-32 color-36afa2 ulib-r750" bindtap="postAppCusorderV2Inten">收取意向金</button>
</block>
<block wx:else>
<button class="wp100 bds-2-36afa2 bg-fff mr20 pt10 pb10 text-center font-32 color-36afa2 ulib-r750" hover-class="btn-36afa2-hover" bindtap="optstep" data-step="{{step-1}}">上一步</button>
</block>
<button class="wp100 btn-36afa2 pt10 pb10 text-center font-32 color-fff ulib-r750" hover-class="btn-36afa2-hover" bindtap="nextstep">{{step==3?'登记预览':'下一步'}}</button>
</block>
</view> -->
</view>
<view class="pl30 pr30 text-break pb200" wx:else>
<view class="mt10 pt20 pb20 bg-e3f5f3 font-36 text-center ulib-r10">信息预览</view>
<view class="mt20 relative">
<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="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle">客户姓名</view>
<view class="pt30 pb30 text-right font-28 color-666">{{name}}</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle">客户手机号码</view>
<view class="pt30 pb30 text-right font-28 color-666">{{mobile}}</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{cardid}}">
<view class="absolute left-0 box-middle">客户身份证</view>
<view class="pt30 pb30 text-right font-28 color-666">{{cardid}}</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{owner_name}}">
<view class="absolute left-0 box-middle color-333">车主姓名</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">
<text>{{owner_name}}</text>
</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{owner_mobile}}">
<view class="absolute left-0 box-middle color-333">车主手机号码</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">
<text>{{owner_mobile}}</text>
</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{owner_cardid}}">
<view class="absolute left-0 box-middle color-333">车主身份证</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">
<text>{{owner_cardid}}</text>
</view>
</view>
<!-- <view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{address}}">
<view class="absolute left-0 box-middle">车主地址</view>
<view class="pt30 pb30 text-right font-28 color-666">{{address}}</view>
</view> -->
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{company}}">
<view class="absolute left-0 box-middle color-333">企业名称</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">
<text>{{company}}</text>
</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{credit}}">
<view class="absolute left-0 box-middle color-333">企业信用代码</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">
<text>{{credit}}</text>
</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{c_city_id}}">
<view class="absolute left-0 box-middle font-28 color-333">上牌城市</view>
<view class="pt30 pb30 text-right font-28 color-666">{{oncardArray[oncardIndex]}}</view>
</view>
<view class="mt40 font-32">车辆信息</view>
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28 color-333">车辆品牌</view>
<view class="pt30 pb30 text-right font-28 color-666">{{brandArray[brandIndex]}}</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28 color-333">车系车型</view>
<view class="pt30 pb30 text-right font-28 color-666">{{modelArray[modelIndex]}}</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28 color-333">车辆版本</view>
<view class="pt30 pb30 text-right font-28 color-666">{{levelArray[levelIndex]}}</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none" >
<view class="absolute left-0 box-middle font-28 color-333">车身颜色</view>
<view class="pt30 pb30 text-right font-28 color-666">{{colorArray[colorIndex]}}</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28 color-333">内饰颜色</view>
<view class="pt30 pb30 text-right font-28 color-666">{{interiorArray[interiorIndex]}}</view>
</view>
<block wx:if="{{options_ids.length>0}}">
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle color-333">选装</view>
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{options_total}}</text>元</view>
</view>
<block wx:for="{{packageList}}" wx:key='index'>
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{item.checked}}">
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>{{item.title}}</view>
<view class="pt25 pb25 text-right" style="min-height:30rpx">
<block wx:if="{{item.price>0}}"><text class="mr10 color-f9394d">{{item.price}}</text>元</block>
</view>
</view>
</block>
</block>
<view class="mt40 font-32">其他信息</view>
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28 color-333">付款方式</view>
<view class="pt30 pb30 text-right font-28 color-666">{{payment[paymentIndex]}}</view>
</view>
<view class="relative bbs-1-eb pl190 last-b-none">
<view class="absolute left-0 box-middle font-28 color-333">期望交付时间</view>
<view class="pt30 pb30 text-right font-28 color-666">{{delry_time}}</view>
</view>
<!-- <view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.price}}">
<view class="absolute left-0 box-middle color-333">平台售价</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.price}}</text>元</view>
</view> -->
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.price_color}}">
<view class="absolute left-0 box-middle color-333">颜色加价</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.price_color}}</text>元</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.price_coplus}}">
<view class="absolute left-0 box-middle color-333">公司加价</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.price_coplus}}</text>元</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{paymentIndex == 1}}">
<view class="absolute left-0 box-middle color-333">首付类型</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">{{firstPayArr[firstPayIndex]}}</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{price_loan0>0}}">
<view class="absolute left-0 box-middle color-333">首付按揭金额</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;">{{price_loan0}}</view>
</view>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.sdeposit&&if_zero_firstpay!=1}}">
<view class="absolute left-0 box-middle color-333">定金</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.sdeposit}}</text>元</view>
</view>
<!-- <view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.price}}">
<view class="absolute left-0 box-middle color-333">最终售价</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{options_total+priceinfo.price+priceinfo.price_color+priceinfo.price_coplus-(priceinfo.sdisc_money>0?priceinfo.sdisc_money:0)}}</text>元</view>
</view> -->
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{!!priceinfo.sdisc_money&&priceinfo.sdisc_money != ''}}">
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>优惠</view>
<view class="pt25 pb25 text-right" style="min-height:30rpx"><text class="mr10 color-f9394d">{{priceinfo.sdisc_money}}</text>元</view>
</view>
<!-- <view class="relative bbs-1-eb pl190 last-b-none" wx:if="{{if_fine}}">
<view class="absolute left-0 box-middle font-28 color-333">精品尊享包<text class="ml10 font-24">{{priceinfo.fine_money}}元</text></view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{priceinfo.fine_money-(priceinfo.sdisc_fine_money>0?priceinfo.sdisc_fine_money:0)}}</text>元</view>
</view>
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{!!priceinfo.sdisc_fine_money&&priceinfo.sdisc_fine_money != ''}}">
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>优惠</view>
<view class="pt25 pb25 text-right" style="min-height:30rpx"><text class="mr10 color-f9394d">{{priceinfo.sdisc_fine_money}}</text>元</view>
</view> -->
<block wx:if="{{userInfo.biz_type == 1&&0}}">
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle color-333">委托代办</view>
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{srv_total}}</text>元</view>
</view>
<block wx:for="{{agencyList}}" wx:key='index'>
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{item.checked}}">
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>{{item.title}}</view>
<view class="pt25 pb25 text-right" style="min-height:30rpx">
<block wx:if="{{item.price>0}}"><text class="mr10 color-f9394d">{{item.sprice}}</text>元</block>
<block wx:elif="{{item.text}}">{{item.text}}</block>
</view>
</view>
</block>
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle color-333">精品选装</view>
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;"><text class="mr10 color-f9394d">{{fine_total}}</text>元</view>
</view>
<block wx:for="{{fines}}" wx:key='index'>
<view class="relative ml40 bbs-1-eb pl140 font-22 color-666" wx:if="{{item.txt}}">
<view class="absolute left-0 box-middle"><i class="iconfont ml5 mr10 icon-gengduo"></i>{{item.txt}}</view>
<view class="pt25 pb25 text-right" style="min-height:30rpx">
<blcok wx:if="{{item.price}}"><text class="mr10 color-f9394d">{{item.price}}</text>元</blcok>
</view>
</view>
</block>
</block>
<block wx:if="{{userInfo.biz_type != 1}}">
<block wx:for="{{fines}}" wx:key='index'>
<view class="relative bbs-1-eb last-b-none pl180 font-28">
<view class="absolute left-0 box-middle color-333">{{item.txt}}</view>
<view class="pt30 pb30 text-right font-28 color-666" style="min-height:38rpx;"><text class="mr10 color-f9394d">{{item.price>0?item.price:0}}</text>元</view>
</view>
</block>
</block>
<view class="relative bbs-1-eb last-b-none pl180 font-28" wx:if="{{priceinfo.show_local_bill}}">
<view class="absolute left-0 box-middle color-333">需开具本地发票</view>
<view class="pt30 pb30 text-right font-28 color-666" style="height:38rpx;">{{if_local_bill?'需要':'不需要'}}</view>
</view>
<block wx:if="{{userInfo.show_sa}}">
<view class="relative pt30 font-28 color-333">特别约定</view>
<view class="mt20 inner30 bds-1-eb line-height-16 font-28 color-666 ulib-r10">{{sa}}</view>
</block>
<!-- 20240526 新增是否店内上牌 ,非必填 新增是否店内投保, 非必填-->
<block>
<view class="bbs-1-eb last-b-none">
<view class="relative pl190">
<view class="absolute left-0 box-middle font-28 color-333">是否店内上牌</view>
<view class="pt30 pb30 text-right font-28 color-666"> 是 </view>
</view>
</view>
<view class="bbs-1-eb last-b-none">
<view class="relative pl190">
<view class="absolute left-0 box-middle font-28 color-333">是否店内投保</view>
<view class="pt30 pb30 text-right font-28 color-666"> 是 </view>
</view>
</view>
</block>
<!-- 20240526 -->
<view class="fixed left-0 right-0 bottom-0 bg-fff-op90 inner40 fn-flex safe-pb">
<button class="wp100 bds-2-36afa2 bg-fff mr20 pt10 pb10 text-center font-32 color-36afa2 ulib-r750" hover-class="btn-36afa2-hover" bindtap="optPreview">重新编辑</button>
<button class="wp100 btn-36afa2 ml20 pt10 pb10 text-center font-32 color-fff ulib-r750" hover-class="btn-36afa2-hover" disabled="{{submitFlag}}" bindtap="postAppCusorderV2">确认登记</button>
</view>
</view>
</view>
<!-- <lcb-footer></lcb-footer> -->
<!-- <lcb-backChannel></lcb-backChannel> -->
<lcb-msg isShow="{{isShowcheck}}">
<view slot="content">
<view class="inner40 pt60 pb60 line-height-16 font-34 color-666">
<view class="text-center text-bold">请确认填写信息准确无误!</view>
</view>
<view class="bts-1-eb text-center font-32 color-666">
<view class="pt25 pb25 {{checkCount==5?'color-36afa2':'color-ccc'}}" bindtap="{{checkCount==5?'optShowcheck':''}}">{{checktext}}</view>
</view>
</view>
</lcb-msg>
<!--订单登记成功-->
<lcb-msg isShow="{{isShowSuccess}}">
<view slot="content">
<view class="inner40">
<view class="font-36 text-center">邀请客户扫码支付</view>
<view class="pt40 text-center">
<image class='inline-block img-250x250' lazy-load="{{true}}" mode="aspectFit" src="{{details.pay_img}}"></image>
</view>
</view>
<view class="pl60 pr60 pb50 text-center font-32 color-666">
<button bindtap="viewDetails" class="inline-block wp50 btn-36afa2 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">查看订单</button>
</view>
</view>
</lcb-msg>
<!--扫码生成合同-->
<lcb-msg isShow="{{isShowContract}}">
<view slot="content">
<view class="inner40">
<view class="font-36 text-center">扫码生成合同</view>
<view class="pt20 text-center">
<image class='inline-block img-250x250' show-menu-by-longpress='true' lazy-load="{{true}}" mode="aspectFit" src="{{details.pay_img}}"></image>
</view>
<view class="pt20 font-24 color-999 text-center">客户合同未生成时可让客户扫码生成</view>
</view>
<view class="pl60 pr60 pb50 text-center font-32 color-666">
<button bindtap="viewDetails" class="inline-block wp50 btn-36afa2 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">查看订单</button>
</view>
</view>
</lcb-msg>
<!--收起意向金-->
<lcb-msg isShow="{{isShowIntenMoney}}">
<view slot="content">
<view class="pt50 pl60 pr60 pb40">
<view class="font-36 text-center">请输入意向金</view>
<view class="mt30 relative">
<input class="wp100 height-80 pl20 pr20 bds-1-eb font-28 ulib-r10" placeholder-class="color-ccc" type="number" placeholder="意向金不超过定金" model:value='{{inten_money}}' />
</view>
<view class="mt20 line-height-15 font-22 color-999">意向金:旨在客户尚未明确购车决策时(车型、付款方式等),在不需要签订合同的情况下,收取订车费用锁定客户</view>
</view>
<view class="pl60 pr60 pb50 text-center font-32 color-666 fn-flex">
<view class="fn-flex-item pr15">
<view bindtap="optIntenMoney" class="bds-1-eb pt15 pb15 font-28 color-666 ulib-r750">取消</view>
</view>
<view class="fn-flex-item pl15">
<view bindtap="postAppCusorderV2Inten" class="btn-36afa2 pt15 pb15 font-28 color-fff ulib-r750">确认</view>
</view>
</view>
</view>
</lcb-msg>
<!--车主地址-->
<lcb-msg isShow="{{isShowAddress}}">
<view slot="content" style="width:650rpx;">
<view class="pt50 font-36 text-center">请填写车主地址信息</view>
<view class="pt30 pl60 pr60 pb40">
<picker class="inner20 bds-1-eb relative text-center font-28 ulib-r10" mode="region" bindchange="bindRegionChange" value="{{region}}">
<text>{{region[0]}}</text>
<text class="pl10 pr10 color-666">-</text>
<text wx:if="{{region[1]}}">{{region[1]}}</text>
<text wx:else class="color-ccc">选择城市</text>
<text class="pl10 pr10 color-666">-</text>
<text wx:if="{{region[2]}}">{{region[2]}}</text>
<text wx:else class="color-ccc">选择地区</text>
</picker>
<view class="mt30 relative">
<textarea class="wp100 inner20 bds-1-eb font-28 ulib-r10" style="height:150rpx;" placeholder-class="color-ccc" type="text" placeholder="请输入详细地址" model:value='{{address}}' />
</view>
</view>
<view class="pl60 pr60 pb50 text-center font-32 color-666">
<button bindtap="optAddress" class="inline-block wp50 btn-36afa2 font-28 color-fff ulib-r750" hover-class="btn-36afa2-hover">确定</button>
</view>
</view>
</lcb-msg>