From bb276603c2adeed74891034ce81e59368509173e Mon Sep 17 00:00:00 2001
From: taozi <9108791@qq.com>
Date: Sun, 1 May 2022 14:46:19 +0800
Subject: [PATCH 1/6] =?UTF-8?q?=E7=89=88=E6=9C=AC=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config/index.js | 4 ++--
package.json | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/config/index.js b/config/index.js
index efe7fa5..9eec2c8 100644
--- a/config/index.js
+++ b/config/index.js
@@ -1,7 +1,7 @@
// export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api';
// export const VUE_APP_API_URL = 'https://wxapi.yixiang.co/api'
-export const VUE_APP_API_URL = '/h5api'
-// export const VUE_APP_API_URL = 'http://139.186.134.205:9006/api'
+// export const VUE_APP_API_URL = '/h5api'
+export const VUE_APP_API_URL = 'http://127.0.0.1:8008/api'
// export const VUE_APP_API_URL = 'http://192.168.31.223:8008/api'
// export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api';
// export const VUE_APP_API_URL = 'https://thapi.xinxintuan.co/api'
diff --git a/package.json b/package.json
index 44f987a..d9db221 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "yshopmall_uni",
- "version": "1.0.0",
+ "version": "3.3",
"description": "",
"main": "main.js",
"scripts": {
From 2c86137248838bfad41d36f7969d11ca7b4b61ab Mon Sep 17 00:00:00 2001
From: taozi <9108791@qq.com>
Date: Thu, 21 Jul 2022 21:20:33 +0800
Subject: [PATCH 2/6] =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index f476781..eadf700 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "yshopmall_uni",
- "version": "3.3",
+ "version": "3.3.0",
"description": "",
"main": "main.js",
"scripts": {
From 6f5728573f76cc0e0838dc4a9e1fc1e1d180f336 Mon Sep 17 00:00:00 2001
From: taozi <9108791@qq.com>
Date: Wed, 8 Feb 2023 00:08:45 +0800
Subject: [PATCH 3/6] =?UTF-8?q?=E7=89=A9=E6=B5=81=E5=AD=97=E6=AE=B5?=
=?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/order/Logistics/index.vue | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/pages/order/Logistics/index.vue b/pages/order/Logistics/index.vue
index 4044dbb..f4c1071 100644
--- a/pages/order/Logistics/index.vue
+++ b/pages/order/Logistics/index.vue
@@ -57,19 +57,19 @@
- {{ item.acceptStation }}
- {{ item.acceptTime }}
+ {{ item.AcceptStation }}
+ {{ item.AcceptTime }}
- {{ item.acceptStation }}
- {{ item.acceptTime }}
+ {{ item.AcceptStation }}
+ {{ item.AcceptTime }}
- {{ item.acceptStation }}
- {{ item.acceptTime }}
+ {{ item.AcceptStation }}
+ {{ item.AcceptTime }}
From 692e4b810bd3bcaf5e8f8e4be5c23bb4d2976481 Mon Sep 17 00:00:00 2001
From: taozi <9108791@qq.com>
Date: Wed, 5 Apr 2023 19:32:10 +0800
Subject: [PATCH 4/6] =?UTF-8?q?=E5=94=AE=E5=90=8E=E9=97=AE=E9=A2=98?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/order/OrderReturnDetail/index.vue | 22 ++++++++++++++++++----
pages/order/submitExpress/index.vue | 24 ++++++++++++++----------
2 files changed, 32 insertions(+), 14 deletions(-)
diff --git a/pages/order/OrderReturnDetail/index.vue b/pages/order/OrderReturnDetail/index.vue
index 7ba015f..2767937 100644
--- a/pages/order/OrderReturnDetail/index.vue
+++ b/pages/order/OrderReturnDetail/index.vue
@@ -33,20 +33,27 @@
退款总金额
¥{{ orderDetail.refundAmount || 0 }}
-
+
商家已同意退货申请,请尽快发货。
收货人: {{ orderDetail.consignee || '' }}
收货地址: {{ orderDetail.address || '' }}
收货电话: {{ orderDetail.phoneNumber || '' }}
-
+
您已成功发起退款申请,请耐心等待商家处理
· 卖家同意或超时未处理,系统将退款给您
· 如果卖家拒绝,您可以修改退款申请后再次发起,卖家会重新处理
+
+
+ 您已发送快递,请耐心等待商家处理
+ 快递公司: {{ orderDetail.deliveryName || '' }}
+ 快递单号: {{ orderDetail.deliverySn || '' }}
+ 发货时间: {{ orderDetail.deliveryTime || '' }}
+
填写物流
- 撤销申请
+ 查看物流
+ 撤销申请
@@ -138,6 +146,12 @@ export default {
this.getReturnDetail()
},
methods: {
+ goLogistics(order) {
+ this.$yrouter.push({
+ path: '/pages/order/Logistics/index',
+ query: {id: order.orderCode},
+ })
+ },
/** state售后状态 0已提交等待平台审核 1平台已审核 等待用户发货/退款 2 用户已发货 3已完成 */
async getReturnDetail() {
getAfterSealsDetail(this.orderId, this.id)
@@ -175,7 +189,7 @@ export default {
})
.catch(err => {
uni.showToast({
- title: '撤销失败',
+ title: err.msg || '撤销失败',
icon: 'none',
duration: 2000,
})
diff --git a/pages/order/submitExpress/index.vue b/pages/order/submitExpress/index.vue
index 2955fa5..0b6fed2 100644
--- a/pages/order/submitExpress/index.vue
+++ b/pages/order/submitExpress/index.vue
@@ -42,7 +42,7 @@ export default {
expressQuery: {
code: '', // 快递公司编码
name: '', // 快递公司名称
- postalCode: 'SF1213132132', // 快递编号
+ postalCode: '', // 快递编号
orderCode: '', // 订单编号
},
expressList: [],
@@ -77,17 +77,21 @@ export default {
async addExpress() {
let errMsg = '请选择'
if (!this.expressQuery.code || !this.expressQuery.code) {
- errMsg += ' 快递公司 '
+ errMsg += '快递公司 '
+ uni.showToast({
+ title: errMsg,
+ icon: 'none',
+ duration: 2000,
+ })
+ return
}
if (!this.expressQuery.postalCode) {
- errMsg += ' 快递单号 '
- }
- if (errMsg.length > 3) {
- uni.showToast({
- title: errMsg,
- icon: 'none',
- duration: 2000,
- })
+ uni.showToast({
+ title: '请填写快递单号',
+ icon: 'none',
+ duration: 2000,
+ })
+ return
}
addExpressData(this.expressQuery)
.then(res => {
From 0c391fcdbc97ae9e6312d2fbc40cb4b0a1e7395b Mon Sep 17 00:00:00 2001
From: taozi <9108791@qq.com>
Date: Sat, 8 Apr 2023 22:11:33 +0800
Subject: [PATCH 5/6] =?UTF-8?q?=E4=BD=A3=E9=87=91=E4=B8=8D=E6=98=BE?=
=?UTF-8?q?=E7=A4=BAbugfix?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/user/promotion/CommissionDetails/index.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pages/user/promotion/CommissionDetails/index.vue b/pages/user/promotion/CommissionDetails/index.vue
index 2c91c4a..710c065 100644
--- a/pages/user/promotion/CommissionDetails/index.vue
+++ b/pages/user/promotion/CommissionDetails/index.vue
@@ -71,7 +71,7 @@ export default {
that.loaded = res.data.length < that.where.limit
that.loadTitle = that.loaded ? '人家是有底线的' : '上拉加载更多'
that.where.page = that.where.page + 1
- that.info.push.apply(that.info, res.data[0])
+ that.info.push.apply(that.info, res.data)
},
err => {
uni.showToast({
From 1b54f8736553d79bccba95c61373ad373f9baaed Mon Sep 17 00:00:00 2001
From: taozi <9108791@qq.com>
Date: Sun, 9 Apr 2023 00:16:40 +0800
Subject: [PATCH 6/6] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=89=A9=E6=B5=81bugfix?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/aftersales.js | 6 +++---
pages/order/OrderReturnDetail/index.vue | 1 +
pages/order/submitExpress/index.vue | 2 ++
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/api/aftersales.js b/api/aftersales.js
index e91e718..e47ef46 100644
--- a/api/aftersales.js
+++ b/api/aftersales.js
@@ -2,7 +2,7 @@ import request from '@/utils/request'
// 提交售后
/**
- *
+ *
订单号 orderCode;
服务类型 0仅退款1退货退款 serviceType;
申请原因 reasonForApplication;
@@ -46,12 +46,12 @@ export function rebackAfterSeals (key, id) {
// 获取物流信息
export function getExpressData () {
return request.get('/yxExpress')
-
+
}
// 添加快递单号
export function addExpressData (params) {
- return request.post('/addLogisticsInformation?' + `code=${params.code}&name=${params.name}&postalCode=${params.postalCode}&orderCode=${params.orderCode}&`, '', {
+ return request.post('/addLogisticsInformation?' + `code=${params.code}&name=${params.name}&id=${params.id}&postalCode=${params.postalCode}&orderCode=${params.orderCode}&`, '', {
login: true
})
}
diff --git a/pages/order/OrderReturnDetail/index.vue b/pages/order/OrderReturnDetail/index.vue
index 2767937..b9bc448 100644
--- a/pages/order/OrderReturnDetail/index.vue
+++ b/pages/order/OrderReturnDetail/index.vue
@@ -171,6 +171,7 @@ export default {
path: '/pages/order/submitExpress/index',
query: {
orderCode: this.orderId,
+ id: this.id,
},
})
},
diff --git a/pages/order/submitExpress/index.vue b/pages/order/submitExpress/index.vue
index 0b6fed2..136fc9f 100644
--- a/pages/order/submitExpress/index.vue
+++ b/pages/order/submitExpress/index.vue
@@ -44,6 +44,7 @@ export default {
name: '', // 快递公司名称
postalCode: '', // 快递编号
orderCode: '', // 订单编号
+ id: '', // 售后订单id
},
expressList: [],
expressPicker: [],
@@ -52,6 +53,7 @@ export default {
},
mounted() {
this.expressQuery.orderCode = this.$yroute.query.orderCode
+ this.expressQuery.id = this.$yroute.query.id
this.getExpress()
},
methods: {