From 9717ddeb1485af86b5a2b26f65e87d5382dc3bcd Mon Sep 17 00:00:00 2001
From: evoxwht <442384644@qq.com>
Date: Thu, 30 Mar 2023 20:50:38 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=A7=BB=E5=8A=A8=E7=AB=AF?=
=?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=8F=91=E8=B4=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../uni-app/pages/admin/delivery/index.vue | 27 +++++++++----------
1 file changed, 12 insertions(+), 15 deletions(-)
diff --git a/template/uni-app/pages/admin/delivery/index.vue b/template/uni-app/pages/admin/delivery/index.vue
index f1898df0e..f168a5ce9 100644
--- a/template/uni-app/pages/admin/delivery/index.vue
+++ b/template/uni-app/pages/admin/delivery/index.vue
@@ -22,14 +22,14 @@
{{$t(`发货方式`)}}
-
{{ item.title }}
-
+
{{$t(`发货类型`)}}
@@ -101,7 +101,7 @@
-
+
{{$t(`送货人`)}}
@@ -113,7 +113,7 @@
-
@@ -143,7 +143,11 @@
title: this.$t(`发货`),
key: 1
},
-
+ {
+ type: "send",
+ title: this.$t(`送货`),
+ key: 2
+ },
{
type: "fictitious",
title: this.$t(`无需物流`),
@@ -160,7 +164,7 @@
},
],
curExpress: 1,
- active: 1,
+ active: 0,
order_id: "",
delivery: [],
logistics: [],
@@ -235,14 +239,7 @@
// 获取配送员列表
geTorderOrderDelivery() {
orderOrderDelivery().then(res => {
- if (res.data.length) {
- this.postPeople = res.data
- this.types.push({
- type: "send",
- title: this.$t(`送货`),
- key: 2
- })
- }
+ this.postPeople = res.data
})
},
// 配送员选择
@@ -255,7 +252,7 @@
this.getLogistics(index || '');
},
changeType: function(item, index) {
- this.active = item.key;
+ this.active = index;
this.delivery_type = item.key;
},
getIndex: function() {