|
|
|
@ -16,7 +16,8 @@ |
|
|
|
|
<view class="searchContent"> |
|
|
|
|
<u-input v-model="searchText" style="width:400upx" confirm-type="search" @confirm="getOrderList(1)" |
|
|
|
|
placeholder="收件人名字/订单号/发货公司" /> |
|
|
|
|
<u-icon name="search" class="search" @click="getOrderList(1)"></u-icon> |
|
|
|
|
<u-icon v-if="classifyShow==1" name="search" class="search" @click="getList(1)"></u-icon> |
|
|
|
|
<u-icon v-if="classifyShow==2" name="search" class="search" @click="getOrderList(1)"></u-icon> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<!-- <view class="bg"> |
|
|
|
@ -131,7 +132,11 @@ |
|
|
|
|
this.getList(1) |
|
|
|
|
uni.$on('refreshData', () => { |
|
|
|
|
// 调用列表接口 |
|
|
|
|
if (this.classifyShow == 1) { |
|
|
|
|
this.getOrderList(1); |
|
|
|
|
} else { |
|
|
|
|
this.getList(1) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
//页面卸载 |
|
|
|
|