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() {