修改物流弹窗及个人中心企业工具弹窗及员工模块的发货单管理,退换货管理新增

This commit is contained in:
2021-11-05 17:30:48 +08:00
parent e4d777887b
commit 883b032d8d
18 changed files with 3234 additions and 8 deletions

View File

@@ -203,6 +203,14 @@
<image class="tool-label-img" src="/static/user/userTool-06.png" mode=""></image>
<view class="tool-label-name">扫码核销</view>
</view>
<view class="tool-label" v-if="permission.orderShipment" @click="$Router.push({name: 'Deliver'})" >
<image class="tool-label-img" src="/static/user/userTool-06.png" mode=""></image>
<view class="tool-label-name">发货单管理</view>
</view>
<view class="tool-label" v-if="permission.orderRefund" @click="$Router.push({name: 'Return'})">
<image class="tool-label-img" src="/static/user/userTool-06.png" mode=""></image>
<view class="tool-label-name">退换货管理</view>
</view>
</view>
</view>
<view class="userPartner" style="display: flex;flex-direction: column;" v-else>

View File

@@ -1,5 +1,5 @@
<template>
<view class="LogisticsIndex" v-if="loaded">
<view class="LogisticsIndex">
<block v-if="list.length>0">
<view class="logistics-top">
<view>{{express.express_name}} <span class="copy" @click='copy(express.express_no)'>复制单号</span></view>
@@ -34,7 +34,6 @@
data() {
return {
list: [],
loaded:false,
no: '', // 快递单号
express:{},// 地址信息
}
@@ -50,12 +49,11 @@
mallShipmentsLogistic(no).then(res => {
this.list = res.logistics
this.express = res.express
this.loaded = true
}).catch(err => {
this.$refs.uToast.show({
console.log(err)
uni.showToast({
title: err.message,
type: 'error',icon:false,
duration: 3000
icon:'none'
})
})
},

View File

@@ -245,6 +245,11 @@
longitude: Number(info.longitude),
success: function() {}
});
},
nowLogistics(no){
uni.navigateTo({
url:'/pages/user/order/logistics?no='+no
})
}
}