订单发货
This commit is contained in:
@@ -394,6 +394,7 @@
|
|||||||
title="修改收货信息"
|
title="修改收货信息"
|
||||||
:visible.sync="changeAddVisible"
|
:visible.sync="changeAddVisible"
|
||||||
width="500"
|
width="500"
|
||||||
|
v-loading="addressLoad"
|
||||||
:close="changeAddHandleClose">
|
:close="changeAddHandleClose">
|
||||||
<div>
|
<div>
|
||||||
<el-form ref="addressFormRef" :model="addressForm" label-width="120px" :rules="addressFormRule">
|
<el-form ref="addressFormRef" :model="addressForm" label-width="120px" :rules="addressFormRule">
|
||||||
@@ -598,7 +599,8 @@ export default {
|
|||||||
{ required: true, message: '请选择要修改的省市区', trigger: 'blur' }
|
{ required: true, message: '请选择要修改的省市区', trigger: 'blur' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
SheetSelectionList:[]
|
SheetSelectionList:[],
|
||||||
|
addressLoad:false, // 省份加载动画
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
@@ -699,7 +701,8 @@ export default {
|
|||||||
console.log('关闭了', this.addressForm)
|
console.log('关闭了', this.addressForm)
|
||||||
},
|
},
|
||||||
changeAddressShow(val){
|
changeAddressShow(val){
|
||||||
console.log(val,'val')
|
console.log(val,'val')
|
||||||
|
this.addressLoad = true
|
||||||
this.$http({
|
this.$http({
|
||||||
url: this.$http.adornUrl('/api/province/getProvince'),
|
url: this.$http.adornUrl('/api/province/getProvince'),
|
||||||
method: 'post',
|
method: 'post',
|
||||||
@@ -726,10 +729,13 @@ export default {
|
|||||||
this.countyEntity = this.cityEntity.cityList.find((val,index,arr)=>{
|
this.countyEntity = this.cityEntity.cityList.find((val,index,arr)=>{
|
||||||
return val.regionCode == this.addressForm.cityCode
|
return val.regionCode == this.addressForm.cityCode
|
||||||
})
|
})
|
||||||
console.log(this.provinceEntity,addressForm,'this.provinceEntity')
|
console.log(this.provinceEntity,this.addressForm,'this.provinceEntity')
|
||||||
}
|
}
|
||||||
}).catch( e => {
|
this.addressLoad = false
|
||||||
console.log(e,'e')
|
}).catch((err) => {
|
||||||
|
console.log(err,'e')
|
||||||
|
this.$message.error('初始化地址信息失败!')
|
||||||
|
this.addressLoad = false
|
||||||
})
|
})
|
||||||
|
|
||||||
this.changeAddVisible = true
|
this.changeAddVisible = true
|
||||||
|
|||||||
@@ -416,25 +416,25 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
// 获取订单下的快递单
|
// 获取订单下的快递单
|
||||||
getOrderSheetList(){
|
// getOrderSheetList(){
|
||||||
this.$http({
|
// this.$http({
|
||||||
url: this.$http.adornUrl('/express/getPrintTemplateList'),
|
// url: this.$http.adornUrl('/express/getPrintTemplateList'),
|
||||||
method: 'get',
|
// method: 'get',
|
||||||
params: this.$http.adornParams({
|
// params: this.$http.adornParams({
|
||||||
'expressOrderSn': this.query.orderSn,
|
// 'expressOrderSn': this.query.orderSn,
|
||||||
})
|
// })
|
||||||
/// data: {}
|
// /// data: {}
|
||||||
}).then(({ data }) => {
|
// }).then(({ data }) => {
|
||||||
console.log(data.result,'面单列表')
|
// console.log(data.result,'面单列表')
|
||||||
if (data && data.code === 0) {
|
// if (data && data.code === 0) {
|
||||||
this.sheetList = data.result.data
|
// this.sheetList = data.result.data
|
||||||
// this.MDtotalPage = data.result.totalDataSize
|
// // this.MDtotalPage = data.result.totalDataSize
|
||||||
} else {
|
// } else {
|
||||||
// this.PrintSheetList = []
|
// // this.PrintSheetList = []
|
||||||
// this.totalPage = 0
|
// // this.totalPage = 0
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
},
|
// },
|
||||||
// 获取数据列表
|
// 获取数据列表
|
||||||
getData() {
|
getData() {
|
||||||
this.dataListLoading = true
|
this.dataListLoading = true
|
||||||
|
|||||||
@@ -130,8 +130,8 @@
|
|||||||
<div style="clear: both;">
|
<div style="clear: both;">
|
||||||
<el-form-item label="是否包邮" prop="isFreeMail">
|
<el-form-item label="是否包邮" prop="isFreeMail">
|
||||||
<el-radio-group v-model="dataForm.isFreeMail">
|
<el-radio-group v-model="dataForm.isFreeMail">
|
||||||
<el-radio :label="'0'">是</el-radio>
|
<el-radio :label="0">是</el-radio>
|
||||||
<el-radio :label="'1'">否</el-radio>
|
<el-radio :label="1">否</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="是否为新书上市" prop="isNew" label-width="200">
|
<el-form-item label="是否为新书上市" prop="isNew" label-width="200">
|
||||||
@@ -219,7 +219,7 @@
|
|||||||
weight: '',
|
weight: '',
|
||||||
pubDate: '',
|
pubDate: '',
|
||||||
// format: '', // 开本
|
// format: '', // 开本
|
||||||
isFreeMail: '1', // 是否包邮
|
isFreeMail: 1, // 是否包邮
|
||||||
// pageNum: '',
|
// pageNum: '',
|
||||||
// quality: '', // 内文用纸
|
// quality: '', // 内文用纸
|
||||||
isNew:0,
|
isNew:0,
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
// api接口请求地址
|
// api接口请求地址
|
||||||
// window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.100:9200/pb';
|
// window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.100:9200/pb';
|
||||||
// window.SITE_CONFIG['baseUrl'] = 'http://59.110.212.44:9200/pb';
|
// window.SITE_CONFIG['baseUrl'] = 'http://59.110.212.44:9200/pb';
|
||||||
// window.SITE_CONFIG['baseUrl'] = 'https://testapi.nuttyreading.com'; // 线上测试环境
|
window.SITE_CONFIG['baseUrl'] = 'https://testapi.nuttyreading.com'; // 线上测试环境
|
||||||
// window.SITE_CONFIG['baseUrl'] = 'https://api.nuttyreading.com'; // 线上正式环境
|
// window.SITE_CONFIG['baseUrl'] = 'https://api.nuttyreading.com'; // 线上正式环境
|
||||||
window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.38:9200/pb';
|
// window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.38:9200/pb';
|
||||||
// window.SITE_CONFIG['baseUrl'] = 'http://59.110.212.44:9200/pb';
|
// window.SITE_CONFIG['baseUrl'] = 'http://59.110.212.44:9200/pb';
|
||||||
|
|
||||||
// cdn地址 = 域名 + 版本号
|
// cdn地址 = 域名 + 版本号
|
||||||
|
|||||||
Reference in New Issue
Block a user