From e0ad64523007d3befae7c79be6163041ca8917ad Mon Sep 17 00:00:00 2001
From: PigBaoBei <2739175034@qq.com>
Date: Sat, 16 Dec 2023 15:00:04 +0800
Subject: [PATCH] =?UTF-8?q?=E5=95=86=E9=85=8D=E5=A4=87=E8=B4=A7=E4=BB=BB?=
=?UTF-8?q?=E5=8A=A1=E5=A2=9E=E5=8A=A0=E9=85=8D=E9=80=81=E7=8A=B6=E6=80=81?=
=?UTF-8?q?tabs?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../distributionDeliveryListdis.vue | 214 ++++++++++++++----
1 file changed, 169 insertions(+), 45 deletions(-)
diff --git a/src/views/distribution/deliverylist/distributionDeliveryListdis.vue b/src/views/distribution/deliverylist/distributionDeliveryListdis.vue
index 91a4d0f1..334e4713 100644
--- a/src/views/distribution/deliverylist/distributionDeliveryListdis.vue
+++ b/src/views/distribution/deliverylist/distributionDeliveryListdis.vue
@@ -99,56 +99,147 @@
-
-
-
-
-
-
-
- 打 印
- 查 看
- 地 图
-
+
+
+
+
+ 打 印
+ 查 看
+ 地 图
+ 编 辑
+
+
+
+
+
+
+
+ 打 印
+ 查 看
+ 地 图
+ 编 辑编 辑
+
+
+
+
+
+
+
+ 打 印
+ 查 看
+ 地 图
+ 编 辑
+
+
+
+
+
+
-
-
-
+
+ 打 印
+ 查 看
+ 地 图
+ 编 辑
+
+
+
+
+
+
+
+
+
+
@@ -375,6 +466,7 @@ export default {
form: {},
// 选择行
selectionList: [],
+ activeName:'first',
columnList: [
{
prop: 'serialNumber',
@@ -736,6 +828,33 @@ export default {
},
},
methods: {
+ //tabs切换
+ handleClick(tab, event) {
+ console.log('tab------------------>', tab.props.name);
+ this.query = {};
+ switch (tab.props.name) {
+
+ case 'first':
+ break;
+ case 'second':
+ //待配送
+ this.query.deliveryStatus = '1';
+ break;
+ case 'third':
+ //配送中
+ this.query.deliveryStatus = '2';
+ break;
+ case 'fourth':
+ //已完成
+ this.query.deliveryStatus = '3';
+ break;
+ }
+ this.onLoad(this.page);
+
+ console.log('tab------------------>', tab);
+ console.log('event--------------->', event);
+ },
+
/**
* 导出
* */
@@ -1243,6 +1362,10 @@ export default {
:deep(.el-dialog) {
width: fit-content;
}
+ :deep(.el-row){
+ flex-direction: column;
+ flex-wrap: nowrap;
+ }
}
.order-info {
ul {
@@ -1336,4 +1459,5 @@ export default {
display: flex;
align-items: flex-end;
}
+