@@ -598,7 +599,8 @@ export default {
{ required: true, message: '请选择要修改的省市区', trigger: 'blur' }
]
},
- SheetSelectionList:[]
+ SheetSelectionList:[],
+ addressLoad:false, // 省份加载动画
}
},
components: {
@@ -699,7 +701,8 @@ export default {
console.log('关闭了', this.addressForm)
},
changeAddressShow(val){
- console.log(val,'val')
+ console.log(val,'val')
+ this.addressLoad = true
this.$http({
url: this.$http.adornUrl('/api/province/getProvince'),
method: 'post',
@@ -726,10 +729,13 @@ export default {
this.countyEntity = this.cityEntity.cityList.find((val,index,arr)=>{
return val.regionCode == this.addressForm.cityCode
})
- console.log(this.provinceEntity,addressForm,'this.provinceEntity')
+ console.log(this.provinceEntity,this.addressForm,'this.provinceEntity')
}
- }).catch( e => {
- console.log(e,'e')
+ this.addressLoad = false
+ }).catch((err) => {
+ console.log(err,'e')
+ this.$message.error('初始化地址信息失败!')
+ this.addressLoad = false
})
this.changeAddVisible = true
diff --git a/src/views/modules/order/buyorderdetail.vue b/src/views/modules/order/buyorderdetail.vue
index 892e04a..5a5c53b 100644
--- a/src/views/modules/order/buyorderdetail.vue
+++ b/src/views/modules/order/buyorderdetail.vue
@@ -416,25 +416,25 @@ export default {
},
// 获取订单下的快递单
- getOrderSheetList(){
- this.$http({
- url: this.$http.adornUrl('/express/getPrintTemplateList'),
- method: 'get',
- params: this.$http.adornParams({
- 'expressOrderSn': this.query.orderSn,
- })
- /// data: {}
- }).then(({ data }) => {
- console.log(data.result,'面单列表')
- if (data && data.code === 0) {
- this.sheetList = data.result.data
- // this.MDtotalPage = data.result.totalDataSize
- } else {
- // this.PrintSheetList = []
- // this.totalPage = 0
- }
- })
- },
+ // getOrderSheetList(){
+ // this.$http({
+ // url: this.$http.adornUrl('/express/getPrintTemplateList'),
+ // method: 'get',
+ // params: this.$http.adornParams({
+ // 'expressOrderSn': this.query.orderSn,
+ // })
+ // /// data: {}
+ // }).then(({ data }) => {
+ // console.log(data.result,'面单列表')
+ // if (data && data.code === 0) {
+ // this.sheetList = data.result.data
+ // // this.MDtotalPage = data.result.totalDataSize
+ // } else {
+ // // this.PrintSheetList = []
+ // // this.totalPage = 0
+ // }
+ // })
+ // },
// 获取数据列表
getData() {
this.dataListLoading = true
diff --git a/src/views/modules/shop/shopproduct-add-or-update.vue b/src/views/modules/shop/shopproduct-add-or-update.vue
index e993735..27b15ff 100644
--- a/src/views/modules/shop/shopproduct-add-or-update.vue
+++ b/src/views/modules/shop/shopproduct-add-or-update.vue
@@ -130,8 +130,8 @@
- 是
- 否
+ 是
+ 否
@@ -219,7 +219,7 @@
weight: '',
pubDate: '',
// format: '', // 开本
- isFreeMail: '1', // 是否包邮
+ isFreeMail: 1, // 是否包邮
// pageNum: '',
// quality: '', // 内文用纸
isNew:0,
diff --git a/static/config/index.js b/static/config/index.js
index 1498d37..dc5c9f1 100644
--- a/static/config/index.js
+++ b/static/config/index.js
@@ -7,9 +7,9 @@
// api接口请求地址
// 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'] = 'https://testapi.nuttyreading.com'; // 线上测试环境
+ window.SITE_CONFIG['baseUrl'] = 'https://testapi.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';
// cdn地址 = 域名 + 版本号