|
|
|
|
@ -356,7 +356,8 @@
|
|
|
|
|
this.form = uni.getStorageSync("vuex_update_card") ? uni.getStorageSync("vuex_update_card") : {},
|
|
|
|
|
this.cardInfo = uni.getStorageSync("vuex_update_card") ? uni.getStorageSync("vuex_update_card") :
|
|
|
|
|
{},
|
|
|
|
|
this.form.ymd = this.momentDay(this.form.send_date).ymd
|
|
|
|
|
this.form.ymd = this.momentDay(this.form.send_date).ymd
|
|
|
|
|
this.form.week = this.getWeek(this.form.send_date)
|
|
|
|
|
uni.removeStorageSync("vuex_update_card")
|
|
|
|
|
uni.setNavigationBarTitle({
|
|
|
|
|
title: '修改订单',
|
|
|
|
|
@ -389,7 +390,12 @@
|
|
|
|
|
// })
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
methods: {
|
|
|
|
|
getWeek(date){
|
|
|
|
|
const weeks = ["周日", '周一', '周二', '周三', '周四', '周五', '周六', ]
|
|
|
|
|
let week = weeks[this.$moment(date).day()]
|
|
|
|
|
return week
|
|
|
|
|
},
|
|
|
|
|
async getAddress() {
|
|
|
|
|
const res = await this.$u.api.getUserAddress()
|
|
|
|
|
this.listAddress = res.address
|
|
|
|
|
|