You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

29 lines
1.2 KiB

<!--pages/customerChooseTemplate/customerChooseTemplate.wxml-->
<swiper current="{{currentTab}}" class="swiper-box" style='height:{{winHeight}}px' duration="300" bindchange="bindChange">
<swiper-item class="swiper-items1">
<view class='searchView'>
<input class='imput_goodsName' bindinput='getCustomerBySearchString' type='text' placeholder='请输入搜索条件' placeholder-style='color:rgb(202, 202, 202)'></input>
</view>
<scroll-view scroll-x="false" scroll-y="true" class='scroll-views' bindscrolltoupper="unCheckedScrollUpper" bindscrolltolower="unCheckedScrollLower">
<view class='listBackGroundView'>
<checkbox-group bindchange="checkboxValueChange">
<block wx:for="{{customerArray}}" wx:key="item" wx:for-index="idx">
<template is="customerChoiceTemplate" data="{{item}}" />
</block>
</checkbox-group>
</view>
</scroll-view>
<view class='addGoodsName' catchtap='addCustomerName'>添加存货明细</view>
</swiper-item>
</swiper>
<template name="customerChoiceTemplate">
<view class='listItem'>
<view class='itemClass'>{{item.Name}}</view>
<checkbox value="{{item.ID}}"/>
</view>
<view class='horizontallineView'></view>
</template>