订单发货

This commit is contained in:
@fawn-nine
2023-10-27 17:15:52 +08:00
parent 16d7333f46
commit acafce7c6b
4 changed files with 35 additions and 29 deletions

View File

@@ -394,6 +394,7 @@
title="修改收货信息"
:visible.sync="changeAddVisible"
width="500"
v-loading="addressLoad"
:close="changeAddHandleClose">
<div>
<el-form ref="addressFormRef" :model="addressForm" label-width="120px" :rules="addressFormRule">
@@ -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