定制表单手机号回填,修改订单详情更改状态传参

main
jinna 2 years ago
parent 866ab3f803
commit 7216ba39ae
  1. 1
      pages/pages_zhentou/form/form.vue
  2. 16
      pages/pages_zhentou/order/checkOrder.vue
  3. 103
      pages/pages_zhentou/order/express.vue
  4. 8
      pages/pages_zhentou/order/order.vue

@ -430,6 +430,7 @@
this.orderNo = options.orderNo
this.orderNum = options.orderNum
this.pageFrom = options.pageFrom
this.valiFormData.phone = JSON.parse(uni.getStorageSync('userInfo')).phone ;
// if(options.pageFrom == 'order'){
// this.phoneNumber = options.phone
// // this.getInfo()

@ -92,7 +92,7 @@
<p class="btn confirm" v-if="orderData.status == 3" @click="handleConfirm">确认收货</p>
<p class="btn confirm" v-if="orderData.status == 1" @click="goPay">立即支付</p>
<!-- <p class="btn confirm info" v-if="orderData.status == 3" @click="handleInfo(item)">完善定制信息</p> -->
<p class="btn confirm info" v-if="orderData.status == 2" @click="handleInfo">完善定制信息</p>
<p class="btn confirm info" v-if="orderData.status == 2 && orderData.filledMadeInfoNum < orderData.goodsNum" @click="handleInfo">完善定制信息</p>
<p class="btn confirm" v-if="orderData.status == 0" @click="clickCustom">再次定制</p>
</view>
</view>
@ -274,9 +274,10 @@
title: '订单取消成功',
icon: 'none'
})
setTimeout(() => {
uni.navigateBack()
}, 500)
this.getDetail()
// setTimeout(() => {
// uni.navigateBack()
// }, 500)
} else if (res.data.code == 401) {
this.doLogin()
@ -318,9 +319,10 @@
title: '收货成功',
icon: 'none'
})
setTimeout(() => {
uni.navigateBack()
}, 500)
this.getDetail()
// setTimeout(() => {
// uni.navigateBack()
// }, 500)
} else if (res.data.code == 401) {
this.doLogin()
} else {

@ -33,49 +33,50 @@
export default {
data() {
return {
options: [{
status: '投柜或驿站',
context: '【青岛市】 快件已被 菜鸟的【青岛康泰源惠客友超市店】代收,【取件地址:青岛康泰源惠客友超市店】,请及时取件。如有疑问请联系:15805321109,投诉电话:0532-88985563',
time: '2023-08-18 10:33:33'
},
{
status: '派件',
context: '【青岛市】青岛市中五二部(0532-88985563)业务员【杨金梅,19106394524】正在为您派件(95720为中通快递员外呼专属号码,请放心接听,如有问题可联系投诉电话:0532-88985563)',
time: '2023-08-18 08:08:38'
},
{
status: '在途',
context: '【青岛市】 快件已到达 青岛市中五二部',
time: '2023-08-18 08:08:33'
},
{
status: '在途',
context: '【青岛市】 快件已发往 青岛市中五二部',
time: '2023-08-18 04:36:56'
},
{
status: '在途',
context: '【青岛市】 快件已到达 青岛中转部',
time: '2023-08-18 01:04:40'
},
{
status: '在途',
context: '【昆明市】 快件已发往 青岛中转部',
time: '2023-08-16 00:51:30'
},
{
status: '在途',
context: '【昆明市】 快件已到达 昆明中转',
time: '2023-08-15 15:30:16'
}, {
status: '在途',
context: '【丽江市】 快件已发往 昆明中转',
time: '2023-08-14 19:02:02'
}, {
status: '揽收',
context: '【丽江市】 【丽江华坪县】(0888-8834031) 的 P1陈平(15108866686) 已揽收',
time: '2023-08-14 19:01:18'
}
options: [
// {
// status: '驿',
// context: ' 158053211090532-88985563',
// time: '2023-08-18 10:33:33'
// },
// {
// status: '',
// context: '0532-88985563,19106394524957200532-88985563',
// time: '2023-08-18 08:08:38'
// },
// {
// status: '',
// context: ' ',
// time: '2023-08-18 08:08:33'
// },
// {
// status: '',
// context: ' ',
// time: '2023-08-18 04:36:56'
// },
// {
// status: '',
// context: ' ',
// time: '2023-08-18 01:04:40'
// },
// {
// status: '',
// context: ' ',
// time: '2023-08-16 00:51:30'
// },
// {
// status: '',
// context: ' ',
// time: '2023-08-15 15:30:16'
// }, {
// status: '',
// context: ' ',
// time: '2023-08-14 19:02:02'
// }, {
// status: '',
// context: ' 0888-8834031 P115108866686 ',
// time: '2023-08-14 19:01:18'
// }
],
logisticsNo:'',
company:'',
@ -98,8 +99,8 @@
customer: "1C32AD38DC92D3A1950391AD766C7F6D",
sign: "",
param: JSON.stringify({
"com": 'zhongtong',
"num": '78713552736238',
"com": this.companyCode,
"num": this.logisticsNo,
"phone": '17852327323',
"from": "",
"to": "",
@ -246,12 +247,12 @@
.set-2:nth-of-type(1)>.img-border {
width: 38rpx;
height: 38rpx;
background: #FFCCD8;
background: transparent;
border-radius: 50%;
position: absolute;
top: 0%;
margin-top: -3rpx;
left: -68rpx;
left: -11%;
z-index: 100;
}
@ -269,7 +270,7 @@
position: absolute;
top: 0;
left: -52upx;
height: 70%;
height: 80%;
margin-top: -22rpx;
border-style: solid;
border-left: 1rpx;
@ -280,7 +281,7 @@
position: absolute;
top: 50%;
left: -52upx;
height: 60%;
height: 70%;
margin-top: 22rpx;
border-style: solid;
border-left: 1rpx;
@ -290,11 +291,11 @@
.set-2:nth-of-type(1) .left_line_down {
top: 0;
height: 105%;
height: 120%;
}
.set-2:last-of-type .left_line_up {
height: 10%;
height: 20%;
}
}
}

@ -53,7 +53,7 @@
<p class="btn confirm" v-if="item.status == 3" @click.stop="handleConfirm(item)">确认收货</p>
<p class="btn" v-if="item.status == 1" @click.stop="cancelOrder(item)">取消订单</p>
<p class="btn confirm" @click.stop="goPay(item)" v-if="item.status == 1">立即支付</p>
<p class="btn confirm info" v-if="item.status == 2" @click.stop="handleInfo(item)">完善定制信息</p>
<p class="btn confirm info" v-if="item.status == 2 && item.filledMadeInfoNum < item.goodsNum" @click.stop="handleInfo(item)">完善定制信息</p>
<p class="btn" v-if="item.status == 0" @click.stop="handleDelete(item)">删除订单</p>
<p class="btn confirm" v-if="item.status == 0" @click.stop="clickCustom">再次定制</p>
</view>
@ -87,7 +87,9 @@
let userInfo = uni.getStorageSync('userInfo');
if (userInfo) {
this.userInfo = JSON.parse(userInfo);
this.hasMore = true
this.hasMore = true;
this.current = 0;
this.orderData= []
this.loadMore();
}
},
@ -562,7 +564,7 @@
.btn_box {
width: 100%;
height: 60rpx;
// height: 60rpx;
margin: 35rpx 0 0;
display: flex;
justify-content: flex-end;

Loading…
Cancel
Save