chore: #253
This commit is contained in:
@@ -86,7 +86,7 @@ export default {
|
||||
handleDownload() {
|
||||
this.downloadLoading = true
|
||||
import('@/vendor/Export2Excel').then(excel => {
|
||||
const tHeader = ['地址ID', '用户ID', '收获人', '手机号', '省', '市', '区', '地址', '是否默认']
|
||||
const tHeader = ['地址ID', '用户ID', '收货人', '手机号', '省', '市', '区', '地址', '是否默认']
|
||||
const filterVal = ['id', 'userId', 'name', 'tel', 'province', 'city', 'county', 'addressDetail', 'isDefault']
|
||||
excel.export_json_to_excel2(tHeader, this.list, filterVal, '用户地址信息')
|
||||
this.downloadLoading = false
|
||||
|
||||
@@ -11,7 +11,7 @@ import java.util.List;
|
||||
* 101 订单生成,未支付;102,下单未支付用户取消;103,下单未支付超期系统自动取消
|
||||
* 201 支付完成,商家未发货;202,订单生产,已付款未发货,用户申请退款;203,管理员执行退款操作,确认退款成功;
|
||||
* 301 商家发货,用户未确认;
|
||||
* 401 用户确认收货,订单结束; 402 用户没有确认收货,但是快递反馈已收获后,超过一定时间,系统自动确认收货,订单结束。
|
||||
* 401 用户确认收货,订单结束; 402 用户没有确认收货,但是快递反馈已收货后,超过一定时间,系统自动确认收货,订单结束。
|
||||
*
|
||||
* 当101用户未付款时,此时用户可以进行的操作是取消或者付款
|
||||
* 当201支付完成而商家未发货时,此时用户可以退款
|
||||
|
||||
@@ -134,7 +134,7 @@ public class WxAddressController extends GetRegionService {
|
||||
}
|
||||
|
||||
if (address.getIsDefault()) {
|
||||
// 重置其他收获地址的默认选项
|
||||
// 重置其他收货地址的默认选项
|
||||
addressService.resetDefault(userId);
|
||||
}
|
||||
|
||||
|
||||
@@ -395,7 +395,7 @@ public class WxCartController {
|
||||
LitemallAddress checkedAddress = null;
|
||||
if (addressId == null || addressId.equals(0)) {
|
||||
checkedAddress = addressService.findDefault(userId);
|
||||
// 如果仍然没有地址,则是没有收获地址
|
||||
// 如果仍然没有地址,则是没有收货地址
|
||||
// 返回一个空的地址id=0,这样前端则会提醒添加地址
|
||||
if (checkedAddress == null) {
|
||||
checkedAddress = new LitemallAddress();
|
||||
|
||||
Reference in New Issue
Block a user