|
@@ -3,7 +3,7 @@
|
|
|
<app-tabs :tabs="tabs" :isFixed="true" :currentTab="tabIndex" :height="100" @change="change" itemWidth="20%" />
|
|
<app-tabs :tabs="tabs" :isFixed="true" :currentTab="tabIndex" :height="100" @change="change" itemWidth="20%" />
|
|
|
<view class="input-wrap" >
|
|
<view class="input-wrap" >
|
|
|
<view class="search-bar">
|
|
<view class="search-bar">
|
|
|
- <app-search-module v-model="py" placeholder="输入编号" @input="searchFn" />
|
|
|
|
|
|
|
+ <app-search-module v-model="py" placeholder="输入订花人 / 编号" @input="searchFn" />
|
|
|
</view>
|
|
</view>
|
|
|
<view style="float:right">
|
|
<view style="float:right">
|
|
|
<button class="admin-button-com middle blue" style="margin-right:15upx;" @click="selectStaffFn()">选择开单人</button>
|
|
<button class="admin-button-com middle blue" style="margin-right:15upx;" @click="selectStaffFn()">选择开单人</button>
|
|
@@ -14,7 +14,7 @@
|
|
|
<block v-if="!$util.isEmpty(list.data)">
|
|
<block v-if="!$util.isEmpty(list.data)">
|
|
|
<view class="list" v-for="(item, index) in list.data" :key="index" @click="pageTo({ url: '/admin/order/detail', query: { id: item.id } })" >
|
|
<view class="list" v-for="(item, index) in list.data" :key="index" @click="pageTo({ url: '/admin/order/detail', query: { id: item.id } })" >
|
|
|
<view class="list-top flex-center-between" style="border-bottom:1upx solid #EEEEEE;">
|
|
<view class="list-top flex-center-between" style="border-bottom:1upx solid #EEEEEE;">
|
|
|
- <view class="app-color-3" style="font-size:28upx;font-weight:bold;color:#333333;">编号 {{ item.sendNum }}</view>
|
|
|
|
|
|
|
+ <view class="app-color-3" style="font-size:28upx;font-weight:bold;color:#333333;">编号 {{ item.sendNum }}<text v-if="item.bookName!=''" style="margin-left:12upx;">| {{item.bookName}}</text></view>
|
|
|
<view style="border:1upx solid red;border-radius:18upx;font-size:19upx;color:red;padding:5upx 10upx;" v-if="item.debt == 1">有尾款</view>
|
|
<view style="border:1upx solid red;border-radius:18upx;font-size:19upx;color:red;padding:5upx 10upx;" v-if="item.debt == 1">有尾款</view>
|
|
|
<view style="border:1upx solid red;border-radius:18upx;font-size:19upx;color:red;padding:5upx 10upx;" v-if="item.refund == 1">有退款</view>
|
|
<view style="border:1upx solid red;border-radius:18upx;font-size:19upx;color:red;padding:5upx 10upx;" v-if="item.refund == 1">有退款</view>
|
|
|
<view style="font-size:28upx;" class='app-price app-green'>{{ item.status | constantfilter('ORDER_STATUS') }}</view>
|
|
<view style="font-size:28upx;" class='app-price app-green'>{{ item.status | constantfilter('ORDER_STATUS') }}</view>
|
|
@@ -90,7 +90,7 @@ export default {
|
|
|
classifyForm: { categoryId: '', usageId: '' },
|
|
classifyForm: { categoryId: '', usageId: '' },
|
|
|
staffList:[],
|
|
staffList:[],
|
|
|
shopAdminId:0,
|
|
shopAdminId:0,
|
|
|
- sendNum:''
|
|
|
|
|
|
|
+ searchText:''
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
onPullDownRefresh () {
|
|
onPullDownRefresh () {
|
|
@@ -134,7 +134,7 @@ export default {
|
|
|
methods: {
|
|
methods: {
|
|
|
searchFn(e) {
|
|
searchFn(e) {
|
|
|
this.resetList();
|
|
this.resetList();
|
|
|
- this.sendNum = e;
|
|
|
|
|
|
|
+ this.searchText = e;
|
|
|
this.getOrderList()
|
|
this.getOrderList()
|
|
|
},
|
|
},
|
|
|
sendOrderFn(item){
|
|
sendOrderFn(item){
|
|
@@ -179,7 +179,7 @@ export default {
|
|
|
status: status,
|
|
status: status,
|
|
|
search: "",
|
|
search: "",
|
|
|
shopAdminId:this.shopAdminId,
|
|
shopAdminId:this.shopAdminId,
|
|
|
- sendNum:this.sendNum,
|
|
|
|
|
|
|
+ searchText:this.searchText,
|
|
|
page: this.list.page
|
|
page: this.list.page
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
this.completes(res);
|
|
this.completes(res);
|
|
@@ -327,7 +327,8 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
.input-wrap {
|
|
.input-wrap {
|
|
|
- padding: 10upx 10upx 10upx 10upx;
|
|
|
|
|
|
|
+ padding: 10upx 10upx 0upx 10upx;
|
|
|
|
|
+ height:110upx;
|
|
|
.search-bar {
|
|
.search-bar {
|
|
|
display:inline-block;
|
|
display:inline-block;
|
|
|
width:350upx;
|
|
width:350upx;
|