调整发货单物流信息查询
This commit is contained in:
7
App.vue
7
App.vue
@@ -36,7 +36,12 @@
|
|||||||
// success: modalRes => {
|
// success: modalRes => {
|
||||||
// if (modalRes.confirm) {
|
// if (modalRes.confirm) {
|
||||||
// if (plus.os.name == "Android") {
|
// if (plus.os.name == "Android") {
|
||||||
// plus.runtime.openURL(res.info.download);
|
// plus.runtime.openURL(res.info.download, err => {
|
||||||
|
// uni.showToast({
|
||||||
|
// title: err,
|
||||||
|
// icon : 'none'
|
||||||
|
// })
|
||||||
|
// });
|
||||||
// } else{
|
// } else{
|
||||||
// uni.showToast({
|
// uni.showToast({
|
||||||
// title: 'IOS应用暂未上架,请打开测试(TestFlight)工具点击更新',
|
// title: 'IOS应用暂未上架,请打开测试(TestFlight)工具点击更新',
|
||||||
|
|||||||
@@ -55,12 +55,10 @@ const companiesCode = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 退货单列表
|
// 退货单列表
|
||||||
const storeReturn = (state) => {
|
const storeReturn = data => {
|
||||||
return request({
|
return request({
|
||||||
url: 'manages/refunds',
|
url: 'manages/refunds',
|
||||||
data: {
|
data
|
||||||
state
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,8 +26,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="actions">
|
<view class="actions">
|
||||||
<view v-if="item.can">
|
<view v-if="item.can">
|
||||||
<view v-if="item.can.audit"
|
<view v-if="item.can.audit" @click="$Router.push({name: 'storeExamine', params: {id: item.refund_id}})"
|
||||||
@click="$Router.push({name: 'Examine', params: {id: item.refund_id}})"
|
|
||||||
class="nowPay actions-color">订单审核</view>
|
class="nowPay actions-color">订单审核</view>
|
||||||
<view v-if="item.can.sign" @click="goSigns(item.refund_id, index)" class="nowPay actions-color">
|
<view v-if="item.can.sign" @click="goSigns(item.refund_id, index)" class="nowPay actions-color">
|
||||||
订单签收</view>
|
订单签收</view>
|
||||||
|
|||||||
@@ -798,6 +798,13 @@
|
|||||||
"navigationBarTitleText": "操作日志",
|
"navigationBarTitleText": "操作日志",
|
||||||
"navigationBarBackgroundColor": "#FFFFFF"
|
"navigationBarBackgroundColor": "#FFFFFF"
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
"path": "pages/store/examine",
|
||||||
|
"name": "storeExamine",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "订单审核",
|
||||||
|
"navigationBarBackgroundColor": "#FFFFFF"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
|
|||||||
@@ -65,11 +65,14 @@
|
|||||||
state : newState,
|
state : newState,
|
||||||
remark: newRemark
|
remark: newRemark
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
uni.showToast({
|
uni.showModal({
|
||||||
icon: 'none',
|
title : '提示',
|
||||||
title: '审核成功'
|
content : '订单已审核',
|
||||||
})
|
showCancel : false,
|
||||||
|
success : ()=> {
|
||||||
this.$Router.back()
|
this.$Router.back()
|
||||||
|
}
|
||||||
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -106,9 +109,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.submit {
|
.submit {
|
||||||
background: #e93340;
|
background: $mian-color;
|
||||||
color: white;
|
color: white;
|
||||||
border-color: #e93340;
|
border-color: $mian-color;
|
||||||
margin: $margin*4 $margin 0;
|
margin: $margin;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -3,22 +3,14 @@
|
|||||||
<!-- 物流状态 start -->
|
<!-- 物流状态 start -->
|
||||||
<view class="state" v-if="logistic.length > 0">
|
<view class="state" v-if="logistic.length > 0">
|
||||||
<view class="take">
|
<view class="take">
|
||||||
<view class="take-tips">
|
<view class="take-name">收件人:{{express.courier_name}}<text>{{express.mobile}}</text></view>
|
||||||
收
|
<view class="take-address">收货地址:{{express.full_address}}</view>
|
||||||
</view>
|
|
||||||
<view class="take-text">
|
|
||||||
收货地址:发接口返回绝对是放假客户端上看见发货数据库大黄蜂教科书的浩丰科技
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="list">
|
<view class="list">
|
||||||
<!-- v-for="(item, index) in logistic" :key="index" -->
|
<view v-for="(item, index) in logistic" :key="index" class="list-label">
|
||||||
<view class="list-label">
|
<view class="list-status">{{item.status}}</view>
|
||||||
<view class="list-name">
|
<view class="list-text">{{item.context}}</view>
|
||||||
<text>发货中</text> 2020-15-12
|
<view class="list-time">{{item.time}}</view>
|
||||||
</view>
|
|
||||||
<view class="list-time">
|
|
||||||
华东师范邯郸市科技发货圣诞节客服
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -35,12 +27,14 @@
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
message : '',
|
message : '',
|
||||||
logistic: ''
|
express : {},
|
||||||
|
logistic: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
deliverLogistic(this.$Route.query.id).then(res=>{
|
deliverLogistic(this.$Route.query.id).then(res=>{
|
||||||
console.log(res)
|
this.express = res.express
|
||||||
|
this.logistic = res.logistics
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
this.message = err.message
|
this.message = err.message
|
||||||
})
|
})
|
||||||
@@ -58,89 +52,67 @@
|
|||||||
|
|
||||||
// 物流状态
|
// 物流状态
|
||||||
.state {
|
.state {
|
||||||
background-color: $uni-bg-color;
|
|
||||||
margin-top: $margin;
|
margin-top: $margin;
|
||||||
padding: $padding;
|
|
||||||
font-size: $title-size-m;
|
|
||||||
color: $text-gray;
|
|
||||||
.take {
|
.take {
|
||||||
display: flex;
|
background: white;
|
||||||
padding-bottom: $padding;
|
padding: $padding;
|
||||||
|
.take-name{
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: $title-size + 4;
|
||||||
|
text{
|
||||||
|
font-weight: normal;
|
||||||
|
padding-left: 10rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.list{
|
||||||
|
padding: $padding;
|
||||||
|
margin-top: $margin;
|
||||||
|
background: white;
|
||||||
|
.list-label{
|
||||||
position: relative;
|
position: relative;
|
||||||
&::before {
|
padding-left: 50rpx;
|
||||||
position: absolute;
|
|
||||||
content: '';
|
|
||||||
left: $uni-img-size-sm / 3 + 2;
|
|
||||||
top: $margin;
|
|
||||||
background-color: $uni-text-color-grey;
|
|
||||||
width: 2rpx;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.take-tips {
|
|
||||||
background-color: $mian-color;
|
|
||||||
width: $uni-img-size-sm;
|
|
||||||
height: $uni-img-size-sm;
|
|
||||||
border-radius: $uni-border-radius-circle;
|
|
||||||
font-size: $title-size-sm;
|
|
||||||
transform: scale(.9);
|
|
||||||
text-align: center;
|
|
||||||
color: $uni-text-color-inverse;
|
|
||||||
margin-top: 10rpx;
|
|
||||||
margin-left: -4rpx;
|
|
||||||
}
|
|
||||||
.take-text {
|
|
||||||
margin-left: $margin;
|
|
||||||
line-height: 40rpx;
|
|
||||||
margin-top: $margin - 10;
|
|
||||||
width: calc(100% - #{$uni-img-size-sm} + #{$margin});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.list {
|
|
||||||
font-size: $title-size-sm;
|
|
||||||
.list-label {
|
|
||||||
padding-left: $padding * 3;
|
|
||||||
padding-bottom: $padding;
|
padding-bottom: $padding;
|
||||||
padding-top: $padding - 10;
|
&::before{
|
||||||
position: relative;
|
|
||||||
&::after {
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: '';
|
content: " ";
|
||||||
left: $uni-img-size-sm / 3 - 4;
|
left: 0;
|
||||||
top: $margin;
|
top: 16rpx;
|
||||||
background-color: $uni-text-color-grey;
|
background: $border-color;
|
||||||
width: $uni-img-size-sm / 3;
|
height: 25rpx;
|
||||||
height: $uni-img-size-sm / 3;
|
width: 25rpx;
|
||||||
border-radius: $uni-border-radius-circle;
|
border:solid 5rpx rgba($color: white, $alpha: 1);
|
||||||
z-index: 9;
|
box-sizing: border-box;
|
||||||
|
border-radius: 50%;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
&::before {
|
&::after{
|
||||||
position: absolute;
|
|
||||||
content: '';
|
|
||||||
left: $uni-img-size-sm / 3 + 2;
|
|
||||||
top: $margin;
|
|
||||||
background-color: $uni-text-color-grey;
|
|
||||||
width: 2rpx;
|
width: 2rpx;
|
||||||
|
background: $border-color;
|
||||||
|
content: " ";
|
||||||
|
position: absolute;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
top: 30rpx;
|
||||||
|
left: 12rpx;
|
||||||
}
|
}
|
||||||
&:first-child {
|
&:first-child::before{
|
||||||
color: $mian-color;
|
background: $mian-color;
|
||||||
|
border:solid 5rpx rgba($color: white, $alpha: .5);
|
||||||
}
|
}
|
||||||
&:last-child::before {
|
&:last-child::after{
|
||||||
background-color: $uni-bg-color;
|
display: none;
|
||||||
}
|
}
|
||||||
&:first-child::after {
|
.list-status{
|
||||||
background-color: $mian-color;
|
line-height: 50rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: $title-size;
|
||||||
}
|
}
|
||||||
.list-name {
|
.list-text{
|
||||||
margin-bottom: $margin - 10;
|
color: $text-gray;
|
||||||
text {
|
|
||||||
font-weight: 600;
|
|
||||||
padding-right: $padding;
|
|
||||||
}
|
}
|
||||||
}
|
.list-time{
|
||||||
.list-time {
|
color: $text-gray-m;
|
||||||
font-size: $uni-font-size-sm;
|
font-size: $title-size-sm;
|
||||||
line-height: 34rpx;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
2010
unpackage/dist/dev/app-plus/app-service.js
vendored
2010
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user