| | |
| | | <view class="material-content bbox p30 rp"> |
| | | <view class="tc b f24 c2 mb20">选择物料</view> |
| | | <v-Search @searchInput="searchInput" @submit="submit" :isShow="false" placeholder="搜索物料名称/编码" /> |
| | | <div class="content_total">共{{form.total}}条数据</div> |
| | | <div class="content_total">共{{form.total}}条数据12</div> |
| | | <view class="scroll-content"> |
| | | <!-- refresher-enabled="true" |
| | | :refresher-triggered="refreshing" |
| | |
| | | this.form.page = 0 |
| | | this.finished = false |
| | | this.list = [] |
| | | this.onLoad() |
| | | this.loadData() |
| | | }, |
| | | // 搜索框 |
| | | searchInput(data) { |
| | |
| | | this.finished = false |
| | | this.list = [] |
| | | this.form.smodelLabel = data |
| | | this.onLoad() |
| | | this.loadData() |
| | | }, |
| | | loadData() { |
| | | if (!this.finished) { |
| | |
| | | model: { |
| | | warehouseId: this.warehouseId, |
| | | warehouseQualityType: this.warehouseQualityType, |
| | | ids: this.selected.length > 0 ? this.selected.join(',') : '' |
| | | ids: this.selected.length > 0 ? this.selected.join(',') : '', |
| | | materialName: this.form.smodelLabel |
| | | } |
| | | }).then(res => { |
| | | if (this.refreshing) { |