经穴检索
This commit is contained in:
@@ -299,7 +299,7 @@ export default {
|
||||
activated() {
|
||||
this.query.orderSn = this.$route.query.orderSn;
|
||||
this.query.ordertype = this.$route.query.ordertype;
|
||||
console.log(this.$route.query.orderSn)
|
||||
// console.log(this.$route.query.orderSn)
|
||||
this.getData()
|
||||
// this.getOrderSheetList()
|
||||
},
|
||||
@@ -319,14 +319,14 @@ export default {
|
||||
this.booksShow = false
|
||||
},
|
||||
drawerHandleClose(){
|
||||
console.log('关闭')
|
||||
// console.log('关闭')
|
||||
this.traces = []
|
||||
this.tracesShow = false
|
||||
this.currentSheet = {}
|
||||
},
|
||||
// 获取某一快递的物流进度
|
||||
seeSheetDetails(item){
|
||||
console.log('正在查询快递进度',item)
|
||||
// console.log('正在查询快递进度',item)
|
||||
this.currentSheet = item
|
||||
let loading = this.$loading({
|
||||
lock: true,
|
||||
@@ -348,7 +348,7 @@ export default {
|
||||
if(data.express.traces.length > 0){
|
||||
this.traces = data.express.traces
|
||||
this.tracesShow = true
|
||||
console.log(data,'data')
|
||||
// console.log(data,'data')
|
||||
loading.close()
|
||||
}else{
|
||||
this.$message('暂无物流信息哦~');
|
||||
@@ -362,12 +362,12 @@ export default {
|
||||
})
|
||||
},
|
||||
countyChange(e){
|
||||
console.log(e,'countyName')
|
||||
// console.log(e,'countyName')
|
||||
this.countyEntity.countyList.find((val,index,arr)=>{
|
||||
this.addressForm.countyName = val.countyName
|
||||
return val.regionCode == e
|
||||
})
|
||||
console.log('this.addressForm.countyName', this.addressForm)
|
||||
// console.log('this.addressForm.countyName', this.addressForm)
|
||||
},
|
||||
cityChange(e){
|
||||
// console.log('修改了市',e)
|
||||
@@ -376,7 +376,7 @@ export default {
|
||||
this.addressForm.cityName = val.cityName
|
||||
return val.regionCode == e
|
||||
})
|
||||
console.log(' this.addressForm.cityName', this.addressForm.cityName)
|
||||
// console.log(' this.addressForm.cityName', this.addressForm.cityName)
|
||||
},
|
||||
provinceChange(e){
|
||||
// console.log('修改了省份',e)
|
||||
@@ -386,7 +386,7 @@ export default {
|
||||
this.addressForm.provinceName = val.provName
|
||||
return val.regionCode == e
|
||||
})
|
||||
console.log('this.addressForm.provinceName',this.addressForm.provinceName)
|
||||
// console.log('this.addressForm.provinceName',this.addressForm.provinceName)
|
||||
},
|
||||
changeAddHandleClose(){
|
||||
this.changeAddVisible = false
|
||||
@@ -407,7 +407,7 @@ export default {
|
||||
// this.$refs['addressFormRef'].resetFields();
|
||||
})
|
||||
// $refs[formName].resetFields()
|
||||
console.log('关闭了', this.addressForm)
|
||||
// console.log('关闭了', this.addressForm)
|
||||
},
|
||||
changeAddressShow(){
|
||||
this.$http({
|
||||
@@ -417,7 +417,7 @@ export default {
|
||||
// 'orderId': this.query.orderId
|
||||
// })
|
||||
}).then(({ data }) => {
|
||||
console.log('获取地址三级列表', data)
|
||||
// console.log('获取地址三级列表', data)
|
||||
if(data.code == 0){
|
||||
this.provinceEntity = data.provinceEntity
|
||||
this.addressForm.addressXX = this.orderDetails.consignee.address
|
||||
@@ -429,7 +429,7 @@ export default {
|
||||
this.addressForm.countyName = this.orderDetails.consignee.countyCode
|
||||
this.addressForm.name = this.orderDetails.consignee.consigneeName
|
||||
this.addressForm.tel = this.orderDetails.consignee.consigneeMobile
|
||||
console.log(this.provinceEntity,'this.provinceEntity')
|
||||
// console.log(this.provinceEntity,'this.provinceEntity')
|
||||
this.cityEntity = this.provinceEntity.find((val,index,arr)=>{
|
||||
return val.regionCode == this.addressForm.provinceCode
|
||||
})
|
||||
@@ -441,13 +441,13 @@ export default {
|
||||
console.log(e,'e')
|
||||
})
|
||||
this.changeAddVisible = true
|
||||
console.log('显示修改收货地址')
|
||||
// console.log('显示修改收货地址')
|
||||
},
|
||||
// 修改收货信息
|
||||
changeAddress(){
|
||||
this.$refs['addressFormRef'].validate((valid) => {
|
||||
if (valid) {
|
||||
console.log('修改收货地址')
|
||||
// console.log('修改收货地址')
|
||||
this.$http({
|
||||
url: this.$http.adornUrl('/book/buyOrder/modifyConsigneeAddress'),
|
||||
method: 'post',
|
||||
@@ -466,7 +466,7 @@ export default {
|
||||
|
||||
})
|
||||
}).then(({ data }) => {
|
||||
console.log('修改地址返回值', data)
|
||||
// console.log('修改地址返回值', data)
|
||||
this.$message.success('修改地址成功!')
|
||||
this.changeAddHandleClose()
|
||||
this.getData()
|
||||
|
||||
Reference in New Issue
Block a user