|
|
@ -15,7 +15,7 @@ |
|
|
|
<!-- 搜索 --> |
|
|
|
<!-- 搜索 --> |
|
|
|
<view class="searchContent"> |
|
|
|
<view class="searchContent"> |
|
|
|
<u-input v-model="searchText" style="width:400upx" confirm-type="search" @confirm="classifyShow==1?getList(1):getOrderList(1)" |
|
|
|
<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==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> |
|
|
|
<u-icon v-if="classifyShow==2" name="search" class="search" @click="getOrderList(1)"></u-icon> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -160,6 +160,7 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
onClassify(item, index) { |
|
|
|
onClassify(item, index) { |
|
|
|
|
|
|
|
this.searchText='' |
|
|
|
this.classifyShow = item.id; |
|
|
|
this.classifyShow = item.id; |
|
|
|
this.pageNum = 1; |
|
|
|
this.pageNum = 1; |
|
|
|
this.goodsList = [] |
|
|
|
this.goodsList = [] |
|
|
@ -194,8 +195,8 @@ |
|
|
|
message, |
|
|
|
message, |
|
|
|
data |
|
|
|
data |
|
|
|
} = await newFunApi.shopOrderList({ |
|
|
|
} = await newFunApi.shopOrderList({ |
|
|
|
dataType: 'all', |
|
|
|
// dataType: 'all', |
|
|
|
// dataType: 'complete', |
|
|
|
dataType: 'complete', |
|
|
|
page: this.pageNum, |
|
|
|
page: this.pageNum, |
|
|
|
searchValue: this.searchText, |
|
|
|
searchValue: this.searchText, |
|
|
|
payMethod: '', |
|
|
|
payMethod: '', |
|
|
|