| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- <!--StepPage/pages/fourth/fourth.wxml-->
- <van-overlay show="{{show}}" z-index='999' style="height: 90%;">
- <view class="show_box">
- <view class="show_title"> <van-search style="width: 85%;" value="{{ searchValue }}" placeholder="请输入搜索关键词" bind:search="onSearch"
- />
- <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancel">取消</view>
- </view>
-
- <scroll-view style="height: 88%;" scroll-y="true">
- <view wx:for="{{searchList}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" class="show_item" bindtap="handleChooseVin">
- {{item.vin_no}}
- </view>
- </scroll-view>
- </view>
- </van-overlay>
- <van-overlay show="{{c_show}}" z-index='999' style="height: 90%;">
- <view class="show_box">
- <view class="show_title"> <van-search style="width: 85%;" value="{{ searchValuec }}" placeholder="请输入搜索关键词" bind:search="onSearch"
- />
- <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancelc">取消</view>
- </view>
-
- <scroll-view style="height: 88%;" scroll-y="true">
- <view wx:for="{{cusList}}" wx:key="index" data-item="{{item}}" class="show_item" bindtap="handleChooseCus">
- {{item.name}}
- </view>
- </scroll-view>
- </view>
- </van-overlay>
- <van-overlay show="{{p_show}}" z-index='999' style="height: 90%;">
- <view class="show_box">
- <view class="show_title"> <van-search style="width: 85%;" value="{{ searchValuep }}" placeholder="请输入搜索关键词" bind:search="onSearch"
- />
- <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancelp">取消</view>
- </view>
-
- <scroll-view style="height: 88%;" scroll-y="true">
- <view wx:for="{{phoneList}}" wx:key="index" data-item="{{item}}" class="show_item" bindtap="handleChoosePhone">
- {{item.phone}}
- </view>
- </scroll-view>
- </view>
- </van-overlay>
- <view wx:if="{{showCamera}}" style="width: 100%; height: 100%;" class="cation">
- <camera device-position="{{cameraSet}}" flash="auto" binderror="error" style="width: 100%; height: 70%;margin:40rpx auto"></camera>
- <view class="take_content">
- <view class="take" bindtap="takePhoto">
- <image src="../../../images/take.png" mode="widthFix" style="width: 40pt;"/>
- </view>
- <view bind:tap='handleExpand' style="position: absolute; top: 50rpx;right: 40rpx;"><image src="../../../images/change.png" mode="widthFix" style="width: 40pt;"/></view>
- </view>
- </view>
- <view wx:else>
- <image src="../../../images/head.png" style="width:100%;height: 250rpx;z-index:-1"></image>
- <view class="title">3.车架号</view>
- <view class="item_content">
- <view style="width:100%">
- <van-cell-group>
- <button bindtap="scanBarcode" style="margin-bottom:20rpx" wx:if="{{set_status!=='is_detail'}}">扫描车架号</button>
- <van-field
- label='车架号'
- value="{{ vinText }}"
- placeholder="请输入车架号"
- clearable
- required
- readonly="{{set_status=='is_detail'}}"
- bind:change="onChange"
- use-button-slot
- >
- <van-button wx:if="{{set_status!='is_detail'}}" slot="button" size="small" type="primary" bindtap="handleShow">
- 选择
- </van-button>
- </van-field>
- <van-field
- value="{{ custom_name }}"
- label="客户姓名"
- type="text"
- placeholder="请输入客户姓名"
- use-button-slot
- readonly="{{set_status=='is_detail'}}"
- bind:change='onChangeName'
- >
- <van-button slot="button" size="small" type="primary" bindtap="handleShowCus" wx:if="{{canChoose&&set_status!='is_detail'}}">
- 选择
- </van-button>
- </van-field>
- <van-field
- value="{{ custom_mobile }}"
- bind:change='onChangePhone'
- label="客户手机号"
- placeholder="请输入客户手机号"
- type='text'
- readonly="{{set_status=='is_detail'}}"
- border="{{ false }}"
- use-button-slot
- >
- <van-button slot="button" size="small" type="primary" bindtap="handleShowCusP" wx:if="{{canChoose&&set_status!='is_detail'}}">
- 选择
- </van-button>
- </van-field>
- </van-cell-group>
- <view class="image_item" style="position: relative;" bindtap="handleOpenCamera" wx:for="{{imgList}}" wx:key="index">
- <view wx:if="{{item.src&&set_status!=='is_detail'?true:false}}" style="position: absolute;right: 0;top: 0;" catch:tap="handleDelPic" data-index="{{index}}"><van-icon name="close" color='red' size='30'/></view>
- <image wx:if="{{item.src?true:false}}" style="width: 100%;height: 100%;" src="{{set_status?item.show_url:item.src}}"></image>
- <image wx:else style="width: 100%;height: 100%;" src="https://zh.qingyaokeji.com/2.jpg"></image>
- </view>
- </view>
- </view>
- <view class="btn">
- <van-button color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleReturn"><text class="font_item">上一步</text></van-button>
- <van-button disabled='{{vinText?false:true}}' color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleNext"> <text class="font_item">下一步</text></van-button>
- </view></view>
|