|
|
|
@ -15,7 +15,7 @@ |
|
|
|
|
<!-- 搜索 --> |
|
|
|
|
<view class="searchContent"> |
|
|
|
|
<u-input v-model="searchText" style="width:400upx" confirm-type="search" @confirm="classifyShow==1?getList(1):getOrderList(1)" |
|
|
|
|
placeholder="收件人名字/订单号/发货公司" /> |
|
|
|
|
:placeholder="classifyShow==1?'输入订单编号':'收件人名字/订单号/发货公司'" /> |
|
|
|
|
<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> |
|
|
|
@ -160,6 +160,7 @@ |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
onClassify(item, index) { |
|
|
|
|
this.searchText='' |
|
|
|
|
this.classifyShow = item.id; |
|
|
|
|
this.pageNum = 1; |
|
|
|
|
this.goodsList = [] |
|
|
|
@ -194,8 +195,8 @@ |
|
|
|
|
message, |
|
|
|
|
data |
|
|
|
|
} = await newFunApi.shopOrderList({ |
|
|
|
|
dataType: 'all', |
|
|
|
|
// dataType: 'complete', |
|
|
|
|
// dataType: 'all', |
|
|
|
|
dataType: 'complete', |
|
|
|
|
page: this.pageNum, |
|
|
|
|
searchValue: this.searchText, |
|
|
|
|
payMethod: '', |
|
|
|
|