Sfoglia il codice sorgente

新增【订单模块】送货信息有误、物流信息有误、订单详情--收货码、变更送货人信息、变更物流信息、商品信息弹窗组件

storeBelieveInLight 1 anno fa
parent
commit
026dbf3cca

+ 6 - 6
pages/ordermanagement/components/quickPickUp/quickPickUp.vue

@@ -1,8 +1,8 @@
1 1
 <template>
2 2
 	<!-- .设置了自提模式的商户展示该模块,没有自提模式的不展示; -->
3
-	<view class="quick-pick-up-wrapper">
4
-	   <view class="quick-pick-up-wrapper__text">快速提货</view>
5
-	   <view class="quick-pick-up-wrapper__input">
3
+	<view class="card-list-wrapper">
4
+	   <view class="card-list-wrapper__text">快速提货</view>
5
+	   <view class="card-list-wrapper__input">
6 6
 		 <!-- 输入框 -->
7 7
 		    <input 
8 8
 		      class="input-box"
@@ -44,9 +44,8 @@
44 44
 	}
45 45
 </script>
46 46
 
47
-<style lang="scss">
48
-.quick-pick-up-wrapper{
49
-	width: 100%;
47
+<style lang="scss" scoped>
48
+.card-list-wrapper{
50 49
 	min-height: 222rpx;
51 50
 	background: #FFFFFF;
52 51
 	 border-radius: 16rpx;
@@ -90,6 +89,7 @@
90 89
 	  font-weight: 400;
91 90
 	  font-size: 28rpx;
92 91
 	  color: #FFFFFF;
92
+	  white-space: nowrap;
93 93
 	}
94 94
 		
95 95
 	}

+ 256 - 0
shop/commodity/components/changeDetailInfo/ItemsInsidePackage.vue

@@ -0,0 +1,256 @@
1
+<template>
2
+  <uni-popup
3
+    ref="popupRefs"
4
+    type="center"
5
+    :animation="true"
6
+    :is-mask-click="true"
7
+  >
8
+    <view class="popup_data__package">
9
+      <view class="popup_data__package__headers">
10
+        <view class="popup_data__package__headers--title">{{ title }}</view>
11
+        <uni-icons
12
+          type="closeempty"
13
+          class="custom_icons"
14
+          size="30"
15
+          @click="handleClose"
16
+        ></uni-icons>
17
+      </view>
18
+
19
+      <view class="popup_data__package__content">
20
+          <view class="detail-send-order-product">
21
+            <view class="detail-send-order-product__wrapper">
22
+              <view
23
+                class="detail-send-order-content"
24
+                v-for="(items, indexs) in orderProduct"
25
+                :key="indexs"
26
+              >
27
+                <view class="detail-send-order-content-left">
28
+                  <view class="detail-send-order-content-left-img">
29
+                    <image
30
+                      v-if="items.image"
31
+                      :src="items.image"
32
+                      mode="widthFix"
33
+                    ></image>
34
+                    <text v-else>暂无照片</text>
35
+                  </view>
36
+                </view>
37
+                <view class="detail-send-order-content-middle">
38
+                  <view class="detail-send-order-content-middle-top">
39
+                    三个苹果 纯天然浓缩果蔬汁清汁苹果
40
+                  </view>
41
+                  	<view class="detail-send-order-content-middle-top-bot" >
42
+					12sdf
43
+				</view>
44
+                </view>
45
+                <view class="detail-send-order-content-right">
46
+                  <view class="detail-send-order-yi-in-neibu-right-in">
47
+                   ×5
48
+                  </view>
49
+                </view>
50
+              </view>
51
+            </view>
52
+          </view>
53
+      </view>
54
+    </view>
55
+  </uni-popup>
56
+</template>
57
+
58
+<script>
59
+//包裹内商品 弹窗 商品信息
60
+export default {
61
+  props: {
62
+    title: {
63
+      type: String,
64
+      default: "包裹内商品"
65
+    },
66
+    value: {
67
+      type: [String, Number],
68
+      default: ""
69
+    },
70
+    defaultProps: {
71
+      type: Object,
72
+      default: () => {
73
+        return {
74
+          props: "text",
75
+          value: "value"
76
+        };
77
+      }
78
+    },
79
+    selectData: {
80
+      type: Array,
81
+      default: () => {
82
+        return [];
83
+      }
84
+    }
85
+  },
86
+  data() {
87
+    return {
88
+      selectId: "",
89
+      orderProduct: [
90
+        {
91
+          image:
92
+            "https://cdn.bjtdba.com/chuxubao/images/2025-02-10/8198d202502101042344757.png"
93
+        },
94
+		{
95
+		  image:
96
+		    "https://cdn.bjtdba.com/chuxubao/images/2025-02-10/8198d202502101042344757.png"
97
+		},
98
+		{
99
+		  image:
100
+		    "https://cdn.bjtdba.com/chuxubao/images/2025-02-10/8198d202502101042344757.png"
101
+		}, {
102
+          image:
103
+            "https://cdn.bjtdba.com/chuxubao/images/2025-02-10/8198d202502101042344757.png"
104
+        }
105
+      ]
106
+    };
107
+  },
108
+  watch: {
109
+    value: {
110
+      handler(val) {
111
+        this.selectId = val;
112
+      },
113
+      immediate: true
114
+    }
115
+  },
116
+  mounted() {
117
+    this.selectId = this.value;
118
+  },
119
+  methods: {
120
+    handleTabs(item, index) {
121
+      const data = item.value || index;
122
+      if (this.selectId === data) {
123
+        this.selectId = "";
124
+      } else {
125
+        this.selectId = item.value || index;
126
+      }
127
+      this.$emit("update:value", this.selectId);
128
+      const itemObj = this.selectId !== "" ? item : {};
129
+      this.$emit("tabs", { selected: this.selectId, item: itemObj, index });
130
+      this.handleClose();
131
+    },
132
+    handleClose() {
133
+      this.close();
134
+    },
135
+    open(type = "bottom") {
136
+      this.$refs.popupRefs.open(type);
137
+    },
138
+    close() {
139
+      this.$refs.popupRefs.close();
140
+    }
141
+  }
142
+};
143
+</script>
144
+
145
+<style lang="scss" scoped>
146
+.popup_data__package {
147
+  padding: 26rpx 30rpx;
148
+  min-height: 750rpx;
149
+  max-height: 850rpx;
150
+  box-sizing: border-box;
151
+  overflow: hidden;
152
+  background-color: #ffffff;
153
+  // background: linear-gradient(180deg, #e5edff 0%, #ffffff 100%);
154
+  border-radius: 24rpx 24rpx 0 0;
155
+  &__headers {
156
+    // height: 40rpx;
157
+    display: flex;
158
+    justify-content: space-between;
159
+    align-items: center;
160
+    // border-bottom: 2rpx solid #e5e5e5;
161
+	 // background: linear-gradient(180deg, #e5edff 0%, #ffffff 100%);
162
+    padding-bottom: 15rpx;
163
+    &--title {
164
+      flex: 1;
165
+      display: -webkit-box;
166
+      -webkit-box-orient: vertical;
167
+      -webkit-line-clamp: 1;
168
+      overflow: hidden;
169
+      justify-content: space-between;
170
+      font-size: 32rpx;
171
+      font-weight: 600;
172
+      text-align: center;
173
+    }
174
+    .custom_icons {
175
+      flex-shrink: 0;
176
+    }
177
+  }
178
+  &__content {
179
+    // border: 2rpx solid #f00;
180
+    max-height: 690rpx;
181
+    overflow-y: auto;
182
+	margin-bottom: 0rpx;
183
+	.detail-send-order-product{
184
+		width: calc(100% - 54rpx);
185
+		margin:0 26rpx 30rpx;
186
+		&__wrapper{
187
+			
188
+			display: flex;
189
+			flex-direction: column;
190
+			justify-content: space-between;
191
+			align-items: flex-end;
192
+			.detail-send-order-content{
193
+				width:100%;
194
+				display: flex;
195
+				align-items: center;
196
+				padding: 26rpx  0;
197
+				gap:20rpx;
198
+				border-bottom:2rpx solid #e5e5e5;
199
+				&:last-child{
200
+					border-bottom: 0;
201
+				}
202
+				.detail-send-order-content-left{
203
+					height: 100%;
204
+					display: flex;
205
+					align-items: flex-start;
206
+					justify-content: space-between;
207
+					&-img{
208
+						width: 158rpx;
209
+						height: 158rpx;
210
+						background-color: #eee;
211
+						overflow: hidden;
212
+						border-radius: 10rpx;
213
+						flex-shrink: 0;
214
+						image {
215
+							width: 100%;
216
+							height: auto;
217
+						}
218
+					}
219
+				}
220
+	}
221
+	     }
222
+		 .detail-send-order-content-middle-top-bot{
223
+			 font-weight: 400;
224
+			 font-size: 22rpx;
225
+			 color: #666666;
226
+		 }
227
+		 .detail-send-order-content-middle{
228
+			 height: 100%;
229
+			 flex: 1;
230
+			 &-top{
231
+			 	width: 100%;
232
+			 	font-weight: 400;
233
+			 	color: #333333;
234
+			 	font-size: 28rpx;
235
+			 	display: -webkit-box;
236
+			 	-webkit-box-orient: vertical;
237
+			 	-webkit-line-clamp: 1;
238
+			 	overflow: hidden;
239
+			 	justify-content: space-between;
240
+			 }
241
+		 }
242
+	  
243
+	  .detail-send-order-content-right{
244
+
245
+		  .detail-send-order-yi-in-neibu-right-in{
246
+			  font-weight: 400;
247
+			  font-size: 24rpx;
248
+			  color: #666666;
249
+			  text-align: center;
250
+			  padding-top:5rpx;                                                               
251
+		  }
252
+	  }
253
+	   }
254
+  }
255
+}
256
+</style>

+ 135 - 0
shop/commodity/components/changeDetailInfo/changeDeliveryPersonInfo.vue

@@ -0,0 +1,135 @@
1
+<template>
2
+  <view class="card-info-wrapper" :style="{ 'border-radius': borderRadius }">
3
+    <view class="card-info-top">
4
+      <view class="card-top">
5
+        <view class="card-title">变更送货人信息</view>
6
+      </view>
7
+      <view class="card-content">
8
+        <popupSelectItemVue
9
+          defaultLabel="请选择送货人员"
10
+          name="送货人员信息"
11
+          title="送货人员信息"
12
+          :styles="{ color: '#999999' }"
13
+        >
14
+          <view class="upop" slot="right">
15
+            <view class="select-item_txt">配送人姓名 15000000000</view>
16
+          </view>
17
+        </popupSelectItemVue>
18
+      </view>
19
+    </view>
20
+    <view class="card-info-bottom">
21
+      <view class="card-top">
22
+        <view class="card-title">变更送货人信息</view>
23
+      </view>
24
+      <view class="card-content">
25
+        <popupSelectItemVue
26
+          defaultLabel="重新选择送货人"
27
+          name="重新选择送货人"
28
+          title="重新选择送货人"
29
+        >
30
+          <view class="upop" slot="right" @click="selectUserInfo">
31
+            <view class="deliveryMan">{{ deliveryMan }}</view>
32
+            <image src="/static/images/new_ui/arrow-right.png" mode=""></image>
33
+          </view>
34
+        </popupSelectItemVue>
35
+      </view>
36
+    </view>
37
+  </view>
38
+</template>
39
+
40
+<script>
41
+import { toQueryString } from "@/utils/index.js";
42
+import popupSelectItemVue from "../popupSelectItem/popupSelectItem.vue";
43
+//待收货---【送货】----变更送货人信息
44
+export default {
45
+  components: {
46
+    popupSelectItemVue
47
+  },
48
+  props: {
49
+    borderRadius: {
50
+      type: String,
51
+      default: "16rpx"
52
+    }
53
+  },
54
+  data() {
55
+    return {
56
+      deliveryMan: "请选择送货人信息",
57
+      indexs: "",
58
+      status: "",
59
+      order_id: "", //订单ID
60
+      goodsCustomType: "sendGoods"
61
+    };
62
+  },
63
+  onLoad(e) {
64
+    this.order_id = e.order_id;
65
+    this.indexs = e.indexs;
66
+    this.status = e.status;
67
+    this.goodsCustomType = e.goodsCustomType;
68
+  },
69
+  methods: {
70
+    selectUserInfo() {
71
+      console.log("选择用户信息");
72
+      const urlParams = {
73
+        status: this.status,
74
+        index: this.indexs,
75
+        goodsCustomType: this.goodsCustomType,
76
+        order_id: this.order_id
77
+      };
78
+      const url = toQueryString(urlParams);
79
+      console.log(url);
80
+      uni.redirectTo({
81
+        url: `./deliveryman?${url}`
82
+      });
83
+    }
84
+  }
85
+};
86
+</script>
87
+
88
+<style lang="scss" scoped>
89
+.card-info-wrapper {
90
+  //   min-height: 345rpx;
91
+  background: #ffffff;
92
+  padding: 32rpx 32rpx 5rpx;
93
+  .card-info-top {
94
+    color: #e5e5e5;
95
+    border-bottom: 2rpx solid #e5e5e5;
96
+    .card-top {
97
+      font-family: PingFangSC, PingFang SC;
98
+      font-weight: 500;
99
+      font-size: 30rpx;
100
+      color: #999999;
101
+    }
102
+  }
103
+  .upop {
104
+    display: flex;
105
+    width: 100%;
106
+    align-items: center;
107
+    justify-content: flex-end;
108
+    image {
109
+      width: 30rpx;
110
+      height: 30rpx;
111
+      margin-left: 5rpx;
112
+    }
113
+    .image-box {
114
+      width: 40rpx;
115
+      height: 38rpx;
116
+    }
117
+    .select-item_txt,
118
+    .deliveryMan {
119
+      flex: 1;
120
+      font-family: PingFangSC, PingFang SC;
121
+      font-weight: 400;
122
+      font-size: 28rpx;
123
+      color: #999999;
124
+    }
125
+  }
126
+  .card-info-bottom {
127
+    margin-top: 36rpx;
128
+    .card-title {
129
+      font-weight: 600;
130
+      font-size: 30rpx;
131
+      color: #333333;
132
+    }
133
+  }
134
+}
135
+</style>

+ 145 - 0
shop/commodity/components/changeDetailInfo/changeLogisticsInformation.vue

@@ -0,0 +1,145 @@
1
+<template>
2
+  <view class="card-info-wrapper" :style="{ 'border-radius': borderRadius }">
3
+    <view class="card-info-top">
4
+      <view class="card-top">
5
+        <view class="card-title">原物流信息</view>
6
+      </view>
7
+      <view class="card-content">
8
+        <popupSelectItemVue
9
+          defaultLabel="物流单号"
10
+          name="物流单号"
11
+          title="物流单号"
12
+          :styles="{ color: '#999999' }"
13
+          :style="{ 'border-bottom': '2rpx solid #e5e5e5' }"
14
+        >
15
+          <view class="upop" slot="right">
16
+            <view class="select-item_txt">YT125678765432345678</view>
17
+          </view>
18
+        </popupSelectItemVue>
19
+        <popupSelectItemVue
20
+          defaultLabel="请选择物流公司"
21
+          name="物流公司"
22
+          title="物流公司"
23
+          :styles="{ color: '#999999' }"
24
+        >
25
+          <view class="upop" slot="right">
26
+            <view class="select-item_txt">圆通快递</view>
27
+          </view>
28
+        </popupSelectItemVue>
29
+      </view>
30
+    </view>
31
+    <view class="card-info-bottom">
32
+      <view class="card-top">
33
+        <view class="card-title">变更送货人信息</view>
34
+      </view>
35
+      <view class="card-content">
36
+        <fillLogisticsInfoVue
37
+          :isShowTitle="false"
38
+          class="custom_padding"
39
+        ></fillLogisticsInfoVue>
40
+      </view>
41
+    </view>
42
+  </view>
43
+</template>
44
+
45
+<script>
46
+import { toQueryString } from "@/utils/index.js";
47
+import popupSelectItemVue from "../popupSelectItem/popupSelectItem.vue";
48
+import fillLogisticsInfoVue from "../fillLogisticsInfo.vue";
49
+//待收货---【送货】----变更物流信息
50
+export default {
51
+  components: {
52
+    popupSelectItemVue,
53
+    fillLogisticsInfoVue
54
+  },
55
+  props: {
56
+    borderRadius: {
57
+      type: String,
58
+      default: "16rpx"
59
+    }
60
+  },
61
+  data() {
62
+    return {
63
+      deliveryMan: "请选择送货人信息",
64
+      indexs: "",
65
+      status: "",
66
+      order_id: "", //订单ID
67
+      goodsCustomType: "sendGoods"
68
+    };
69
+  },
70
+  onLoad(e) {
71
+    this.order_id = e.order_id;
72
+    this.indexs = e.indexs;
73
+    this.status = e.status;
74
+    this.goodsCustomType = e.goodsCustomType;
75
+  },
76
+  methods: {
77
+    selectUserInfo() {
78
+      console.log("选择用户信息");
79
+      const urlParams = {
80
+        status: this.status,
81
+        index: this.indexs,
82
+        goodsCustomType: this.goodsCustomType,
83
+        order_id: this.order_id
84
+      };
85
+      const url = toQueryString(urlParams);
86
+      console.log(url);
87
+      uni.redirectTo({
88
+        url: `./deliveryman?${url}`
89
+      });
90
+    }
91
+  }
92
+};
93
+</script>
94
+
95
+<style lang="scss" scoped>
96
+.custom_padding {
97
+  padding: 0 !important;
98
+}
99
+.card-info-wrapper {
100
+  //   min-height: 345rpx;
101
+  background: #ffffff;
102
+  padding: 32rpx 32rpx 5rpx;
103
+  .card-info-top {
104
+    color: #e5e5e5;
105
+    border-bottom: 2rpx solid #e5e5e5;
106
+    .card-top {
107
+      font-family: PingFangSC, PingFang SC;
108
+      font-weight: 500;
109
+      font-size: 30rpx;
110
+      color: #999999;
111
+    }
112
+  }
113
+  .upop {
114
+    display: flex;
115
+    width: 100%;
116
+    align-items: center;
117
+    justify-content: flex-end;
118
+    image {
119
+      width: 30rpx;
120
+      height: 30rpx;
121
+      margin-left: 5rpx;
122
+    }
123
+    .image-box {
124
+      width: 40rpx;
125
+      height: 38rpx;
126
+    }
127
+    .select-item_txt,
128
+    .deliveryMan {
129
+      flex: 1;
130
+      font-family: PingFangSC, PingFang SC;
131
+      font-weight: 400;
132
+      font-size: 28rpx;
133
+      color: #999999;
134
+    }
135
+  }
136
+  .card-info-bottom {
137
+    margin-top: 36rpx;
138
+    .card-title {
139
+      font-weight: 600;
140
+      font-size: 30rpx;
141
+      color: #333333;
142
+    }
143
+  }
144
+}
145
+</style>

+ 104 - 0
shop/commodity/components/changeDetailInfo/pendingReceiptGoodsModules/deliverCardItem.vue

@@ -0,0 +1,104 @@
1
+<template>
2
+  <view
3
+    class="delivery-card-item-wrapper"
4
+    :style="{ 'border-radius': borderRadius }"
5
+  >
6
+    <view class="delivery-card-item__top">
7
+      <view class="delivery-card-item__left">
8
+        {{ leftTitle }}
9
+      </view>
10
+      <view class="delivery-card-item__right">
11
+        <view class="btn" @click="btnHandle">{{ rightTitle }}</view>
12
+      </view>
13
+    </view>
14
+    <view class="delivery-card-item__bottom" v-if="isBottomMessage"> 
15
+      <uni-icons type="info-filled" size="25" color=" #D81E06"></uni-icons>
16
+      <text class="txt">{{tipsMessage}}</text>
17
+	</view>
18
+    <slot name="bottom"></slot>
19
+  </view>
20
+</template>
21
+
22
+<script>
23
+//待收货--【送货】--订单详情---送货信息有误?
24
+//待收货--【物流】--订单详情---物流信息有误?
25
+export default {
26
+  props: {
27
+    borderRadius: {
28
+      type: String,
29
+      default: "16rpx",
30
+    },
31
+    leftTitle: {
32
+      type: String,
33
+      default: "送货信息有误?",
34
+    },
35
+    rightTitle: {
36
+      type: String,
37
+      default: "更改送货信息",
38
+    },
39
+    isBottomMessage: {
40
+      type: Boolean,
41
+      default: false,
42
+    },
43
+	tipsMessage:{
44
+		type: String,
45
+		default: "物流信息有误时使用,请勿随意更改物流信息!",
46
+	}
47
+  },
48
+  data() {
49
+    return {};
50
+  },
51
+  methods: {
52
+	  btnHandle(){
53
+		  this.$emit("btn-click")
54
+	  }
55
+  },
56
+};
57
+</script>
58
+
59
+<style lang="scss" scoped>
60
+.delivery-card-item-wrapper {
61
+  min-height: 104rpx;
62
+  background: #ffffff;
63
+  border-radius: 16rpx;
64
+  overflow: hidden;
65
+  user-select: none;
66
+  font-family: PingFangSC, PingFang SC;
67
+  .delivery-card-item__top {
68
+    display: flex;
69
+    align-items: center;
70
+    justify-content: space-between;
71
+    min-height: 104rpx;
72
+    .delivery-card-item__left {
73
+      flex: 1;
74
+      flex-shrink: 0;
75
+      font-weight: 600;
76
+      font-size: 28rpx;
77
+      color: #333333;
78
+    }
79
+    .delivery-card-item__right {
80
+      width: 200rpx;
81
+      flex-shrink: 0;
82
+      .btn {
83
+        display: flex;
84
+        align-items: center;
85
+        justify-content: center;
86
+        width: 188rpx;
87
+        height: 58rpx;
88
+        border-radius: 30rpx;
89
+        font-weight: 400;
90
+        font-size: 24rpx;
91
+        color: #333333;
92
+        border: 1rpx solid #999999;
93
+      }
94
+    }
95
+  }
96
+
97
+  .delivery-card-item__bottom {
98
+	  display: flex;
99
+	  align-items: center;
100
+	  padding-bottom:35rpx ;
101
+	  gap:15rpx;
102
+  }
103
+}
104
+</style>

+ 116 - 0
shop/commodity/components/changeDetailInfo/pendingReceiptGoodsModules/deliverFillInfoCard.vue

@@ -0,0 +1,116 @@
1
+<template>
2
+
3
+	<view class="quick-pick-up-wrapper">
4
+	   <view class="quick-pick-up-wrapper__text">{{tilteText}}</view>
5
+	   <view class="quick-pick-up-wrapper__input">
6
+		 <!-- 输入框 -->
7
+		    <input 
8
+		      class="input-box"
9
+		      type="text"
10
+		      :placeholder="placeholder"
11
+		      v-model="pickupCode"
12
+		    />
13
+		 <!-- 按钮 -->
14
+		    <button 
15
+			type="primary"
16
+		      class="query-btn"
17
+		      @click="handleQuery"
18
+		    >{{btnTitle}}</button>
19
+	   </view>
20
+	</view>
21
+</template>
22
+
23
+<script>
24
+		// 待收货---已送达--订单详情--收货码
25
+		
26
+	export default {
27
+		props:{
28
+			tilteText:{
29
+				type:String,
30
+				default:"收货码"
31
+			},
32
+			tipsMessge:{
33
+				type:String,
34
+				default:"收货码"
35
+			},
36
+			placeholder:{
37
+				type:String,
38
+				default:"请输入用户提供的收货码"
39
+			},
40
+			btnTitle:{
41
+				type:String,
42
+				default:"送达"
43
+			}
44
+		},
45
+		data() {
46
+			return {
47
+				pickupCode:""
48
+				
49
+			};
50
+		},
51
+		methods:{
52
+			handleQuery(){
53
+				if (!this.pickupCode){
54
+					uni.showToast({
55
+					  title: this.tipsMessge,
56
+					  icon: 'none'
57
+					})
58
+					return
59
+				}
60
+			  console.log(this.pickupCode)
61
+			}
62
+			
63
+		}
64
+	}
65
+</script>
66
+
67
+<style lang="scss">
68
+.quick-pick-up-wrapper{
69
+	min-height: 222rpx;
70
+	background: #FFFFFF;
71
+	 border-radius: 16rpx;
72
+	  display: flex;
73
+	  flex-direction: column;
74
+	&__text{
75
+	  font-size: 36rpx;
76
+	  font-weight: bold;
77
+	  color: #333;
78
+	  margin: 32rpx 0rpx 26rpx 26rpx;
79
+	  user-select: none;
80
+	}
81
+	&__input{
82
+		display: flex;
83
+		flex-direction: row;
84
+		width: calc(100% - 0rpx);
85
+		height: 74rpx;
86
+		border-radius: 6rpx;
87
+		padding: 0 26rpx;
88
+		box-sizing: border-box;
89
+		.input-box {
90
+		  width: 85%;
91
+		  border-radius: 12rpx;
92
+		  padding: 0 20rpx;
93
+		  font-size: 32rpx;
94
+		  height: 74rpx;
95
+		  background: #F5F5F5;
96
+		  border-radius: 6rpx;
97
+		  box-sizing: border-box;
98
+		}
99
+	.query-btn {
100
+		user-select: none;
101
+		display: flex;
102
+		align-items: center;
103
+		justify-content: center;
104
+	  width: 150rpx;
105
+	  height: 74rpx;
106
+	background: #1F7CFF;
107
+	  border-radius: 6rpx;
108
+	  font-family: PingFangSC, PingFang SC;
109
+	  font-weight: 400;
110
+	  font-size: 28rpx;
111
+	  color: #FFFFFF;
112
+	}
113
+		
114
+	}
115
+}
116
+</style>

+ 17 - 5
shop/commodity/components/fillLogisticsInfo.vue

@@ -1,6 +1,8 @@
1 1
 <template>
2 2
   <view class="logistics-information">
3
-    <view class="logistics-information__text">填写物流信息</view>
3
+    <view class="logistics-information__text" v-if="isShowTitle">{{
4
+      headersName
5
+    }}</view>
4 6
     <view class="logistics-information__form">
5 7
       <reInputItemVue
6 8
         placeholder="请手动输入或扫描二维码"
@@ -25,6 +27,16 @@ import reInputItemVue from "./reInputItem/reInputItem.vue";
25 27
 import popupSelectItemVue from "./popupSelectItem/popupSelectItem.vue";
26 28
 export default {
27 29
   components: { reInputItemVue, popupSelectItemVue },
30
+  props: {
31
+    headersName: {
32
+      type: String,
33
+      default: "填写物流信息"
34
+    },
35
+    isShowTitle: {
36
+      type: Boolean,
37
+      default: true
38
+    }
39
+  },
28 40
   data() {
29 41
     return {};
30 42
   },
@@ -40,7 +52,7 @@ export default {
40 52
           } else if (res.cancel) {
41 53
             console.log("用户点击了取消");
42 54
           }
43
-        },
55
+        }
44 56
       });
45 57
     },
46 58
     changeInput(val) {
@@ -53,13 +65,13 @@ export default {
53 65
       this.logisticsValue = selected;
54 66
       this.logisticsLabel = item.text;
55 67
       console.log(selected, item, index);
56
-    },
68
+    }
57 69
   },
58 70
   computed: {
59 71
     logistics() {
60 72
       return this.logisticsLabel || "请选择物流公司";
61
-    },
62
-  },
73
+    }
74
+  }
63 75
 };
64 76
 </script>
65 77
 

+ 64 - 59
shop/commodity/components/popupSelect.vue

@@ -21,13 +21,19 @@
21 21
           <view class="popup_data__content--item">
22 22
             <uni-icons
23 23
               type="checkmarkempty"
24
-			  :class="['_select_icons',(index ===selectId || selectId === item.value) ?'isActive':'']"
24
+              :class="[
25
+                '_select_icons',
26
+                index === selectId || selectId === item.value ? 'isActive' : ''
27
+              ]"
25 28
               size="25"
26 29
             ></uni-icons>
27
-            <view  :class="['popup_data__content--item__title',(index === selectId || selectId === item.value) ?'isActive':'']">
28
-              {{
29
-                item.text
30
-              }}
30
+            <view
31
+              :class="[
32
+                'popup_data__content--item__title',
33
+                index === selectId || selectId === item.value ? 'isActive' : ''
34
+              ]"
35
+            >
36
+              {{ item.text }}
31 37
             </view>
32 38
           </view>
33 39
         </view>
@@ -41,43 +47,43 @@ export default {
41 47
   props: {
42 48
     title: {
43 49
       type: String,
44
-      default: "物流公司信息",
50
+      default: "物流公司信息"
45 51
     },
46 52
     value: {
47 53
       type: [String, Number],
48
-      default: "",
54
+      default: ""
49 55
     },
50
-	defaultProps:{
51
-		type:Object,
52
-		default:()=>{
53
-			return {
54
-				props:"text",
55
-				value:"value"
56
-			}
57
-		}
58
-	},
59
-	selectData:{
60
-		type:Array,
61
-		default:()=>{
62
-			return [
63
-  { value: 0, text: "顺丰速运", code: "SF" },
64
-  { value: 1, text: "中通快递", code: "ZTO" },
65
-  { value: 2, text: "韵达快递", code: "YUNDA" },
66
-  { value: 3, text: "申通快递", code: "STO" },
67
-  { value: 4, text: "EMS邮政", code: "EMS" },
68
-  { value: 5, text: "圆通速递", code: "YTO" },
69
-  { value: 6, text: "DHL国际", code: "DHL" },
70
-  { value: 7, text: "京东物流", code: "JD" },
71
-  { value: 8, text: "FedEx联邦", code: "FDX" },
72
-  { value: 9, text: "UPS联合包裹", code: "UPS" },
73
-  { value: 10, text: "德邦快递", code: "DEPPON" },
74
-  { value: 11, text: "百世快递", code: "BEST" },
75
-  { value: 12, text: "极兔速递", code: "J&T" },
76
-  { value: 13, text: "TNT快递", code: "TNT" },
77
-  { value: 14, text: "跨越速运", code: "KYE" }
78
-]
79
-		}
80
-	}
56
+    defaultProps: {
57
+      type: Object,
58
+      default: () => {
59
+        return {
60
+          props: "text",
61
+          value: "value"
62
+        };
63
+      }
64
+    },
65
+    selectData: {
66
+      type: Array,
67
+      default: () => {
68
+        return [
69
+          { value: 0, text: "顺丰速运", code: "SF" },
70
+          { value: 1, text: "中通快递", code: "ZTO" },
71
+          { value: 2, text: "韵达快递", code: "YUNDA" },
72
+          { value: 3, text: "申通快递", code: "STO" },
73
+          { value: 4, text: "EMS邮政", code: "EMS" },
74
+          { value: 5, text: "圆通速递", code: "YTO" },
75
+          { value: 6, text: "DHL国际", code: "DHL" },
76
+          { value: 7, text: "京东物流", code: "JD" },
77
+          { value: 8, text: "FedEx联邦", code: "FDX" },
78
+          { value: 9, text: "UPS联合包裹", code: "UPS" },
79
+          { value: 10, text: "德邦快递", code: "DEPPON" },
80
+          { value: 11, text: "百世快递", code: "BEST" },
81
+          { value: 12, text: "极兔速递", code: "J&T" },
82
+          { value: 13, text: "TNT快递", code: "TNT" },
83
+          { value: 14, text: "跨越速运", code: "KYE" }
84
+        ];
85
+      }
86
+    }
81 87
   },
82 88
   data() {
83 89
     return {
@@ -89,26 +95,25 @@ export default {
89 95
       handler(val) {
90 96
         this.selectId = val;
91 97
       },
92
-	  immediate:true
93
-    },
98
+      immediate: true
99
+    }
94 100
   },
95 101
   mounted() {
96 102
     this.selectId = this.value;
97 103
   },
98 104
   methods: {
99 105
     handleTabs(item, index) {
100
-		const data = item.value || index
101
-		if(this.selectId === data){
102
-			this.selectId = ""
103
-		}else{
104
-			this.selectId = item.value || index
105
-		}
106
-		this.$emit("update:value",this.selectId)
107
-		const itemObj = this.selectId !==''?item:{}
108
-		this.$emit("tabs",{selected:this.selectId,item:itemObj,index})
109
-		this.handleClose()
110
-		
111
-	},
106
+      const data = item.value || index;
107
+      if (this.selectId === data) {
108
+        this.selectId = "";
109
+      } else {
110
+        this.selectId = item.value || index;
111
+      }
112
+      this.$emit("update:value", this.selectId);
113
+      const itemObj = this.selectId !== "" ? item : {};
114
+      this.$emit("tabs", { selected: this.selectId, item: itemObj, index });
115
+      this.handleClose();
116
+    },
112 117
     handleClose() {
113 118
       this.close();
114 119
     },
@@ -117,8 +122,8 @@ export default {
117 122
     },
118 123
     close() {
119 124
       this.$refs.popup.close();
120
-    },
121
-  },
125
+    }
126
+  }
122 127
 };
123 128
 </script>
124 129
 
@@ -158,16 +163,16 @@ export default {
158 163
     overflow-y: auto;
159 164
     &--list {
160 165
       user-select: none;
161
-	  border-bottom: 2rpx solid #e5e5e5;
162
-	  &:last-child{
163
-	  		  border-bottom:none;
164
-	  }
166
+      border-bottom: 2rpx solid #e5e5e5;
167
+      &:last-child {
168
+        border-bottom: none;
169
+      }
165 170
     }
166 171
     &--item {
167 172
       display: flex;
168 173
       gap: 20rpx;
169 174
       padding: 20rpx 0;
170
-     
175
+
171 176
       ._select_icons {
172 177
         color: #eee !important;
173 178
       }

+ 88 - 86
shop/commodity/components/popupSelectItem/popupSelectItem.vue

@@ -1,93 +1,95 @@
1 1
 <template>
2
-      <view class="form_item">
3
-        <view class="form_item--left"> {{name}} </view>
4
-        <view class="form_item--right">
5
-		<template v-if="$slots.right">
6
-			<slot name="right"></slot>
7
-		</template>
8
-          <view class="upop" @click="handleSelect" v-else>
9
-            <view class="title xcv">{{ logistics }}</view>
10
-            <image src="/static/images/new_ui/arrow-right.png" mode=""></image>
11
-          </view>
12
-        </view>
13
-		<popupSelectVue
14
-		  ref="popup"
15
-		  :value.sync="logisticsValue"
16
-		  :selectData="selectData"
17
-		  @tabs="handleClick"
18
-		  :title="title"
19
-		  
20
-		/>
2
+  <view class="form_item">
3
+    <view class="form_item--left" :style="styles"> {{ name }} </view>
4
+    <view class="form_item--right">
5
+      <template v-if="$slots.right">
6
+        <slot name="right"></slot>
7
+      </template>
8
+      <view class="upop" @click="handleSelect" v-else>
9
+        <view class="title xcv">{{ logistics }}</view>
10
+        <image src="/static/images/new_ui/arrow-right.png" mode=""></image>
21 11
       </view>
12
+    </view>
13
+    <popupSelectVue
14
+      ref="popup"
15
+      :value.sync="logisticsValue"
16
+      :selectData="selectData"
17
+      @tabs="handleClick"
18
+      :title="title"
19
+    />
20
+  </view>
22 21
 </template>
23 22
 
24 23
 <script>
25
-	import popupSelectVue from '../popupSelect.vue';
26
-	export default {
27
-		components: { popupSelectVue },
28
-		props: {
29
-		  name: {
30
-		    type: String,
31
-		    default: "物流公司",
32
-		  },
33
-		  defaultLabel:{
34
-			  type: String,
35
-			  default: "请选择物流公司",
36
-		  },
37
-		  title: {
38
-		        type: String,
39
-		        default: "物流公司信息",
40
-		      },
41
-		      value: {
42
-		        type: [String, Number],
43
-		        default: "",
44
-		      },
45
-		  	selectData:{
46
-		  		type:Array,
47
-		  		default:()=>{
48
-		  			return [
49
-		    { value: 0, text: "顺丰速运", code: "SF" },
50
-		    { value: 1, text: "中通快递", code: "ZTO" },
51
-		    { value: 2, text: "韵达快递", code: "YUNDA" },
52
-		    { value: 3, text: "申通快递", code: "STO" },
53
-		    { value: 4, text: "EMS邮政", code: "EMS" },
54
-		    { value: 5, text: "圆通速递", code: "YTO" },
55
-		    { value: 6, text: "DHL国际", code: "DHL" },
56
-		    { value: 7, text: "京东物流", code: "JD" },
57
-		    { value: 8, text: "FedEx联邦", code: "FDX" },
58
-		    { value: 9, text: "UPS联合包裹", code: "UPS" },
59
-		    { value: 10, text: "德邦快递", code: "DEPPON" },
60
-		    { value: 11, text: "百世快递", code: "BEST" },
61
-		    { value: 12, text: "极兔速递", code: "J&T" },
62
-		    { value: 13, text: "TNT快递", code: "TNT" },
63
-		    { value: 14, text: "跨越速运", code: "KYE" }
64
-		  ]
65
-		  		}
66
-		  	}
67
-		},
68
-		data() {
69
-			return {
70
-				logisticsValue: "", //物流
71
-				logisticsLabel:""
72
-				
73
-			};
74
-		},
75
-		methods:{
76
-			handleClick({ selected, item, index }) {
77
-			  this.logisticsValue = selected;
78
-			  this.logisticsLabel = item.text;
79
-			  this.$emit("click-tabs",{ selected, item, index })
80
-			},
81
-			handleSelect() {
82
-			  this.$refs.popup.open();
83
-			},
84
-		},
85
-		computed: {
86
-		  logistics() {
87
-		    return this.logisticsLabel || this.defaultLabel;
88
-		  },
89
-		},
90
-	}
24
+import popupSelectVue from "../popupSelect.vue";
25
+export default {
26
+  components: { popupSelectVue },
27
+  props: {
28
+    name: {
29
+      type: String,
30
+      default: "物流公司"
31
+    },
32
+    defaultLabel: {
33
+      type: String,
34
+      default: "请选择物流公司"
35
+    },
36
+    styles: {
37
+      type: Object,
38
+      default: () => {}
39
+    },
40
+    title: {
41
+      type: String,
42
+      default: "物流公司信息"
43
+    },
44
+    value: {
45
+      type: [String, Number],
46
+      default: ""
47
+    },
48
+    selectData: {
49
+      type: Array,
50
+      default: () => {
51
+        return [
52
+          { value: 0, text: "顺丰速运", code: "SF" },
53
+          { value: 1, text: "中通快递", code: "ZTO" },
54
+          { value: 2, text: "韵达快递", code: "YUNDA" },
55
+          { value: 3, text: "申通快递", code: "STO" },
56
+          { value: 4, text: "EMS邮政", code: "EMS" },
57
+          { value: 5, text: "圆通速递", code: "YTO" },
58
+          { value: 6, text: "DHL国际", code: "DHL" },
59
+          { value: 7, text: "京东物流", code: "JD" },
60
+          { value: 8, text: "FedEx联邦", code: "FDX" },
61
+          { value: 9, text: "UPS联合包裹", code: "UPS" },
62
+          { value: 10, text: "德邦快递", code: "DEPPON" },
63
+          { value: 11, text: "百世快递", code: "BEST" },
64
+          { value: 12, text: "极兔速递", code: "J&T" },
65
+          { value: 13, text: "TNT快递", code: "TNT" },
66
+          { value: 14, text: "跨越速运", code: "KYE" }
67
+        ];
68
+      }
69
+    }
70
+  },
71
+  data() {
72
+    return {
73
+      logisticsValue: "", //物流
74
+      logisticsLabel: ""
75
+    };
76
+  },
77
+  methods: {
78
+    handleClick({ selected, item, index }) {
79
+      this.logisticsValue = selected;
80
+      this.logisticsLabel = item.text;
81
+      this.$emit("click-tabs", { selected, item, index });
82
+    },
83
+    handleSelect() {
84
+      this.$refs.popup.open();
85
+    }
86
+  },
87
+  computed: {
88
+    logistics() {
89
+      return this.logisticsLabel || this.defaultLabel;
90
+    }
91
+  }
92
+};
91 93
 </script>
92 94
 
93 95
 <style lang="scss" scoped>
@@ -99,7 +101,7 @@
99 101
   height: 100rpx;
100 102
   // border-bottom: 2rpx solid #e5e5e5;
101 103
   &--left {
102
-    max-width: 200rpx;
104
+    max-width: 230rpx;
103 105
     font-family: PingFangSC, PingFang SC;
104 106
     font-weight: 400;
105 107
     font-size: 30rpx;

+ 16 - 6
shop/commodity/order.vue

@@ -39,6 +39,7 @@
39 39
 	import searchVue from './components/search/search.vue'
40 40
 	import headersVue from '../components/headers/headers.vue'
41 41
 	import {listData} from "./mockData.js"
42
+	import {toQueryString} from "@/utils/index.js"
42 43
 	export default {
43 44
 		components:{emptyDataVue,tabsVue,orderListCardVue,searchVue,headersVue},
44 45
 		data() {
@@ -157,14 +158,23 @@
157 158
 			},
158 159
 			handleSendOutGoods(v,type){
159 160
 				console.log("發貨",v)
160
-				const url = {
161
-					"sendGoods":`./sendoutgoods?order_id=${v.order_id}&status=${v.status}&indexs=${this.indexs}&goodsCustomType=${type}`,//立即发货
162
-					"delivered":`./sendoutgoods?order_id=${v.order_id}&status=${v.status}&indexs=${this.indexs}&goodsCustomType=deliverGoods`,//已送达
161
+				const urlParams = {
162
+					order_id:v.order_id,
163
+					status:v.status,
164
+					indexs:this.indexs,
165
+					goodsCustomType:type==='delivered'?'deliverGoods':type,
166
+					formType:'oldInfo'
167
+				}
168
+				console.log(urlParams,"urlParams")
169
+				let url = toQueryString(urlParams)
170
+				const newUrl = {
171
+					"sendGoods":`./sendoutgoods?${url}`,//立即发货
172
+					"delivered":`./sendoutgoods?${url}`,//已送达
163 173
 					"logistics":``,//查看物流
164
-					"deliverGoods":`./sendoutgoods?order_id=${v.order_id}&status=${v.status}&indexs=${this.indexs}&goodsCustomType=${type}`,//送貨
165
-					"pickup":`./sendoutgoods?order_id=${v.order_id}&status=${v.status}&indexs=${this.indexs}&goodsCustomType=${type}`,//立即自提
174
+					"deliverGoods":`./sendoutgoods?${url}`,//送貨
175
+					"pickup":`./sendoutgoods?${url}`,//立即自提
166 176
 				}
167
-				let redirectToUrl = url[type] || url["logistics"]
177
+				let redirectToUrl = newUrl[type] || newUrl["logistics"]
168 178
 				console.log(redirectToUrl,"redirectToUrl")
169 179
 				console.log(type,"type")
170 180
 				uni.redirectTo({

+ 144 - 97
shop/commodity/sendoutgoods.vue

@@ -12,42 +12,67 @@
12 12
         v-if="goodsCustomType === 'pickup'"
13 13
         class="inputInfo"
14 14
       ></reInputItemVue>
15
-<!-- 	  <reInputItemVue
15
+      <!-- 	  <reInputItemVue
16 16
 	    v-if="goodsCustomType === 'pickup'"
17 17
 	    class="inputInfo"
18 18
 	  ></reInputItemVue> -->
19
-	  <popupSelectItemVue  
20
-	  v-if="goodsCustomType === 'deliverGoods'"
21
-	    class="inputInfo"
22
-		defaultLabel="请选择送货人员"
23
-		name="送货人员信息"
24
-		title="送货人员信息"
25
-		:selectData="selectData"
26
-		@click-tabs="clickTabs"
27
-		>
28
-		<view class="upop" slot="right" @click="selectUserInfo">
29
-			<view class="title xcv">{{ deliveryMan }}</view>
30
-			<image src="/static/images/new_ui/arrow-right.png" mode=""></image>
31
-		</view>
32
-		</popupSelectItemVue>
33
-      <view class="btn-box">
19
+      <popupSelectItemVue
20
+        v-if="goodsCustomType === 'deliverGoods'"
21
+        class="inputInfo"
22
+        defaultLabel="请选择送货人员"
23
+        name="送货人员信息"
24
+        title="送货人员信息"
25
+        :selectData="selectData"
26
+        @click-tabs="clickTabs"
27
+      >
28
+        <view class="upop" slot="right" @click="selectUserInfo">
29
+          <view class="title xcv">{{ deliveryMan }}</view>
30
+          <image src="/static/images/new_ui/arrow-right.png" mode=""></image>
31
+        </view>
32
+      </popupSelectItemVue>
33
+      <!-- //收货码 -->
34
+      <deliverFillInfoCardVue class="inputInfo" />
35
+      <!-- 送货信息有误 -->
36
+      <deliverCardItemVue class="inputInfo" />
37
+      <deliverCardItemVue
38
+        class="inputInfo"
39
+        :isBottomMessage="true"
40
+        leftTitle="物流信息有误?"
41
+        rightTitle="更改物流信息"
42
+      />
43
+      <!-- // 变更送货人信息 -->
44
+      <changeDeliveryPersonInfoVue style="margin-top: 20rpx" />
45
+      <!-- 变更物流信息  -->
46
+      <changeLogisticsInformation style="margin-top: 20rpx" />
47
+      <view class="btn-box" v-if="['sendGoods','pickup','deliverGoods'].includes(goodsCustomType)">
34 48
         <button
35 49
           type="primary"
36 50
           class="send-goods"
37 51
           v-if="goodsCustomType === 'sendGoods'"
52
+		  @click="handleOpen"
38 53
         >
39 54
           发货
40 55
         </button>
41 56
         <button
42 57
           type="primary"
43 58
           class="send-goods"
44
-          v-if="goodsCustomType === 'pickup'"
45
-		  @click="copyHandle('请选择送货人员请选择送货人员请选择送货人员121212copy')"
59
+          v-else-if="goodsCustomType === 'pickup'"
60
+          @click="
61
+            copyHandle('请选择送货人员请选择送货人员请选择送货人员121212copy')
62
+          "
46 63
         >
47 64
           自提
48 65
         </button>
66
+         <button
67
+          v-else
68
+          type="primary"
69
+          class="send-goods"
70
+        >
71
+          提交
72
+        </button>
49 73
       </view>
50 74
     </view>
75
+	<ItemsInsidePackageVue ref="refsPackage"/>
51 76
   </view>
52 77
 </template>
53 78
 
@@ -58,7 +83,12 @@ import fillLogisticsInfoVue from "./components/fillLogisticsInfo.vue";
58 83
 import headersVue from "../components/headers/headers.vue";
59 84
 import reInputItemVue from "./components/reInputItem/reInputItem.vue";
60 85
 import popupSelectItemVue from "./components/popupSelectItem/popupSelectItem.vue";
61
-import {copy,toQueryString} from "@/utils/index.js"
86
+import { copy, toQueryString } from "@/utils/index.js";
87
+import deliverFillInfoCardVue from "./components/changeDetailInfo/pendingReceiptGoodsModules/deliverFillInfoCard.vue";
88
+import deliverCardItemVue from "./components/changeDetailInfo/pendingReceiptGoodsModules/deliverCardItem.vue";
89
+import changeDeliveryPersonInfoVue from "./components/changeDetailInfo/changeDeliveryPersonInfo.vue";
90
+import changeLogisticsInformation from "./components/changeDetailInfo/changeLogisticsInformation.vue";
91
+import ItemsInsidePackageVue from "./components/changeDetailInfo/ItemsInsidePackage.vue";
62 92
 export default {
63 93
   components: {
64 94
     shipmentGoodsCardVue,
@@ -66,27 +96,37 @@ export default {
66 96
     fillLogisticsInfoVue,
67 97
     headersVue,
68 98
     reInputItemVue,
69
-	popupSelectItemVue
99
+    popupSelectItemVue,
100
+    //收货码
101
+    deliverFillInfoCardVue,
102
+    //修改物流信息 、、、、、送货信息
103
+    deliverCardItemVue,
104
+    // 变更送货人信息
105
+    changeDeliveryPersonInfoVue,
106
+    // 变更物流信息
107
+    changeLogisticsInformation,
108
+    //商品详情弹窗
109
+    ItemsInsidePackageVue,
70 110
   },
71 111
   data() {
72 112
     return {
73
-		selectData:[
74
-  { value: 0, text: "张伟" },
75
-  { value: 1, text: "王芳" },
76
-  { value: 2, text: "李强" },
77
-  { value: 3, text: "刘洋" },
78
-  { value: 4, text: "陈静" },
79
-  { value: 5, text: "杨勇" },
80
-  { value: 6, text: "黄丽" },
81
-  { value: 7, text: "周杰" },
82
-  { value: 8, text: "徐敏" },
83
-  { value: 9, text: "吴涛" },
84
-  { value: 10, text: "孙莉" },
85
-  { value: 11, text: "马强" },
86
-  { value: 12, text: "胡月" },
87
-  { value: 13, text: "林浩" },
88
-  { value: 14, text: "何婷" }
89
-],
113
+      selectData: [
114
+        { value: 0, text: "张伟" },
115
+        { value: 1, text: "王芳" },
116
+        { value: 2, text: "李强" },
117
+        { value: 3, text: "刘洋" },
118
+        { value: 4, text: "陈静" },
119
+        { value: 5, text: "杨勇" },
120
+        { value: 6, text: "黄丽" },
121
+        { value: 7, text: "周杰" },
122
+        { value: 8, text: "徐敏" },
123
+        { value: 9, text: "吴涛" },
124
+        { value: 10, text: "孙莉" },
125
+        { value: 11, text: "马强" },
126
+        { value: 12, text: "胡月" },
127
+        { value: 13, text: "林浩" },
128
+        { value: 14, text: "何婷" },
129
+      ],
90 130
       indexs: "",
91 131
       status: "",
92 132
       order_id: "", //订单ID
@@ -103,7 +143,7 @@ export default {
103 143
         sendGoods: "发货商品",
104 144
         pickup: "自提商品",
105 145
       },
106
-	  deliveryMan:"请选择送货人员"
146
+      deliveryMan: "请选择送货人员",
107 147
     };
108 148
   },
109 149
   onLoad(e) {
@@ -115,42 +155,46 @@ export default {
115 155
     this.shipmentGoodsTitle = this.shipmentGoodsTitleMap[this.goodsCustomType];
116 156
   },
117 157
   methods: {
118
-	  copyHandle(val){
119
-		  copy(val)
158
+	  handleOpen(){
159
+		  this.$refs.refsPackage.open()
120 160
 	  },
161
+    copyHandle(val) {
162
+      copy(val);
163
+    },
121 164
     topgi() {
122
-		const url = toQueryString({
123
-			status:this.status,
124
-			index:this.indexs,
125
-			// goodsCustomType:this.goodsCustomType
126
-		})
165
+      const url = toQueryString({
166
+        status: this.status,
167
+        index: this.indexs,
168
+        // goodsCustomType:this.goodsCustomType
169
+      });
127 170
       uni.redirectTo({
128
-        url: `./order?${url}`
171
+        url: `./order?${url}`,
129 172
       });
130 173
     },
131
-	selectUserInfo(){
132
-		console.log("选择用户信息")
133
-		const urlParams = {
134
-			status:this.status,
135
-			index:this.indexs,
136
-			goodsCustomType:this.goodsCustomType,
137
-			order_id:this.order_id
138
-		}
139
-		const url = toQueryString(urlParams)
140
-		console.log(url)
141
-		uni.redirectTo({
142
-		  url:`./deliveryman?${url}`,
143
-		});
144
-	},
145
-	clickTabs({ selected, item, index }){
146
-		console.log("clickTabs", selected, item, index)
147
-	}
174
+    selectUserInfo() {
175
+      console.log("选择用户信息");
176
+      const urlParams = {
177
+        status: this.status,
178
+        index: this.indexs,
179
+        goodsCustomType: this.goodsCustomType,
180
+        order_id: this.order_id,
181
+      };
182
+      const url = toQueryString(urlParams);
183
+      console.log(url);
184
+      uni.redirectTo({
185
+        url: `./deliveryman?${url}`,
186
+      });
187
+    },
188
+    clickTabs({ selected, item, index }) {
189
+      console.log("clickTabs", selected, item, index);
190
+    },
148 191
   },
149 192
 };
150 193
 </script>
151 194
 <style>
152 195
 page {
153 196
   background-color: #f7f8fc;
197
+  /* height: 100%; */
154 198
 }
155 199
 </style>
156 200
 <style scoped lang="scss">
@@ -162,21 +206,24 @@ page {
162 206
   align-items: center;
163 207
   &__content {
164 208
     width: 100%;
165
-    margin: 130rpx 0 50rpx;
209
+    margin: 130rpx 0 180rpx;
210
+    overflow: auto;
166 211
     .btn-box {
167 212
       width: 100%;
168 213
       position: fixed;
169
-
170
-      bottom: 30rpx;
214
+      background: #FFFFFF;
215
+	  height: 125rpx;
216
+      bottom: 0rpx;
217
+	  padding-top: 15rpx;
171 218
       .send-goods {
172
-       height: 78rpx;
173
-       margin: 0 32rpx;
174
-       font-weight: 400;
175
-       font-size: 30rpx;
176
-       color: #FFFFFF;
177
-       display: flex;
178
-       justify-content: center;
179
-       align-items: center;
219
+        height: 78rpx;
220
+        margin: 0 32rpx;
221
+        font-weight: 400;
222
+        font-size: 30rpx;
223
+        color: #ffffff;
224
+        display: flex;
225
+        justify-content: center;
226
+        align-items: center;
180 227
       }
181 228
     }
182 229
   }
@@ -191,27 +238,27 @@ page {
191 238
   padding: 0 26rpx;
192 239
 }
193 240
 .title {
194
-      font-family: PingFangSC, PingFang SC;
195
-      font-weight: 400;
196
-      font-size: 28rpx;
197
-      color: #999999;
198
-    }
199
-    .upop {
200
-      display: flex;
201
-      width: 100%;
202
-      align-items: center;
203
-      justify-content: flex-end;
204
-      image {
205
-        width: 30rpx;
206
-        height: 30rpx;
207
-        margin-left: 5rpx;
208
-      }
209
-      .image-box {
210
-        width: 40rpx;
211
-        height: 38rpx;
212
-      }
213
-    }
214
-	.xcv{
215
-		flex:1;
216
-	}
241
+  font-family: PingFangSC, PingFang SC;
242
+  font-weight: 400;
243
+  font-size: 28rpx;
244
+  color: #999999;
245
+}
246
+.upop {
247
+  display: flex;
248
+  width: 100%;
249
+  align-items: center;
250
+  justify-content: flex-end;
251
+  image {
252
+    width: 30rpx;
253
+    height: 30rpx;
254
+    margin-left: 5rpx;
255
+  }
256
+  .image-box {
257
+    width: 40rpx;
258
+    height: 38rpx;
259
+  }
260
+}
261
+.xcv {
262
+  flex: 1;
263
+}
217 264
 </style>

+ 1 - 1
shop/components/headers/headers.vue

@@ -68,7 +68,7 @@ export default {
68 68
       &-icon {
69 69
         width: 36rpx;
70 70
         height: 36rpx;
71
-        margin-top: 2rpx;
71
+        margin-top: 5rpx;
72 72
 
73 73
         image {
74 74
           width: 100%;