From 3efc1c3337127f2836eaf0a2d641c5adafcd3a26 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期五, 02 八月 2024 10:09:12 +0800
Subject: [PATCH] update

---
 sub_pages/partner/delivery/delivery.vue |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/sub_pages/partner/delivery/delivery.vue b/sub_pages/partner/delivery/delivery.vue
index 27deeb7..a2ae2d3 100644
--- a/sub_pages/partner/delivery/delivery.vue
+++ b/sub_pages/partner/delivery/delivery.vue
@@ -17,15 +17,18 @@
 				status_columns: [],
 			}
 		},
-		onLoad() {
-			this.listApi = '/api/delivery/list'
+		onLoad(options) {
+			this.query.stationId = options.stationId || ''
+			this.query.stationName = options.stationName || ''
+
+			this.listApi = '/api/delivery/list/today'
 			this.getList()
-			this.$http.request('get', '/api/station/list', {
-				params: {}
-			}).then(res => {
-				var data = res.data
-				this.columns_station = [data || []]
-			})
+			// this.$http.request('get', '/api/station/list', {
+			// 	params: {}
+			// }).then(res => {
+			// 	var data = res.data
+			// 	this.columns_station = [data || []]
+			// })
 			this.$http.request('get', '/api/code/value', {
 				params: {
 					type: 'DELIVERY_ORDER_STATUS'
@@ -121,8 +124,8 @@
 					配送单状态:{{ query.statusStr || '全部' }}
 					<image src="../../../static/common/icon-arrow-down.png" class="icon-arrow-down"></image>
 				</view>
-
-				<view class="flex1" @click="show_select_station=true">
+				<!-- @click="show_select_station=true" -->
+				<view class="flex1">
 					集货站:{{ query.stationName || '全部' }}
 					<image src="../../../static/common/icon-arrow-down.png" class="icon-arrow-down"></image>
 				</view>
@@ -169,7 +172,8 @@
 						<view class="button button-1 m-l-15 m-r-0" v-if="item.status==='ARRIVED'"
 							@click="compelete(item)">质检完成</view>
 						<view class="button button-0 m-l-a m-r-0" @click="toDetail(item)">
-							{{item.status==='ARRIVED'?'前往质检':'查看详情'}}</view>
+							{{item.status==='ARRIVED'?'前往质检':'查看详情'}}
+						</view>
 
 					</view>
 				</view>

--
Gitblit v1.9.3