|
@ -18,7 +18,7 @@ |
|
|
<view class="container flex"> |
|
|
<view class="container flex"> |
|
|
<d-search v-model="searchVal.supplier" @search="clean();search()"/> |
|
|
<d-search v-model="searchVal.supplier" @search="clean();search()"/> |
|
|
<scroll-view scroll-y @scrolltolower="search"> |
|
|
<scroll-view scroll-y @scrolltolower="search"> |
|
|
<view v-for="(v,k) in list" :key="k" @click="select(v)">{{v}}</view> |
|
|
<view v-for="(v,k) in list" :key="k" @click="select(v.supplier)">{{v.supplier}}</view> |
|
|
<u-empty v-if="list.length<=0" text=" " width="70%" icon="/static/noData.png"/> |
|
|
<u-empty v-if="list.length<=0" text=" " width="70%" icon="/static/noData.png"/> |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
</view> |
|
|
</view> |
|
@ -55,7 +55,7 @@ export default { |
|
|
params: this.searchVal |
|
|
params: this.searchVal |
|
|
}) |
|
|
}) |
|
|
if(res.statu){ |
|
|
if(res.statu){ |
|
|
this.list=res.data.list |
|
|
this.list=res.data.records |
|
|
this.total=res.data.total |
|
|
this.total=res.data.total |
|
|
this.searchVal.pageNo++ |
|
|
this.searchVal.pageNo++ |
|
|
}else{ |
|
|
}else{ |
|
|