| | |
| | | <view class="search-box"> |
| | | <view class="search-area"> |
| | | <view class="search-icon"><uni-icons type="search" size="25" color="#a5a5a5"></uni-icons></view> |
| | | <input type="text" @focus="inputF" v-model="condition" placeholder="请输入商品编码 / 名称"/> |
| | | <input type="text" v-model="condition" placeholder="请输入商品编码 / 名称"/> |
| | | <view class="close-icon" @click="reset()"><uni-icons type="closeempty" size="25" color="#a5a5a5"></uni-icons></view> |
| | | </view> |
| | | <view class="search-btn"><button @click="search(condition)" class="cu-btn bg-blue">搜索</button></view> |
| | |
| | | </label> |
| | | </checkbox-group> |
| | | </scroll-view> |
| | | <view class="record" v-show="recordShow"> |
| | | <!-- <view class="record" v-show="recordShow"> |
| | | <label class="record-card" v-for="(item,index) in record" :key="index" @click="chose(index)"> |
| | | <view style="padding: 0 5rpx 0 10rpx;">{{item}}</view> |
| | | <uni-icons style="padding: 0 5rpx 0 5rpx;" type="closeempty" size="22" color="#a5a5a5" @click="del(index)"></uni-icons> |
| | | </label> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | this.record.splice(i,1) |
| | | uni.setStorageSync("record",this.record) |
| | | }, |
| | | chose(i) { |
| | | this.condition = this.record[i] |
| | | }, |
| | | // chose(i) { |
| | | // this.condition = this.record[i] |
| | | // }, |
| | | showTag(parentId) { |
| | | let that = this |
| | | uni.showLoading(); |