shish %!s(int64=4) %!d(string=hai) anos
pai
achega
4417aa97a4
Modificáronse 1 ficheiros con 7 adicións e 6 borrados
  1. 7 6
      hdApp/src/admin/home/order.vue

+ 7 - 6
hdApp/src/admin/home/order.vue

@@ -3,7 +3,7 @@
     <app-tabs :tabs="tabs" :isFixed="true" :currentTab="tabIndex" :height="100" @change="change" itemWidth="20%" />
 		<view class="input-wrap" >
 			<view class="search-bar">
-				<app-search-module v-model="py" placeholder="输入编号" @input="searchFn" />
+				<app-search-module v-model="py" placeholder="输入订花人 / 编号" @input="searchFn" />
 			</view>
 			<view style="float:right">
       <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)">
         <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="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.refund == 1">有退款</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: '' },
       staffList:[],
       shopAdminId:0,
-      sendNum:''
+      searchText:''
     };
   },
   onPullDownRefresh () {
@@ -134,7 +134,7 @@ export default {
   methods: {
     searchFn(e) {
       this.resetList();
-      this.sendNum = e;
+      this.searchText = e;
       this.getOrderList()
     },
     sendOrderFn(item){
@@ -179,7 +179,7 @@ export default {
         status: status,
         search: "",
         shopAdminId:this.shopAdminId,
-        sendNum:this.sendNum,
+        searchText:this.searchText,
         page: this.list.page
       }).then(res => {
         this.completes(res);
@@ -327,7 +327,8 @@ export default {
   }
 }
 .input-wrap {
-  padding: 10upx 10upx 10upx 10upx;
+  padding: 10upx 10upx 0upx 10upx;
+  height:110upx;
   .search-bar {
     display:inline-block;
     width:350upx;