售后与页面细节调整

version/0412
syt 11 months ago
parent 7d4fee32bb
commit 308839a66f
  1. 1
      config.js
  2. 1
      core/config/defaultConfig.js
  3. 6
      manifest.json
  4. 1
      pages.json
  5. 15
      pages/news/recycling/confirm1.vue
  6. 9
      pages/news/recycling/detail.vue
  7. 43
      pages/news/recycling/timer.vue
  8. 3
      pages/news1/setting.vue
  9. 20
      pages/order/detail.vue
  10. 12
      pages/order/refund/index.vue
  11. 9
      pages/order/refund/refund.vue
  12. 66
      pages/refund/detail.vue
  13. 14
      pages/user/index.vue
  14. 8
      pages/user/vip/goods.vue

@ -15,6 +15,7 @@ export default {
* 可在超管后台-商城列表中查看10025
*/
storeId: 10001,
// storeId: 10037,
/**

@ -16,6 +16,7 @@ export default {
* 可在超管后台-商城列表中查看
*/
storeId: 10001,
// storeId: 10037,
/**
* 是否启用商城设置缓存

@ -1,7 +1,7 @@
{
"name" : "惠云商",
"name" : "装小易",
"appid" : "__UNI__1D774AF",
"description" : "慧云商是一款提供家电,3C数码,家装建材为一体的批发采购平台,一站式解决找货方案,简化采购流程",
"description" : "装采要省力,就找装小易! —— 家装工厂供应链对接平台",
"versionName" : "1.0.0",
"versionCode" : 1,
"transformPx" : false,
@ -92,7 +92,7 @@
"quickapp" : {},
/* */
"mp-weixin" : {
"appid" : "wx68d198de972a9e9d",
"appid" : "wxd87b1a7332d974d0",
"libVersion" : "latest",
"setting" : {
// TLS

@ -723,7 +723,6 @@
"path": "recycling/timer",
"style": {
"navigationBarTitleText": "选择时间",
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
},

@ -66,7 +66,7 @@
<view class="a">服务时间</view>
<view class="b" @click="openPage(3)">
<view class="select" :class="obj.server_time?'select-on':''">
{{obj.server_time?obj.server_time:(tabIndex <= 1?'请选择预约到店时间':'请选择预计寄出商品的时间')}}
{{obj.server_time?obj.server_time:(obj.server_time?'请选择预约到店时间':'请选择预计寄出商品的时间')}}
</view>
<u-icon style="margin-left: 10rpx;" color="#8B8B8B" name="arrow-right"></u-icon>
</view>
@ -235,6 +235,13 @@
this.getOrderDetail(op.order_id)
}
},
onShow() {
if(uni.getStorageSync("yuyueTime").time){
this.obj.server_time = uni.getStorageSync("yuyueTime").time
}else{
this.obj.server_time = ""
}
},
methods: {
radioChange(e) {
this.sexValue = e
@ -344,7 +351,10 @@
});
}
if (i == 3) { //
this.show = true
// this.show = true
uni.navigateTo({
url: "/pages/news/recycling/timer?type=1&shop_id="+this.storeInfo.shop_id
})
}
if (i == 4) { //
if (this.source == 2) {
@ -462,6 +472,7 @@
}
},
onLook() {
uni.removeStorageSync("yuyueTime")
uni.redirectTo({
url: "/pages/news/recycling/recoveryList"
})

@ -138,14 +138,13 @@
console.log(info.content)
}
this.info = info;
this.type = o.type
this.type = o.type;
uni.setNavigationBarTitle({
title: o.type == 1 ? "服务详情" : '旧物回收'
})
})
},
onShow() {
if (uni.getStorageSync("AccessToken")) {
if (uni.getStorageSync("userInfo").user_id) {
this.getList()
this.userInfo = uni.getStorageSync("userInfo");
this.isToken = true;
@ -153,6 +152,7 @@
this.userInfo = {}
this.isToken = false;
}
uni.removeStorageSync("yuyueTime")
},
methods: {
@ -269,6 +269,7 @@
width: 100%;
overflow: hidden;
padding-bottom: 30rpx;
&-hd {
padding: 30rpx 60rpx;
position: relative;

@ -30,14 +30,16 @@
tabIndex: 0,
dataList: [],
timeList: [],
infor: '',
time: ''
infor: {},
time: '',
type: 3
}
},
onLoad(op) {
if(op.infor){
this.infor = op.infor ? JSON.parse(decodeURIComponent(op.infor)) : ''
}
this.type = op.type?op.type:""
this.getstopTimes(op.shop_id)
},
methods: {
@ -49,6 +51,13 @@
})
return
}
if(this.type == 1){
uni.setStorageSync("yuyueTime",this.infor.yuyueTime)
uni.navigateBack({
delta: 1
})
return ;
}
let {
status,
message,
@ -64,6 +73,7 @@
* 时间
*/
async getstopTimes(shop_id) {
const that = this;
let {
status,
message,
@ -72,14 +82,41 @@
shop_id: shop_id
});
if (status == 200) {
let arr = []
if(data && data.length> 0){
data.map(a=>{
if(a.list && a.list.length > 0){
a.list.map(b=>{
b.date = a.date
})
}
})
}
if(this.type == 1 && uni.getStorageSync("yuyueTime").time){
if(data && data.length> 0){
data.map((a,idx)=>{
if(a.date == uni.getStorageSync("yuyueTime").date){
that.tabIndex = idx
}
if(a.list && a.list.length > 0){
a.list.map((b,idx1)=>{
if(b.value == uni.getStorageSync("yuyueTime").value){
that.tabIndex1 = idx1
}
})
}
})
}
}
this.dataList = data;
this.timeList = data[0].list
this.timeList = data[this.tabIndex].list
}
},
tabItem1(i, item) {
this.tabIndex1 = i
this.time = item.value
this.infor.server_time = item.time
this.infor.yuyueTime = item
},
tabItem(index, item) {
this.tabIndex = index;

@ -205,8 +205,7 @@ export default {
title: '退出成功',
icon: 'none',
duration: 2000
})
uni.clearStorage()
})
uni.clearStorageSync()
setTimeout(function () {
uni.navigateBack({

@ -126,18 +126,18 @@
<view class="goodsNum">
x{{ goods.total_num }}
</view>
<view class="up2" style="margin-top: 20rpx;" @tap.stop="onRefund(goods.order_goods_id,goods,order)"
<!-- <view class="up2" style="margin-top: 20rpx;" @tap.stop="onRefund(goods.order_goods_id,goods,order)"
v-if="order.pay_status == PayStatusEnum.SUCCESS.value && order.delivery_status == DeliveryStatusEnum.NOT_DELIVERED.value">
退款
</view>
</view> -->
<view class="up2" style="margin-top: 20rpx;" @tap.stop="onRefund(goods.order_goods_id,goods,order)"
v-if="order.pay_status == PayStatusEnum.SUCCESS.value && order.receipt_status == ReceiptStatusEnum.NOT_RECEIVED.value && order.delivery_status == DeliveryStatusEnum.DELIVERED.value">
退款
v-if="order.isAllowRefund && order.delivery_status == DeliveryStatusEnum.DELIVERED.value">
售后
</view>
<view class="up2" style="margin-top: 20rpx;" @tap.stop="onRefund(goods.order_goods_id,goods,order)"
<!-- <view class="up2" style="margin-top: 20rpx;" @tap.stop="onRefund(goods.order_goods_id,goods,order)"
v-if="order.pay_status == PayStatusEnum.SUCCESS.value && order.receipt_status == ReceiptStatusEnum.RECEIVED.value && order.delivery_status == DeliveryStatusEnum.DELIVERED.value">
换货
</view>
</view> -->
</view>
</view>
<view class="fd">
@ -558,14 +558,14 @@
//
handleTargetExtract(shopId) {
this.$navTo('/pages/shop/detail', {
this.$navTo('pages/shop/detail', {
shopId
})
},
//
handleTargetExpress() {
this.$navTo('/pages/order/express/index', {
this.$navTo('pages/order/express/index', {
orderId: this.orderId
})
},
@ -674,14 +674,14 @@
},
//
onPay(orderId) {
this.$navTo('/pages/checkout/cashier/index', {
this.$navTo('pages/checkout/cashier/index', {
orderId
})
},
//
handleTargetComment(orderId) {
this.$navTo('/pages/order/comment/index', {
this.$navTo('pages/order/comment/index', {
orderId
})
},

@ -4,7 +4,7 @@
<view class="a">
<image class="pic" :src="order.goods_image"></image>
<view class="n">出柜已签收签收人凭取取件码..</view>
<image class="arrow" src="/static/news/icon-arrow.png"></image>
<image class="arrow" :src="$picUrl+'/static/news/icon-arrow.png'"></image>
</view>
<view class="b" @click="openPage(4)">
退货运费规则
@ -17,22 +17,22 @@
<view class="info">
<view class="a">我要退货退款</view>已收到货需要退还已收到的货物
</view>
<image class="arrow" src="/static/news/icon-arrow.png"></image>
<image class="arrow" :src="$picUrl+'/static/news/icon-arrow.png'"></image>
</view>
<view class="item" @click="openPage(2)">
<image class="icon" :src="$picUrl+'/static/news/icon-refund-03.png'"></image>
<view class="info">
<view class="a">我要退款无需退货</view>未收到货或与商家协商之后申请
</view>
<image class="arrow" src="/static/news/icon-arrow.png"></image>
<image class="arrow" :src="$picUrl+'/static/news/icon-arrow.png'"></image>
</view>
<view class="item" @click="openPage(3)">
<!-- <view class="item" @click="openPage(3)">
<image class="icon" :src="$picUrl+'/static/news/icon-refund-03.png'"></image>
<view class="info">
<view class="a">我要换货</view>对收到的商品不满意可与商家协商换货
</view>
<image class="arrow" src="/static/news/icon-arrow.png"></image>
</view>
</view> -->
</view>
</view>
</template>
@ -64,7 +64,7 @@
})
} else {
uni.navigateTo({
url: '/pages/order/refund/refund?orderId=' + this.orderId + '&order=' + JSON.stringify(this
url: '/pages/order/refund/refund?type='+index+'&orderId=' + this.orderId + '&order=' + JSON.stringify(this
.order) +
"&deliveryStatus=" + this.deliveryStatus + '&receiptStatus=' + this.deliveryStatus
})

@ -14,7 +14,7 @@
<view class="item">
<view class="l">申请类型</view>
<view class="r">
{{((deliveryStatus == DeliveryStatusEnum.DELIVERED.value) && (receiptStatus == ReceiptStatusEnum.RECEIVED.value))?'我要退款(需退货)':'我要退款(无需退货)'}}
{{type==1?'我要退货退款':'我要退款(无需退货)'}}
</view>
</view>
@ -138,7 +138,8 @@
maxImageLength: 6,
imagesId: '',
action: '',
header: '',
header: '',
type: 1,
}
},
onReady() {
@ -151,6 +152,7 @@
},
onLoad(op) {
this.deliveryStatus = op.deliveryStatus;
this.type = op.type;
this.receiptStatus = op.receiptStatus;
this.orderId = op.orderId
this.order = op.order ? JSON.parse(op.order) : '';
@ -233,8 +235,7 @@
}
app.isLoading = true;
let obj = {
type: (app.deliveryStatus == DeliveryStatusEnum.DELIVERED.value) && (app.receiptStatus ==
ReceiptStatusEnum.RECEIVED.value) ? 20 : 10,
type: app.type == 1? 10 : 30,
content: app.contentNotes,
images: app.imagesId,
phone: app.phone,

@ -57,7 +57,7 @@
<text>售后类型</text>
</view>
<view class="flex-box">
<text>{{ RefundTypeEnum[detail.type].name }}</text>
<text>{{ detail.type == 30?'退款':'退货' }}</text>
</view>
</view>
<view class="detail-refund__row dis-flex">
@ -116,37 +116,39 @@
</view>
<!-- 商家收货地址 -->
<view v-if="detail.audit_status == AuditStatusEnum.REVIEWED.value" class="detail-address b-f m-top20">
<view class="detail-address__row address-title">
<text class="col-m">商家退货地址</text>
</view>
<view class="detail-address__row address-details">
<view class="address-details__row">
<text>收货人{{ detail.address.name }}</text>
</view>
<view class="address-details__row">
<text>联系电话{{ detail.address.phone }}</text>
</view>
<view class="address-details__row dis-flex">
<view class="text">
<text>详细地址</text>
</view>
<view class="address flex-box">
<text class="region" v-for="(region, idx) in detail.address.region"
:key="idx">{{ region }}</text>
<text class="detail">{{ detail.address.detail }}</text>
</view>
</view>
</view>
<view class="detail-address__row address-tips">
<view class="f-26 col-9">
<text>· 未与卖家协商一致情况下请勿寄到付或平邮</text>
</view>
<view class="f-26 col-9">
<text>· 请填写真实有效物流信息</text>
</view>
</view>
</view>
<template v-if="detail.address && detail.address.name">
<view v-if="detail.audit_status == AuditStatusEnum.REVIEWED.value" class="detail-address b-f m-top20">
<view class="detail-address__row address-title">
<text class="col-m">商家退货地址</text>
</view>
<view class="detail-address__row address-details">
<view class="address-details__row">
<text>收货人{{ detail.address.name }}</text>
</view>
<view class="address-details__row">
<text>联系电话{{ detail.address.phone }}</text>
</view>
<view class="address-details__row dis-flex">
<view class="text">
<text>详细地址</text>
</view>
<view class="address flex-box">
<text class="region" v-for="(region, idx) in detail.address.region"
:key="idx">{{ region }}</text>
<text class="detail">{{ detail.address.detail }}</text>
</view>
</view>
</view>
<view class="detail-address__row address-tips">
<view class="f-26 col-9">
<text>· 未与卖家协商一致情况下请勿寄到付或平邮</text>
</view>
<view class="f-26 col-9">
<text>· 请填写真实有效物流信息</text>
</view>
</view>
</view>
</template>
<!-- 填写物流信息 -->
<form

@ -599,7 +599,19 @@
}
},
onShow(options) {
this.onRefreshPage()
if(uni.getStorageSync("userInfo").user_id){
this.onRefreshPage()
}else{
this.userInfo = {}
this.isLogin = false
this.actionCountsInfo={}
this.orderTodoInfo={
distribution_order: {},
goods_order: {},
service_order: {},
recovery_order: {}
}
}
this.getSuggest();
},
onPageScroll(e) {

@ -367,9 +367,13 @@
.title {
padding: 10rpx 0;
line-height: 40rpx;
font-size: 20rpx;
font-family: PingFang SC, PingFang SC;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
-webkit-line-clamp: 2;
height: 90rpx;
line-height: 45rpx;
font-weight: 400;
color: #1E1E1E;

Loading…
Cancel
Save